Commit Graph

7604 Commits

Author SHA1 Message Date
Nicola Krumschmidt
7e270713f0 Clean up format-title build process (#10204) 2021-12-02 11:07:09 -05:00
Rijk van Zanten
890f2a35e3 Update CODEOWNERS
We'll keep the auto-reviewers scoped to areas of specialization. Adding me as a reviewer on _everything_ adds a lot of noise
2021-12-02 10:58:10 -05:00
Gerard Lamusse
0993264215 Add dark mode to docs (#10098)
* Add dark mode to docs
Respects prefers-color-scheme

* Changed dark mode to just use styles instead of via component

* Don't change navbar
2021-12-02 10:57:04 -05:00
Azri Kahar
f8dae46754 add sidebar link to notifications API reference (#10221) 2021-12-02 10:56:02 -05:00
Rijk van Zanten
ee20d67100 New translations en-US.yaml (Polish) (#10225) 2021-12-02 15:47:51 +00:00
Rijk van Zanten
7d709eb0e8 New translations en-US.yaml (Japanese) (#10222) 2021-12-02 14:30:25 +00:00
Rijk van Zanten
27b41a65cc New translations en-US.yaml (Ukrainian) (#10220) 2021-12-02 14:00:40 +00:00
Rijk van Zanten
24b045e559 New Crowdin updates (#10219)
* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Ukrainian)
2021-12-02 13:34:50 +00:00
Rijk van Zanten
22646cc642 New Crowdin updates (#10218)
* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Ukrainian)
2021-12-02 13:06:13 +00:00
Rijk van Zanten
4d82e5d77d New translations en-US.yaml (Norwegian) (#10215) 2021-12-02 11:48:42 +00:00
Rijk van Zanten
db939aa711 New translations en-US.yaml (Norwegian) (#10214) 2021-12-02 11:14:19 +00:00
Adrian Dimitrov
6bb39094f5 Skip tabbing on input number steppers (#9619) 2021-12-01 18:08:47 -05:00
Jay Cammarano
8214fd1659 Add support for Postgres 10 in the end-to-end tests. (#10210)
* cant test mysql locally rn (m1 issue)

* Update tests/config.ts

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

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-12-01 18:04:52 -05:00
Pascal Jufer
d4ec4a9672 Fixing some type errors in app #2 (#9637)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 17:36:56 -05:00
Dr. Matthias Jung
c16592806d Added Line Wrapping to Codeview of CodeMirror (#9563)
* Added Line Wrapping to Codeview of CodeMirror

In the formated code fields line breaks are not done, which requires
scrolling. This might be configurable in the future.

* Make line-wrapping an opt-in options

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 17:27:09 -05:00
Rijk van Zanten
3bdf97afaa Update source file en-US.yaml (#10209) 2021-12-01 22:25:57 +00:00
Joe Innes
4d4c7de74d Add a tip explaining HTTP Only cookies issue (#9574)
* Add a tip explaining HTTP Only cookies issue

Watching the Discord, I see this issue coming up fairly frequently, when someone is developing a front end app locally, and their app suddenly stops working with the message

> Error: "refresh_token" is required in either the JSON payload or Cookie

This tip explains the cause of the issue, and two different workarounds.

* use relative link

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-12-01 17:21:01 -05:00
Azri Kahar
3391ac9f01 Add default values when tracking edits in list interface (#9707)
* add default values when tracking edits in list

* reset edits when drawer is closed
2021-12-01 16:31:03 -05:00
Azri Kahar
0dc0fd4360 Simplify presentation/aliases & accordion setup flow (#9742)
* move title input up for dividers

* WIP

* simplify key id

* add contrast to notices in field configuration

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 21:29:02 +00:00
Oreille
9c9e2eff5b Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode (#10096)
* Fix ability to change M2O field type and prevent incompatible interfaces in advanced mode

* Removed unused imports

* Rename interface variable
2021-12-01 16:16:37 -05:00
Azri Kahar
fc0a0a672c Add fill & curve options to Insights time series chart (#9741)
* add fill & curve options to time series chart

* move down fill & curve options

* swap position for fill & curve options
2021-12-01 16:15:15 -05:00
Azri Kahar
c4f8214ad8 Autofocus first input in create item form (#9583)
* autofocus first input in create form

* add autofocus to translations interface

* avoid setting firstEditableField to hidden fields

* Base autofocus on prop

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 16:09:21 -05:00
Azri Kahar
5feaac88d7 fix tree view interface display template (#9600) 2021-12-01 16:05:24 -05:00
Azri Kahar
a79345a371 Clear selections after batch edit (#9798)
* Clear selections after batch edit

* remove redundant selection clears

* only refresh after batch saving

* use clearer function name
2021-12-01 15:49:20 -05:00
Oreille
6e609ea82e Use lodash.assign in use-preset.ts (#9212)
* Use lodash.merge in use-preset.ts

* Use `assign` instead of `merge`

* Remove commented out code

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 15:47:51 -05:00
Oreille
525e2548b4 Fix compatibility with Postgres <= 10 (#10139)
* Use indnatts instead of indnkeyatts in postgres dialect

* Update knex-schema-inspector

* Add PG10 for debugging

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 20:36:46 +00:00
NilsBaumgartner1994
fd93b850e0 Update BaseStorage (#9985)
* Update BaseStorage

remove dublicate strings into variables

* Apply suggestions from code review

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

* Use enum types in keys

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-12-01 20:20:27 +00:00
ian
5bd41bcabb Shift hook emits to field service (#9351)
* Shift hook emits to field service

* Update field hooks to use filter and action

* Allow updating filter payload in hook

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 20:14:37 +00:00
Oreille
bc864d1f51 Improve helpers structure (#10052)
* Improve helpers structure

* Added DatabaseHelper base class

* Refactor index.ts
2021-12-01 15:08:24 -05:00
Azri Kahar
13deca8ddc fix template fields not clickable when editing (#9838) 2021-12-01 14:39:07 -05:00
Malte Jürgens
1be8e1cd8d save wysiwyg image size in url params instead of html tags (#10054)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 19:30:39 +00:00
Rijk van Zanten
2be3ae715b New Crowdin updates (#10207)
* Update source file en-US.yaml

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

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

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

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

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Estonian)

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (English, United Kingdom)
2021-12-01 19:29:04 +00:00
José Varela
de978798a4 SDK: Fix bundles (#10053)
* Fix bundles
The problem was coming from rollup building only for browsers.
The solution is to specify build for browsers and Node.js.
This configuration is inherited from format-title package,
but with the slight difference that exports .mjs files

* fix types folder
2021-12-01 14:23:25 -05:00
Alejandro Castaño González
022b867a23 Add status field in the directus_notifications collection (#10064)
* Add status field

* Update notification type
2021-12-01 14:19:48 -05:00
Azri Kahar
1bad781db5 fix translation input blur on revert to old value (#10068) 2021-12-01 14:19:08 -05:00
Azri Kahar
646cc3a0d6 Hide options for date type in datetime interface (#10073)
* hide options for date type in datetime interface

* clear options when switching to date
2021-12-01 14:18:35 -05:00
Azri Kahar
336a453769 fix system collection forms with custom fields (#10075) 2021-12-01 14:17:28 -05:00
Azri Kahar
2c8055c718 Add limit to graphql aggegrated queries (#10077) 2021-12-01 14:16:37 -05:00
Oreille
d1b35774ac Fix SQL Server text casting (#10084) 2021-12-01 14:16:02 -05:00
Nitwel
6ec84745cf fix notification not clickable on singleton collection (#10094) 2021-12-01 14:15:25 -05:00
Azri Kahar
8d68374bbd add default render tmpl & scope to json display (#10124) 2021-12-01 14:05:48 -05:00
José Varela
2fa2a75b60 SDK: Fix type arrays on filter (#10133)
* support arrays as types for _in, _nin, etc.

* improve type definition on filters
2021-12-01 14:04:55 -05:00
Azri Kahar
1c8181c6c1 add colorOn & colorOff to checkbox interface (#10149) 2021-12-01 14:02:57 -05:00
Oreille
94985d547a Fix MySQL tinyint(1) not being treated as boolean (#10083) 2021-12-01 14:01:48 -05:00
Aiden Foxx
c2f3442697 Cleaned up Oracle duplicate index handling (#10151)
* Update oracledb.ts

* Update packages/schema/src/dialects/oracledb.ts

* Update packages/schema/src/dialects/oracledb.ts
2021-12-01 13:58:37 -05:00
José Varela
81f81c82b1 App: fix relationships raw value (#10161)
* fix raw value for relationships

* add 'files' and 'translations'
2021-12-01 13:57:46 -05:00
Oreille
0425809db1 Fix string filter unexpectedly being casted to number (#10138)
* Fix string unexpectedly being casted to numbers

* Parse filter with multiple keys into `_and` block.

* Fixed filter structure in tests
2021-12-01 13:55:54 -05:00
José Varela
6ae3eca47f add SSO guide (#10104)
- adds new section "Guides" to Sidebar
- example with Google OpenID
- SSO and cookies across domains
2021-12-01 12:46:02 -05:00
Azri Kahar
8dec148ca2 refresh edited insights panel on change (#10180)
* refresh edited insights panel on change

* move api simpleHash to shared utils getSimpleHash

* Simply reactivity fix for time-series

* Remove unused import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 17:26:55 +00:00
Rijk van Zanten
569a8dd7db Update source file en-US.yaml (#10200) 2021-12-01 16:51:11 +00:00