Alexandre Bodin
c765101934
Merge branch 'master' of github.com:strapi/strapi into releases/4.2.0
2022-05-25 12:12:56 +02:00
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
ronronscelestes
6f211e8217
Merge branch 'master' of https://github.com/strapi/strapi into features/menu-logo
2022-05-11 13:48:35 +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
vincentbpro
1479641c83
Merge branch 'master' of github.com:strapi/strapi into features/menu-logo
2022-04-26 11:54:35 +02:00
Convly
1d50038e44
Remove hidden fields from the admin API responses
2022-04-26 10:39:50 +02:00
vincentbpro
0ba8bc5a98
fix(menu-logo): handle empty project-settings store in delete service
2022-04-20 16:26:24 +02:00
vincentbpro
4c80b3f798
feat(menu-logo): added GET /project-settings route
2022-04-20 15:52:58 +02:00
vincentbpro
00529853e5
fix(logo-customization): avoid passing map index to multi-param providers
2022-04-15 12:09:36 +02:00
vincentbpro
bcf3365e1c
test(logo-customization): updated tests
2022-04-15 11:32:14 +02:00
vincentbpro
c6cbf6b58d
test(logo-customization): updated tests
2022-04-15 11:18:03 +02:00
vincentbpro
ba8cb27bb1
refactor(logo-customization): simplified updateProjectSettings service function signature
2022-04-15 09:58:35 +02:00
vincentbpro
5fde7a23d0
refactor(logo-customization): compare files hashes directly instead of urls
2022-04-15 09:26:22 +02:00
vincentbpro
aecc0244e3
fix(logo-customization): handled undefined files object
2022-04-15 09:15:07 +02:00
vincentbpro
1a6c30f771
refactor(logo-customization): removed useless awaits
2022-04-15 09:10:34 +02:00
vincentbpro
df8ca58515
refactor(menu-logo): refactored project-settings service
2022-04-08 09:49:29 +02:00
vincentbpro
3432eeade1
fix(logo-customization): fix bad use of upload providers
2022-04-08 09:36:08 +02: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
vincentbpro
9ce78034ef
feat(logo-cuatomization): added size and ext to files
2022-04-07 12:02:17 +02:00
vincentbpro
bbed67982c
refactor(logo-customization): refactored service function params
2022-04-07 11:41:32 +02:00
vincentbpro
02b14f2bb4
test: added tests for project-settings service
2022-04-06 17:56:41 +02:00
vincentbpro
11a203459a
feat(logo-customization): delete old logos and getProjectSettings service
2022-04-06 13:54:52 +02:00
vincentbpro
d66bde83ce
refactor(logo-customization): cleaned updateProjectSettings service
2022-04-06 12:23:17 +02:00
vincentbpro
d4c5e294a0
feat(logo-customization): parsing and validating image dimensions
2022-04-06 11:50:00 +02:00
vincentbpro
5663e5065d
feat(menu-logo): file upload and storing data in corestore
2022-04-06 09:09:04 +02:00
vincentbpro
3451aceaf5
feat(menu-logo): added upload feature
2022-04-04 15:09:08 +02: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
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
tillschweneker
ac0c306a0b
[FIX] respect custom ENV_PATH when setting API_TOKEN_SALT
2021-12-22 10:08: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
Convly
fdefb1382c
Use a custom findOneByEmail to search for existing user
2021-11-23 12:16:54 +01:00
Convly
091d360f7b
Fix missing permission for empty components in CTs
2021-11-17 16:57:22 +01:00
Convly
25e62db93a
use 'sanitizers' instead of 'utils'
2021-11-10 17:08:54 +01:00