Commit Graph

8969 Commits

Author SHA1 Message Date
Rijk van Zanten
6274ee07d0 New Crowdin updates (#13857)
* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Spanish)
2022-06-14 15:39:52 -04:00
Aiden Foxx
8ae7134e5d Clarified DEFAULT_ROLE_ID for LDAP (#13893)
* Clarified DEFAULT_ROLE_ID for LDAP

* Update docs/configuration/config-options.md

* Update docs/configuration/config-options.md
2022-06-14 18:38:43 +00:00
Brainslug
a88a80d6b9 O2M relation does not display correctly (#13866)
* fix for o2m displaying item count

* fixes value structure for multi relations

* removed debugging code and comments and improved data mapping

* fix aliased fields for single relations

* removed unneeded fixes
2022-06-14 14:30:49 -04:00
Brainslug
7fa40b07fa Labels with v-chips are not rendered side-by-side (#13890)
* fix form field label with locale badges

* added a little spacing for the form label badge

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
2022-06-14 11:01:48 -04:00
ian
e80f78fa8f Fix date filter with null value on SQLite (#13891) 2022-06-14 10:37:52 -04:00
ian
f8b73ce236 Fix aliased DB table names in filter query (#13575)
* Fix aliased DB table names in filter query

* Rename to originalCollectionName for clarity

* Update api/src/utils/apply-query.ts

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-06-14 09:14:45 -04:00
Azri Kahar
f17a1d8988 Add migration to rename hook triggers to event (#13879) 2022-06-14 09:07:52 -04:00
Rijk van Zanten
583a555b0b Upgrade gluegun (#13878) 2022-06-13 17:29:18 -04:00
Rijk van Zanten
558672a78f Prevent unknown knex methods from being used (#13877)
* Prevent unknown knex methods from being used

* Fix tests
2022-06-13 17:20:27 -04:00
Rijk van Zanten
c059f7c219 Upgrade codeql to v2 (#13876)
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-06-13 16:46:13 -04:00
rijkvanzanten
ac694ea64c Another merge to empty object 2022-06-13 16:39:40 -04:00
rijkvanzanten
3549084019 Merge to new object in gql 2022-06-13 16:32:11 -04:00
Rijk van Zanten
89fa6fd36c Upgrade busboy (#13875) 2022-06-13 16:22:41 -04:00
Aiden Foxx
e2cedccea9 Added correct null parsing to Directus schemas (#13873)
* Added correct null parsing to Directus schemas

* Bump knex-schema-inspector

To make sure we don't upset MariaDB folks

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-06-13 18:59:47 +00:00
Rijk van Zanten
e54af6b1dd Fix insights panel configuration not persisting to tiles (#13874)
* Make sure panel configuration props are passed camelCased

* Make sure edit still uses underscore prefixed panels
2022-06-13 14:38:12 -04:00
rijkvanzanten
2ecaf0360c Don't check bytesize for empty payloads 2022-06-13 13:04:21 -04:00
Rijk van Zanten
8cee483a1d Add optional cache max value size limit configuration (#13871)
Resolves #13708
2022-06-13 13:03:41 -04:00
ian
e0730af281 Trigger focus event to ensure observable exists in WYSIWYG (#13829)
* Trigger focus event to ensure observable exists in WYSIWYG

* Remove unused init event
2022-06-13 11:11:43 -04:00
rijkvanzanten
e7b9d3f49d Fix missing options crashing displays 2022-06-13 11:04:53 -04:00
Azri Kahar
320590a0fc Use translate in render-display (#13861)
* fix translations in boolean display

* Revert "fix translations in boolean display"

This reverts commit bd4768773c.

* translate in render-display

* remove translate from labels display
2022-06-13 10:04:00 -04:00
ian
416b795b85 Fix linting for api/src/utils/get-local-type.ts (#13849) 2022-06-11 19:01:07 -04:00
Azri Kahar
c44c0e7f8f use parsePreset in App side (#13830) 2022-06-10 16:41:52 -04:00
Jay Cammarano
0a4f1f7e5c Fix: Time Series panel crashes when setting a max value with no min value (#13846)
* no min? no problem

* more explicit undefined + return
2022-06-10 16:25:56 -04:00
Rijk van Zanten
6955c538a3 Upgrade API & Schema dependencies (#13845)
Fixes #13837
2022-06-10 15:59:52 -04:00
Eron Donevan Powell
cb93edcccd fixed links, tweaked text (#13844) 2022-06-10 13:25:07 -05:00
Rijk van Zanten
2804b55875 New translations en-US.yaml (Polish) (#13817) 2022-06-10 16:20:58 +00:00
Pascal Jufer
221398a49f Auto approve pull requests from Crowdin via label (#13824) 2022-06-10 11:09:49 -04:00
rijkvanzanten
06a238cbf0 v9.12.2 2022-06-09 17:14:00 -04:00
rijkvanzanten
bce19abf6f v9.12.2 v9.12.2 2022-06-09 17:12:27 -04:00
Jay Cammarano
c6cdfb73e9 Fix preset layouts not persisting. (#13821)
* preset layout persisting

* persist more

* removed unused type
2022-06-09 16:54:31 -04:00
ian
50e1993bb8 Emit input whenever WYSIWYG content is updated (#13802)
* Emit input whenever WYSIWYG content is updated

* Update value when initialized for direct page loads

* Remove emit value on init

* Emit only when the observer exists

* Set count before observer check

* Remove extraneous init call

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-06-09 15:43:33 -04:00
Rijk van Zanten
008e9d50e0 Set count on fresh init of defered tinymce (#13789)
Fixes #13235 a little more
2022-06-09 15:32:24 -04:00
Gerard Lamusse
58c94a71f8 Take into account the format option when displaying dates relative. (#12804)
* Take into account the format option when displaying dates relative.

* Add additional strict and suffix options

* Toggle showing options

Based on relative being selected, toggle suffix, strict and format from showing or not

* Fix linting and logic in options

* Fix linting and logic in options

* Fix more lint stuff :/

Co-authored-by: Jay Cammarano <67079013+jaycammarano@users.noreply.github.com>
2022-06-09 16:17:40 +00:00
Eron Donevan Powell
776e1bb177 tweaks done for today (#13794) 2022-06-09 11:32:46 -04:00
Brainslug
0d4cdbb146 re-enabling thumbsmith in the build process but non-blocking (#13811) 2022-06-09 11:21:59 -04:00
Eron Donevan Powell
067caf650c replaced replace a file video file (#13793) 2022-06-09 10:15:07 -05:00
Nicola Krumschmidt
80d0b9cd47 Use JobQueue when reloading extensions (#13796) 2022-06-09 08:06:24 -04:00
Nicola Krumschmidt
115d89c001 Use latest vue version when scaffolding extension packages (#13797) 2022-06-09 08:05:35 -04:00
Azri Kahar
ce0d53fd2d make UUID/manual primary key selectable with count (#13799) 2022-06-09 08:04:11 -04:00
Rijk van Zanten
029d1f02f1 New Crowdin updates (#13790)
* Update source file en-US.yaml

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

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

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)
2022-06-09 11:08:54 +00:00
Azri Kahar
9f10d1d978 Fixes OAS specs for Flows & Operations (#13776)
* add `meta` to list flows & list operations

* fix list flows & operations return type array

* use 'an' instead of 'a' operation
2022-06-08 12:29:11 -04:00
ian
6c1b43b716 Allow selection of image transformation in the WYSIWYG interface (#13777)
* Allow selection of image transformation in the WYSIWYG interface

* Fix warnings

* Disable width & height fields instead of hiding

* Cast to boolean

* Display preset width and height
2022-06-08 12:25:20 -04:00
Azri Kahar
524cd00de7 Fix form field label responsiveness (#13141)
* fix form field label responsiveness

* tweaks

* conditionally prepend value edited tooltip

* use new translation key

* add key

* apply suggested changes

* revert text overflow props change

* use span edited dot for form field label

* update edit dot for group detail & accordion

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-06-08 10:39:41 -04:00
Nicola Krumschmidt
2efff9fd16 Fix flow triggers being registered multiple times (#13783)
Fixes #13739
2022-06-08 10:27:00 -04:00
Azri Kahar
ef2b629c9b Fix clear value for relational interfaces (#13224)
* Fix clear values for relational interfaces

* fix clearing of existing items

* revert o2m tree view changes

* remove unused variables

* full clear
2022-06-08 10:16:06 -04:00
ian
8f131b5156 Fix range to be based on current time (#13701)
* Fix range to be based on current time

* Parse using localtime for fields without timezone data on SQLite

* Add tests

* Parse test response to int

* Refactor to options object

* Read timestamps as UTC for Oracle

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-06-08 13:12:42 +02:00
Rijk van Zanten
887601520b Add configurable page-size to files/o2m/m2m/m2a interfaces (#13772)
* Add configurable page-size to o2m/m2m/m2a interfaces

Ref #12818

* Add configurable page-size to files interface

* Update limit option to occupy half width

Co-authored-by: ian <licitdev@gmail.com>
2022-06-08 16:10:16 +08:00
Azri Kahar
0922627632 Use aliases for relational fields (#12759)
* Use aliases for relational fields

* Fix value for extra fields fetched by displays

* fix faulty spread syntax
2022-06-08 09:57:31 +02:00
Azri Kahar
c4ee1c1747 Docs & Specs update for Data Flows (#13358)
* Add flows & operations API reference

* remove webhooks from docs

* remove webhooks from spec

* add flows specs

* add operations specs

* fix path

* actual complete fix

* Revert "remove webhooks from docs"

This reverts commit fae1103d61.

* Revert "remove webhooks from spec"

This reverts commit ec7a836cd3.

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-06-07 16:25:38 -04:00
Eron Donevan Powell
909970ae4b Docs: getting-started > architecture (#13258)
* initializing architecture doc

* first draft complete

* added media and improved copy

* final proofread

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-06-07 16:13:27 -04:00