Commit Graph

138 Commits

Author SHA1 Message Date
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
rijkvanzanten
306c4109a4 Check if item exists instead of relying on presence of pk 2020-09-30 15:32:38 -04:00
rijkvanzanten
0a20cc8d65 Replace .flat() to support node 10
Fixes #459
2020-09-30 14:34:14 -04: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
rijkvanzanten
67b60860df Use allow null to validate payload on submit 2020-09-29 17:52:38 -04: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
rijkvanzanten
85ca7b5d17 Run prettier 2020-09-22 16:11:28 -04:00
rijkvanzanten
7caf429d1d Add custom endpoints support 2020-09-22 15:55:22 -04:00
rijkvanzanten
48fca55651 Restructure exports for services 2020-09-22 13:16:14 -04:00
rijkvanzanten
bb7b76aef9 Return 200 OK on create/update with no read permissions
Fixes #33
2020-09-21 16:29:07 -04:00
rijkvanzanten
d87fc912f4 Fix date saving in MySQL
Ref #283
2020-09-18 12:57:26 -04:00
rijkvanzanten
aa014542a4 Rename roles.admin to roles.admin_access
Closes #142
2020-09-18 12:16:09 -04:00
rijkvanzanten
52540e60a3 Fix updating in SQLite
Fixes #141, ref #283
2020-09-18 12:06:46 -04:00
rijkvanzanten
d1457b0461 Finish downloading custom extensions 2020-09-16 10:48:06 -04:00
rijkvanzanten
5f4b97aeab Pull in custom interfaces from the API 2020-09-15 18:33:08 -04:00
rijkvanzanten
b8eff4c788 Use CSV for special, add on create / on update for fields 2020-09-15 17:31:37 -04:00
rijkvanzanten
d141f28fc1 Handle key constraints in roles on delete 2020-09-15 16:12:06 -04:00
rijkvanzanten
1aa6be8d80 Make generated junction table hidden by default 2020-09-14 11:58:00 -04:00
rijkvanzanten
5b99264cf1 Fix relation nullification on delete 2020-09-11 16:20:17 -04:00
rijkvanzanten
09518f7816 Allow auto-generating o2m collection/field 2020-09-11 15:02:59 -04:00
rijkvanzanten
a3494384c7 Set token expiration in ms 2020-09-10 16:53:26 -04:00
rijkvanzanten
3e72d09f45 Add correct form layout to webhooks 2020-09-10 15:14:04 -04:00
rijkvanzanten
587d325301 Re-init webhooks correclty 2020-09-10 14:44:52 -04:00
rijkvanzanten
7752af6297 Merge branch 'main' into webhooks 2020-09-10 14:15:30 -04:00
rijkvanzanten
68e05a208a Add csv special type, return type based on special flag 2020-09-10 14:14:24 -04:00
rijkvanzanten
9546dbb834 Dynamically register / fire webhooks 2020-09-10 14:00:28 -04:00
rijkvanzanten
a046af7a5c Emit item crud 2020-09-10 13:47:02 -04:00
rijkvanzanten
be3c414b05 Return validation errors 2020-09-09 15:17:28 -04:00
rijkvanzanten
a8552abc23 Treat sanitizedquery as frozen 2020-09-08 18:54:18 -04:00
rijkvanzanten
b19ffd960b Add response middleware and cache 2020-09-08 18:28:23 -04:00
rijkvanzanten
8b97c6d818 Clear middleware/service (temp) 2020-09-08 17:09:15 -04:00
rijkvanzanten
9643b86dc5 Merge branch 'main' into feature-redis-cache 2020-09-08 16:57:15 -04:00
rijkvanzanten
9f3e12f8f2 Run prettier 2020-09-08 16:03:38 -04:00