Regis Houssin
f497492e62
FIX compatibility with php8
2021-10-28 15:40:05 +02:00
Laurent Destailleur
97d97af932
Clean: Remove fields for social networks (merged into "socialnetworks")
2021-10-27 16:39:34 +02:00
Laurent Destailleur
c81bf68578
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/dict.php
htdocs/compta/cashcontrol/cashcontrol_list.php
htdocs/fourn/class/fournisseur.facture.class.php
htdocs/modulebuilder/index.php
htdocs/modulebuilder/template/myobject_list.php
htdocs/product/class/api_products.class.php
2021-10-22 15:56:44 +02:00
Florian HENRY
9a9ed8989e
fix various warning
2021-10-22 10:50:54 +02:00
Florian HENRY
444f7703a6
fix various warning
2021-10-22 10:50:24 +02:00
Florian HENRY
64bb2e6ece
fix various warning
2021-10-22 10:49:47 +02:00
Laurent Destailleur
dd0809b528
Fix trans labels status
2021-10-16 19:37:57 +02:00
Gauthier PC portable 024
231f809106
Merge branch 'develop' of github.com:Dolibarr/dolibarr into NEW/integration_GPEC_code
2021-10-06 17:55:36 +02:00
Laurent Destailleur
b4cfe35138
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-10-05 13:39:46 +02:00
Laurent Destailleur
123c047e29
Fix look and feel v14
2021-10-05 13:34:25 +02:00
Gauthier PC portable 024
bea17e8d78
FIX : travis + User::hasRight() function modification to take care of hrm specific rights
2021-10-05 12:42:42 +02:00
Laurent Destailleur
96436cac3d
FIX unprivileged user can attach agenda with leave.
2021-09-19 00:50:23 +02:00
Laurent Destailleur
8909702619
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/adherents/class/adherent.class.php
htdocs/bom/class/bom.class.php
htdocs/filefunc.inc.php
htdocs/langs/en_US/eventorganization.lang
htdocs/product/class/productfournisseurprice.class.php
2021-09-16 13:40:05 +02:00
Florian HENRY
d464922d71
fix: LDAP Search LIMIT must be after ORDER BY
2021-09-13 09:44:54 +02:00
Laurent Destailleur
43684f26c9
Merge pull request #18628 from lainwir3d/fix_rest_api_fix_self_user_info_read
...
FIX #18627 REST API: Allow users with self read / modify rights to get own info
2021-09-10 13:34:56 +02:00
Laurent Destailleur
b1c23b9a93
Update api_users.class.php
2021-09-10 13:31:17 +02:00
Laurent Destailleur
d4bfbc69a4
Update api_users.class.php
2021-09-10 13:30:28 +02:00
Laurent Destailleur
999ad7629f
Update api_users.class.php
2021-09-10 13:29:19 +02:00
Laurent Destailleur
17b9957197
Update api_users.class.php
2021-09-10 13:20:49 +02:00
Laurent Destailleur
fa28621709
Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/reception/list.php
2021-09-09 16:11:29 +02:00
Laurent Destailleur
5406e3d34e
Fix phpcs
2021-09-09 16:06:16 +02:00
ad7a5eaf70
Merge remote-tracking branch 'origin/develop' into fix_rest_api_fix_self_user_info_read
2021-09-09 17:44:22 +04:00
Laurent Destailleur
5d5b7c3af4
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
...
Conflicts:
htdocs/comm/action/peruser.php
htdocs/main.inc.php
2021-09-09 15:15:26 +02:00
Regis Houssin
303b0e7f31
FIX better sql request
2021-09-09 09:21:30 +02:00
Regis Houssin
8c95ada9fd
FIX wrong users count in multicompany transverse mode
2021-09-08 10:25:27 +02:00
stickler-ci
f535a44921
Fixing style errors.
2021-09-06 13:58:23 +00:00
09d1680ea0
FIX #18627 Allow users with self read / modify rights to get own info.
2021-09-06 17:52:41 +04:00
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
2f225ee7e5
Clean code by adding cast int.
2021-08-27 16:33:03 +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
7fb0946022
Fix link
2021-07-03 18:09:48 +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
f51e892a97
Fix phpcs
2021-05-18 02:06:35 +02:00
Laurent Destailleur
de6134965b
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-05-17 19:50:19 +02:00
Laurent Destailleur
cc1f98329d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/admin/dict.php
htdocs/product/stock/replenish.php
htdocs/ticket/card.php
htdocs/user/class/api_users.class.php
2021-05-17 19:50:10 +02:00
Laurent Destailleur
d3ece31969
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/user/class/api_users.class.php
2021-05-17 19:29:03 +02:00
Laurent Destailleur
df2297bca3
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/user/class/api_users.class.php
2021-05-17 19:21:58 +02:00
Laurent Destailleur
a865f49d72
Fix phpcs
2021-05-17 19:19:26 +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
Laurent Destailleur
3c9d8bc931
Fix perms on API user
2021-05-17 16:17:03 +02:00
Laurent Destailleur
c54e010126
Fix perms on API user
2021-05-17 16:16:45 +02:00
Anthony Berton
9bde70feba
Update user.class.php
2021-05-17 16:08:48 +02:00
stickler-ci
a3aba28c95
Fixing style errors.
2021-05-17 10:06:41 +00:00
Dorian Vabre
547f1dd370
Fix: user rest api rights
2021-05-17 11:54:53 +02:00
Laurent Destailleur
1b25c4daa0
Fix phpcs
2021-05-17 11:29:51 +02:00
Laurent Destailleur
6a9fa11539
Merge branch 'develop' into 11.0-fix-LDAPposixAccount
2021-05-17 09:07:30 +02:00
Laurent Destailleur
4768729c09
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/comm/propal/list.php
htdocs/commande/list.php
htdocs/compta/facture/list.php
htdocs/core/class/rssparser.class.php
htdocs/core/tpl/admin_extrafields_view.tpl.php
htdocs/core/tpl/extrafields_list_search_sql.tpl.php
htdocs/expedition/list.php
2021-05-17 07:57:32 +02:00
Laurent Destailleur
2f2ba933f8
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/core/tpl/admin_extrafields_view.tpl.php
htdocs/user/class/usergroup.class.php
2021-05-17 07:33:28 +02:00
Laurent Destailleur
5a15dbf545
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/user/class/usergroup.class.php
2021-05-17 07:29:19 +02:00
piernov
1cbe0e3f2d
Fix: properly set gid for Group LDAP synchro
...
Even if the gidNumber field was set in the configuration, a gid different from the Dolibarr's one was generated and stored into LDAP.
Now the gidNumber is properly set to Dolibarr's gid if gidNumber field is set in the LDAP module configuration.
2021-05-15 18:01:34 +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
08dbe74643
Fix code not reachable
2021-05-04 01:10:53 +02:00
Laurent Destailleur
1c95e2b7c7
FIX #17453
2021-05-03 14:58:29 +02:00
Laurent Destailleur
d7e445efbd
Better doc
2021-05-03 12:01:26 +02:00
Laurent Destailleur
d0cc64479d
Fix protect sql
2021-04-24 20:18:11 +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
8a62d97b89
Remove one thousand of useless files
2021-04-12 15:57:16 +02:00
Laurent Destailleur
3895142772
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/core/menus/standard/eldy.lib.php
2021-04-10 12:06:11 +02:00
Laurent Destailleur
52213d0ac7
Fix duplicate permissions
2021-04-09 21:15:43 +02:00
Laurent Destailleur
aef164a7ee
Fix bad permission
2021-04-08 02:05:36 +02:00
Laurent Destailleur
489cff46a3
FIX #yogosha5828
2021-04-08 00:37:17 +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
15440917b1
Fix #ygosha5698
2021-03-22 11:30:18 +01:00
Laurent Destailleur
0008e916ac
Fix sql error
2021-03-20 21:36:42 +01:00
Frédéric FRANCE
ed341197ea
fix nested comments
2021-03-20 09:30:09 +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