Commit Graph

79 Commits

Author SHA1 Message Date
Frédéric FRANCE
9d4260c858 fix Ci (#36354)
* fix Ci

* Update html.form.class.php

* fix

* remove duplicate
2025-11-21 17:26:29 +01:00
Laurent Destailleur
0e4bfeead7 Fix CI 2025-11-21 14:41:31 +01:00
Laurent Destailleur
1d6f8d5cbd Debug v23 2025-11-21 14:40:33 +01:00
Laurent Destailleur
705211a5f4 Doc 2025-11-21 14:35:04 +01:00
Laurent Destailleur
3e612275e8 Clean code 2025-11-21 14:25:34 +01:00
Laurent Destailleur
09da2b2365 Merge manually to close #34719. Need to add API_IN_TOKEN_TABLE=1 for the
transition to use several API tokens per user.
2025-11-20 23:51:37 +01:00
Laurent Destailleur
40fdd49b05 Update card.php 2025-10-15 04:46:19 +02:00
Laurent Destailleur
80e7c42e3d Update card.php 2025-10-15 04:38:25 +02:00
Laurent Destailleur
0e9cbad4f6 Update card.php 2025-08-21 00:57:57 +02:00
Laurent Destailleur
6227aac04c Update card.php 2025-08-21 00:19:44 +02:00
Laurent Destailleur
f5e5c5c110 Update card.php 2025-08-16 04:14:17 +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
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
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
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
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
yannis
1ffdd5736a fix: error if user had no perms (himself/group) 2025-07-03 16:03:48 +02:00
yannis
8b4c3ef80c fix: bad test that unable to create token 2025-07-03 12:08:46 +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
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
yannis
ef96314026 fix: cancel button not working when comming from admin token list 2025-07-01 16:52:26 +02:00
yannis
ec79241dc2 feat: multicompany display for token list 2025-07-01 16:09:12 +02:00