Commit Graph

4266 Commits

Author SHA1 Message Date
ldestailleur
15a8184622 Debug v22 2025-07-30 13:27:52 +02:00
ldestailleur
0357d84c37 Debug v22 2025-07-30 13:02:28 +02:00
ldestailleur
4392ce01fc Debug v22 2025-07-30 12:58:54 +02:00
ldestailleur
63c4acca94 Debug v22 2025-07-30 12:25:32 +02:00
ldestailleur
fd5e268783 Finish option API_ENABLE_COUNT_CALLS 2025-07-29 12:45:12 +02:00
Marc de Lima Lucio
fda975970c Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-29 11:58:15 +02:00
ldestailleur
0fa59d0e9c Fix CI and warning message 2025-07-28 16:17:03 +02:00
Marc de Lima Lucio
bd89c1987f Merge branch 'develop' into new-api-rest-tokens 2025-07-28 09:22:30 +02:00
ldestailleur
8317bf0c29 FIX html title when using custom value 2025-07-27 13:54:02 +02:00
Laurent Destailleur
ea9dbec6cf Merge branch 'develop' into new-api-rest-tokens 2025-07-24 11:26:20 +02:00
ldestailleur
b710c85b07 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-22 13:00:31 +02:00
ldestailleur
2e47121024 Debug v22 2025-07-21 14:25:48 +02:00
ldestailleur
5f70ad29a2 FIX html title when using custom value 2025-07-19 15:43:40 +02:00
yannis
d88bf9e527 feat: remove unecessary test
permsgroupbyentitypluszero is set as an array before so cond is always
true
2025-07-10 11:29:19 +02:00
yannis
dd87b8fb9c fix: typo 2025-07-10 11:19:26 +02:00
yannis
743f699497 feat: remove unreachable code
permsgroupbyentitypluszero is set as an array before so cond is always
true
2025-07-10 11:03:43 +02:00
yannis
5806ff6887 refactor: clean code + comments 2025-07-10 10:34:04 +02:00
yannis
88da28b5d5 feat: add comment for understanding 2025-07-09 17:27:17 +02:00
yannis
e9f42ce507 fix: php stan 2025-07-09 17:05:15 +02:00
yannis
b7a004372c fix: php phan 2025-07-09 16:44:21 +02:00
yannis
462c5f4d5e fix: php phan 2025-07-09 14:43:44 +02:00
yannis
add2172540 feat: improve arrows for switching user in token card 2025-07-09 11:33:42 +02:00
yannis
641f2a9513 feat: improve permission managment 2025-07-09 09:25:57 +02:00
yannis
ba91e23f31 feat: correct state if it was empty (not 0) + delete 0 if adding perm 2025-07-08 17:24:20 +02:00
yannis
f039ad4052 feat: show all token for user whichever entity he uses 2025-07-08 17:03:05 +02:00
yannis
16e84d0fa9 feat: use all user perms if empty state (not if 0) 2025-07-08 16:29:46 +02:00
yannis
cdb3021ce7 feat: default state to 0 when creating a token 2025-07-08 16:23:18 +02:00
yannis
dd8c2b9c3f feat: dont defaut grant admin perms for token 2025-07-08 16:21:12 +02:00
yannis
975b35ab1e feat: avoid load of user perms if admin token + dont load user perms if state is 0 2025-07-08 16:15:47 +02:00
yannis
3078c0800f feat: set 0 in state for no perms
This is because if empty state it means all current user perms so we
have to distinguish
2025-07-08 15:21:48 +02:00
yannis
f54678fc2f feat: load all user rights if token has no perms (empty state) 2025-07-08 11:45:57 +02:00
yannis
7f492d4a5e feat: update tms for postgre compatibility 2025-07-08 11:17:04 +02:00
yannis
b884f9aa67 feat: change translation 2025-07-07 17:07:39 +02:00
yannis
256eea24ea feat: add nonce for js script 2025-07-07 17:05:27 +02:00
yannis
39a6cadf11 feat: add picto for titles 2025-07-07 17:04:39 +02:00
yannis
fa3f46113a feat: change trans for understandability 2025-07-07 16:16:19 +02:00
yannis
2707e0660e feat: improve tab titles and trans 2025-07-07 16:12:24 +02:00
yannis
c24877a641 feat: add link back to list of token and to list of users 2025-07-07 15:59:42 +02:00
yannis
f211cc832d feat: added tpl for token lists 2025-07-07 15:54:52 +02:00
yannis
9af9bbfa3b feat: disable choosing token user for admin if creating from his list 2025-07-07 12:14:32 +02:00
yannis
366b0f231e feat: disable token filter in lists 2025-07-07 11:39:15 +02:00
yannis
d720fa80ff fix: php phan/stan 2025-07-04 16:38:02 +02:00
yannis
73ac786cbc feat: show all perms but disable button for not owned 2025-07-04 16:06:48 +02:00
yannis
8883c2e038 fix: showing bad entity 2025-07-04 14:50:07 +02:00
yannis
55fc93fdee fix: showing perms of other entity 2025-07-04 14:43:17 +02:00
yannis
fab6619cbb fix: change only tokens in related entity 2025-07-04 14:21:50 +02:00
yannis
dcd4049a9a fix: precommit 2025-07-04 11:11:46 +02:00
yannis
c2ab33cfae fix: precommit 2025-07-04 10:17:00 +02:00
yannis
18068419de fix: php phan/stan 2025-07-04 09:54:34 +02:00
yannis
3d65bb7ed6 fix: precommit 2025-07-04 09:44:32 +02:00