* Add "authenticate" filter hook that allows custom auth check
* Start on test
* Update Jest, restructure API tests, start implementing authenticate test
* Move access token verify to util function
* Ensure jest can show inline warnings on correct lines
* Update is-directus-jwt to use jsonwebtoken decode + add tests
* Remove unused package
* Tweak and finish + test authenticate
* Tweak test
* Add authenticate filter to docs
* Don't scan tests for codeql
* No seriously, ignore tests
* Enable end-to-end tests for Oracle and SQLite
* Add Oracle back to allVendors
* Use yum
* Use dnf
* Actually use yum
* Actually use dnf
* Actually use yum
* Try again
* Try manual install
* Fix env declaration
* Bump knex version (because https://github.com/knex/knex/issues/4844)
* Set max pool size for Oracle
* Add awaitDatabaseConnection
* Cache install and build step
* Run different tests sequentially
* Fix workflow name
* Show test results
* Fix names
* Fix success check
* Fix outputs
* Add oracle driver install
* Fix env
* Revert to previous structure to benchmark performance
* Only build specs and drive packages for unit tests
* Don't install everything to run linters
* Use this branch
* Fix missing lint dep
* Revert "Don't install everything to run linters", also build shared package
* Skip app build for tests
* Don't serve app for e2e tests
* Change time fields to timestamp becaues of inconsistencies between vendors
* Make npm ci faster
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* Refactor e2e tests
* Only install root dependencies for lint step
* Fix dumbest error ever
* Pass process.env too to spawned subprocess
* Suppress npm package installation prompt
* Improve error handling
* Add new compose file for tests
* Avoid port conflict with remoted
* Update docker-compose.yml
* Add test docs
* Use current branch workflow files and simplify skips
* Fix workflow file
* Fix workflow file
* Try adding `.yml` extension to allow reference in `uses`
* Place workflow file in folders to allow reference in `uses`
* Requires more work than expected, reverting
* Update docs to use correct compose file
* Remove comment / unused code
* Run tests from main
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* mock-knex
* test on the migrations run started.
* test passing for run.up()
* reorganize /tests/ to allow integration tests
* e2e setup changes
* e2e jest.config moved
* e2e paths fixed, integration config
* add nonadmin role and user seed+migration
* auth/login w/ documentation (docs will be moved)
* update user seed
* add postgres10 to the ci?
* argon2 saves the day
* items tests passing with postgres10 support
* removed comments
* move generateHash out of directus_users
Co-authored-by: Jay Cammarano <jaycammarano@gmail.com>
* GitHub workflow revision #2
* Add a few comments
* Add and fix comments
* Move kodiak config into .github
To not overflow the root directory
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Fix check for changed files & reformat workflows
* Test performance of paths-filter action
* Revise workflows
* Better wording
* Fix naming of "Pre-Check"
* Point out values
* Abreviate to make it look cleaner in report
* Adjust "Report Bug" link to the new issue template
Unfortunately, it's not (yet?) possible to auto-fill the fields in the template
via querys...
* Adjust bug template & use corresponding params
As suggested by @azrikahar
* Make spinner success message bold in extension cli
* Expose extension-sdk cli functions
* Add create-directus-extension package
* Bump version
* Fix type fun times
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>