Commit graph

151292 commits

Author SHA1 Message Date
yannis
b1ba40ccbb fix: php phan 2025-07-09 17:20:51 +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
ldestailleur
3b5e07dca9 Merge branch '17.0' of git@github.com:/Dolibarr/dolibarr.git into 17.0 2025-07-09 15:27:37 +02:00
ldestailleur
8927d1260a Fix travis 2025-07-09 15:27:28 +02:00
yannis
462c5f4d5e fix: php phan 2025-07-09 14:43:44 +02:00
yannis
185ac842d1 feat: not showing token tab if access forbidden 2025-07-09 14:21:56 +02:00
yannis
aa645d80ba fix: php phan 2025-07-09 12:05:07 +02:00
yannis
add2172540 feat: improve arrows for switching user in token card 2025-07-09 11:33:42 +02:00
yannis
be949278ff feat: cant access document of entity if different of token entity 2025-07-09 11:15:07 +02:00
yannis
641f2a9513 feat: improve permission managment 2025-07-09 09:25:57 +02:00
yannis
9617dcafd3 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into new-api-rest-tokens 2025-07-08 17:31:00 +02:00
yannis
1b346b5ed2 feat: removed unecessaty line 2025-07-08 17:25:13 +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
Laurent Destailleur
d6d0acf159 Fix warning 2025-07-08 16:01:45 +02:00
yannis
6206a6110c feat: not retrieving tokens if user does not use api 2025-07-08 15:55:38 +02:00
Laurent Destailleur
eee6104288 Fix phan 2025-07-08 15:49:31 +02:00
Laurent Destailleur
fabcb1cf17 Fix CI 2025-07-08 15:44:37 +02:00
yannis
d328436786 feat: better calculation for nb user perms 2025-07-08 15:42:53 +02:00
Artem Chernitsov
0efea5cca3
fix calendar holiday link (#34711) 2025-07-08 15:41:44 +02:00
Laurent Destailleur
edd5ddbb92 Fix CI 2025-07-08 15:34:24 +02:00
Laurent Destailleur
3f10bd2b7e Fix warning 2025-07-08 15:32:27 +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
61560e0101 feat: filter on user working for list of all tokens 2025-07-08 15:10:34 +02:00
github-actions[bot]
2a2322067b
PHPStan > Update baseline (#34713)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-07-08 14:48:06 +02:00
Mohamed DAOUD
0a8efe53b1
enhance payment checks (#34712) 2025-07-08 14:14:29 +03: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
Laurent Destailleur
77ce4ebc39 Debug v22 2025-07-08 00:56:55 +02:00
Laurent Destailleur
6e871343fa CSS 2025-07-08 00:15:42 +02:00
Laurent Destailleur
86208b9be2 Debug v22 2025-07-07 23:57:35 +02:00
Laurent Destailleur
226a50e1f6 More logs 2025-07-07 23:53:51 +02:00
Laurent Destailleur
421802cc87 Doc 2025-07-07 23:40:20 +02:00
Laurent Destailleur
34f02f0061 Doc 2025-07-07 23:27:39 +02:00
Laurent Destailleur
163aafa552 Fix doxygen 2025-07-07 23:12:17 +02:00
Laurent Destailleur
01535bc945 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-07 22:56:18 +02:00
Laurent Destailleur
8910f0a174 Doc 2025-07-07 22:55:14 +02:00
Laurent Destailleur
8c0f2a089b Debug v22 2025-07-07 22:54:59 +02:00
github-actions[bot]
dac95c340b
PHPStan > Update baseline (#34701)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
2025-07-07 19:13:28 +03:00
Charlène Benke
9e9893ac72
fix typo documentation error on api stockmovement (#34703) 2025-07-07 19:12:47 +03: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
9107c86c89 feat: Not showing API operations if use api not defined for user 2025-07-07 16:28:39 +02:00
yannis
fa3f46113a feat: change trans for understandability 2025-07-07 16:16:19 +02:00