Commit Graph

309 Commits

Author SHA1 Message Date
rijkvanzanten
0dfad1e96e v9.0.0-rc.59 2021-04-15 12:09:58 -04:00
rijkvanzanten
16b1a4e76e v9.0.0-rc.58 2021-04-14 19:52:03 -04:00
YannickMol
428df2436a Add Gatsby Image to package (#5010)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-14 23:03:39 +00:00
rijkvanzanten
cc868ae60c Normalize the filepath when retrieving fullpath
Fixes #4751
2021-04-14 17:53:55 -04:00
YannickMol
63337176bc Add gatsby-source-filesystem dependency (#5009) 2021-04-12 16:20:13 -04:00
Subesh
15c86861f5 Fix 401 error when no token is provided (#4996) 2021-04-12 10:24:15 -04:00
rijkvanzanten
1bfa128308 v9.0.0-rc.57 2021-04-09 20:30:10 -04:00
rijkvanzanten
c4e1e40279 Fix @directus/schema not reading Oracle overview correctly
Fixes #4735
2021-04-09 19:28:00 -04:00
rijkvanzanten
52ee17dc33 Fix dev scripts on root 2021-04-09 16:34:52 -04:00
rijkvanzanten
0bcc6507b2 Update package-lock 2021-04-09 15:58:37 -04:00
WoLfulus
42393951e0 Test runners for storage drivers (#4716)
* add tests to drive

* add azure test runner

* add gcs test runner

* add s3 test runner

* quick changes

* Re-add npm run dev

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-09 15:40:12 -04:00
rijkvanzanten
f8f843e5be v9.0.0-rc.56 2021-04-08 17:41:53 -04:00
rijkvanzanten
73f7ac8f3f v9.0.0-rc.55 2021-04-07 13:00:16 -04:00
WoLfulus
1898be9424 Add withCredentials to axios (#4886)
* add no cache and credentials to axios

* remove cache
2021-04-07 12:32:26 -04:00
Dustin
632895eb68 Storage: S3 ACL & Content Type (#4694)
* add S3 env config for ACL. pass along file type for S3 upload

* add STORAGE_<LOCATION>_ACL to S3 docs
2021-04-07 12:15:47 -04:00
rijkvanzanten
08958fec23 v9.0.0-rc.54 2021-04-06 18:45:32 -04:00
rijkvanzanten
3e52436fbd Add prepublish script to sdk 2021-04-06 18:41:42 -04:00
rijkvanzanten
5ce586e504 Sync version of new sdk 2021-04-06 18:41:18 -04:00
Jian Liao
70c825af56 Add DNA and correct macOS for format title (#4848)
* add more ignore pattern for git

* revert the change for api/.gitignore

* Add DNA and change MacOS to macOS to align with Apple official name

* Move DNA to acronyms

Co-authored-by: Jian Liao <jianliao@adobe.com>
2021-04-05 21:13:25 -04:00
WoLfulus
3db8b9a1b3 Updated SDK docs and typing fixes (#4787)
* typing fixes

* docs update

* ignore compiled test dir

* use top level await syntax
2021-03-31 14:43:29 -04:00
rijkvanzanten
8df659325c Rename dev to test:watch 2021-03-31 10:20:18 -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
fb91fd57e0 v9.0.0-rc.53 2021-03-30 13:17:52 -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 2021-03-29 14:53:22 -04:00
Stephen O'Connor
bb9b39187b Remove semi-colon to avoid ORA-00933 (#4726) 2021-03-29 08:59: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
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
rijkvanzanten
10050b32ba Lock directus internal versions
Fixes #4598
2021-03-22 20:19:52 -04:00
rijkvanzanten
aa15da7c65 v9.0.0-rc.51 2021-03-16 15:56:56 -04:00
rijkvanzanten
340aa2deef Fix MySQL not correctly scoping columns to database 2021-03-16 11:26:57 -04:00
rijkvanzanten
42507ae52f v9.0.0-rc.50 2021-03-12 18:32:20 -05:00
Adrian Dimitrov
51a0044d7f In mysql, select only tables (#4501) 2021-03-12 18:12:18 -05:00
rijkvanzanten
c4394acd7b Support custom endpoint + fix prefix in flatlist
Fixes #4498
2021-03-12 17:23:38 -05:00
rijkvanzanten
1a0807435b Apply flatlist fix to azure/gcs 2021-03-12 16:34:37 -05:00
rijkvanzanten
028cae4771 Fix delete when using root option in s3
Fixes #4460
2021-03-12 16:30:03 -05:00
rijkvanzanten
b17f3e0911 v9.0.0-rc.49 2021-03-11 18:57:25 -05:00
Martijn Boland
9897e3d39e Added 'AUTO_INCREMENT' for mssql identity columns (#4494)
* Added 'AUTO_INCREMENT' for mssql identity columns

* Removed obsolete method

Co-authored-by: Martijn Boland <martijn@taiga.nl>
2021-03-11 18:09:06 -05:00
rijkvanzanten
3803333025 v9.0.0-rc.48 2021-03-11 07:42:15 -05:00
rijkvanzanten
71bf628955 v9.0.0-rc.47 2021-03-11 07:38:26 -05:00
rijkvanzanten
33f36d2485 v9.0.0-rc.46 2021-03-10 17:39:31 -05:00
Rijk van Zanten
971a18c219 Database Error Abstraction (#4465)
* Start on database-error abstraction layer

* Add SQLite error abstraction

* Enable SQLite foreign key support

* Cleanup sqlite dialect slightly

Does it matter? Not really!

* Add MySQL error abstraction

* WIP Almost done with MSSQL

* Add correct error handling for MS SQL

* Fix mysql errors by not relying on value order

* Don't rely on sql in postgres exception translation

* Fix sqlite error parsing

* Remove foreign key constraint from activity to collections

A collection can be DB-only, but we still want to track activity for non-meta collections

* Translate error on update as well
2021-03-10 17:16:15 -05:00
Rijk van Zanten
97dcdad847 OracleDB baby steps (#4464)
* Allow external connections in oracle debug

* Fix oracle overview query

* Use correct alive check for oracle

* Remove unused import

* Validate correct env vars for oracle
2021-03-10 16:58:49 -05:00
Rijk van Zanten
291643e0b4 Fix installing on MS SQL (#4455)
Fixes #3158, fixes #3608
2021-03-09 18:43:03 -05:00
rijkvanzanten
87ed604f18 v9.0.0-rc.45 2021-03-05 18:03:27 -05:00
Rijk van Zanten
1db99e0828 Cleanup schema inspector (#4404)
* Rely on knex-schema-inspector

* Update packages
2021-03-05 17:06:07 -05:00
Romain Lanz
3065d65b0c chore: add license to drive package (#4385) 2021-03-04 14:20:07 -05:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
rijkvanzanten
eb4deaa955 Default field sort order to database ordinal sort
And use alphabetical where appropriate

Fixes #4341
2021-03-03 18:36:21 -05:00