Commit Graph

7569 Commits

Author SHA1 Message Date
Nicola Krumschmidt
b500c32072 Fix extension config importing on Windows (#10242)
Fixes #10239
2021-12-02 16:39:57 -05:00
Rijk van Zanten
e89a0a4e56 New Crowdin updates (#10240)
* New translations en-US.yaml (Spanish, Chile)

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

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)
2021-12-02 21:21:49 +00:00
Łukasz Szcześniak
e17048e653 Remove runMigrations from database install (#9911) (#10003)
* Remove `runMigrations` from `database install` (#9911)

* Fix typo (#9911)

* Remove unnecessary import (#9911)
2021-12-02 16:05:54 -05:00
José Varela
eb68f85e54 Support 'selectionMode' on tabular and cards (#8010)
* showSelect as 'none', 'one' or 'multiple' on table

* showSelect on cards

* showSelect and fix on calendar

* showSelect and fix on map

* fix layout selection prop type

* fix tabular row click on select mode

* remove unused import

* minor strict equality changes

* hide checkbox for activity table

* Update app/src/modules/notifications/routes/collection.vue

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

* Make preset item reactive

* Add comment clarifying ref wrapper

* Fix type signature of layout props

Co-authored-by: Azri Kahar <azrikahar@outlook.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-02 16:02:13 -05:00
rijkvanzanten
043628bf24 Fix checkboxes color 2021-12-02 15:42:05 -05:00
rijkvanzanten
bbc46d4b3d Fix regression in layout options 2021-12-02 15:32:17 -05:00
Rijk van Zanten
b38326b5c8 New translations en-US.yaml (Portuguese, Brazilian) (#10238) 2021-12-02 20:15:13 +00:00
Oreille
81ccf499df Fix updatePreset behavior (#10212)
* Use `merge` for `layout_query` and `layout_options`

* Fixed typo

* Don't use merge for layout_query and layout_options

* Removed unused import

* Fixed copypaste typo

* Make sure we don't accidentally break nested referenced objects

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-02 15:08:27 -05:00
José Varela
7966b4ea9d Fix empty current permissions (#10236) 2021-12-02 19:49:11 +00:00
Rijk van Zanten
b1af0a1cf7 Fix token manipulation on alignment change in images (#10234)
* Fix token manipulation on alignment change in images

Fixes #10145

* Update app/src/interfaces/input-rich-text-html/input-rich-text-html.vue

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2021-12-02 14:41:59 -05:00
Oreille
b4557056a0 Don't go back to page 1 when navigating back from an item (#10235) 2021-12-02 19:33:18 +00:00
rijkvanzanten
74db449432 Let npm do something with package-lock 2021-12-02 14:01:39 -05:00
José Varela
c3cd65ac32 Fix export on mjs file (#10229)
It was not exporting nothing before, because mjs cannot resolve cjs exports.
2021-12-02 12:16:48 -05:00
Rijk van Zanten
de4f216a8b New translations en-US.yaml (Bulgarian) (#10228) 2021-12-02 16:24:08 +00:00
Rijk van Zanten
3fe67d8c62 Force CDNs to ignore module bundle output in cache (#10227) 2021-12-02 11:07:26 -05:00
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