Commit Graph

10816 Commits

Author SHA1 Message Date
Brainslug
b99eeb90e2 Calendar view one day added (end date) when an event is moved (#20010) 2023-10-12 15:03:02 +02:00
Azri Kahar
0494c20f5c Amend deleteFolder function's JSDocs description (#20011) 2023-10-12 13:01:42 +00:00
Pascal Jufer
da7cccc6b9 Use current Directus version in docs (#20008) 2023-10-12 12:50:07 +02:00
Azri Kahar
b93bd0bb9d Update placeholder text in file-image interface (#20004)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-11 22:02:38 +00:00
Daniel Biegler
4d0f8e07b5 Change csv db type to text (#19953)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-11 20:35:56 +00:00
Rob Lee
51a2fcbd53 Add a cache clear method to the UtilsService (#19990)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-11 20:14:59 +00:00
Nihcep
292e3b4742 Fixed handling of multiple WebSocket subscriptions on same target (#20005)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-11 20:01:41 +00:00
Brainslug
a982dfcd76 Fix websocket subscription filtering (#19743)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-10-11 14:56:40 +02:00
Nitwel
e6fe0663fb Fix readonly and required on groups (#19962)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-11 10:55:05 +02:00
Pascal Jufer
6d8fff112c Update vue-i18n to 9.5.0 (#19993) 2023-10-11 02:05:13 +02:00
Nicola Krumschmidt
2fed2670c8 Remove root property from AbstractQuery and minor cleanup (#19992)
* Move fields file out of fields folder

* Remove root property from AbstractQuery
2023-10-11 00:00:26 +02:00
Brainslug
250b7bbdb3 SDK Fix aggregation on multiple fields (#19965) 2023-10-10 23:55:36 +02:00
Andrew Milad
e886a698b7 fix(docs): fix keycloak issuer url (#19991)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-10 23:53:25 +02:00
Nitwel
daf1ce2147 Limit amount of characters you can enter (#19981)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-10 22:45:03 +02:00
Pascal Jufer
4fa20578f5 Optimize MSSQL test setup (#19979) 2023-10-10 13:27:36 +02:00
Pascal Jufer
62614da4b8 Add Corepack to docs dictionary (#19978) 2023-10-10 13:22:00 +02:00
Pascal Jufer
540f8cd070 Recommend installation of pnpm via corepack (#19977) 2023-10-10 12:35:54 +02:00
Pascal Jufer
b6f7dcaa0b Consider OS release for pnpm cache in GH workflows (#19973) 2023-10-10 10:27:50 +02:00
Pascal Jufer
615ddfc6c4 Upgrade pnpm to 8.9.0 (#19972) 2023-10-10 10:15:57 +02:00
Rijk van Zanten
e1c8eaa82a Update pull_request_template.md 2023-10-09 18:26:31 -04:00
Rijk van Zanten
d68ec5fda7 Cleanup imports (#19966)
* Cleanup imports

* Add changeset
2023-10-09 15:17:29 -04:00
Daniel Biegler
0da579ff7a Add a small border to the description dot for easier mouse-over (#19963)
* add a small border to the description dot for easier mouse-over

* Create cyan-rockets-build.md

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-10-09 12:55:22 -04:00
Nitwel
ee6a0a4dbb Fix not opening group with conditions (#19959) 2023-10-09 17:22:22 +02:00
Pascal Jufer
6a2824ea59 Remove obsolete comments (#19960)
Co-authored-by: Jan Arends <jan.arends@mailbox.org>
2023-10-09 11:08:51 -04:00
Nicola Krumschmidt
6c45914b8a Split up related field node type in data abstraction layer (#19942)
* Fix casing in file names

* Refactor file structure

* Split up related field node

* formatter

* renamed fields-node.ts to fields.ts

* Small grammar fix in comment

Co-authored-by: Jan Arends <jan.arends@mailbox.org>

---------

Co-authored-by: Jan Arends <jan.arends@mailbox.org>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-09 10:12:42 -04:00
Kevin Lewis
dfe7513f13 Fixed ItemService Typo (#19956) 2023-10-09 14:34:27 +02:00
Azri Kahar
4564cb1ceb Re-add description for relational table headers (#19952) 2023-10-09 13:38:15 +02:00
Nitwel
fe833626d4 fix __dirname being undefined (#19955) 2023-10-09 12:54:15 +02:00
Sajjad Ali
d4e1668b2b Fixed issues: nuxt-3.md (#19950) 2023-10-09 12:34:07 +02:00
Brainslug
7048f07106 SDK Improve global type compatibility (#19898) 2023-10-06 17:18:18 +02:00
Pascal Jufer
01ca023f51 Small cleanup for #19922 (#19926)
* Adjust release types

* Update package.json file

* Adjust readme

* Align type def for BundleExtension

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

* Add license

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-10-06 11:01:41 -04:00
Jan Arends
d6e6208c26 Data abstraction: Field selection, modifiers and m2o for PostgreSQL driver (#19146)
* Naming typo

* First experiments

* Setup testing playground

* Fetch in client stream

* Add logging

* Remove unneeded stream to string util

* added logical operator to complex test and cleanup

* Improve typing

* started adding function support

* Support nested m2o in data-sql

* Implement join sql string creation

* It's alive!

* Remove unused aliases

* Add todo reminder

* fix build

* small improvements for fn conversion

* function conversion in pg driver

* more expressive typedocs

* toMatchObject in data sql to ignore alias and path

* added type to sort node

* moved and fixes tests for comparison

* moved condition tests

* separate file for functions

* test for function condition

* added proper args to function although not in use

* AT TIME ZONE 'UTC' when needed, proper arg value

* intersects support in pg driver

* convert geo value

* docs for intersects

* reworked column as function input

* support for functions in abstract select

* fixes tests

* count support in select

* refactoring: split up filter conversion

* starting every and some operators

Co-authored-by: Nicola Krumschmidt <nickrum@users.noreply.github.com>

* extracted variable in test

* in operator with sub query support

* split up conditions type into multiple types

* type for a single query parameter

* condition type

* intersects_bbox in pg driver

* finalized type declarations

* geo condition types

* pnpm lock update

* removed playground

* join

* fixed geo

* fixed types in test

* changeset

* made path prop required again

* geojson for intersects to the driver

* removed sub query from set-condition

* clean up form sub query removal

* added between support

* fixed geo condition test type

* formatting

* moved number operators to utils

* xy-condition to condition-xy

* remove between

* between clean up

* formatter

* refactoring: split up condition generation

* changeset

* split up type for geo condition

* refactoring: split up conditions converter

* fix formatter

* split up types

* split up abstract query into multiple files

* export fix

* split up condition builders in pg driver

* enabled all functions in select and nr condition

* adjusted join conversion and added test

* added test for node conversion

* moved index generator to converter dir

* docs

* format fix

* split up abstract query types further

* split up abstract sql types further

* split ups in converter and fine granular tests

* fix format

* proper index file in converter

* proper type for generator

* more docs on data-sql

* updated data readme

* readme tweaks

* removed circular dependency and added union type

* moved create-identifier function

* added index file in sql utils

* comment on converter usage

* removed circular deps in sql types

* last dependency fixes in data sql

* fixed tests

* cleanup up dependencies in overall abstract query

* removed base type to reduce noise

* reduce some index files in sql types declaration

* formatter

* more dependency tweaks

* formatter

* graphs for data and data-sql

* added dependency cruiser

* added lock file

* pnpm downgrade 8.6.0 to fixed lock file

* try fixing again with 8.6.2

* formatting

* formatting, now with correct formatter

* fixed dependencies

* formatter

* extracted variable for more readable code

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

* formatter

* fixed export of condition types for driver

* consistent file naming for conditions

* updated docs

* type fix

* removed todo

* another type fix

* split up expand func and added test

* todo test for driver class

* fixed unit test

* fixed typo

* removed todo, though about it, it's good as it is

* separated path map creation from query-converter

* renamed converter to query-converter

* user specific aliases for primitives

* fixed linter

* user specified alias for m2o

* documentation

* redesigned the function types and added alias support

* formatter

* unit test for pg driver index file

* moved call to source as class member

* moved alias map creation back to converter

* moved unique alias generation to ORM

* tsup update

* renamed nodes to fields

* redefined return type of query converter

* modifier conversion similar to fields conversion

* added response converter dir again

* aligned unit tests

* fixed circular dependency

* moved orm logic one level up again

* formatter

* removed SVGs

* Update pull_request_template.md

* Update pull_request_template.md

* Run formatter

* a bit renaming and restructuring

* formatter

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nickrum@users.noreply.github.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-10-06 09:32:04 -04:00
Yusuf Akorede Yusuf
8f1a7a83fd Update panels-create-items.md (#19923)
* Update panels-create-items.md

corrected a mispelling responseDialoge to responseDialog

* Update contributors.yml
2023-10-06 09:42:31 +02:00
Rijk van Zanten
1383e85fe9 Cleanup extensions dependencies (#19922)
* Setup boilerplate for extensions page

* Allow reading all extensions from the root endpoint

* Add basic sidebar info detail

* Render list of extensions

* Move extensions manager to folder

* Move stuff related to extensions to @directus/extensions

* Import extensions utils/types/etc from ext. package

* Resolve last imports

* Temp remove settings pane

Different PR!

* Add changeset

* Run formatter

* Fix import in test
2023-10-05 19:20:26 -04:00
Rijk van Zanten
8dc68730ff Update name of milestone 2023-10-05 11:59:35 -04:00
cheddar
d43ecb20a2 Update filter-rules.md (#19869)
Dynamic variables are not available in flows.
2023-10-04 15:21:03 -04:00
Rijk van Zanten
119f41e85b Check for non-success status in LDAP (#19904)
* Check for non-success status in LDAP

Fixes #19878

* Add changeset
2023-10-04 15:07:51 -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
f0067dc61a Update pull-request-process.md 2023-10-04 14:39:04 -04:00
Rijk van Zanten
08203d0829 Fix snippet toggler active state, sync selected value across page (#19884)
* Use vueuse localStorage instead of custom

Fixes #19879

* Prevent flashing & jumping

- localStorage should only be initialized on client side, preventing
  flash if value in localStorage doesn't equal choices[0]
- updates from localStorage should only be applied if value exists in
  choices
- height of snippet toggler now always remains at the height of the largest content, preventing page jumping

* Use expanded fields syntax

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-04 14:32:57 -04:00
Daniel Biegler
44a70dbaba add folder prop to v-upload so that import can use it (#19897)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-04 13:46:45 +02:00
José Varela
f96eda89e1 Import: Do task in a separate worker (#19691)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
2023-10-04 11:39:40 +02:00
Brainslug
4b26bfad1d SDK Embed WebSocket constants (#19883)
* Embedded WebSocket constants

* Create funny-fishes-serve.md

* Using a const object instead

* hi prettier
2023-10-03 12:00:42 -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
Brainslug
a3787aaced SDK Update Collection Type (#19881)
* Updated SDK collection type and docs

* fixed sort meta type on collections

* Create big-peas-jump.md
2023-10-02 09:30:24 -04:00
Pascal Jufer
01f0a18147 Adjust the Packages and Dev Env doc links/names (#19868) 2023-09-29 18:33:38 +02: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