Commit Graph

165 Commits

Author SHA1 Message Date
rijkvanzanten
c993d2394b Merge branch 'main' into api-openapi 2020-10-06 14:45:58 -04:00
rijkvanzanten
9d20cbea9c Only return relations for collections/fields you have access to read 2020-10-06 14:43:52 -04:00
rijkvanzanten
f0e7e906ae Allow to-be-created fields to be selected in m2m setup
Fixes #443
2020-10-05 19:11:34 -04:00
rijkvanzanten
e40b9133cb Handle SQLite date strings
Fixes #475, fixes #512
2020-10-05 18:39:31 -04:00
rijkvanzanten
162db8b3d0 Fix single item revisions not saving under mysql
Fixes #510
2020-10-05 17:30:55 -04:00
rijkvanzanten
69c9a9f992 Add no-data special key to hide non-data fields in system 2020-10-05 16:49:06 -04:00
Nitwel
539774fcc4 cloneDeep dynOAS too 2020-10-05 21:07:35 +02:00
Nitwel
78d2f87457 fix static specs getting manipulated 2020-10-05 21:00:12 +02:00
rijkvanzanten
35074d1285 Update docs 2020-10-05 12:18:18 -04:00
Nitwel
bc6582186f Merge branch 'main' into api-reference 2020-10-05 10:21:10 +02:00
Nitwel
37ee083ea2 import specs from package 2020-10-05 10:17:20 +02:00
Nitwel
6e3841d69d add own api to servers 2020-10-05 10:02:10 +02:00
rijkvanzanten
bf76244ba7 Various system schema name changes
Fixes #482
2020-10-02 17:43:58 -04:00
rijkvanzanten
f57b542c4d Require user password to setup tfa
Fixes #183
2020-10-02 17:12:25 -04:00
rijkvanzanten
eeedc01c53 Add /utils/revert, use in app
Fixes #485
2020-10-02 16:20:06 -04:00
rijkvanzanten
4afe0175d7 Remove stray test + console log 2020-10-02 11:44:08 -04:00
rijkvanzanten
1ec0bf15d5 Start on filters 2020-10-02 10:34:48 -04:00
rijkvanzanten
c3ca7ad868 Re-gen package lock 2020-10-02 10:34:48 -04:00
rijkvanzanten
c5b95de08d Use system services for system collections 2020-10-02 10:34:48 -04:00
rijkvanzanten
28dbdce04e Nest items in items key 2020-10-02 10:34:48 -04:00
rijkvanzanten
537fe8f8dd Allow deep query 2020-10-02 10:34:48 -04:00
rijkvanzanten
e3dc72b779 Add relational support for querying 2020-10-02 10:34:48 -04:00
rijkvanzanten
551cb19e9a Dynamically generate graphql schema, resolve using services 2020-10-02 10:34:47 -04:00
rijkvanzanten
7ac0ab1de6 Use items (plural) as hook scope
Fixes #488
2020-10-02 10:30:50 -04:00
Nitwel
46275688d4 merge arrays instead of overriding them 2020-10-01 17:24:55 +02:00
Nitwel
5b0882527b generalize namings and fix s missing on responses 2020-10-01 12:00:43 +02:00
Nitwel
9a747251f6 add support for relational fields 2020-10-01 10:31:43 +02:00
rijkvanzanten
306c4109a4 Check if item exists instead of relying on presence of pk 2020-09-30 15:32:38 -04:00
Nitwel
70b55f826a filter for relations 2020-09-30 20:44:28 +02:00
rijkvanzanten
0a20cc8d65 Replace .flat() to support node 10
Fixes #459
2020-09-30 14:34:14 -04:00
Nitwel
70fa3d0a3b add basics for relations 2020-09-30 20:25:24 +02:00
Nitwel
f438fb7fea load fields all at once 2020-09-30 15:43:12 +02:00
rijkvanzanten
d165babcd7 Allow generated UUID/date/role/user value to pass required
Fixes #446, fixes #448
2020-09-30 09:31:25 -04:00
Nitwel
0859daf30c finish basic generation 2020-09-30 13:30:36 +02:00
rijkvanzanten
67b60860df Use allow null to validate payload on submit 2020-09-29 17:52:38 -04:00
Nitwel
5b936eaf4e add basic structure 2020-09-29 21:25:59 +02:00
rijkvanzanten
3973ad398f Fix not being able to delete images
Fixes #431
2020-09-29 11:06:27 -04:00
rijkvanzanten
f1159d08cd Fix date io in api 2020-09-28 18:16:27 -04:00
rijkvanzanten
aa0a0f9f6e Fix datetime using timezones in pg 2020-09-28 17:29:27 -04:00
rijkvanzanten
7f4c3b3d2a Emit events for system collections 2020-09-25 17:22:40 -04:00
rijkvanzanten
59c5183f93 Generate languages on auto generate of languages collection 2020-09-25 15:40:36 -04:00
rijkvanzanten
61659c4b06 Combine translations/languages pane 2020-09-25 14:42:32 -04:00
rijkvanzanten
07471b8208 Support primary keys in O2M patches
Fixes #247
2020-09-24 17:15:37 -04:00
rijkvanzanten
2af75e3cfb Fix 500 on singleton retrieval
Fixes #418
2020-09-24 14:10:20 -04:00
rijkvanzanten
0d414bfb84 Fix type issue in response of readByQuery 2020-09-23 21:29:07 -04:00
rijkvanzanten
49173879ec Prevent directus_ collections from being created 2020-09-23 19:33:27 -04:00
rijkvanzanten
6d9809254a Add comment 2020-09-23 19:14:11 -04:00
rijkvanzanten
5bd7177d5a Don't allow fields to be created that already exist
Fixes #369
2020-09-23 19:11:22 -04:00
rijkvanzanten
e910d0f83f Fix single query param
Fixes #395
2020-09-23 18:42:12 -04:00
rijkvanzanten
a5be4e3e48 Rework AST runner
Way cleaner to read / maintain now. Should also fix a couple issues.

Ref #406, ref #376, ref #350
2020-09-23 15:57:32 -04:00