Laurent Destailleur
b04ea59a51
More sql sanitizing
2021-09-02 13:58:42 +02:00
Laurent Destailleur
3d72a21396
Clean code
2021-08-28 03:09:41 +02:00
Laurent Destailleur
46d993c9a6
Clean code
2021-08-27 22:42:04 +02:00
Laurent Destailleur
e0fd8b5eb8
Simplify code
2021-08-24 15:28:59 +02:00
Laurent Destailleur
1a56fdad22
Fix type
2021-08-24 14:48:53 +02:00
Laurent Destailleur
465c9bf287
NEW Introduce method hasRight
2021-08-24 14:47:50 +02:00
Laurent Destailleur
8485fee5f9
Cast numeric into on sql request
2021-08-23 19:33:24 +02:00
Laurent Destailleur
d4b5ee6c85
Fix cast into variable into sql request.
2021-08-23 17:41:11 +02:00
Laurent Destailleur
e4bb5ed008
Fix phpcs
2021-07-21 00:35:08 +02:00
Laurent Destailleur
e25171b9f5
Fix phpcs
2021-07-20 23:03:19 +02:00
Laurent Destailleur
b57eb8284e
Fix Improper Authorization Check reported by Ahsan Aziz.
2021-07-20 22:42:23 +02:00
Laurent Destailleur
f761a2d3b8
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
2021-07-06 19:02:49 +02:00
Laurent Destailleur
9fc2d9fc03
Fix phpcs
2021-07-06 19:02:03 +02:00
Laurent Destailleur
82e96016cd
Merge pull request #18092 from fappels/14_fix_php8_part3
...
Fix php8 warning
2021-07-06 18:52:05 +02:00
Francis Appels
5d824899e5
Fix php 8 warning on home page
2021-07-05 13:44:05 +02:00
Laurent Destailleur
dfee489e7e
Fix sanitizing entity
2021-07-05 11:33:32 +02:00
Laurent Destailleur
67e00e5cf5
Fix regression. Missing rollback.
2021-06-13 19:05:48 +02:00
Laurent Destailleur
95ee0f630d
Fix phpcs
2021-06-13 18:10:04 +02:00
Laurent Destailleur
c4cba43bad
FIX Broken Access Control reported by Ahsan Aziz.
2021-06-13 16:15:05 +02:00
Laurent Destailleur
fb46ece906
Fix yogosha 6347
2021-06-09 15:36:47 +02:00
Laurent Destailleur
3e53ab5bfe
Fix scrutinizer
2021-06-05 01:17:16 +02:00
Laurent Destailleur
8e39eff180
Look and feel v14
2021-05-18 18:18:00 +02:00
Laurent Destailleur
51a8ef8853
Merge pull request #17638 from bb2a/add_infos_user_popup
...
Modif info in user popup info
2021-05-17 16:30:41 +02:00
Anthony Berton
9bde70feba
Update user.class.php
2021-05-17 16:08:48 +02:00
Laurent Destailleur
6a9fa11539
Merge branch 'develop' into 11.0-fix-LDAPposixAccount
2021-05-17 09:07:30 +02:00
piernov
beff175de1
Fix use login for User homedir in LDAP
...
posixAccount objectclass (intended to be used with the uid/gid/homedir fields) requires a homedir.
Always set a homedir in LDAP for the User class even if user does not have a firstname by using the login instead.
Additionally on Linux the login is typically used for the home directory rather than the first name.
It also avoids having accentuated or other special characters (commonly found in names) in the home directory path.
2021-05-15 16:48:43 +02:00
piernov
014b34acc6
Fix default gid 65534 for User in LDAP
...
posixAccount objectclass (intended to be used with the uid/gid/homedir fields) requires a gid.
Always set a gid in LDAP for the User class even if the user does not belong to any group.
By default 65534 which corresponds to the nobody group on major distributions (incl. Debian).
2021-05-15 16:44:46 +02:00
Laurent Destailleur
bd5e141d26
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/mails_templates.php
htdocs/core/actions_linkedfiles.inc.php
htdocs/core/lib/functions.lib.php
htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php
htdocs/societe/consumption.php
2021-05-06 17:07:44 +02:00
Laurent Destailleur
8410f4a9c9
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/admin/mails_templates.php
htdocs/societe/consumption.php
htdocs/user/class/user.class.php
2021-05-06 16:57:49 +02:00
Laurent Destailleur
f6f4968af6
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/societe/consumption.php
2021-05-06 16:52:36 +02:00
Marc de Lima Lucio
139ae3db00
FIX: pgsql: prevent 'WHERE 1'
2021-05-05 11:49:11 +02:00
Laurent Destailleur
d7e445efbd
Better doc
2021-05-03 12:01:26 +02:00
Laurent Destailleur
01c21d2d10
Fix title of email to reset password
2021-04-17 03:32:05 +02:00
Laurent Destailleur
0d8a354934
Set default length of password to 12 car.
...
FIX #yogosha5855
2021-04-17 03:11:58 +02:00
Laurent Destailleur
6c521073ea
Fix perm id and sort of modules by id.
2021-04-05 13:52:19 +02:00
Laurent Destailleur
be6bb3a756
FIX #yogosha5746 - next step (work in progress)
2021-03-30 19:12:07 +02:00
Laurent Destailleur
fb84608586
Clean sql
2021-03-30 03:37:54 +02:00
Laurent Destailleur
ca1715df96
Add some protection for SQL injection
2021-03-22 13:31:06 +01:00
Laurent Destailleur
0008e916ac
Fix sql error
2021-03-20 21:36:42 +01:00
Laurent Destailleur
cc10106a21
Fix protection on int
2021-03-14 12:20:23 +01:00
Laurent Destailleur
12f50a76d7
Fix yogosha #5627
2021-03-14 11:48:39 +01:00
Laurent Destailleur
7f1d61f8a8
Fix phpcs
2021-03-02 15:34:43 +01:00
Laurent Destailleur
7144e80063
Merge pull request #16322 from FHenry/dev_new_conf_defaulteventstatus
...
NEW: Conf for default actiomm status when created from card (and DefaultValues CRUD class)
2021-03-02 14:45:05 +01:00
Laurent Destailleur
3a00952cd1
Update user.class.php
2021-03-02 14:44:31 +01:00
stickler-ci
54d35fa59f
Fixing style errors.
2021-03-01 20:00:32 +00:00
Frédéric FRANCE
a4e25359e7
add missing rule
2021-03-01 20:37:16 +01:00
Florian HENRY
f62386a6a5
set Default values as CURD classes
2021-03-01 20:36:42 +01:00
Anthony Berton
ae9582286d
Update user.class.php
2021-02-17 16:39:03 +01:00
Anthony Berton
060bfde082
20200217
2021-02-17 15:26:56 +01:00
Laurent Destailleur
13378897a8
FIX Report by Ricardo Matias
...
Conflicts:
test/phpunit/SecurityTest.php
2021-01-25 22:52:30 +01:00
Laurent Destailleur
6a12de741f
FIX Report by Ricardo Matias
2021-01-25 22:46:09 +01:00
Laurent Destailleur
113ef1a02b
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/user/class/user.class.php
2021-01-19 16:21:53 +01:00
Laurent Destailleur
934070f14e
Backport FIx #15970
2021-01-19 10:56:46 +01:00
Laurent Destailleur
8cd8f21fde
Update user.class.php
2021-01-19 10:53:47 +01:00
lmarcouiller
73eee33f8a
redo of pull request with sql updated
2021-01-19 09:24:15 +01:00
stickler-ci
7e0f83d97e
Fixing style errors.
2021-01-18 16:06:06 +00:00
lmarcouiller
7c7f80fb59
update pull request with sql in simple quotes
2021-01-18 17:05:15 +01:00
lmarcouiller
841736df87
Fix #15970 user.class.php
2021-01-18 14:20:30 +01:00
Laurent Destailleur
17b68a30d7
Merge branch 'develop' into dev_add_tag_on_massaction
2020-12-30 13:10:02 +01:00
Laurent Destailleur
87a452c6f4
Fix warning
2020-12-30 12:16:01 +01:00
Laurent Destailleur
af41c06822
Fix warnings
2020-12-29 04:27:16 +01:00
Florian HENRY
26d3ea2227
on going
2020-12-23 23:32:50 +01:00
Laurent Destailleur
64e2ddbd80
Merge pull request #15666 from Zebedeu/develop
...
New #8472 personal and professional titles added
2020-12-07 22:40:01 +01:00
Frédéric FRANCE
4e18f46f28
doxygen
2020-12-05 23:53:55 +01:00
Zebedeu
6d2159e8f0
New #8472 personal and professional titles added
...
personal and professional titles added for employee users
2020-12-05 11:30:18 +01:00
Laurent Destailleur
9137713056
Debug v13
2020-12-03 00:40:41 +01:00
Laurent Destailleur
6a8ddacb33
Prepare database to allow to disconnect other session after a password
...
change
2020-11-29 21:01:57 +01:00
Laurent Destailleur
1f69f4ed5d
Fix deprecated
2020-11-13 19:39:59 +01:00
Laurent Destailleur
283a42c086
Fix bad key
2020-11-13 19:38:44 +01:00
Laurent Destailleur
bf8de86091
Merge pull request #15354 from frederic34/patch-14
...
Update adherent.class.php
2020-11-12 12:38:39 +01:00
Frédéric FRANCE
05410ebbb3
Update user.class.php
2020-11-11 09:26:13 +01:00
Frédéric FRANCE
36cd4a8d4d
Update user.class.php
2020-11-11 07:39:09 +01:00
Frédéric FRANCE
d28249d568
Update user.class.php
2020-11-11 07:35:33 +01:00
Frédéric FRANCE
b783a8775d
Update user.class.php
2020-11-11 07:31:10 +01:00
Frédéric FRANCE
0f8fc7ef2b
Update user.class.php
2020-11-10 21:46:51 +01:00
Frédéric FRANCE
fd078ef713
Update user.class.php
2020-11-10 21:43:45 +01:00
Scrutinizer Auto-Fixer
f6e3f58fcb
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-11-09 14:18:56 +00:00
Laurent Destailleur
924923ec41
Fix warning
2020-11-07 19:48:42 +01:00
Laurent Destailleur
eba73101b9
Merge pull request #15210 from frederic34/zapieruser
...
work on zapier
2020-11-06 18:49:23 +01:00
Laurent Destailleur
b8f6e7f214
Fix var not defined
2020-11-06 16:28:26 +01:00
Frédéric FRANCE
545f39aacf
add work
2020-11-05 19:00:45 +01:00
Frédéric FRANCE
5d90611795
Merge remote-tracking branch 'upstream/develop' into zapieruser
2020-11-05 14:42:37 +01:00
Laurent Destailleur
f27508cf2f
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
...
develop
Conflicts:
htdocs/projet/class/project.class.php
2020-11-05 09:42:07 +01:00
Laurent Destailleur
72e94edae4
Fix permission on project for external user that are external contact
2020-11-05 09:40:37 +01:00
Frédéric FRANCE
32391d211a
doxygen
2020-11-05 08:55:04 +01:00
Frédéric FRANCE
6e7448a1d0
Merge remote-tracking branch 'upstream/develop' into zapieruser
2020-11-04 19:00:10 +01:00
Laurent Destailleur
7294a47ef5
Fix generation of user from member, contact, applications for job
2020-11-04 13:33:52 +01:00
Laurent Destailleur
5f290e0de1
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2020-11-02 11:41:19 +01:00
Laurent Destailleur
83a7b19333
Look and feel v13
2020-11-02 11:41:07 +01:00
Laurent Destailleur
02fb63ac96
Merge pull request #15253 from frederic34/patch-6
...
Update user.class.php
2020-11-02 09:30:23 +01:00
Laurent Destailleur
20c70691e4
Better compatibility php8
2020-11-01 21:37:04 +01:00
Frédéric FRANCE
497e5902d6
Update user.class.php
...
The variable $num does not seem to be defined for all execution paths leading up to this point.
The variable $rd does not seem to be defined for all execution paths leading up to this point.
2020-11-01 20:54:36 +01:00
Frédéric FRANCE
e4af61a587
Merge remote-tracking branch 'upstream/develop' into zapieruser
2020-10-30 08:17:53 +01:00
Frédéric FRANCE
e049eb960d
add trigger user create
2020-10-29 20:53:28 +01:00
Frédéric FRANCE
317ffc65c9
Merge remote-tracking branch 'upstream/develop' into zapieruser
2020-10-29 18:41:22 +01:00
Frédéric FRANCE
9e70d7ca65
fix undefined variable
2020-10-29 18:37:52 +01:00
Frédéric FRANCE
5d0ac98c34
work on zapier
2020-10-29 00:34:41 +01:00
Frédéric FRANCE
7ef2aaf8af
Update user.class.php
2020-10-28 20:57:36 +01:00
Frédéric FRANCE
19ff2ef19e
Update user.class.php
2020-10-27 20:52:37 +01:00
Frédéric FRANCE
584373af55
Update user.class.php
2020-10-27 20:15:46 +01:00
Frédéric FRANCE
ae3228b9e0
retrieve the spelling 🎉
2020-10-23 20:08:35 +02:00
Laurent Destailleur
a0b17635fd
NEW When creating a user from a member linked to a thirdparty, you can
...
decide if it is an internal or external (default) user.
2020-10-14 14:02:07 +02:00
Scrutinizer Auto-Fixer
1512521d91
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-07 13:01:28 +00:00
stickler-ci
a88c0b97a8
Fixing style errors.
2020-09-23 11:31:17 +00:00
Sekan, Tobias
815d0c2589
Fix that a admin can remove all his user rights
2020-09-23 13:18:09 +02:00
Laurent Destailleur
aee6bc173f
WIP Add start/end date of validity for user/logins
2020-09-21 18:44:20 +02:00
Laurent Destailleur
718497915c
Enhance the IK module
2020-09-21 16:31:51 +02:00
Laurent Destailleur
b4137392ea
Merge pull request #14789 from bafbes/abb120144
...
fix:remove deleted user params
2020-09-20 17:12:15 +02:00
Laurent Destailleur
233aa58161
Fix sanitizing
2020-09-20 03:36:02 +02:00
bahfir abbes
09f23c1d84
fix:remove deleted user params
2020-09-19 13:14:46 +01:00
Laurent Destailleur
7bcf2c9089
css
2020-09-15 14:45:51 +02:00
Laurent Destailleur
c4383747a1
Look and feel v13
2020-09-11 13:57:16 +02:00
Scrutinizer Auto-Fixer
c263c8a76c
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-09-08 19:27:28 +00:00
Scrutinizer Auto-Fixer
b78ff67d7e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-09-07 08:18:17 +00:00
stickler-ci
2cbb4081fe
Fixing style errors.
2020-08-25 10:20:48 +00:00
Sekan, Tobias
4c851884e5
Address feedback
2020-08-25 12:16:44 +02:00
Sekan, Tobias
ba98db934d
Show user on external calender events
2020-08-21 08:18:26 +02:00
Laurent Destailleur
e891250fb3
Reduce log
2020-08-17 17:40:08 +02:00
Laurent Destailleur
1bb24de555
Can set the language of a user.
2020-08-07 14:22:43 +02:00
Laurent Destailleur
a6ecf6dbbc
Fix syntax error
2020-06-25 12:18:57 +02:00
Laurent Destailleur
333d4873c3
Properties ->contactid has been renamed into ->contact_id
2020-06-25 12:17:47 +02:00
Laurent Destailleur
c4bbf12e72
Fix css
2020-05-30 00:58:11 +02:00
Laurent Destailleur
af3c24d0a9
Fix css
2020-05-30 00:56:51 +02:00
Laurent Destailleur
f8b92e507c
Clean code
2020-05-28 19:10:06 +02:00
Frédéric FRANCE
b41ac00b98
add new rule
2020-05-21 15:05:19 +02:00
Frédéric FRANCE
ee6fadd0d5
add new rule
2020-05-21 01:41:27 +02:00
Laurent Destailleur
1ec8b31e46
Fix remove action param in url to allow a second try without the error
...
message
2020-05-06 15:15:12 +02:00
Laurent Destailleur
abdb0cc8c0
Fix use correct trackid
2020-05-06 15:03:57 +02:00
Laurent Destailleur
e7ae9c752e
Fix missing trackid
2020-05-06 14:48:02 +02:00
Laurent Destailleur
3ed11f374a
Look and feel v12
2020-04-24 23:56:57 +02:00
Laurent Destailleur
72c6ac1c72
Complete #13708 , normalization of code
2020-04-23 13:21:39 +02:00
Laurent Destailleur
2c4bb867b3
FIX #12996
2020-04-13 17:36:12 +02:00
Laurent Destailleur
596ba8d679
Clean deprecated code.
2020-04-13 01:10:35 +02:00
Laurent Destailleur
069fb27ced
Look and feel v12
2020-04-10 12:27:34 +02:00
Laurent Destailleur
054ffb7547
Depreciate variables not used by Dolibarr.
2020-03-06 14:38:06 +01:00
Laurent Destailleur
a6b0fec90b
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/exports/class/export.class.php
2020-02-17 12:35:34 +01:00
Laurent Destailleur
504a67daee
FIX duplicate class name into some log lines
2020-02-17 12:34:00 +01:00
Scrutinizer Auto-Fixer
9781c20f84
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-02-02 18:34:09 +00:00
Laurent Destailleur
be2d6494a7
FIX #12908
2020-01-28 21:23:05 +01:00
Laurent Destailleur
39737c7c4b
Fix opacity on text with a href links inside
...
Fix var not defined
2019-12-22 13:19:14 +01:00
Laurent Destailleur
e8db3a2aa0
Fix look and feel v11
2019-12-19 10:17:20 +01:00
Scrutinizer Auto-Fixer
455178ff73
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2019-12-18 14:20:36 +00:00
Laurent Destailleur
838633d0de
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/system/filecheck.php
htdocs/api/class/api_setup.class.php
htdocs/compta/facture/card.php
htdocs/compta/stats/index.php
htdocs/core/actions_massactions.inc.php
htdocs/install/upgrade2.php
htdocs/loan/card.php
htdocs/loan/document.php
htdocs/loan/info.php
htdocs/loan/note.php
htdocs/loan/schedule.php
htdocs/product/list.php
htdocs/ticket/card.php
htdocs/user/class/user.class.php
2019-12-14 14:53:49 +01:00
Laurent Destailleur
8b57e9fcf0
Merge pull request #12697 from bb2a/patch-7
...
Full name in uppercase on creation and modification
2019-12-14 14:00:09 +01:00
stickler-ci
31b09f433f
Fixing style errors.
2019-12-12 16:29:11 +00:00
Anthony Berton
68a1b12fba
Update user.class.php
2019-12-12 17:27:24 +01:00
Frédéric FRANCE
307bad1d2a
doxygen todo
2019-12-11 19:11:13 +01:00
Frédéric FRANCE
6366a2a606
doxygen
2019-12-06 18:05:16 +01:00
atm-lena
486f598067
FIX getrights() request
2019-12-05 16:11:12 +01:00
Laurent Destailleur
06de7f968f
Fix class not found
2019-12-05 14:06:03 +01:00