rijkvanzanten
373cc9f4fa
v10.5.0
2023-07-25 17:36:33 -04:00
Rijk van Zanten
4a9107aa71
New Crowdin updates ( #19136 )
...
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* Update source file en-US.yaml
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Croatian)
* Update source file en-US.yaml
2023-07-25 15:09:04 -04:00
Gerard Lamusse
150153e42a
Fix permissions using dynamic user or role fields ( #19073 )
...
* Fix permissions using dynamic user or role fields
Dynamic variables were not fetched, so not being parsed and checked
* Added tests
* Pretty
* Tried fixing unit tests.
* Finish parse-filter test
* Finish parse-preset test
* Update permissions store test
* Update docs for dynamic filters
* Add changeset
* Update tiny-carpets-remain.md
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-07-24 15:46:18 -04:00
GitStart
3012348cb3
Add/Edit Link dialog: link text/url don't display in dialog after copy/paste, and cursor doesn't change focus. ( #19190 )
...
* Fix text/URL selection
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Add changeset
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: RubensRafael <rubensrafael2@live.com >
* Tweak changeset
---------
Co-authored-by: RubensRafael <rubensrafael2@live.com >
Co-authored-by: v1b3m <vibenjamin6@gmail.com >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-07-24 12:37:23 -04:00
Pascal Jufer
08f6953822
Require 'collection' & 'item' fields for shares ( #19220 )
2023-07-24 13:31:43 +02:00
Ashish Baravaliya
50515d6c7e
feat: Disabling editing disables zoom ( #19221 )
...
* feat: Disabling editing disables zoom
* Update changeset
* Allow downloading when readonly
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: ian <licitdev@gmail.com >
2023-07-24 11:22:17 +00:00
Pascal Jufer
3160161384
Modernize TS setup for app ( #19198 )
...
* Modernize TS setup for `app`
* Use new config name
2023-07-19 09:31:40 -04:00
Rijk van Zanten
9adbb511d7
Don't check related perms for m2a deselect ( #19184 )
...
Fixes #19181
2023-07-17 14:28:40 -04:00
Rijk van Zanten
5442645c03
Add notice for missing field key on validation config ( #19170 )
...
Fixes #19165
2023-07-14 21:45:05 +02:00
Rijk van Zanten
9d6053a493
Add flows status to default app permissions ( #19169 )
...
Fixes #19158
2023-07-14 21:34:39 +02:00
Rijk van Zanten
e6db6f70f5
Fix datetime string handler not matching default value for format option ( #19168 )
...
* Default format to `long` to match display value
Fixes #19152
* Add changeset
2023-07-14 21:11:30 +02:00
Rijk van Zanten
f39fef641c
Fix preview mode remaining open on create page ( #19164 )
...
Fixes #19161
2023-07-14 17:17:11 +02:00
Rijk van Zanten
e87b4b0302
Don't track preview window as user's last page ( #19162 )
...
* Pass full router object to UsersStore trackPage method
* Don't track /preview pages as part of user's last
* Add changeset
* Fix tests
2023-07-14 15:53:23 +02:00
Rijk van Zanten
99f9392681
Refresh item data on save and stay ( #19148 )
...
* Refresh item data on save and stay
Fixes #19090
* Apply same save and stay logic to users/files
* Fix loading state of v-form
* Fix missing definition
2023-07-12 16:03:05 +02:00
Rijk van Zanten
9d8eb5bcb5
Pass field context to interface-options in conditions ( #19147 )
...
Fixes #19145
2023-07-12 15:08:25 +02:00
Magnus Bendix Borregaard
fdee208297
Fix formatted Kanban card text including HTML tags ( #19112 )
...
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-07-12 10:13:35 +00:00
Rijk van Zanten
27957bb295
Fix meta tags inconsistencies ( #19141 )
...
* Install unhead
* Use unhead plugin in vite for smaller builds
* Remove unused / outdated public assets
* Don't serve fixed manifest, pinned tab icon
* Remove custom useTitle composable in favor of useHead
* Register useHead in vue app
* Set global title template based on projectname
* Add changeset
* Make theme-color dynamic
* Remove default meta tags
2023-07-12 11:01:57 +02:00
Ashish Baravaliya
9c8814ecd1
Fix: Display issues with Panels ( #19137 )
...
* fix: number formats added for all supported countries
* fix: decimal values type check before using in pie chart
* chore: changeset added
* Run formatter
* Update changeset language
---------
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2023-07-12 09:44:30 +02:00
Rijk van Zanten
45d20aedf6
Fix context menu hanging and overflowing edit drawer in flow operations ( #19140 )
...
* Remove stop propagation modifier
Fixes #19139
* Add changeset
2023-07-12 09:36:27 +02:00
rijkvanzanten
d3c9de9dfb
v10.4.3
2023-07-11 16:00:17 +02:00
Rijk van Zanten
95a6e98134
New Crowdin updates ( #19078 )
...
* New translations en-US.yaml (Italian)
* New translations en-US.yaml (Croatian)
* Update source file en-US.yaml
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (English, United Kingdom)
* 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 (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 (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 (Slovak)
* New translations en-US.yaml (Slovenian)
* New translations en-US.yaml (Albanian)
* New translations en-US.yaml (Swedish)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Ukrainian)
* New translations en-US.yaml (Chinese Traditional)
* New translations en-US.yaml (Vietnamese)
* New translations en-US.yaml (Icelandic)
* New translations en-US.yaml (Indonesian)
* New translations en-US.yaml (Spanish, Chile)
* New translations en-US.yaml (Spanish, Mexico)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Estonian)
* New translations en-US.yaml (Hindi)
* New translations en-US.yaml (English, Canada)
* New translations en-US.yaml (French, Canada)
* New translations en-US.yaml (Faroese)
* New translations en-US.yaml (Esperanto)
* 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
2023-07-11 15:55:09 +02:00
Rijk van Zanten
f264d693a5
Fix issue that would prevent changes in the raw edit dialog from showing up in the template input in flows and insights ( #19126 )
...
* Fix raw input not correctly treating null values
* Update codemirror value if value changes outside
* Add changeset
2023-07-11 12:11:15 +02:00
Rijk van Zanten
d10a0bbafe
Fix inconsistency in field validation rules editor ( #19124 )
...
* Make sure validation rules behave consistently
Fixes #19120
* Add changeset
2023-07-11 11:43:22 +02:00
José Varela
64fdeb7ea9
Fix cleanup of unused isBatch ( #19114 )
...
* Fix Cleanup of unused `isBatch`
* Add changeset
* Update changeset
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-07-11 11:18:58 +02:00
Ashish Baravaliya
7f9b81289c
Fix: Long flow logs break out of bounding box ( #19119 )
...
* fix: Long flow logs break out of bounding box
* Fix format
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-07-11 10:29:02 +02:00
Connor
38c6c5c302
Fix EditorJS Styling ( #19118 )
2023-07-10 23:40:28 +02:00
Rijk van Zanten
6984395bdb
Prevent saving flow when in operation edit drawer ( #19108 )
...
* Prevent saving flow when in operation edit drawer
Fixes #19104
* Add changeset
2023-07-10 11:19:57 +02:00
Connor
eefde53a86
Add Options to Flow Notification Operation ( #19033 )
...
* add collection and item options to notification opperation
* Create stale-tips-relax.md
* fix formatting
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-07-09 17:38:03 +02:00
Pascal Jufer
40047228b3
Respect query limit in export sidebar ( #18731 )
...
* Respect query limit
* Clearer var name
* Create tough-ears-thank.md
* Fix export counts & more precise messages
* Cover case when limit is higher than item count
* Update app/src/lang/translations/en-US.yaml
Co-authored-by: Jan Arends <jan.arends@mailbox.org >
* Update app/src/lang/translations/en-US.yaml
Co-authored-by: Jan Arends <jan.arends@mailbox.org >
* Simplify export hints & check immediately
---------
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: Jan Arends <jan.arends@mailbox.org >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-07-09 17:36:51 +02:00
罗传月武
e37548416c
Fix Vite hot reloading for local app extension development ( #19075 )
...
* fix: getExtensionsRealPaths() function is unable to correctly recognize Symbol Link
* Update contributors.yml
Sign CLA
* Create loud-goats-poke.md
* Update loud-goats-poke.md
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-07-09 15:55:44 +02:00
Connor
2035bcdb61
Enable User Display for m2o and string ( #19093 )
...
* Enable User Display for m2o and string
* fix formatting
* Create friendly-moose-press.md
2023-07-09 15:42:19 +02:00
Connor
698eed2333
Fix Flow Status not being included in Staged Changes ( #19092 )
...
* Fix Flow Status not being included in Staged Changes
* Create lovely-spies-yawn.md
2023-07-08 11:08:10 +02:00
Brainslug
0fac13ab53
Fix errors thrown for starts_with and ends_with variations ( #19021 )
...
* catch starts_with errors
* accept all filter types in validations
* basic joi regex error matching
* Create nasty-turtles-impress.md
* updated unit tests
* Add todo
* Fix format
* Remove unnecessary type addition
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Catch inverted patterns too
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Ooops
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-07-06 21:16:19 +08:00
Pascal Jufer
55f3d4c6e0
v10.4.2 ( #19045 )
2023-06-30 17:42:11 +02:00
Rijk van Zanten
4d6efeb984
New Crowdin updates ( #19019 )
...
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Italian)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* Update source file en-US.yaml
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
2023-06-30 16:54:15 +02:00
Connor
92621429ee
Linting and Formatting Upgrade ( #18892 )
...
* add docs to eslint
* update prettier ignore
* fix vitepress linting
* eslint ignore fixes
* prettier run
* update prettier ignore
* fix formatting
* enable linting of markdown files
* revert format command change
* fix irregular whitespace
* update dictionary
* (Changelog) Create four-boxes-shake.md
* Rework ESLint / Prettier setup
- Disable js/ts/vue files for Prettier to ensure linting/formatting is
only happening via ESLint
- Rework formatting of code blocks in md files
- Disable formatting of code blocks in md files under '/docs' by Prettier
- Instead use "eslint-plugin-markdown" to format & __lint__ js*/ts*/vue such code blocks
- Replace unmaintained "eslint-plugin-md" plugin by official "eslint-plugin-markdown" plugin
- I'll check whether we can use this to format other code blocks
(json, html, ...) as well
- Restructure, clean-up and apply some fixes to the ESLint config
(Note: Not ready for flat config yet since not supported by
vscode-eslint)
- Enable cache for ESLint / Prettier in scripts
- Clean-up ignore file
- Explicit folder declaration (.../)
- Don't ignore all 'extensions' folders in ESLint (only
'/api/extensions/')
- Enable formatting in '/.github' folder
* Fix all formatting issues with Prettier
* Update md files under /docs/.typedocs
* Fix lint issues in vue/js files
* ESLint / Prettier config revision v2
Enable Prettier for md code blocks, but only as warnings since it can
get into the way with Vitepress md extensions like '[!code ...]'
comments
* Remove prettier-ignore comments
* Make spellchecker happy
* Remove changeset
* Revert lint setup for code blocks
There are many cases in the docs where linting / formatting of code
blocks doesn't make
sense:
- Code block is only an excerpt - linter fails
- Code block contains special comments (e.g. markdown extensions) which
needs to remain at the same place - formatting would break it
- ...
* Apply lint issues / formatting from temp lint setup
* Run formatter
* Fix merge failure
* Simplify & modernize ESLint / Prettier setup
No longer run Prettier via ESLint. Nowadays, this is the recommended
setup. There's no real need to run it this way, it's just an additional
layer.
Add VS Code settings to make the work with the new setup easier.
* Remove unused eslint disable directives
* Make editorconfig more useful
* Fix formatting issues reported by editorconfig
* Format files with Prettier
* Enable formatting of source translations file
* Format source translations file
* Remove unnecessary console error
* Remove unnecessary line
* Only ignore md files under .changeset
* Add CI reporter for Prettier
* Fail job on wrongly formatted files
* Fix format
* Test Prettier action on changed/added file
* Use simple CI format check for now & no cache
* Revert "Test Prettier action on changed/added file"
This reverts commit 4f7d8826ad .
* Introduce code blocks check for docs
* Fix code block issues
* Ignore auto-generated packages dir
* Fix comment position
* Also lint `/app/.storybook`
* Reformat modified files
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-06-29 11:54:01 +02:00
Ashish Baravaliya
2d7433a11d
Fix: Display template doesn't work in calendar layout ( #19011 )
...
* fix: getFromAliasedItem method is unnecessary to use for template string
* Update changeset
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-06-29 09:53:19 +00:00
Ashish Baravaliya
5464d62e5e
Added a condition to filter tables/collections only ( #19007 )
...
* fix: Added condition to filter tables/collections only
* Apply filter of collection type in all cases
* Update changeset
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-06-28 10:01:05 -04:00
rijkvanzanten
2239ef8db7
v10.4.0
2023-06-27 17:43:26 -04:00
Rijk van Zanten
c200a2d9ab
New Crowdin updates ( #18890 )
...
* New translations en-US.yaml (Khmer)
* New translations en-US.yaml (German)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (English, United Kingdom)
* Update source file en-US.yaml
* New translations en-US.yaml (German)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Italian)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Albanian)
* New translations en-US.yaml (Portuguese, Brazilian)
* New translations en-US.yaml (Japanese)
* New translations en-US.yaml (Korean)
* New translations en-US.yaml (Nepali)
* New translations en-US.yaml (Ukrainian)
* New translations en-US.yaml (Nepali)
* New translations en-US.yaml (Nepali)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* New translations en-US.yaml (Croatian)
* Update source file en-US.yaml
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Russian)
2023-06-27 17:33:16 -04:00
Rijk van Zanten
ca3e7f521f
Upgrade previous "Extensions" system to new "Errors" model ( #18797 )
...
* Typecheck across packages that are built with esbuild
* Boilerplate new Errors package
* No need, tsup checks with --dts
* Switch to tsup
* Setup dev script
* Add readme
* More boilerplaty things
* Finish createError function
* Install @directus/random
* Downgrade node types
* Add utility function to check if an error is a DirectusError
* Use new is-error check
* Install errors package
* Add failed validation common error
* Export common errors
* Move joi convertion to utils
* Export failed validation
* Use new failed validation error in validate-batch
* Enhance typing output of createError
* Remove outdir (handled by tsup now)
* Replace Exception with Error
* Replace exception in test
* Remove exceptions from app
* Remove exceptions from app
* Remove failed validation exception from users service
* Remove old failed validation exception from shared
* Remove exceptions package in favor of errors
* Uninstall exceptions
* Replace baseexception check
* Migrate content too large error
* Critical detail
* Replace ForbiddenException
* WIP remove exceptions
* Add ForbiddenError to errors
* HitRateLimitError
* Move validation related error/helper to new validation package
* Add index
* Add docs
* Install random
* Convert TokenExpired
* Convert user-suspended
* Convert invalid-credentials
* Move UnsupportedMediaType
* Replace wrong imports for forbidden
* Convert invalid-ip
* Move invalid provider
* Move InvalidOtp
* Convert InvalidToken
* Move MethodNotAllowed
* Convert range not satisfiable
* Move unexpect response
* Move UnprocessableContent
* Move IllegalAssetTransformation
* Move RouteNotFound
* Finalize not found
* Various db errors
* Move value too long
* Move not null
* Move record-not-unique
* Move value out of range
* Finish db errors
* Service unavailable
* GQL errors
* Update packages/validation/src/errors/failed-validation.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Update packages/validation/src/errors/failed-validation.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* InvalidQuery
* Add test for invalid query message constructor
* Invalid Payload
* Finalize exceptions move
* Improve type of isDirectusError
* Various fixes
* Fix build in api
* Update websocket exceptions use
* Allow optional reason for invalid config
* Update errors usage in utils
* Remove unused package from errors
* Update lockfile
* Update api/src/auth/drivers/ldap.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Update packages/validation/src/utils/joi-to-error-extensions.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Put error codes in shared enum
* Replace instanceof checks in api
* Fix tests I think
* Tweak override names
* Fix linter warnings
* Set snapshots
* Start fixing BB tests
* Fix blackbox tests
* Add changeset
* Update changeset
* Update extension docs to use new createError abstraction
* 🙄
* Fix graphql validation error name
* 🥳
* use ErrorCode.Forbidden
* fix blackbox auth login test
* Add license files
* Rename preMutationException to preMutationError
* Remove unused ms dep & sort package.json
* Remove periods from error messages for consistency
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Add optional code check
* Use updated error code checker
* Rename InvalidConfigError to InvalidProviderConfigError
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: ian <licitdev@gmail.com >
2023-06-27 17:22:26 -04:00
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
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
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
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
rijkvanzanten
de61fe080d
Organize imports
2023-06-22 20:58:19 -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
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