Sébastien Luttringer
3f13dacacd
Use login from LDAP attribute
...
The LDAP authentication function (check_user_password_ldap) returns the login
sting when authentication is successful.
The current implementation always return the provided login to the check function,
instead of LDAP entry login field (as defined in the LDAP_FIELD_LOGIN).
This is problematic when you expect user to log with several login, like mail,
or the LDAP login doesn't match the dolibarr database.
For example, the following filter allows users auth with mail and cn ldap fields:
$dolibarr_main_auth_ldap_filter = '(&(objectClass=person)(|(cn=%1%)(mail=%1%)))';
but, dolibarr will not find the user when mail is provided.
This patch returns the $ldap->login when LDAP_FIELD_LOGIN is configured.
2021-01-12 12:07:36 +01:00
Laurent Destailleur
f411b29b28
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/bookkeeping/listbysubaccount.php
htdocs/langs/en_US/main.lang
htdocs/langs/fr_FR/accountancy.lang
2021-01-09 02:34:43 +01:00
Laurent Destailleur
b3461161ec
Add option MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH
2021-01-09 02:28:50 +01:00
Laurent Destailleur
2794327e10
Update box_birthdays.php
2021-01-07 12:50:14 +01:00
Lars Wallenborn
1880e51d1c
[FIX] sort order in birthday box
...
The current sort order is by date and not by day of month. This yields
the following unexpected results:
Given
* Person A, born on 1980-01-10
* Person B, born on 1970-01-30
I expect Person A to be listed first because their birthday is before
that of Person B _in January_. But without this fix, Person B would show
up first because 1970 is before 1980.
2021-01-07 12:50:07 +01:00
Laurent Destailleur
a498f8dfe1
Fix sort by day
2021-01-07 12:49:54 +01:00
Laurent Destailleur
094ea841db
Fix sort by day
2021-01-07 12:49:19 +01:00
Laurent Destailleur
28cb391924
Merge pull request #15922 from larsborn/develop
...
Fix sort order in birthday box
2021-01-07 12:47:30 +01:00
Laurent Destailleur
ddc3f35be1
Update box_birthdays.php
2021-01-07 12:47:16 +01:00
Laurent Destailleur
6da3ed1a51
Merge 2 exclusive options into 1
2021-01-07 12:39:51 +01:00
Lars Wallenborn
f578164b42
[FIX] sort order in birthday box
...
The current sort order is by date and not by day of month. This yields
the following unexpected results:
Given
* Person A, born on 1980-01-10
* Person B, born on 1970-01-30
I expect Person A to be listed first because their birthday is before
that of Person B _in January_. But without this fix, Person B would show
up first because 1970 is before 1980.
2021-01-07 11:43:11 +01:00
Laurent Destailleur
26fa8b45ac
Merge pull request #15153 from FHenry/dev_new_add_desc_when_select_product
...
NEW: preload product description on selection for customer propal/order/invoice
2021-01-07 11:19:53 +01:00
Laurent Destailleur
55b46ca149
Merge pull request #15318 from bafbes/abb120353
...
New: add notification on ACTION_CREATE event
2021-01-07 11:17:33 +01:00
Laurent Destailleur
4f55d51eac
Merge pull request #15886 from FHenry/dev_add_column_propal_order
...
NEW : Column shippement method, payment mode, payment term in propal and order list
2021-01-07 11:04:30 +01:00
Laurent Destailleur
3d2dc59468
Merge pull request #15897 from OPEN-DSI/add_triggers_on_object_link_managment
...
NEW : Add triggers in the function add_object_linked(), updateObjectLinked() and deleteObjectLinked()
2021-01-07 10:49:06 +01:00
Laurent Destailleur
3fa5c27bc7
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-07 10:41:09 +01:00
Laurent Destailleur
e53cb4b530
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-07 10:40:58 +01:00
Laurent Destailleur
a1d20ed9c2
Merge pull request #15910 from atm-john/new/unit_type_selection_limit
...
NEW unit selection on object edit line
2021-01-07 10:33:07 +01:00
Laurent Destailleur
c2855d4d71
Update html.form.class.php
2021-01-07 10:32:23 +01:00
Laurent Destailleur
312f11d7b3
Update objectline_edit.tpl.php
2021-01-07 10:30:11 +01:00
Laurent Destailleur
3399ab2c5d
Fix phpcs
2021-01-07 10:20:41 +01:00
Laurent Destailleur
cfc2ec63f3
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-06 21:04:13 +01:00
Laurent Destailleur
4c00167687
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/societe/card.php
2021-01-06 20:51:44 +01:00
Laurent Destailleur
07ca12b26d
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-06 20:48:23 +01:00
Laurent Destailleur
123bd81721
Trim no more required
2021-01-06 20:42:18 +01:00
Laurent Destailleur
ef8021467b
FIX #15892 #15017
2021-01-06 20:41:40 +01:00
Laurent Destailleur
679948e207
Merge pull request #15893 from atm-lena/FIX_issue_15629
...
FIX #15629
2021-01-06 20:34:31 +01:00
Laurent Destailleur
71278b173e
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
2021-01-06 20:28:33 +01:00
Laurent Destailleur
654cf2d990
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/lib/functions.lib.php
2021-01-06 20:27:46 +01:00
Laurent Destailleur
9e50a06f2b
Merge pull request #15894 from atm-john/11.0_fix_issue_14833
...
Fix #14833 A security mecanism generates data loss
2021-01-06 20:26:19 +01:00
Laurent Destailleur
b553dbb9d2
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-06 20:23:07 +01:00
Laurent Destailleur
a955df21bf
Merge pull request #15905 from atm-quentin/FIX/issue_14501
...
FIX useless tracking number displayed on pdf if empty issue #14501
2021-01-06 20:22:43 +01:00
Laurent Destailleur
3d96c5a454
Merge branch '12.0' of git@github.com:Dolibarr/dolibarr.git into 13.0
...
Conflicts:
htdocs/admin/dict.php
htdocs/bom/tpl/objectline_create.tpl.php
htdocs/bom/tpl/objectline_edit.tpl.php
htdocs/bom/tpl/objectline_view.tpl.php
htdocs/core/boxes/box_shipments.php
htdocs/societe/class/societe.class.php
2021-01-06 20:20:37 +01:00
Laurent Destailleur
17306bc715
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/boxes/box_shipments.php
2021-01-06 20:12:09 +01:00
Laurent Destailleur
7372a18283
Update box_shipments.php
2021-01-06 19:56:49 +01:00
ATM john
7fb0eb5756
fix stickler
2021-01-06 17:34:04 +01:00
ATM john
dd19da66b2
fix stickler
2021-01-06 17:33:19 +01:00
ATM john
ae7b8e7f5e
Fix unit selection on object edit line
2021-01-06 15:15:51 +01:00
stickler-ci
ca557cfacd
Fixing style errors.
2021-01-06 13:22:35 +00:00
quentin
e44b14364a
FIX useless tracking number displayed on pdf if empty
2021-01-06 14:17:06 +01:00
ATM john
50b5226d10
FIX #15465 External user sees last 5 shipments to other customers in the dashboard
2021-01-06 12:40:38 +01:00
Regis Houssin
f80a476bc5
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into fix_php_8.0
2021-01-06 11:37:56 +01:00
kamel
32109de67b
NEW : Add triggers OBJECT_LINK_INSERT, OBJECT_LINK_UPDATE et OBJECT_LINK_DELETE in the function add_object_linked(), updateObjectLinked() and deleteObjectLinked()
2021-01-06 11:14:13 +01:00
ATM john
92a4314779
Fix security mecanism generating data loss
2021-01-06 10:45:54 +01:00
atm-lena
6f15683709
FIX create ticket : thirdparty/contact notification #15629
2021-01-06 10:42:48 +01:00
Florian HENRY
6e7172887a
Merge branch '13_backport' into dev_add_column_propal_order
2021-01-05 22:58:00 +01:00
Florian HENRY
b9bb48a01f
better place and noadmininfo
2021-01-05 22:50:54 +01:00
Laurent Destailleur
ba68c958e1
Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-05 19:12:57 +01:00
Laurent Destailleur
4b45c5e723
Trans
2021-01-05 12:29:13 +01:00
Laurent Destailleur
a93227ac2f
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
2021-01-05 11:30:25 +01:00