17319 Commits

Author SHA1 Message Date
Alexandre Bodin
4befaea442 Register test auth before load 2021-09-08 18:23:52 +02:00
cyril lopez
58263edf20
Merge pull request #10902 from strapi/v4/admin-plugins
Use enabled plugins to build admin
2021-09-08 18:18:14 +02:00
Alexandre Bodin
ede58ae5be Make plugin copy unnecessary 2021-09-08 17:25:24 +02:00
Alexandre BODIN
2d0f6af9e4
Merge pull request #10859 from strapi/v4/content-api
v4/content api
2021-09-08 16:48:44 +02:00
Alexandre Bodin
a14b16af51 Move admin auth to global auth system 2021-09-08 16:16:16 +02:00
Alexandre Bodin
88752d361f Fix tests 2021-09-07 21:54:27 +02:00
Alexandre Bodin
566805c8ae Update test on /api 2021-09-07 21:29:34 +02:00
Alexandre Bodin
37bacdb691 Start fixing tests 2021-09-07 21:03:30 +02:00
Alexandre Bodin
eb522e73e2 Use enabled plugins to build admin 2021-09-07 17:11:16 +02:00
Alexandre Bodin
c6c4a62d2d Cleanup layout not needed 2021-09-07 16:03:54 +02:00
Alexandre Bodin
caee87bc10 Move U&P permissions to new auth system 2021-09-07 15:11:12 +02:00
Alexandre Bodin
b0609c0d96 Make new format compatible with old permissions format in u&p 2021-09-07 15:11:11 +02:00
Alexandre Bodin
33adde77f6 Cleanup create/update role 2021-09-07 15:11:11 +02:00
Alexandre Bodin
733b5d8690 Cleanup u-p plugin 2021-09-07 15:11:10 +02:00
Alexandre Bodin
561235e7cf Refactor u-p permission syntax 2021-09-07 15:11:10 +02:00
Alexandre Bodin
7aa012da32 Init auth 2021-09-07 15:11:10 +02:00
Alexandre Bodin
3b41a627a4 split server code and init content api auth policy 2021-09-07 15:11:09 +02:00
Alexandre Bodin
f606198c1d Fix generator wrong single-type url 2021-09-07 15:11:09 +02:00
Alexandre Bodin
ba15f31f89 Cleanup admin ee and middlewares 2021-09-07 15:11:08 +02:00
Alexandre Bodin
0ff3269c3a Use the right api 2021-09-07 15:11:08 +02:00
Alexandre Bodin
9b268b9956 Split users-permissions routes 2021-09-07 15:11:08 +02:00
Alexandre Bodin
9aa9837a4c split i18n routes 2021-09-07 15:11:07 +02:00
Alexandre Bodin
f402731adf split upload routes 2021-09-07 15:11:07 +02:00
Alexandre Bodin
08ee60791a split email routes 2021-09-07 15:11:07 +02:00
Alexandre Bodin
fe5776258d Fix get routes u&p 2021-09-07 15:11:06 +02:00
Alexandre Bodin
13110994f9 Use router middleware to add i18n middlewares 2021-09-07 15:11:06 +02:00
Alexandre Bodin
d4eef8ea75 Add some lazy loading 2021-09-07 15:11:05 +02:00
Alexandre Bodin
e4abd6f4dc Move server into services 2021-09-07 15:11:05 +02:00
Alexandre Bodin
58dde6837f use proxy and router prefix config in server 2021-09-07 15:11:04 +02:00
Alexandre Bodin
ae8c970661 Make use of new server in router middleware before removing it 2021-09-07 15:11:04 +02:00
Alexandre Bodin
4349d6b822 Init new routing layer 2021-09-07 15:11:04 +02:00
Alexandre Bodin
bc2760f14f Init server and http-server 2021-09-07 15:11:03 +02:00
Alexandre BODIN
76d1ac7ada
Merge pull request #10877 from strapi/v4/migrate-email-upload-plugin
Make email, upload, CM and CTB plugins internal
2021-09-06 13:36:53 +00:00
Pierre Noël
4b30d03ed6 remove possibility to disable an internal plugin 2021-09-06 12:03:52 +02:00
Alexandre BODIN
52bc4642b8
Merge pull request #10868 from strapi/v4/plugin-api/local-plugin-loading
Append strapi.dir to plugin path if relative
2021-09-06 07:56:33 +00:00
Pierre Noël
70eec366f9 make email, upload, CM and CTB plugins internal 2021-09-03 15:24:32 +02:00
Pierre Noël
ce85d3d69d try to resolve as a module first 2021-09-03 10:57:46 +02:00
Pierre Noël
a31e301701 Shorter regex + direct use of resolve 2021-09-02 14:01:13 +02:00
Pierre Noël
13cec4cadb append strapi.dir to plugin path if relative 2021-09-02 12:14:44 +02:00
Alexandre BODIN
c1bc942632
Merge pull request #10846 from strapi/v4/rest-api
v4/rest api
2021-09-02 10:05:17 +02:00
Alexandre BODIN
056f734e1a
Merge pull request #10858 from strapi/v4/plugin-api/migrate-myplugin
Migrate locale plugin "myplugin" to v4
2021-09-02 10:03:15 +02:00
Alexandre Bodin
266dcf5d88 Refactor some code 2021-09-02 09:33:18 +02:00
Alexandre Bodin
23f7cdb7fa Fix typos 2021-09-01 21:13:23 +02:00
Pierre Noël
56ffa3a63f migrate myplugin to v4 2021-09-01 18:38:40 +02:00
Alexandre Bodin
d7bc8bc780 Fix wrong parameter name check 2021-09-01 15:28:42 +02:00
Alexandre BODIN
1cf79d88b8
Merge pull request #10843 from strapi/v4/rest-api-request-format
[v4] Move request format in core-api
2021-09-01 09:15:20 +02:00
Alexandre Bodin
5d702453a6 Move request format in core-api 2021-08-31 22:22:52 +02:00
Alexandre Bodin
4b81731941 Fix tests 2021-08-31 19:31:32 +02:00
Alexandre Bodin
b781213b01 Implement pagination logic in core api 2021-08-31 19:31:31 +02:00
Alexandre Bodin
b44a552eee Implement REST API pagination with paged or offset and withCount 2021-08-31 19:31:31 +02:00