179 Commits

Author SHA1 Message Date
Gustav Hansen
4a9806d753 chore: Update test names 2022-05-23 09:41:36 +02:00
wuxinnan
f36c6d1312 move test case to previous story 2022-05-19 11:06:19 -07:00
wuxinnan
1e3d6855cc added test case to check password validity 2022-05-18 10:36:12 -07:00
Convly
e77226c678 Added test for the admin registration token 2022-05-13 12:11:20 +02:00
Convly
510b54f16e Moved logic to the right controller 2022-05-13 11:33:25 +02:00
Convly
bb87e910b2 Manually set the registrationToken in the register payload response 2022-05-13 11:22:41 +02:00
Convly
620418c9a6 Remove sensitive fields from sanitize user in the admin 2022-05-10 07:00:19 +02:00
Convly
132def5d57 Fix unit tests 2022-05-02 15:01:27 +02:00
Convly
7f6d194905 Use schema.config.attributes instead schema.attributes 2022-05-02 14:41:24 +02:00
Convly
956ab9de47 Add basic tests for permissions-manager sanitize utils 2022-04-26 14:43:09 +02:00
Convly
1d50038e44 Remove hidden fields from the admin API responses 2022-04-26 10:39:50 +02:00
ivanThePleasant
03a6b33131
Merge pull request #12910 from strapi/chore/opt-out-telemetry-call
Opt out telemetry command
2022-04-12 15:59:16 +03:00
Pierre Noël
54fda9c7c0 change error messages 2022-04-07 16:50:20 +02:00
Pierre Noël
89221e8ee9 fix wording mistakes 2022-04-07 16:50:19 +02:00
Pierre Noël
79396f8bbb continue reading API_TOKEN_SALT + add warning deprecated message 2022-04-07 16:50:19 +02:00
Pierre Noël
20e6d9a94b Improve error messages 2022-04-07 16:50:15 +02:00
Pierre Noël
1e6d1ce6a2 fix unit tests 2022-04-07 16:34:58 +02:00
Pierre Noël
019007ba3e improve error message + remove use of API_TOKEN_SALT 2022-04-07 16:34:57 +02:00
Pierre Noël
9fc63af260 harmonize secret generation + don't generate in production mode 2022-04-07 16:34:56 +02:00
ivanThePleasant
15e2b96fc6 Improved logic for tests to pass 2022-03-30 11:54:06 +03:00
ivanThePleasant
675c19219b Reverted admin telemetry changes and rewrote it for an easier approach 2022-03-30 10:25:18 +03:00
ivanThePleasant
6e08bc2045 Revert "Added telemetry disable logic to the admin panel events"
This reverts commit c6307ece6357737a5c7afdc60169672b6122c617.
2022-03-30 10:19:28 +03:00
ivanThePleasant
ab69f2bde1 Adjusted admin tests to reflect changes with telemetry 2022-03-29 20:18:13 +03:00
ivanThePleasant
c6307ece63 Added telemetry disable logic to the admin panel events 2022-03-29 16:49:29 +03:00
Alexandre Bodin
2791a2a5ae Merge branch 'master' into chore/knex-v1 2022-03-29 15:49:00 +02:00
Gustav Hansen
8aaaff77d4 Chore: Prettify all files 2022-03-29 14:20:41 +02:00
Alexandre Bodin
4b965665d4 Test each sqlite pkg 2022-03-25 09:02:19 +01:00
Mark Kaylor
a58c2bc035 Merge branch 'master' of github.com:strapi/strapi into strapi-market-release 2022-03-11 11:08:17 +01:00
Sacha STAFYNIAK
7396752575 fix: serve all admin dist file with public cache except html files 2022-03-10 15:14:09 +01:00
Sacha STAFYNIAK
970f1d2b5d fix: serve admin static file with public cache 2022-03-05 16:30:06 +01:00
Rémi de Juvigny
1d544d9841 Fix tests 2022-02-22 14:54:44 +01:00
Rémi de Juvigny
f7fd8bcebf Refactor to fetch data using hooks 2022-02-21 16:38:15 +01:00
Rémi de Juvigny
ab18a34b7a Fetch useYarn info 2022-02-18 20:15:46 +01:00
Rémi de Juvigny
9130c8304c Refactor check if plugin is installed 2022-02-18 18:53:03 +01:00
Demian Caldelas
69ce8b5287
Fix sanity check for @casl/ability upgrade #12232 (#12265)
* Fix sanity checks for @casl/ability upgrade

* Add comments for previous commit

* Fix sanity checks for @casl/ability upgrade #12232
2022-01-26 09:55:17 +01:00
Pierre Noël
da9b064536 add session middleware + remove authentication using url param access_token 2022-01-19 17:10:41 +01:00
Alexandre BODIN
cc9a1b7e01
Merge pull request #11983 from tillschweneker/fix-env_path-variable
[FIX] respect custom ENV_PATH
2022-01-19 10:25:12 +01:00
Vincent
b606178332
Interface language usage metrics (#12107)
* feat: sending didChangeInterfaceLanguage event

* fix: registered user model lifecycle hook to send  event

* test: added tests for user and metrics services

* fix: sending event on user delete

* fix: avoid sending event when language is not updated
2022-01-17 17:45:26 +01:00
harimkims
31259dbf4a Remove unnecessary bracket in the end 2022-01-17 14:13:33 +01:00
Kim, Harim
9e8655716d Refactor code
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2022-01-17 14:13:33 +01:00
harimkims
de69873606 Fix that returns an empty object when the admin user value is null
Signed-off-by: harimkims <harimkims@gmail.com>
2022-01-17 14:13:33 +01:00
harimkims
2ff2ba860e Fix hasMany admin users making app crash
Signed-off-by: harimkims <harimkims@gmail.com>
2022-01-17 14:13:33 +01:00
Jean-Sébastien Herbaux
ce09d38972
Enable to create/trigger webhooks with no events (#12174)
Co-authored-by: cyril lopez <cyril@strapi.io>
2022-01-12 16:26:06 +01:00
tillschweneker
ac0c306a0b [FIX] respect custom ENV_PATH when setting API_TOKEN_SALT 2021-12-22 10:08:47 +01:00
harimkims
a926999b29 Fix relations are not populated if API key is read-only
Signed-off-by: harimkims <harimkims@gmail.com>
2021-12-21 22:37:43 +09:00
Alexandre Bodin
21728d60ac Cleanup 2021-11-30 09:03:52 +01:00
Alexandre Bodin
b82f0a3d01 Build admin only when necessary and serve it from the admin package 2021-11-29 16:20:47 +01:00
Alexandre BODIN
71bdfa3463
Merge pull request #11668 from strapi/v4/remove-sensible-fields-from-admin-user-relations
remove unallowed fields from admin::user relations
2021-11-25 10:51:02 +01:00
Dieter Stinglhamber
ba25b7b651 remove unallowed fields from admin::user relations 2021-11-24 15:15:23 +01:00
Alexandre BODIN
aaef74b58a
Merge pull request #11660 from strapi/v4/fix-sso-query
[V4] Fix sso existing user query
2021-11-23 18:20:00 +01:00