Commit Graph

4943 Commits

Author SHA1 Message Date
Nitwel
a4bc96882b make o2m sort editable (#4772) 2021-03-31 09:40:10 -04:00
Nitwel
020f2c7294 fix wysiwyg dropdown styles (#4771) 2021-03-31 09:39:25 -04:00
Anton Strandman
2cfc2cb48e Freeze internal dependencies to current version (#4770) 2021-03-31 09:29:43 -04:00
rijkvanzanten
a5eadd1ec4 Fix reset url parameter in password request
Fixes #4739
2021-03-30 18:30:56 -04:00
WoLfulus
3c1204b928 SDK 2.0 (#4510)
* add new sdk

* update version

* fixes and sdk documentation

* typing updates, documentation

* added missing endpoints

* targeting minified version for unpkg

* removed unused types file

* fixed non minified versions

* fix sdk exports

* fix the fix

* Remove old sdk

* Remove old sdk docs

* Install types for Jest, add npm test

* Rely on npm exclusively

* Remove examples folder

* Move typescript down

* Update sdk.md

* added auto refresh and requested changes

added more http test calls
fixed typing issue in customized types

* remove unused endpoint

* updated docs

* added singletons, fixed typing issues, added password handlers

* rename graphql function and fixed system endpoint

* Remove unused imports, fix build

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Ben Haynes <ben@rngr.org>
2021-03-30 18:23:23 -04:00
rijkvanzanten
2d316a4a71 Fix type overrides of GQL service getSchema 2021-03-30 18:23:00 -04:00
Rijk van Zanten
943c27c355 New Crowdin updates (#4743)
* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Spanish)
2021-03-30 17:06:49 -04:00
Rijk van Zanten
f90c31b798 GraphQL 2.0 (#4625)
* Start on GraphQL "2.0", add methodnotallowed exceptoin

* Fix relative file pointer in peer dep

* [WIP] Add pre-filtered schema to SchemaOverview

* Use root schema as is, add reduce-schema util

* Use reduceSchema in the wild

* Base schema on local reduced schema

* Remove todo

* Use graphql-compose to build out schema

* Start restructuring resolvers

* Add create mutation

* Return boolean true for empty create mutation selections

* Add update mutation

* Add delete mutation

* Add system/items scoping

* Fix merge conflicts for real now

* Use system services, rename ids->keys

* Start on docs on mutations

* Updates to match main

* Add fetch-by-id

* Add one/many resolvers for mutations

* Check system collection rows for singleton

* Fix resolver extraction for single read

* Share delete return type

* Add comments

* Use collection root name for readable type

* Add specs endpoint for GraphQL SDL

* Update docs

* Add note on SDL spec

* Fix delete single example

* Remove package-lock

* Fix collection read scoping in non-read
2021-03-30 17:06:35 -04:00
rijkvanzanten
fb91fd57e0 v9.0.0-rc.53 v9.0.0-rc.53 2021-03-30 13:17:52 -04:00
rijkvanzanten
03c1a5b5ce Remove forced sort on payloads 2021-03-30 13:15:47 -04:00
Nitwel
8753c2899a dont allow to sort m2a and translations (#4750) 2021-03-30 13:09:02 -04:00
Nitwel
187384b831 Fix sort field not nullable (#4747)
* make input nullable

* remove nullable
2021-03-30 13:02:35 -04:00
Nitwel
4518ec8886 add display template option (#4758) 2021-03-30 12:21:33 -04:00
Nitwel
8808d19a3e Restyle hr in wysiwyg (#4755)
* make hr look normal in wysiwyg

* dont use fixed value
2021-03-30 10:54:06 -04:00
Nitwel
8ecb65cf74 fix v-if not updating (#4748) 2021-03-30 08:52:14 -04:00
rijkvanzanten
6a495e9636 Update package-lock 2021-03-29 15:54:09 -04:00
rijkvanzanten
0ff8d62e9c Remove package-lock files from sub-packages
Fixes cross-package versioning problems
2021-03-29 15:41:24 -04:00
rijkvanzanten
9b6869e068 v9.0.0-rc.52 v9.0.0-rc.52 2021-03-29 14:53:22 -04:00
rijkvanzanten
93e2e1be98 Update package-lock 2021-03-29 14:52:13 -04:00
rijkvanzanten
e0fd5b2a89 Update knex-schema-inspector
Fixes #4708
2021-03-29 14:38:52 -04:00
Rijk van Zanten
21bb4fb25c New Crowdin updates (#4698)
* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Swedish)

* Update source file en-US.yaml

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (German)
2021-03-29 13:07:33 -04:00
Nitwel
706dca1740 allow for temporary presets (#4724) 2021-03-29 10:20:09 -04:00
Nitwel
07aff68532 add translation type to related collection (#4722) 2021-03-29 10:16:05 -04:00
Nitwel
fdbddd0b71 fix table row and header dragging (#4721) 2021-03-29 10:14:36 -04:00
Nitwel
70b15eef46 fix discard not closing on singleton (#4727) 2021-03-29 10:13:00 -04:00
Stephen O'Connor
bb9b39187b Remove semi-colon to avoid ORA-00933 (#4726) 2021-03-29 08:59:34 -04:00
WoLfulus
43f4e63179 enable latest (#4705) 2021-03-27 16:17:55 -04:00
Rijk van Zanten
b562ceeb0c Add Tree-View Interface (#4602)
* Fix local type extraction

* Render basic tree in tree-view

* Render drawer-item in tree-view-group

* Retrieve nested draggable changes

* Default sort query to configured sortField

* Store nested group / sort to API

* Allow updating item values

* Figure out a dropzone approach on preview

* Finish editable tree view

* Set sort value based on sort field in relation

* Add create-new / add-existing

* Respect previously made nested edits

* Add description in setup

* Fix fetching level of o2m sort field

* Remove min height on empty root

* Remove unused types

* Add notice for invalid relationship type

* Allow recursive o2m in setup

* Styling tweak

* Revert changes in v-list

* Revert changes in groupable
2021-03-26 17:12:55 -04:00
rijkvanzanten
a12c433249 Add missing stylelint dependencies 2021-03-26 16:18:23 -04:00
Rijk van Zanten
9223d49f20 New translations en-US.yaml (Russian) (#4687) 2021-03-26 14:20:21 -04:00
Ben Haynes
6689386c5c update spacing 2021-03-26 14:08:34 -04:00
Maarten Docter
22ad2d61e7 Replace path.normalize with normalize-path (#4643)
* Replace path.normalize with normalize-path

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-25 17:43:21 -04:00
rijkvanzanten
2d59412209 Update knex 2021-03-25 15:30:05 -04:00
Rijk van Zanten
b581c1e1ae New translations en-US.yaml (Swedish) (#4669) 2021-03-25 15:07:18 -04:00
Jian Liao
6389e468f2 Fixed Issue-4660 (#4661)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix #4660

Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-03-25 09:33:52 -04:00
Rijk van Zanten
549fbd8b93 New Crowdin updates (#4652)
* Turkish translation updated (#4651)

* New translations en-US.yaml (Russian)

Co-authored-by: İzzet Kılıç <izzetkalic@users.noreply.github.com>
2021-03-24 16:02:54 -04:00
Rijk van Zanten
c310afa846 Rely on npm Workspaces for module resolving (#4656)
* Move devDeps to API

* Move app to npm workspaces

* Tweaks / add lockfiles

* Add locks, fix devdeps across packages

* Move eslint config rootlevel

* Use eslint fix for vue files instead of vue-cli-service

* Add global prettier format option

* Create lockfiles for all packages

* Replace husky with simple-git-hooks
2021-03-24 16:01:49 -04:00
Ngai Kam Wing
e9f18975d8 Reduced chunk vendor build size ( Parsed size from 3.48MB to 1.19MB ) (#4645)
Split out wysiwyg and markdown code into a separate chunk.
2021-03-24 12:09:11 -04:00
Rijk van Zanten
73b98b4ae8 New Crowdin updates (#4648)
* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)
2021-03-24 10:43:58 -04:00
alejandro-tss
fba39e0c3a Fixed ambiguous column when field name exists in some join table (#4649) 2021-03-24 10:16:14 -04:00
Rijk van Zanten
f2bc53ca84 New Crowdin updates (#4640)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Thai)
2021-03-23 17:36:11 -04:00
Rijk van Zanten
be611a03f9 Change revert action to insert changes into page (#4637)
Closes #3941
2021-03-23 11:59:00 -04:00
Adrian Dimitrov
a18f9d68d5 Add cli passwd command (#4398)
* User passwd cli command

* Add command to list
2021-03-23 10:39:11 -04:00
rijkvanzanten
2f163a91b4 Cast sort to number in field layout settings
Fixes #4600
2021-03-22 20:32:00 -04:00
rijkvanzanten
10050b32ba Lock directus internal versions
Fixes #4598
2021-03-22 20:19:52 -04:00
rijkvanzanten
3eaa375952 Provide getSchema function in hook/endpoint registration function
Fixes #4621
2021-03-22 20:13:49 -04:00
Pyll Gomez
71c8c4cc2c Assets quality parameter #4557 (#4620)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

* Spell check

* Docs Spell check

* Docs Spell check

* Docs Spell check

* update docs for sdk-js

* To delete all expired session from db on login

* corrected the condition for the delete

* changed the from Date.now to new date .

* Move it inline

* fixes issue 4557 for asset quality for thumbnail

* asset documentation is updated

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-22 20:08:44 -04:00
Maarten Docter
82fdd120c8 Clarify extension folders and Rollup configuration tip (#4626) 2021-03-22 19:45:09 -04:00
rijkvanzanten
6b6ad1fbb4 Make sort-field reactive 2021-03-22 12:01:40 -04:00
Rijk van Zanten
85019f05fa New Crowdin updates (#4609)
* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Russian)
2021-03-22 10:53:35 -04:00