Commit Graph

10466 Commits

Author SHA1 Message Date
Gerard Lamusse
14283e2da2 Replace template with p element (#19004)
* Replace template with p element

* Add changeset

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-27 15:28:58 -04:00
Rijk van Zanten
63069bd688 Consolidate Redis environment variables (#19010)
* Remove individual redis configurations

* Use shared redis config

* Update stub

* Add changeset

* Update .changeset/grumpy-rice-film.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Remove RATE_LIMITER_REDIS_ ref in docs

* Update REDIS config in docker compose example

* Readd missing param

* Fix mention of namespace ind ocs

* Undo moving of cache store env

* Update blackbox tests & docs

* Update api/src/env.ts

Co-authored-by: ian <licitdev@gmail.com>

* Fix casing of wEbSoCkEtS

* Remove redis namespace from env check

* Add global store back in

* Tweak phrasing

* Readd supplementary note 5

* Bring back CACHE_STORE in docs / tests

* Forgot one CACHE_STORE

* Consistent order

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
2023-06-27 13:34:49 -04: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
GitStart
16ed93c9b9 Expose case-insensitive variants of _starts_with and _ends_with (#18941)
Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-27 17:48:29 +02:00
ian
757a5914af Flush cache when applying diff (#18986)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-27 15:13:54 +02:00
Ashish Baravaliya
615c827609 Updating Archived status based on updated props (#18995)
* fix: updating selecteditem based on props

* signed CLA

* chore: added changeset

* Update .changeset/big-doors-heal.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-27 14:59:52 +02:00
Esther Agbaje
d8727ba4f1 Split existing docs pages into Developer Docs and User Guide (#18951)
* docs: add getting started

* docs: add data model

* docs: add content module

* docs: add user management

* docs: add file library

* docs: add insights

* docs: add general settings

* docs: update user guide sidebar

* docs: update sidebar

* docs: add data studio app to dev docs sidebar

* docs: update content module

* docs: update directus cloud

* docs: update settings and content module

* docs: removed unused files in app

* chore: update links

* chore: update redirects

* docs: update redirects

* chore: update redirects

* chore: update urls

* docs: add active match

* Remove unused import

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-26 15:03:33 -04:00
Connor
94bfecf72e Fix Docs Broken Links and add License to @directus/stores (#18988)
* add license to stores package

* fix broken links

* disable edit link on generated documentation

* Create heavy-papayas-buy.md
2023-06-23 15:47:43 -04:00
Jan Arends
54b3d2e090 Sort in pg driver (#18954)
* fixed type name

* added sort support

* changeset

* changed order of query parts

* fixed typo in changeset

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Assert type instead of using ts-ignore directive

* grammar in docs

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* removed trim

* refactored constructor

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Replace ts-ignore directive in orderBy test

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-23 09:57:49 -04:00
Rijk van Zanten
513a739b33 Drop support for Memcached (#18980) 2023-06-23 08:54:43 -04:00
Kevin Lewis
9a0cd33266 Revising Docker Guides (#18956)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-23 11:18:50 +00:00
Rijk van Zanten
28e33a67e9 Add note about case sensitivity on collection creation (#18979)
* Add case sensitivity note

Fixes #13676

* Add changeset
2023-06-22 23:23:50 -04:00
Rijk van Zanten
6dab862ddb Remove unused isBatch check (#18978)
* Remove unused isBatch check

Fixes #11679

* Add changeset
2023-06-22 22:54:56 -04:00
Rijk van Zanten
4ea9a102d9 Parse GeoJSON raw value to object if string is passed (#18976)
* Parse GeoJSON raw value to object if string is passed

Fixes #10869

* Add changeset
2023-06-22 21:37:11 -04:00
rijkvanzanten
de61fe080d Organize imports 2023-06-22 20:58:19 -04:00
rijkvanzanten
e5992b59bd Add changeset for #18962 2023-06-22 20:57:50 -04:00
Phil
53b1217b1d Fixes infinite fetch all loop (#18962)
* Run request only one time

* Fix infinite loop by using get instead of fetchAll

* Updated contributors.yml
2023-06-22 20:57:16 -04:00
rijkvanzanten
cbb66756ce Add missing word 2023-06-22 19:28:43 -04:00
rijkvanzanten
fcd08381f9 Fix typo in flows docs
Fixes #18972
2023-06-22 19:04:35 -04:00
Rijk van Zanten
3b52f2d59d Fix custom migrations running not validating against documented file path requirement (#18971)
* Require - to exist in custom migration filepath

* Update docs to mention shared helpers

* Add changeset
2023-06-22 19:00:01 -04:00
Rijk van Zanten
cd1b1ec70d Delete CODEOWNERS 2023-06-22 18:56:28 -04:00
Rijk van Zanten
654e09ed5c Improve range type signature (#18970)
* Improve range type signature

Fixes #18793

* Add changeset

* Fix gcs test
2023-06-22 18:41:02 -04:00
Connor
8d026b365d Use Flow Store instead of API (#18960)
* Use Flow Store instead of API

* Create rotten-plants-mix.md

* Update changeset

* Organize imports

* Only do lookup once

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-22 18:23:38 -04:00
Connor
3222b5ead9 KanBan Avatar fix Fallback Icon and SVG Logic (#18904)
* if avatar isnt valid, show icon

* fix svg logic

* Create breezy-cheetahs-jump.md

* fix logic, key, and v-image

* Update changeset

* Remove check for svg

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-22 18:16:10 -04:00
GitStart
1bbb8e12ea Add missing filter operators for case sensitivity #18739 (#18942)
* Add missing filter operators for case sensitivity

Co-authored-by: RubensRafael <rubensrafael2@live.com>

* Add contributors

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: RubensRafael <rubensrafael2@live.com>

---------

Co-authored-by: RubensRafael <rubensrafael2@live.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
2023-06-20 11:23:22 -04:00
Pascal Jufer
baceedf201 Allow plain query flags for boolean & geo filter operators (#18888)
* Allow plain query flags for boolean & geo filter operators

* Create blue-wolves-tell.md

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-06-20 11:20:56 -04:00
Jan Arends
0fea5ab016 converted abstract sort modifier (#18938)
* converted sort

* update comment

* changeset

* change wording

* renamed converter tests

* updated docs

* Change changeset description

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* docs

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-06-20 10:36:44 -04:00
Brainslug
562bcdfcb5 Expose WebSocketService for extensions (#18943) 2023-06-20 10:25:51 +02:00
José Varela
1ff15c49af App: Hydrate serverStore once (#18940)
* Hydrate `serverStore` once

* Add changeset

* Update .changeset/modern-boxes-sin.md

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-19 17:49:19 -04:00
Phil
5ad28818a2 #18930 - Fix to v-table show-select='one' (#18931)
* Fix(extension-sdk): v-table, if showSelect prop is set to 'one' then restrain selection list size to 1

* Feat: added myself to contributors and changeset

* Update .changeset/fair-years-itch.md

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-19 11:16:51 -04:00
Jan Arends
1cbae4952c Limit and offset modifiers for Postgres driver (#18894)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-19 15:51:12 +02:00
rijkvanzanten
10215abdd0 Fix dictionary 2023-06-14 18:12:13 -04:00
Brainslug
9d27e95686 Fix websocket with $CURRENT_USER permissions (#18901) 2023-06-14 14:24:44 +00:00
Pascal Jufer
44e794ba96 Add stub test for new @directus/themes package (#18889) 2023-06-13 15:47:24 -04:00
Rijk van Zanten
c314e7d774 Boilerplate @directus/themes (#18887)
* Start on @directus/themes

* Implement theming in app

* Reduce initial ruleset

* Remove test changes from app

* Nothing to see here

* Use appearance in deciding default theme

* Setup typedoc integration

* Add a wip warning
2023-06-13 14:54:29 -04:00
Rijk van Zanten
f0bc2a4803 Setup boilerplates for new components package (#18884)
* Setup boilerplates for new components package

* Fix readme

* Add test fallback
2023-06-13 14:14:19 -04:00
rijkvanzanten
c0cd7860b1 v10.3.0 v10.3.0 2023-06-13 12:52:12 -04:00
Rijk van Zanten
f33facd2da New Crowdin updates (#18781)
* Update source file en-US.yaml

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Icelandic)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Khmer)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (English, Canada)

* New translations en-US.yaml (English, United Kingdom)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Faroese)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Bosnian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Bengali, India)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Sorani (Kurdish))

* New translations en-US.yaml (Spanish, Latin America)

* Update source file en-US.yaml

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Norwegian)
2023-06-13 12:50:34 -04:00
Pascal Jufer
361e733790 Support multiline summaries in release notes generator (#18881)
* Support multiline summary in release notes generator

* Create cool-laws-share.md
2023-06-13 12:49:23 -04:00
Pascal Jufer
1124f9869a Clean-up changesets (#18882)
* Clean-up changesets

* Update .changeset/eleven-cougars-sparkle.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-13 12:48:52 -04:00
Rijk van Zanten
bc7e92e4b0 Add boilerplates for da project (#18642)
* Move data types to data package

* Setup boilerplate for driver

* Add basic data manager class

* Rename "datastore" to "store"

* Rename "fieldNodes" -> "nodes"

Opinions incoming!

* Setup manager basics

* fix pnpm-lock file

* Regenerate pnpm-lock file with pnpm v8.5

* add flowchart diagram

* revert flowchart diagram

* Add a basic data driver for PostgreSQL (#18808)

* add very basic query builder

* Start new data-sql package

* Start noodling

* Results of friday collab session

* add tests and separate function

* add flowchart diagram

* fix tests

* dependency diagram and fix

* add tsdocs

* fix query builder test

* small refactoring

* add underlying error in error message

* add tests for escape function

* add check if pool has a client to query the db

* revert tests, query func handles clients itself

* Update packages/data-sql/package.json

* Resolve comments

* Pass query

* Add tsup

* Remove compileroptions with tsup usage

* Split up converter

* Update graph

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Improvement: Add albanian language translation (#18810)

* Add albanian to available languages

* Add me as contributor (CLA)

* Create fair-clouds-exercise.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Add extra type check in apply-diff (#18783)

* Fix content filter between (#18821)

* fixed incorrectly typecast value

* Create popular-toes-tap.md

* Created new contribution pages for non-code contributions (#18820)

* Community

* Fixed copy in community page

* Sponsrship and advocacy

* Clarified 80/20 rule in support page

* Reworked contribs intro

* Contributing sidebar

* Remove backing directus page

* Translations updates

* Spell check

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Reuse S3 client and increase maxSockets (#18799)

* Reuse S3 client and increase maxSockets

* Update test to check for timeouts and non-2xx responses

* Create beige-olives-beam.md

* Fix unit tests

* Update packages/storage-driver-s3/src/index.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update .changeset/beige-olives-beam.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Switch to tsup builds

* Don't require connect/disconnect

* Add test for engine

* Fix tests

* Cleanup tests

* Update tests

* Add destroy method

* Call register on register

* Tweak readme to drop connect

* Add changeset

* Wrapper function for random identifiers (#18870)

* add util function in data for random identifiers

* move wrapper into random package

* fix docs typo

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Rename to identifier and add test

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Update packages/data/readme.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Jan Arends <jan.arends@mailbox.org>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Nino Gjoni <49320058+ninogjoni@users.noreply.github.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: ian <licitdev@gmail.com>
2023-06-13 11:10:47 -04:00
Rijk van Zanten
7f961d51ec Fix creating new relation when applying snapshot diff (#18879)
* Fix creating new relation when applying snapshot diff (#18692)

* Update apply-diff.ts

Collection and field might not be part of the dif but are mandatory

* Update contributors.yml

* Update apply-diff.ts

* prettier

* Add changeset

---------

Co-authored-by: gkielwasser <gkielwasser@gmail.com>
2023-06-13 10:51:58 -04:00
Agustin
57747f0c7e Fix reversing of _null, _nnull, _empty and _nempty (#18801)
* Fix reversing of _null, _nnull, _empty and _nempty

When the value given is false, at the moment both `IS NULL` and `IS NOT NULL` are added to the query which means there are never results.

* Update contributors.yml

* Add test for applyFilter with boolean operators

* Revert unnecessary line break

* Create chilled-wolves-double.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-06-13 10:18:50 -04:00
Connor
5e1f02dba1 Add TypeDocs to Docs (#18867)
* Create package

* TypeDoc Init Config

* Start Config

* Configure Packages

* Generation

* Add Plugins

* Vitepress Generation

* More Generation

* Fix Lock File

* Fix Connections

* Build Step

* Deployment Testing

* Fix Sidebar

* Fix Lock File

* Deployment Fix

* Change Sidebar

* Final POC/MVP Updates

* fix commands

* fix dev deps

* fix netlify functions

* CHANGELOG: Create warm-spiders-double.md

* Fix typing

* Remove double title

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-13 10:18:22 -04:00
Azri Kahar
92f2a9197e Recursively check permissions in isAllowed utility function (#18871) 2023-06-13 15:57:20 +02:00
Rijk van Zanten
0c5123ab96 Docs tweaks (#18868)
* Change logo to gray/white

* Reduce sizing of borders

* Notice colors

* Cleanup styling for feedback section

* Install material symbols

* Update card design

* Add standard margin

* Tweak purple dimm on darkmode

* Tweak notice spacing

* Tweak loading of icons
2023-06-12 18:30:15 -04:00
Ananta Krsna dasa
beba554a70 Fix collection name in quickstart.md (#18865)
* Update quickstart.md

Fix collection name.

* Update contributors.yml
2023-06-12 10:32:53 -04:00
Rijk van Zanten
d089b31a91 Update pull_request_template.md 2023-06-12 09:30:54 -04:00
cheddar
9a9f3684a4 Update sdk.md (#18862) 2023-06-11 23:09:30 -04:00
ian
b811cce425 Render calendar and map layouts correctly (#18853)
* Fix broken layouts

* Create blue-impalas-smell.md
2023-06-09 12:16:59 -04:00