andres-portainer
92f338e0cd
fix(users): fix data-race in userCreate() BE-11209 ( #12193 )
2024-09-05 22:28:04 -03:00
andres-portainer
5353570721
task(code): remove unnecessary uses of govalidator BE-11181 ( #12156 )
2024-08-28 19:37:20 -03:00
andres-portainer
faca64442f
chore(code): use cmp.Or() EE-7333 ( #12009 )
2024-07-04 19:23:53 -03:00
andres-portainer
9ee092aa5e
chore(code): reduce the code duplication EE-7278 ( #11969 )
2024-06-26 18:14:22 -03:00
andres-portainer
2b01136d03
feat(demo): remove demo mode EE-6769 ( #11841 )
2024-05-17 20:00:01 -03:00
Chaim Lev-Ari
5560a444e5
fix(users): return json from create token [EE-6856] ( #11577 )
2024-04-25 10:10:42 +03:00
Matt Hook
dc9d7ae3f1
fix(apikey): don't authenticate api key for external auth [EE-6932] ( #11460 )
2024-04-08 11:03:52 +12:00
Prabhat Khera
1303a08f5a
fix(auth): make createAccessToken api backward compatible [EE-6818] ( #11326 )
...
* fix(auth): make createAccessToken api backward compatible [EE-6818]
* fix(api): api error message [EE-6818]
* fix messages
2024-03-14 09:02:28 +13:00
Dakota Walsh
488fcc7cc5
fix(docs): convert APIKey to string EE-6199 ( #10943 )
2024-01-15 11:59:39 +13:00
Matt Hook
dbd2e609d7
fix(api-key): add password requirement to generate api key [EE-6140] ( #10617 )
2024-01-09 11:14:24 +13:00
Ali
e84dd27e88
feat(cache): default to off [EE-6293] ( #10867 )
...
Co-authored-by: testa113 <testa113>
2023-12-19 12:13:44 +13:00
Matt Hook
e687cee608
ignore, remove or comment out unused code. Enable unused linter ( #10743 )
2023-12-18 10:28:15 +13:00
cmeng
5c59c53e91
fix(password): force change password EE-6382 ( #10708 )
2023-11-30 17:46:57 +13:00
Ali
1bcbfb8213
fix(cache): set as true for a new admin [EE-6293] ( #10689 )
...
Co-authored-by: testa113 <testa113>
2023-11-27 10:19:08 +13:00
Ali
04c1c7d8fb
fix(cache): cache fixes [EE-6293] ( #10681 )
...
* fix(cache): default cache to on for new users [EE-6293]
* clear cache to transition terminating namespace
* add rq requests back to the namespace view
---------
Co-authored-by: testa113 <testa113>
2023-11-24 11:27:52 +13:00
Ali
4096bb562d
feat(cache): introduce cache option [EE-6293] ( #10672 )
...
Co-authored-by: testa113 <testa113>
2023-11-22 14:21:07 +13:00
Chaim Lev-Ari
436da01bce
feat(auth): save jwt in cookie [EE-5864] ( #10527 )
2023-11-20 09:35:03 +02:00
Ali
ecce501cf3
Revert "feat(cache): introduce cache option [EE-6293] ( #10641 )" ( #10658 )
...
This reverts commit 2c032f1739
.
2023-11-20 15:08:19 +13:00
Ali
2c032f1739
feat(cache): introduce cache option [EE-6293] ( #10641 )
2023-11-20 10:22:48 +13:00
Prabhat Khera
103d908e63
fix(users): hide admin users for non admins from user list API [EE-6290] ( #10580 )
...
* hide admin users for non admins from user list API
* address review comments
2023-11-02 16:08:17 +13:00
andres-portainer
ae1726cece
feat(performance): performance optimizations EE-6042 ( #10520 )
2023-10-24 13:55:11 -03:00
cmeng
bc0050a7b4
fix(user-token): prevent admin read tokens of other admins EE-5858 ( #10489 )
2023-10-19 16:23:14 +13:00
Prabhat Khera
b468070945
feature(helm): move helm charts inside advance deployments (create from manifest) [EE-5999] ( #10395 )
2023-10-09 11:20:44 +13:00
Chaim Lev-Ari
95f3cf6e5b
refactor(server): use httperror.NewError instead of struct [EE-6189] ( #10398 )
2023-10-05 11:26:24 +03:00
Prabhat Khera
3c4660bbf3
fix(permissions): non admin access to view users [EE-5825] ( #10352 )
...
* fix non admin access to view users
* review comments and fix tests
2023-09-25 09:08:26 +13:00
Matt Hook
e3a4b7ad17
improved user update validation ( #10321 )
2023-09-18 12:29:04 +12:00
Matt Hook
91d2132264
prevent regular users changing their username ( #10247 )
2023-09-06 09:17:04 +12:00
Matt Hook
e5f7641e46
non-admins must supply existing passwd when changing passwd ( #10249 )
2023-09-06 08:26:32 +12:00
Dakota Walsh
6a08bbe7e9
fix(security): block non-admins from user info listing EE-5825 ( #10241 )
2023-09-05 09:17:05 +12:00
andres-portainer
8cc5e0796c
feat(libhttp): move into the Portainer repository EE-5475 ( #10231 )
2023-09-01 19:27:02 -03:00
andres-portainer
4cc96b4b30
feat(dataservices): unify access methods and abstract away redundant code [EE-5628] ( #9115 )
2023-06-22 18:28:07 -03:00
andres-portainer
f7dd73b0f7
feat(unit-testing): add a mock for the RequestBouncer EE-5610 ( #9089 )
2023-06-16 10:44:22 -03:00
andres-portainer
eda07614ce
chore(unit-test): simplify teardown EE-5536 ( #9015 )
2023-05-30 11:02:22 -03:00
Matt Hook
334eee0c8c
fix(errors): wrap db errors, improve error handling ( #8859 )
...
* use error check func, wrap db object not found
* add errorlint and fix all the linting errors
* add exportloopref linter and fix errors
* fix incorrect error details returned on an api
* fix new errors
* increase linter timeout
* increase timeout to 10minutes
* increase timeout to 10minutes
* rebase and fix new lint errors
* make CE match EE
* fix govet issue
2023-05-05 12:19:47 +12:00
Oscar Zhou
19eceaf37f
fix(restore/swarm): init primary endpoint after admin user is created ( #8854 )
2023-05-04 09:44:11 +12:00
matias-portainer
621a01ba3b
fix(upgrade): remove yellow upgrade banner EE-5141 ( #8640 )
2023-03-13 09:01:27 -03:00
Chaim Lev-Ari
9a8e95d017
feat(upgrade): show subtle banner [EE-5017] ( #8489 )
2023-02-19 09:47:50 +05:30
Matt Hook
44d69f3a3f
hide the password in the response ( #8437 )
2023-02-10 18:26:18 +13:00
Dakota Walsh
0ddcad66f3
fix(auth): invalidate session when permissions change EE-3320 ( #8103 )
2022-12-14 10:12:00 +13:00
andres-portainer
5488389278
fix(code): replace calls to ioutil EE-4425 ( #7878 )
2022-10-17 15:29:12 -03:00
andres-portainer
cb79dc18f8
chore(code): reduce divergence with EE EE-4344 ( #7748 )
2022-09-28 14:56:32 -03:00
Oscar Zhou
53025178ef
fix(access): support to list users or teams with specified endpoint [EE-1704] ( #7610 )
2022-09-16 14:45:14 +12:00
andres-portainer
9ef5636718
chore(handlers): replace structs by functions for HTTP errors EE-4227 ( #7664 )
2022-09-14 20:42:39 -03:00
Chao Geng
a7d458f0bd
chore(tests): use t.TempDir to create temporary test directory [EE-3700] ( #7612 )
...
* create temporary test directory with t.TempDir
2022-09-14 13:59:47 +08:00
Dmitry Salakhov
461fc91446
fix: clarify password change error ( #7082 )
2022-06-15 16:56:59 +12:00
Chaim Lev-Ari
b90b1701e9
fix(users): remove unused imports [EE-3340] ( #7016 )
...
fixes [EE-3340]
2022-06-06 10:04:33 +03:00
congs
0522032515
feat(teamleader) EE-294 redesign team leader ( #6973 )
...
feat(teamleader) EE-294 redesign team leader (#6973 )
2022-06-03 16:44:42 +12:00
itsconquest
bca1c6b9cf
feat(internal-auth): ability to set minimum password length [EE-3175] ( #6942 )
...
* feat(internal-auth): ability to set minimum password length [EE-3175]
* pass props to react component
* fixes + WIP slider
* fix slider updating + add styles
* remove nested ternary
* fix slider updating + add remind me later button
* add length to settings + value & onchange method
* finish my account view
* fix slider updating
* slider styles
* update style
* move slider in
* update size of slider
* allow admin to browse to authentication view
* use feather icons instead of font awesome
* feat(settings): add colors to password rules
* clean up tooltip styles
* more style changes
* styles
* fixes + use requiredLength in password field for icon logic
* simplify logic
* simplify slider logic and remove debug code
* use required length for logic to display pwd length warning
* fix slider styles
* use requiredPasswordLength to determine if password is valid
* style tooltip based on theme
* reset skips when password is changed
* misc cleanup
* reset skips when required length is changed
* fix formatting
* fix issues
* implement some suggestions
* simplify logic
* update broken test
* pick min password length from DB
* fix suggestions
* set up min password length in the DB
* fix test after migration
* fix formatting issue
* fix bug with icon
* refactored migration
* fix typo
* fixes
* fix logic
* set skips per user
* reset skips for all users on length change
Co-authored-by: Chaim Lev-Ari <chiptus@gmail.com>
Co-authored-by: Dmitry Salakhov <to@dimasalakhov.com>
2022-06-03 16:00:13 +12:00
Chaim Lev-Ari
12cddbd896
feat(demo): disable features on demo env [EE-1874] ( #6040 )
2022-05-22 08:34:09 +03:00
Prabhat Khera
e4241207cb
fix(database): db migration improvements EE-2688 ( #6662 )
2022-04-14 16:25:13 +12:00