6261 Commits

Author SHA1 Message Date
Julie Plantey
984e5cac49 fix relations in connect when it exists in db 2022-10-03 12:00:20 +02:00
Julie Plantey
6f4ebebfb8 Merge branch 'feature/relations-main-view' of https://github.com/strapi/strapi into feature/relations-main-view-ids-to-include 2022-10-03 11:20:10 +02:00
Pierre Noël
0f7852d8d8 use query().load() to get existing relations 2022-10-03 11:12:22 +02:00
Josh
17e9908bdf fix: use Stack instead of styled Flex 2022-10-03 10:10:55 +01:00
Josh
b93f4cb7b3
Merge pull request #14497 from strapi/fix/relations/infinite-scroll-in-input 2022-10-03 09:22:35 +01:00
Josh
0233fff9e8 fix: use theme tokens 2022-10-03 08:36:17 +01:00
Julie Plantey
d7548a7b1c
Merge pull request #14496 from strapi/relations/fix-query-param-search
[Relations] Fix params encoding on search
2022-10-03 09:26:46 +02:00
Josh
4b293e7a41 Merge branch 'main' into feature/field-descriptions 2022-10-03 08:17:50 +01:00
Alexandre Bodin
15cb9900b4 Add ordering option to populate 2022-09-30 23:38:05 +02:00
Alexandre Bodin
7c4b7e02c8 Refactor populate 2022-09-30 23:38:05 +02:00
DanieleAurilio
83506fbf52 Fix discord link on admin panel homepage 2022-09-30 23:23:38 +02:00
Pierre Noël
da0f17be75 add idsToInclude 2022-09-30 15:38:49 +02:00
Jamie Howard
f6be2e2b66 fix(content-manager): detect non existant relation on entity update 2022-09-30 11:02:59 +01:00
Convly
569f9a4012 Merge branch 'main' of github.com:strapi/strapi into enhancement/cloud-hosting-tracking 2022-09-30 12:01:00 +02:00
Convly
706b8a5d56 Revert to STRAPI_HOSTING 2022-09-30 11:40:05 +02:00
Josh
5a961534ed feat: add attribute description to field modal in content builder 2022-09-30 09:55:56 +01:00
Marc-Roig
9edb46c310 check if set is empty 2022-09-30 10:54:44 +02:00
Pierre Noël
3e60852fa0 fix partial update delete 2022-09-30 10:54:44 +02:00
Pierre Noël
bf16d07463 throw when deletePreviousAnyToOneRelations and deletePreviousOneToAnyRelations are called for non compatible relations 2022-09-30 10:54:43 +02:00
Pierre Noël
8248458a1f fix cleanOrder query for mysql 2022-09-30 10:54:43 +02:00
Pierre Noël
3acb08cd5b fix onConflict for components 2022-09-30 10:54:42 +02:00
Pierre Noël
8e5543b21d fix cleanOrder + use hasOrderColumn and hasInverseOrderColumn 2022-09-30 10:54:41 +02:00
Pierre Noël
a56879e12b implement cleanOrder function 2022-09-30 10:54:41 +02:00
Pierre Noël
9830910312 fix morphToMany order 2022-09-30 10:54:40 +02:00
Pierre Noël
eb8d79e0c8 restructure updateRelations - connect 2022-09-30 10:54:40 +02:00
Pierre Noël
3ffc748b86 improve max query in updateRelations - connect 2022-09-30 10:54:39 +02:00
Pierre Noël
43106732a2 improve max query in insertRelations 2022-09-30 10:54:39 +02:00
Pierre Noël
2cebbc2de4 fix unique index 2022-09-30 10:54:38 +02:00
Pierre Noël
a9819dc375 use onConflict in updateRelations 2022-09-30 10:54:38 +02:00
Pierre Noël
3b0d6b6e7f refactor deleteAllRelations 2022-09-30 10:54:37 +02:00
Pierre Noël
4ce09c5193 various fixes 2022-09-30 10:54:37 +02:00
Pierre Noël
4ef5e1fa48 fix set issues 2022-09-30 10:54:36 +02:00
Pierre Noël
c1d82b6f9e use set format 2022-09-30 10:54:36 +02:00
Pierre Noël
5d0eb61fae start factorizing code 2022-09-30 10:54:35 +02:00
Pierre Noël
e7428cdf83 fix tests 2022-09-30 10:54:35 +02:00
Pierre Noël
e2d4cb483c fix delete previous relations for anyToOne 2022-09-30 10:54:34 +02:00
Pierre Noël
eaf0d84224 add decrements to queryBuilder + use it 2022-09-30 10:54:34 +02:00
Pierre Noël
59417498ab use NULL as default order + better handle migration 2022-09-30 10:54:33 +02:00
Pierre Noël
83c29436ca adapt all entity-manager with 2 order columns 2022-09-30 10:54:33 +02:00
Pierre Noël
c4031449fb implement 2 columns + adapt attachRelations 2022-09-30 10:54:32 +02:00
Pierre Noël
a1d1879ffb fix create entity with relations in connect 2022-09-30 10:54:32 +02:00
Pierre Noël
b7a1e312b4 implement simple partial update 2022-09-30 10:54:31 +02:00
Pierre Noël
e29c069e2a add first base for reordering 2022-09-30 10:54:31 +02:00
Josh
2eebc38a4b chore: ensure ref always has array 2022-09-30 08:17:13 +01:00
Convly
fa503ef438 v4.4.1 2022-09-29 23:50:44 +02:00
Convly
340b17d6da Update wording 2022-09-29 18:12:05 +02:00
Convly
a1c7185252 Add hostedOnStrapiCloud property to the telemetry events 2022-09-29 17:35:18 +02:00
Josh
600a21ec9c fix: infinite scrolling should be runnable on first mount of menu 2022-09-29 15:39:38 +01:00
Julie Plantey
b3b4e68b73 removed encodeURIComponent as axios is already encoding params 2022-09-29 15:41:52 +02:00
Jamie Howard
a742a5d6bc
Merge pull request #14458 from strapi/fix/13360/camel-case-email
Treat email as lowercase when creating a user
2022-09-29 13:48:55 +01:00