Commit Graph

451 Commits

Author SHA1 Message Date
Rijk van Zanten
c7476cedbd End-to-end test setup (#4833)
* First start on test setup

* Setup e2e runner framework

* Use prepublishOnly for docs build

* Setup docker-based e2e test runner

* Spacing

* Setup db-getter + config

* Build image in Dockerode, pull images if needed

* Fix waiting for DB, run test for each running instance

* Get tests running per vendor

* Temp remove oracle

* Close awaiting connections in between
2021-04-05 15:11:02 -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
a12c433249 Add missing stylelint dependencies 2021-03-26 16:18:23 -04:00
rijkvanzanten
2d59412209 Update knex 2021-03-25 15:30:05 -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
Rijk van Zanten
1d9ffc2d7f Tweak asset metadata on upload (#4317)
* Update sharp

* Only read image metadata after upload

Preserves animated gifs and other files

Fixes #4297

* Rotate thumbnails based on exif data

Ref #4206
2021-02-26 17:18:17 -05:00
rijkvanzanten
64b012bccc Revert "Link devDependencies"
This reverts commit 63ec4b8e60.
2021-02-24 19:03:26 -05:00
rijkvanzanten
63ec4b8e60 Link devDependencies 2021-02-24 18:27:01 -05:00
rijkvanzanten
6c96cc7eed Bump versions 2021-02-23 17:13:39 -05:00
rijkvanzanten
0fcada652f New lockfile version 2021-02-19 17:18:39 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00
Rijk van Zanten
df22a58c6a Update in-app docs (#3989)
* Fix root redirect

* Fix html in headings

* Add graphql syntax mode

* Install markdown-it + plugins

* Fix file copying on mac

* Replace md rendering engine

* Fix wrong links in guides

* Scroll to top on every route change

* Update in-app links

* Fix home redirect

* Fix deep-linking paths

* Add to reference

* Fix nested group scoping

* Fix open path reference
2021-02-09 18:31:25 -05:00
WoLfulus
d3986577e2 Adds gatsby integration package (#3730)
* Adds gatsby integration package for v9

* added credentials authentication and update readme

* corrected package.json

* Remove workarounds

* Link gatsby-source-directus locally

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-02-08 12:35:49 -05:00
rijkvanzanten
f01685bcc9 Add imageToken option to markdown interface 2021-01-19 12:27:08 -05:00
rijkvanzanten
2aeafb2bce Finish markdown interface v3 2021-01-14 19:34:16 -05:00
WoLfulus
7f3e095a1f Enable base and admin routes when developing a Directus app 2020-12-17 11:42:50 -03:00
Nicola Krumschmidt
53aa4e6191 Refactor rollup config of format-title
This includes using the official rollup plugins where possible, using
dedicated builds for node and browsers and minifying production builds.
2020-12-09 16:11:27 +01:00
rijkvanzanten
c556d01c5c Install vue-cli-plugin-yaml 2020-12-08 10:17:25 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
Igor Savin
87db93f88d Replace TSlint with ESLint TS plugin.
Unify Prettier configuration
Add linting Lerna job
2020-12-08 01:22:52 +02:00
rijkvanzanten
30b4463057 Update docs 2020-12-01 16:46:15 -05:00
rijkvanzanten
ada43e6b5c Update release script 2020-11-18 20:45:57 -05:00
rijkvanzanten
d44f99331c Fix links to next repo 2020-11-18 20:34:14 -05:00
rijkvanzanten
4a3e45b4c1 Move app build dependencies to root
Fixes #1000
2020-11-16 12:29:31 -05:00
rijkvanzanten
1379ae138b Locally link sdk 2020-11-15 22:29:05 -05:00
rijkvanzanten
456d46f474 Get tests to 100% 2020-11-15 22:27:07 -05:00
rijkvanzanten
d633b56629 Add missing tests for auth 2020-11-15 21:04:37 -05:00
rijkvanzanten
89293a3db7 Merge branch 'main' into sdk 2020-11-15 20:03:52 -05:00
rijkvanzanten
94378091de Allow running CLI from root with correct env file 2020-11-13 17:30:53 -05:00
rijkvanzanten
8057081ce6 Re-fix @types/express-session situation
Fixes #991
2020-11-13 10:11:23 -05:00
rijkvanzanten
3654da7fa9 Work around breaking change in @types/express-sesssion
Fixes #927
2020-11-11 09:41:25 -05:00
rijkvanzanten
528112314d Remove outdated tests, fix imports 2020-11-09 12:29:01 -05:00
rijkvanzanten
07dd583060 Fix package resolution
Ref #882
2020-11-05 10:33:39 -05:00
rijkvanzanten
d625be139f Start on tests 2020-10-24 13:40:27 +02:00
rijkvanzanten
b96dbc4a21 Update setup script 2020-10-16 15:34:02 -04:00
rijkvanzanten
7f306cca03 Move title formatter into monorepo 2020-10-14 12:15:25 -04:00
rijkvanzanten
272a2090ac Add setup command 2020-10-08 10:18:16 -04:00
rijkvanzanten
e9f136bbb0 Add nav structure to docs folder 2020-10-07 21:57:22 -04:00
rijkvanzanten
adb9254e90 Add build step to docs 2020-10-07 10:56:05 -04:00
rijkvanzanten
c36fb905c1 Setup lock structure 2020-10-02 14:17:21 -04:00
rijkvanzanten
5817cf294c Add release command 2020-10-02 14:05:15 -04:00
rijkvanzanten
149d9b4551 Update dev getting started instructions 2020-10-02 12:58:13 -04:00
rijkvanzanten
d8e9d38797 Move commit hooks to root 2020-10-02 12:56:28 -04:00
rijkvanzanten
616649af2f Move pre-commit hooks to root 2020-10-02 12:51:32 -04:00
rijkvanzanten
475560c247 Add root level npm run dev 2020-10-02 12:41:28 -04:00
rijkvanzanten
4126445fcf Hoist all dependencies 2020-10-02 12:40:22 -04:00
rijkvanzanten
3b77f4ef63 Install axios in api 2020-08-13 15:19:09 -04:00
rijkvanzanten
e8e72d7c90 Remove combined dev/build until dependencies are figured out 2020-08-12 13:26:14 -04:00
rijkvanzanten
be5b4a67f5 Don't use hoisting (yet) (broke build) 2020-08-07 10:21:55 -04:00
rijkvanzanten
1edc132651 Host modules to top on bootstrap 2020-08-06 14:53:30 -04:00