27 Commits

Author SHA1 Message Date
Alexandre Bodin
da64f1575a fix: emailConfirmation broken 2024-09-16 10:26:16 +02:00
Ben Irvin
a7cf7e50ee
fix: u&p service hashes password attributes 2024-04-18 15:58:46 +02:00
Alexandre Bodin
3f6a8109ea chore: introduce query-params service to remove strapi.global dep in utils 2024-03-25 14:03:32 +01:00
Alexandre Bodin
5ffb3c7100 chore: deprecate entity-service and delegate to document service 2024-03-12 21:02:33 +01:00
Alexandre Bodin
41da5d47c9 chore: setup configuration in one place only 2024-01-23 14:36:43 +01:00
Convly
6b0b981e90 Update users-permissions service to prevent usage of invalid email templates 2022-12-30 19:01:04 +01:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
Alexandre Bodin
8be749a5ac Add tests 2022-08-03 22:43:03 +02:00
Kim, Harim
e0191544e5
Merge branch 'strapi:master' into fix/populate-user 2022-04-20 21:50:33 +09:00
Marlon Baeten
03028a763f Added ADMIN_URL to email templates 2022-03-21 11:04:54 +01:00
Marlon Baeten
1028fefb7f Add SERVER_URL variable to user e-mail templates 2022-03-07 16:08:47 +01:00
harimkims
183bad03d3 Replace fetch, fetchAll query with entityService 2022-03-03 22:56:58 +09:00
thomas-br
0e65636013
Removing whitespace 2022-01-29 22:38:55 +01:00
thomas-br
e602d645be correcting entity update 2022-01-29 22:16:18 +01:00
thomas-br
5ae82c0edf correcting entity create 2022-01-27 10:15:04 +01:00
thomas-br
efcaa982d3 relying on core password-hashing 2022-01-23 14:35:31 +01:00
Pierre Noël
d4b59a1029 fix confirmation url missing the api prefix 2022-01-10 18:13:19 +01:00
Kim, Harim
0fd0f57126
Fix Update user does not update component attribute (#11871)
* use entityService to update user instead of old query, add update test

Signed-off-by: harimkims <harimkims@gmail.com>

* fix e2e test

* Add component update test

* Remove console.log

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2022-01-05 15:54:58 +01:00
Convly
25e62db93a use 'sanitizers' instead of 'utils' 2021-11-10 17:08:54 +01:00
Convly
8d4f8ddd57 Simplify & abstract common sanitize logic 2021-11-08 15:52:42 +01:00
Convly
05c5e4860e Sanitize user information for email templates 2021-11-05 10:45:25 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Alexandre Bodin
0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
Alexandre Bodin
733b5d8690 Cleanup u-p plugin 2021-09-07 15:11:10 +02:00
Alexandre Bodin
575cbbdc7c Migrate plugin getters 2021-08-19 23:30:49 +02:00
Pierre Noël
98719b6c64 migrate plugin structures to V4 2021-08-19 16:49:33 +02:00