Commit Graph

297 Commits

Author SHA1 Message Date
Pascal Jufer
bd417ed679 Override default label for dependabot PRs (#22071) 2024-04-03 16:51:53 +00:00
Pascal Jufer
75e45f66ce Remove label for dependabot PRs (#22064) 2024-04-03 12:35:24 -04:00
Vamsi Madduluri
b87530cc94 Add autocomplete for 2FA input (#21986)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-27 11:00:23 +00:00
Pascal Jufer
a0d2c7abb7 Reduce schedule for lock threads workflow to a daily basis (#21782) 2024-03-08 17:32:50 -05:00
Rijk van Zanten
632053adf2 Update stale-issues.yml 2024-03-08 14:46:45 -05:00
Pascal Jufer
206a7cae0b Update dependencies (#21428) 2024-02-14 12:12:50 +01:00
Pascal Jufer
ed395199d1 Configure inactive days for PRs and Discussions in Lock Thread workflow (#21270) 2024-02-01 02:45:46 +01:00
Rijk van Zanten
1f2208c98b Update lock-threads.yml 2024-01-31 16:39:52 -05:00
Rijk van Zanten
cada86c13a Update lock-threads.yml 2024-01-31 16:30:03 -05:00
Pascal Jufer
b600318ca3 Add workflow to lock threads after cooling time (#21224) 2024-01-31 15:15:53 -05:00
Pascal Jufer
12290b6031 Update cache action in release workflow (#21231) 2024-01-29 11:22:12 +01:00
Pascal Jufer
8b548c991e Format / Clean-up GitHub workflows (#21223) 2024-01-28 23:20:13 +01:00
Pascal Jufer
86aedeb27c Patch Tuesday 🐸 (#21221)
* Update root deps

* Update `@directus/api` deps

* Update `@directus/app` deps

* Update `docs` deps

* Update `@directus/components` deps

* Update `@directus/composables` deps

* Update `create-directus-extension` deps

* Update `create-directus-project` deps

* Update `@directus/data` deps

* Update `@directus/data-driver-postgres` deps

* Update `@directus/data-sql` deps

* Update `@directus/env` deps

* Update `@directus/extensions` deps

* Update `@directus/extensions-sdk` deps

* Update `@directus/memory` deps

* Update `@directus/random` deps

* Update `@directus/release-notes-generator` deps

* Update `@directus/storage` deps

* Update `@directus/storage-driver-cloudinary` deps

* Update `@directus/storage-driver-local` deps

* Update `@directus/storage-driver-s3` deps

* Update `@directus/storage-driver-supabase` deps

* Update `@directus/stores` deps

* Update `@directus/themes` deps

* Update `@directus/update-check` deps

* Update `@directus/utils` deps

* Update `@directus/validation` deps

* Update `tests/blackbox` deps

* Add changeset

* Bump pnpm to 8.15.0

* Update GH actions
2024-01-28 22:56:34 +01:00
Pascal Jufer
86b8bcba8b Add blackbox test timeout (#21079) 2024-01-14 21:05:52 +01:00
Pascal Jufer
df44649f94 Start splitting blackbox tests (#21078) 2024-01-14 19:34:23 +01:00
Pascal Jufer
984ec8f85b Drop EOL DB versions from blackbox tests (#21077) 2024-01-14 19:28:57 +01:00
Pascal Jufer
98532788d5 Selective Patch Tuesday 🐸 (#20796) 2023-12-20 00:26:15 +01:00
Steve Fan
71032776f9 Add the latest version of oracledb to api/package.json (#19067)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-12-18 12:17:05 +00:00
Pascal Jufer
eb9655ac1e Update GitHub actions in workflows (#20705) 2023-12-11 17:41:34 +01:00
Rijk van Zanten
38f65b5a5b Update CLA bot 2023-12-07 13:25:26 +01:00
Rijk van Zanten
45007d521d Exclude all major versions 2023-12-07 13:13:13 +01:00
Rijk van Zanten
a21dff1ed5 Fix ecosystem flag 2023-12-07 13:12:35 +01:00
Rijk van Zanten
e08671aad9 Setup dependabot (#20665) 2023-12-07 13:08:55 +01:00
Kevin Lewis
e67ed8acf7 Add docs for themes extension type (#20561)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-28 19:58:51 +00:00
Kevin Lewis
bce8847a57 Added docs suggestions issue template (#20554) 2023-11-28 10:35:37 +01:00
Pascal Jufer
59d40451ba Fix "Format" check in CI (#20482) 2023-11-20 16:22:08 +01:00
Rijk van Zanten
258621981e All incoming code is through PRs
See the irony of this being a direct commit? hihi
2023-11-08 16:12:50 -05:00
Rijk van Zanten
421e3e8f9f Only run CI against files that changed (#20365)
* Only run eslint against the files that have changed

* Don't build for eslint?

* Only run unit tests against changed files

* Fix unit test runner

* Run CodeQL daily, not on PR

* Checkout base ref for vitest to be able to check

* Inching closer

* Trial and error is my favorite

* With origin?

* Is this still needed?

* Does this work?

* It needs the whole fetch depth

Without it, the current HEAD doesn't have a shared base which causes a "no merge base" error

* Add comment to ensure we don't remove this later
2023-11-08 15:57:46 -05:00
Rijk van Zanten
6509e06a54 Update assign-next-release-milestone.yml 2023-11-06 10:02:14 -05:00
Rijk van Zanten
46d5a8ddde Temporarily remove the on-PR blackbox tests (#20208)
* Temporarily remove the on-PR blackbox tests

* Fix formatting, rename file
2023-10-26 16:44:56 -04:00
Pascal Jufer
f29b5a167a Enable npm provenance (#20182) 2023-10-25 13:13:46 -04:00
Pascal Jufer
61b7432950 Use fixed tag for prereleases (#20180) 2023-10-25 11:21:07 +02:00
Pascal Jufer
4fa20578f5 Optimize MSSQL test setup (#19979) 2023-10-10 13:27:36 +02:00
Pascal Jufer
b6f7dcaa0b Consider OS release for pnpm cache in GH workflows (#19973) 2023-10-10 10:27:50 +02:00
Rijk van Zanten
e1c8eaa82a Update pull_request_template.md 2023-10-09 18:26:31 -04:00
Rijk van Zanten
8dc68730ff Update name of milestone 2023-10-05 11:59:35 -04:00
Pascal Jufer
1ec1f98431 Bye-bye, Jest (#19886)
* Bye-bye, Jest

* Clean-up non-null assertions for PORT

* Test all vendors

* Consistent file names

* Try with MSSQL 2022

* Revert "Try with MSSQL 2022"

This reverts commit da807c6ec8.

* Try to run on Windows for better MSSQL perf

* Worth a try (hopefully runs MSSQL faster this way)

* Start docker services via bash

* Quick attempt with local installation of MSSQL

* Test with MSSQL 2019

* Back to ubuntu-latest for other tests

* Add typecheck cmd

* Revert "Test all vendors"

This reverts commit d6fbdd76c9.

* Use TS for Vitest config file

* Simplify vendors typecasting

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-10-04 14:53:36 -04:00
Rijk van Zanten
e5a775f769 Update pull_request_template.md 2023-10-02 13:31:18 -04:00
Rijk van Zanten
a238e0dc25 Update pull_request_template.md 2023-10-02 13:26:16 -04:00
Rijk van Zanten
aab269ba7c Run formatter 2023-09-29 09:41:49 -04:00
Rijk van Zanten
d8d1d3a60a Update pull_request_template.md 2023-09-29 09:25:46 -04:00
Rijk van Zanten
05f8e9b95c Update pull_request_template.md 2023-09-29 09:25:25 -04:00
Brainslug
0deadb9062 Improve stale github action (#19551)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-08-29 18:23:26 +02:00
Pascal Jufer
96bb544c56 Support for prereleases in release workflow (#19510)
* Make release workflow compatible for prereleases

* Support prereleases in release-notes-generator

* Update readme

* Create metal-dodos-return.md

* Update .changeset/metal-dodos-return.md

* Override version of main package

* Rework & enable usage with changesets's prerelease mode

* Fix conditional DIRECTUS_PRERELEASE_ID output

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Add hint to beforeExit event

* Add basic test for getInfo

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-08-25 16:48:50 +02:00
ian
66a5e60fbe Enable more checks for branch (#19514) 2023-08-23 20:24:29 +02:00
Pascal Jufer
921ac972d0 Enable checks for next branch (#19511) 2023-08-23 13:22:36 -04:00
Rijk van Zanten
930550b546 Update config.yml 2023-08-10 10:57:10 -04:00
Rijk van Zanten
0fb1438b42 Create tiny_tweak.yml 2023-08-10 10:56:21 -04:00
Connor
92621429ee Linting and Formatting Upgrade (#18892)
* add docs to eslint

* update prettier ignore

* fix vitepress linting

* eslint ignore fixes

* prettier run

* update prettier ignore

* fix formatting

* enable linting of markdown files

* revert format command change

* fix irregular whitespace

* update dictionary

* (Changelog) Create four-boxes-shake.md

* Rework ESLint / Prettier setup

- Disable js/ts/vue files for Prettier to ensure linting/formatting is
  only happening via ESLint
- Rework formatting of code blocks in md files
  - Disable formatting of code blocks in md files under '/docs' by Prettier
  - Instead use "eslint-plugin-markdown" to format & __lint__ js*/ts*/vue such code blocks
  - Replace unmaintained "eslint-plugin-md" plugin by official "eslint-plugin-markdown" plugin
  - I'll check whether we can use this to format other code blocks
    (json, html, ...) as well
- Restructure, clean-up and apply some fixes to the ESLint config
  (Note: Not ready for flat config yet since not supported by
  vscode-eslint)
- Enable cache for ESLint / Prettier in scripts
- Clean-up ignore file
  - Explicit folder declaration (.../)
  - Don't ignore all 'extensions' folders in ESLint (only
    '/api/extensions/')
  - Enable formatting in '/.github' folder

* Fix all formatting issues with Prettier

* Update md files under /docs/.typedocs

* Fix lint issues in vue/js files

* ESLint / Prettier config revision v2

Enable Prettier for md code blocks, but only as warnings since it can
get into the way with Vitepress md extensions like '[!code ...]'
comments

* Remove prettier-ignore comments

* Make spellchecker happy

* Remove changeset

* Revert lint setup for code blocks

There are many cases in the docs where linting / formatting of code
blocks doesn't make
sense:
- Code block is only an excerpt - linter fails
- Code block contains special comments (e.g. markdown extensions) which
  needs to remain at the same place - formatting would break it
- ...

* Apply lint issues / formatting from temp lint setup

* Run formatter

* Fix merge failure

* Simplify & modernize ESLint / Prettier setup

No longer run Prettier via ESLint. Nowadays, this is the recommended
setup. There's no real need to run it this way, it's just an additional
layer.

Add VS Code settings to make the work with the new setup easier.

* Remove unused eslint disable directives

* Make editorconfig more useful

* Fix formatting issues reported by editorconfig

* Format files with Prettier

* Enable formatting of source translations file

* Format source translations file

* Remove unnecessary console error

* Remove unnecessary line

* Only ignore md files under .changeset

* Add CI reporter for Prettier

* Fail job on wrongly formatted files

* Fix format

* Test Prettier action on changed/added file

* Use simple CI format check for now & no cache

* Revert "Test Prettier action on changed/added file"

This reverts commit 4f7d8826ad.

* Introduce code blocks check for docs

* Fix code block issues

* Ignore auto-generated packages dir

* Fix comment position

* Also lint `/app/.storybook`

* Reformat modified files

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-29 11:54:01 +02:00
Pascal Jufer
82aff75443 Fix "Assign Next Release Milestone" workflow for PR's from forks (#19009)
* Make "Assign Next Release Milestone" workflow work on external PR's

* Reduce external factors, replacing actions by gh api calls
2023-06-27 11:49:41 -04:00