Commit Graph

146023 Commits

Author SHA1 Message Date
yannis
37e55af4bd Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-04 09:39:12 +02:00
yannis
0dce11a4f1 feat: improve delrights that remove perms to tokens 2025-07-04 09:35:42 +02:00
Alain Rihs
8772306b60 Update card.php (#34677)
Since the improvement of the Prospect/Client/Supplier selection, the THIRDPARTY_CUSTOMERTYPE_BY_DEFAULT variable is no longer taken into account. This code restores this functionality when creating a new third party.
2025-07-04 09:56:07 +03:00
Mohamed DAOUD
b506f03c62 Improve error messages returned by getURLContent (#34689)
* enhance getURLContent error messages

* fix CI
2025-07-04 09:54:01 +03:00
yannis
7a498c0c91 feat: remove perms when removed group 2025-07-03 17:13:39 +02:00
yannis
1ffdd5736a fix: error if user had no perms (himself/group) 2025-07-03 16:03:48 +02:00
yannis
b503f10c11 feat: not erasing token perms if user stil has them (himself<->group) 2025-07-03 15:43:59 +02:00
yannis
04609c0728 feat: avoid modif on token that is not for api service 2025-07-03 14:42:43 +02:00
yannis
0d75748e01 feat: ungrant perm to tokens if lost in group 2025-07-03 14:40:44 +02:00
yannis
598cac8d99 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-03 12:18:30 +02:00
yannis
25ca6582b2 feat: ungrant perm to tokens if lost in global 2025-07-03 12:10:19 +02:00
github-actions[bot]
d065f25e2b PHPStan > Update baseline (#34679)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-07-03 13:09:13 +03:00
yannis
8b4c3ef80c fix: bad test that unable to create token 2025-07-03 12:08:46 +02:00
Laurent Destailleur
5161b631d5 Doc 2025-07-03 01:32:07 +02:00
Laurent Destailleur
641c6d8b24 Debug v22 2025-07-03 01:12:16 +02:00
Laurent Destailleur
bf6c9110ca Debug v22 2025-07-03 01:03:18 +02:00
Laurent Destailleur
20c327b1d3 Debug v22 2025-07-03 00:50:04 +02:00
Laurent Destailleur
a2d42ebb08 Debug v22 2025-07-03 00:08:51 +02:00
yannis
f0be6e458c fix: php phan/stan 2025-07-02 16:58:44 +02:00
yannis
00187b3d7c feat: auto selected user at token creation if id set 2025-07-02 15:51:24 +02:00
yannis
bb32b29c4e Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-02 15:34:58 +02:00
yannis
4c51a4309e feat: api loading rights of specified token 2025-07-02 15:22:13 +02:00
yannis
389715777e feat: improve display entity name 2025-07-02 11:21:38 +02:00
yannis
e97a1f8efd feat: encrypt/decrypt token 2025-07-02 09:20:54 +02:00
Laurent Destailleur
723a018759 Debug v22 2025-07-01 22:46:00 +02:00
Laurent Destailleur
167ef49fae Debug v22 2025-07-01 22:26:16 +02:00
Laurent Destailleur
d7f1f1231b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-01 21:28:56 +02:00
Laurent Destailleur
19a9be927e Fix Add a protection when 2 users are allowed (should not happen) 2025-07-01 21:08:44 +02:00
MDW
8c1d90519c qual: Update phan baseline (#34670)
# qual: Update phan baselin

Several phan notices were fixed.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-01 20:43:03 +02:00
Jyhere
787bd1d278 CHANGE: ternary simplification (#34675) 2025-07-01 20:34:09 +02:00
Laurent Destailleur
24e3f31ba1 Fix CI 2025-07-01 20:32:31 +02:00
yannis
ef96314026 fix: cancel button not working when comming from admin token list 2025-07-01 16:52:26 +02:00
Laurent Destailleur
60feb166c0 Fix CI 2025-07-01 16:35:26 +02:00
Laurent Destailleur
ac892efb42 Fix CI 2025-07-01 16:22:21 +02:00
yannis
f7f7532665 feat: show tokens from all entities if in master entity in admin 2025-07-01 16:18:00 +02:00
yannis
ec79241dc2 feat: multicompany display for token list 2025-07-01 16:09:12 +02:00
yannis
0814fb0201 feat: multicompany display for admin token list 2025-07-01 16:04:07 +02:00
yannis
61601c43d6 feat: multicompany display for token card 2025-07-01 15:56:10 +02:00
Laurent Destailleur
e2c2f73e9c Fix CI 2025-07-01 15:39:16 +02:00
Laurent Destailleur
2941cf1c19 Fix CI 2025-07-01 15:29:15 +02:00
yannis
df3e872d3a feat: disable display when multicompany is not enable 2025-07-01 14:48:53 +02:00
yannis
d57ca1f2a7 feat: mass delete from admi token list 2025-07-01 14:46:13 +02:00
yannis
74acc59da5 feat: create token for choosen user as admin 2025-07-01 14:39:27 +02:00
yannis
40f838ba58 refactor: remove useless missing translation 2025-07-01 12:15:56 +02:00
yannis
2a452876b3 refactor: clean query and add missing filter 2025-07-01 12:11:37 +02:00
yannis
79d8b9a63e feat: all users token list tab in api admin page 2025-07-01 12:03:22 +02:00
yannis
833bba723c refactor: change table name in sql query for pre-commit 2025-07-01 10:06:53 +02:00
yannis
c2ef82645a feat: protection from perm in token that user don't have 2025-07-01 09:56:24 +02:00
yannis
3d9a7fa894 feat: tokens list massaction delete 2025-07-01 09:33:12 +02:00
yannis
e67d3095ed Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-01 09:10:41 +02:00