* add unsuported media type exception
* throw error when not multipart/form-data
* use unsupportedMediaType when checking import file
* add `UNSUPPORTED_MEDIA_TYPE` to Error Codes docs
* removed /tests/ from the path since it says to be in tests
* Updated to remove the directory line instead of the tests path
* removed leading /
Co-authored-by: Jay Cammarano <jaycammarano@gmail.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>
* Added missing data field to sessions yaml
* rebased sessions.yaml
* Added custom pino logger options from env vars
* Added LOGGER_ explanation to docs
* Added similar functionality for pino http, so level of request logs can be set
* Added missing data field to sessions yaml
* rebased sessions.yaml
* Initial commit
* Initial complete guide
* Added LOGGER_LEVELS addition
* Removed redundant VPC cost aspect
* Added login details after deployment
* Minor textual changes
* Made requested changes by @azrikahar
* Changed github repo link from keesvanbemmel to gcp-example in community
* Added Run on Google Cloud button to readme.
Added a link to Cleavr's instructions for deploying Directus to a VPS. Or, if you prefer to have a guide on docs.directus.io, let me know and would be happy to do so.
* 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>
Might be less confusing to use the default collection field value of "user_created" instead of "owner" in this example. This snippet could then be used as a custom item permission out of the box.
* Rename API Endpoints docs to Endpoints to align with Hooks
* Add a Creating Extensions page to the docs
* Update individual extension docs pages
* Apply latest changes to hook docs
* Move available events to a dedicated section in hook docs