102 Commits

Author SHA1 Message Date
Rémi de Juvigny
4bbfab14fe Move migration to dedicated folder 2023-02-08 11:38:58 +01:00
Rémi de Juvigny
3a33df8e7e Compare content type schema against db columns 2023-02-07 20:35:04 +01:00
Rémi de Juvigny
a3e5ad460b Check schema equality before migration 2023-02-07 20:00:40 +01:00
Rémi de Juvigny
337df63ad1 Merge remote-tracking branch 'origin/main' into fix/audit-log-table 2023-02-07 17:35:23 +01:00
Rémi de Juvigny
3b0309b06f Fix test 2023-02-07 16:00:45 +01:00
Rémi de Juvigny
d1a1754d3d Typo 2023-02-07 12:27:35 +01:00
Rémi de Juvigny
ee2f5f07b4 Add auto db migration 2023-02-07 12:11:28 +01:00
Fernando Chavez
a5a1967d00 Check auth strategy to log events on audit logs 2023-02-03 16:18:53 +01:00
Jean-Sébastien Herbaux
b23bba9ba6
Merge pull request #15147 from strapi/chore/online-license-skeleton 2023-01-25 20:37:25 +01:00
fdel-car
a0b344e575 Fix audit logs test 2023-01-25 19:52:07 +01:00
fdel-car
950dda7877 Update SSO error message 2023-01-25 19:52:07 +01:00
fdel-car
f3550cea82 Add audit logs support & update the features API 2023-01-25 19:52:07 +01:00
fdel-car
5f86716429 Apply Alex's missing feedback 2023-01-25 19:52:07 +01:00
Alexandre Bodin
5a2b379fa0 Runtime server feature flag 2023-01-25 19:52:07 +01:00
Jean-Sébastien Herbaux
a1a54c899a
Merge branch 'main' into features/deits 2023-01-25 19:49:01 +01:00
Mark Kaylor
37a6c0516e Move useRealTimers to afterAll 2023-01-25 15:52:22 +01:00
Rémi de Juvigny
0875dc97a8 Fix audit logs route policy 2023-01-23 19:06:12 +01:00
Rémi de Juvigny
65654f5469 Bump retention days to 90 2023-01-23 17:01:18 +01:00
Rémi de Juvigny
f12187517a
Merge pull request #15475 from strapi/audit-logs/retention
[Audit logs] Move retention calculation to feature level
2023-01-19 18:05:06 +01:00
Rémi de Juvigny
d725279095 Add media folder events 2023-01-18 17:06:17 +01:00
Rémi de Juvigny
ccc6da1f9e Ignore upload plugin entry events 2023-01-18 16:09:52 +01:00
Rémi de Juvigny
c94d8b7750 Move retention calculation to feature level 2023-01-17 11:51:50 +01:00
Rémi de Juvigny
2f3f9f4eb2 Fix test 2023-01-17 10:07:38 +01:00
Fernando Chavez
569da42a9f Merge fix and small change 2023-01-02 18:46:56 +01:00
Fernando Chavez
01ca9a66fc typo fix 2023-01-02 14:16:30 +01:00
Fernando Chavez
b16517ad4e Better name to the delete expired events job 2023-01-02 13:18:48 +01:00
Fernando Chavez
e53c3544e6 Create a new admin-actions file for EE and add audit logs actions 2023-01-02 10:08:16 +01:00
Fernando Chavez
6f975b3815 Add delete expired logs methods and add the cron 2022-12-30 11:02:41 +01:00
Fernando Chavez
c7e10980fd Return user object with less info 2022-12-30 10:51:57 +01:00
Fernando Chavez
eeceb3d81c Use getFullname in both endpoints 2022-12-29 10:04:25 +01:00
Fernando Chavez
7489dc2955 Add getFullname function 2022-12-29 10:02:48 +01:00
Fernando Chavez
b90589d9a2 Change audit logs endpoints to return just the fullname and not all the user info 2022-12-28 17:13:31 +01:00
Fernando Chavez
a60014d949 Find one auditlog endpoint and remove payload from findMany endpoint 2022-12-23 11:54:32 +01:00
Fernando Chavez
13dfc1e1a5 improves on audit logs submission form 2022-12-22 20:08:14 +01:00
Fernando Chavez
21ce7507f2 merge from local-providers branch 2022-12-22 19:58:37 +01:00
Fernando Chavez
fbaa4101ac Add pagination and order in the audit logs endpoint & tests 2022-12-22 16:32:12 +01:00
Rémi de Juvigny
99bf01d715 Store provider on the audit log service object 2022-12-22 16:02:37 +01:00
Fernando Chavez
45085fc50c New audit logs endpoint 2022-12-22 10:44:03 +01:00
Rémi de Juvigny
7ba3793517
Merge branch 'feature/audit-logs' into audit-logs/local-provider 2022-12-21 18:39:43 +01:00
Rémi de Juvigny
2ab05a13c1 Restore await executeCERegister 2022-12-21 18:39:15 +01:00
Fernando Chavez
89021f7e23 Merge branch 'audit-logs/local-provider' of github.com:strapi/strapi into audit-logs/logs-endpoint 2022-12-21 18:30:36 +01:00
Rémi de Juvigny
91926bd62f More tests 2022-12-21 14:35:52 +01:00
Fernando Chavez
ab54a49736 Edit in permission events' name and in roles emitting 2022-12-21 14:31:43 +01:00
Fernando Chavez
e1e0fdba04 Delete old process-event file 2022-12-21 13:14:40 +01:00
Fernando Chavez
e4a9fd95f3 Creating new events for the permissions and handle them on the service level 2022-12-21 13:12:22 +01:00
Rémi de Juvigny
6a7cef3d6c Make provider register async 2022-12-21 12:37:47 +01:00
Rémi de Juvigny
d90f3524f7 Update tests 2022-12-21 12:33:08 +01:00
Rémi de Juvigny
bc890ae9d3 Save audit log events to database 2022-12-21 12:30:53 +01:00
Rémi de Juvigny
25816f88b1 Register invisible audit log collection type 2022-12-21 12:30:53 +01:00
Fernando Chavez
b158657dc6 Merge with feature branch 2022-12-21 12:25:23 +01:00