Commit Graph

10947 Commits

Author SHA1 Message Date
Pascal Jufer
0728419bfb Move remaining blackbox readme to docs (#20397) 2023-11-11 16:36:36 +01:00
Pascal Jufer
b849631f36 Fix test for large _in filters (#20396) 2023-11-11 15:53:16 +01:00
Pascal Jufer
1e2ee8dec8 Use double quotes for compose in docker guide (#20395) 2023-11-11 13:29:20 +01:00
Azri Kahar
fa2f649889 Fix filter parsing for _in/_nin operators with large arrays (#20356)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-11 00:28:59 +00:00
Jan Arends
5c7c79dfc2 Durus sorting on an m2o field (#20357)
* Changed sort conversion to support nested targets

* Refactoring in sort test

* integrated new sort conversion

* formatting

* removed type errors

* test for sort in modifier conversion

* remove unneeded stuff from driver

* fixed tests

* removed unused type

* support functions for sort

* Remove not needed error handling

* Allow sorting by functions in query converter

---------

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2023-11-10 19:48:28 +00:00
Pascal Jufer
2d3da357db Fix SnippetToggler group definitions (#20388)
* Fix SnippetToggler group definitions

* Ignore md files for linting
2023-11-10 19:54:49 +01:00
Brainslug
a96909079b Updated extension endpoints OAS definitions (#20374)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-10 18:11:46 +00:00
Jan Arends
6f0205d054 Durus: Filtering on m2o relations (#20222)
* initial ideas

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nickrum@users.noreply.github.com>
Co-authored-by: ian <licitdev@users.noreply.github.com>

* removed function as target again

* converter test like the rest

* TDD test for converter

* TDD test for pg statement creation

* fix

* convert nested condition target

* test for function target conversion

* made condition nodes return join clause for nested filter

* handled the additional join for logical nodes

* adopted changes in filter test

* fixed test

* added join to modifiers

* Allow same target in all conditions

* Fix AbstractSqlQueryOrderNode type

* Fix deeply nested filter conversion

* Fix condition converters with nested target

* Make filter result clauses required

* Fix merging joins

* Fix convertLogical type

* Allow all SQL condition nodes to be functions

* fixed test

* rename

* new test, separated integration tests

* remove duplicated joins

* formatter

* fixed string condition

* adopted tests

* preparation for sort

* removed test complexity drastically

* clean up join duplicate removal

* unit test for modifier conversion

* reverted converter test

* removed join duplication removal

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nickrum@users.noreply.github.com>
Co-authored-by: ian <licitdev@users.noreply.github.com>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2023-11-10 18:40:47 +01:00
Azri Kahar
fc1b4ca7b4 Fix awaiting of token refresh request before making any further API requests (#20383) 2023-11-10 16:44:05 +01:00
Pascal Jufer
976ebf1330 Refactor env mocking (#20384) 2023-11-10 16:32:35 +01:00
Leon Marzahn
09edc033f8 Only trigger changes for tables, cards and calendars if necessary (otherwise triggers auto-save) (#20106)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-11-09 13:42:34 +01:00
Rijk van Zanten
fe1a059d0d Fix search height 2023-11-08 18:57:58 -05:00
Rijk van Zanten
6155060b98 Don't try linting yaml files (#20366)
It'll start throwing "no-undef" errors for all strings
2023-11-08 16:51:05 -05: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
Brainslug
fd6eff4a5a Show package version if available (#20303)
* Show package version if available

* Create nice-bottles-flow.md

* Colorize state chip

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-08 15:55:43 -05:00
Brainslug
b5d73a9013 Allow overriding asset presets (#20305)
* Allow overwriting preset asset transformations

* ran prettier

* Create strong-spoons-mate.md

* simplified transformationParams

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-11-08 14:01:18 -05:00
Rijk van Zanten
d413e4bf21 Refactor variables (#20329)
* Replace defaults in v-badge

* Use var defaults in v-button

* Keep var in comment

* Use var defaults in v-icon-file

* Use var defaults for v-list-item-icon

* Update v-list variables

* Use defaults in v-notice vars

* Remove unused vars in v-pagination

* Update defaults in v-sheet

* Remove unused v-tabs var

* Update vars in v-select

* Update v-table vars

* Use defaults in folder-picker

* Use defaults in v-card var

* Use var defaults in checkbox

* Use var defaults in v-chip

* Update other uses of chip

* Use vars defaults for v-divider

* Remove unused var in v-drawer

* Use var defaults in v-list-item-content

* Remove unused var in v-menu

* Use var defaults in v-overlay

* Use var defaults in v-progress-circular

* Use defaults in v-progress-linear

* Use var defaults for v-radio

* Use defaults in skeleton-loader

* Use var defaults in v-slider

* Remove unused vars in v-tab

* Cleanup vars of v-textarea

* Use var defaults in v-icon

* Fix typos

* Format files

* Add changset

* add  --v-sheet-padding default value

affected components: list-m2m,
list-o2m, and multiple-relation

* Update app/src/components/v-list-item.vue

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

* Update app/src/components/v-table/table-header.vue

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

* Don't use v-sheet variable in parent components

* Remove outdated overrides

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-11-08 13:58:54 -05:00
Pascal Jufer
45847a61a2 Prevent re-installation of deps in Docker image (#20346)
* Ignore Dockerfile to prevent layer cache drops

* Prevent reinstallation of deps in Docker image

* Add changeset

* Prettify by using heredoc & inject packageManager

* Add comment

* Update docs

* Apply suggestions from code review

* Refer to original issue instead of pull request

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-11-08 13:37:59 -05:00
Benjamin VIELLARD
58ca1b63f6 Use the collection icon in the DrawerItem (#20354)
* Use the collection icon in the DrawerItem

* Use the collection icon in the DrawerItem
2023-11-08 13:34:17 -05:00
Azri Kahar
1b01f2c4b4 Preserve minimal app permissions/validations when merging (#20347)
* preserve app minimal permissions when merging

* update test

* add changeset
2023-11-08 18:06:19 +01:00
Azri Kahar
0a8e7b7d2e rename to articles to match other examples (#20359) 2023-11-08 15:59:18 +00:00
Brainslug
9a1ba0982c Delete files based on "filename_disk" (#20341)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-11-08 15:04:15 +01:00
Brainslug
df357bb693 SDK translation schema update (#20344) 2023-11-07 14:15:27 +01:00
Rijk van Zanten
6509e06a54 Update assign-next-release-milestone.yml 2023-11-06 10:02:14 -05:00
Azri Kahar
4a09a423de Fix disabled input's border color (#20340) 2023-11-06 14:07:08 +01:00
Azri Kahar
4e921964ad Fix select all logic in v-field-list-item component (#20315) 2023-11-06 13:18:07 +01:00
Rijk van Zanten
c560f6b64b Allow overriding the form elements on the public page (#20326)
* from rainbow to lava lamp

* svg paths to divs for performance

* Clean up styles

* Public view themable options

* Make speed themable

* Use server store info for public theming

* Allow setting public page background

* Make foreground and accent themable

* Override form theming on login page

* Optimize comments

* Add changeset

---------

Co-authored-by: Ben Haynes <ben@rngr.org>
2023-11-03 16:32:34 -04:00
Rijk van Zanten
40e7046ba8 Use server store for public theme information (#20324)
* from rainbow to lava lamp

* svg paths to divs for performance

* Clean up styles

* Public view themable options

* Make speed themable

* Use server store info for public theming

* Add changeset

---------

Co-authored-by: Ben Haynes <ben@rngr.org>
2023-11-03 15:21:33 -04:00
Ben Haynes
3faab8d8ae Updated Public Page Artwork (#20309)
* from rainbow to lava lamp

* svg paths to divs for performance

* Clean up styles

* Public view themable options

* Make speed themable

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-11-03 15:17:38 -04:00
Brainslug
bbefc62ef4 Updated all docs examples from "@directus/sdk/rest" to "@directus/sdk" (#20321) 2023-11-03 13:58:42 -04:00
Rijk van Zanten
4a36355223 Update colors (#20311)
* Move colors down

* Move colors down

* Rename Theming -> Appearance in settings

* Use tune icon for settings

* Don't render background in overrides interface

* Remove default table background

* Add background/border to globals

* Use theme border subdued

* WIP use standardized colors

* Fix typo

* Use theme background accent for background-normal

* Use background accent as default highlight

* Rename theme background to background-page

* Use theme background accent

* Add changeset
2023-11-02 17:41:07 -04:00
Rijk van Zanten
d4e3ab2c0d v10.7.2 v10.7.2 2023-11-02 16:18:09 -04:00
Rijk van Zanten
ce4ecc823a New translations en-us.yaml (Greek) (#20242) 2023-11-02 16:17:44 -04:00
Rijk van Zanten
bf21e6959c Improve rolling deployments from 10.6 to 10.7 (#20308)
* Temporarily add back theme field to permissions

* Mark it as alias to not load from db

* Add field to permissions

* Fetch all user fields

* Note it's only for 10.7

* Add changeset

* Format

* Fix unit test

* Fix tests some more
2023-11-02 15:49:11 -04:00
Brainslug
a09a45eaf7 Unable to import files with predefined ids (#20301)
* Add check for existing file

* Create five-balloons-drum.md
2023-11-02 13:53:40 +01:00
daedalus
3a4abb10cb fix: extension auto-load crashes directus if local extension is removed (#20259) 2023-11-01 02:19:19 +01:00
Rijk van Zanten
ca85e15003 Don't show value marker for empty values 2023-10-31 15:47:45 -04:00
Rijk van Zanten
ff4f7fde60 Render global rules under globals rule in theme overrides interface (#20280)
* Render globals as collapsable section

Fixes #20279

* Add changeset
2023-10-31 15:42:17 -04:00
Rijk van Zanten
696aa767be Tweak default input border color 2023-10-31 15:04:51 -04:00
Rijk van Zanten
3d66a5c728 Make navigation borders configurable (#20277)
* Make navigation borders configurable

* Add changeset
2023-10-31 15:01:52 -04:00
Rijk van Zanten
1c5ab970e6 Match activity log button to sidebar toggle (#20275)
* Match activity log button to sidebar toggle

Fixes #20274

* Add changeset
2023-10-31 14:43:04 -04:00
Rijk van Zanten
474f8eab1f Add configurable borders (#20226)
* Add borderRadius rule

* Standardize border radii

There was a border-outline style that was visually nearly identical that was hardly ever used. The places it was used in felt like more of an oversight / inconsistent usage than intentional, so I've opted to standardize it to the same configured radius

* Replace --border-radius with --theme--border-radius

* Remove border radius from variables.scss

* Remove default

* Allow overriding v-input border-radius

* Update legacy overrides

* Default to 6px

* Remove overrides

* Update overrides to use v-input specific

* Add LineWidth, fix schema output

* Use border-width from theme

* Add border colors for inputs

* Use theme form colors for borders

* Configurable box-shadow for input

* Use configurable shadow

* Add optional module bar border

* Reduce white space

* Add optional border to nav bar

* Add configurable sidebar border

* Add configurable header shadow

* Add changeset

* Run formatter

* fix borderWidth for calc

* Remove border-normal

* Use border-width for 2px values where appropriate

* Use theme border for avatar divider

* Add rules for project info border

* Add border support to project info

* Add border support for section toggle

* Run formatter

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-10-31 14:36:28 -04:00
Brainslug
2273dbcd70 Fixed incorrect input pattern in the app (#20263)
* fixed incorrect regex

* Create strange-vans-watch.md
2023-10-31 21:08:06 +08:00
Brainslug
7b7777af4a Docs update query limit=-1 (#20251)
* Updated "limit=-1" wording

* mention QUERY_LIMIT_MAX

* Added link and updated wording
2023-10-30 17:04:41 -04:00
Brainslug
87cc9cb9a8 Validate the query for SEARCH requests (#20253)
* validate the query used in SEARCH requests

* Create ten-onions-shop.md
2023-10-30 11:18:39 -04:00
ian
50a72a6bf1 Trimmed sort array (#20254)
* Trim sort array in query

* Add changeset
2023-10-30 11:11:49 -04:00
Abdón Rodríguez
2c287d1062 Fix self-hosted quickstart indentation (#20252) 2023-10-30 10:28:32 -04:00
Peter Stuifzand
d54418bb39 Fix errors in Realtime Chat Vue guide (#20237)
* Fix errors in vue guide

* Fix fields syntax

* Update contributors.yml

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-30 11:39:24 +00:00
Brainslug
31a6e9ad50 updated sort example (#20248) 2023-10-30 11:06:07 +01:00