Azri Kahar
047b45cec1
Update OpenAPI schema for file/files ( #11290 )
2022-01-26 07:57:08 -05:00
Rijk van Zanten
c01f507696
Use correct import for crdb dialect from schema-inspector ( #11269 )
...
Fixes #11266
2022-01-25 15:08:20 -05:00
Rijk van Zanten
bac787aeed
Fix PG10 support in knex-schema-inspector ( #11268 )
2022-01-25 19:51:26 +00:00
rijkvanzanten
78a25fe953
v9.5.0
2022-01-24 15:53:29 -05:00
Rijk van Zanten
47f71bd60b
Update knex-schema-inspector ( #11238 )
2022-01-24 12:05:54 -05:00
Nicola Krumschmidt
4eed883329
Add DefinitelyTyped deps to shared ( #11231 )
...
This also moves type-only deps to "peerDependencies".
Fixes #10658
2022-01-24 10:18:36 -05:00
Rijk van Zanten
973e2dc6bb
Update knex-schema-inspector ( #11203 )
2022-01-21 09:38:27 -05:00
Rijk van Zanten
88c87f3920
Set CRDB options to avoid inconsistencies between vendors ( #11193 )
...
* Set correct CRDB options
* Add missing SETs to pool config for e2e
* How about now
* Better solution for the same problem
2022-01-20 20:18:22 -05:00
Nicola Krumschmidt
889668f972
Remove API extension types from the API ( #11191 )
...
There is little value in keeping these types inside the API package.
We should instead focus on improving the types in shared.
2022-01-20 22:19:52 +00:00
Michael Schramm
75b5f33727
Implement CockroachDB support ( #10113 )
...
* base changes for cockroachdb
* allow creating of tables
* allow deleting of fields
* allow deleting of tables
* rebase
* fix migrations
* bump knex-schema-inspector to 1.7.0
* Update package-lock
* Add cockroach to debugging docker-compose file
* Remove unused import
* Tweak name in example.env
* Force nullable primary keys in cockroach
* Tweak shares migration to run on cockroach
* Rename var for clarification
* suggestion for migration helper
* change to schema and update remaining migrations
* Remove custom cockroach schema in favor of sharing with pg
* Fix migrations for CockroachDB
* Hopefully fix Oracle migrations 🤞🏻
* Make ~~aiden~~ oracle happy
* Resolve branching paths in migrations
* Enable tests for cockroach
* Fix test config
* One more config change for good measure
* Adjust test to match cockroach's bigint auto-int structure
* Increase request timeout for mssql
* Update api/src/database/helpers/schema/types.ts
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com >
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com >
2022-01-20 14:14:38 -05:00
John Huffsmith
e7ada1f173
Moving schema and relation types into shared package ( #11179 )
...
* moving schema and relation types into shared package
* updating SchemaOverview imports
* removing duplicate import
2022-01-20 13:36:19 -05:00
Will Foxall
5cf57b4e2d
Added the 4 "_starts/ends_with" filter defs ( #11162 )
2022-01-19 13:05:14 -05:00
Aiden Foxx
4af091d67a
Added LDAP to formatTitle special cases ( #11119 )
2022-01-17 17:37:31 -05:00
Rijk van Zanten
b3f43ff1a2
Upgrade dependencies ( #11118 )
...
* Update marked in app
* Upgrade marked in cli
* Update nested deps
2022-01-17 21:42:04 +00:00
Nicola Krumschmidt
a128836145
Rename sourceMaps flag to sourcemap to align with other tools and add no-minify flag to the extensions-sdk CLI ( #11106 )
...
* Rename sourceMaps CLI flag to sourcemap to align with other tools
* Add no-minify flag to the extensions-sdk CLI
2022-01-17 13:50:14 -05:00
Nicola Krumschmidt
9237a6452a
Remove extensions-sdk and axios from the list of shared deps ( #11099 )
...
This ensures that extensions work with an out-of-root extensions folder.
Instead of leaving the list of API shared deps empty, this adds `directus` as the only shared dep
because it is never a good idea to bundle the Directus API into an extension.
2022-01-17 10:22:52 -05:00
Nicola Krumschmidt
e009f52f1f
Always inline dynamic imports when bundling extensions ( #11100 )
...
This ensures that the Extensions SDK always generates a single `index.js`.
2022-01-17 09:52:31 -05:00
rijkvanzanten
65bfe68b0c
v9.4.3
2022-01-07 16:11:24 -05:00
Nicola Krumschmidt
9ee6e97cd9
Move useLayout composable to shared and expose it through extensions-sdk ( #10850 )
...
* Move useLayout composable to shared
* Expose useLayout through extensions-sdk
2022-01-05 15:38:48 -05:00
Nicola Krumschmidt
af0a197a99
Make registered extensions accessible from extensions ( #10849 )
...
* Add extensions system provide and useExtensions composable
* Expose useExtensions through extensions-sdk
2022-01-05 10:33:52 -05:00
Isaac Kim
a3e9e6551c
Add LinkedIn to special case list ( #10811 )
...
* Update LinkedIn capitalization in accordance with [LinkedIn's Brand Guidelines](https://brand.linkedin.com/policies ).
2022-01-03 03:50:04 +00:00
rijkvanzanten
1a5a9180ee
v9.4.2
2021-12-30 21:11:32 -05:00
rijkvanzanten
4991ba858b
v9.4.1
2021-12-28 20:17:21 -05:00
rijkvanzanten
a47b9cec0f
v9.4.0
2021-12-23 22:46:18 -05:00
Rijk van Zanten
dbf35a1736
Add ability to share items with people outside the platform ( #10663 )
...
* Add directus_shares
* Don't check for usage limit on refresh
* Add all endpoints to the shares controller
* Move route `/auth/shared` to `/shared/auth`
* Add password protection
* Add `share` action in permissions
* Add `shares/:pk/info`
* Start on shared-view
* Add basic styling for full shared view
* Fixed migrations
* Add inline style for shared view
* Allow title override
* Finish /info endpoint for shares
* Add basic UUID validation to share/info endpont
* Add UUID validation to other routes
* Add not found state
* Cleanup /extract/finish share login endpoint
* Cleanup auth
* Added `share_start` and `share_end`
* Add share sidebar details.
* Allow share permissions configuration
* Hide the `new_share` button for unauthorized users
* Fix uses_left displayed value
* Show expired / upcoming shares
* Improved expired/upcoming styling
* Fixed share login query
* Fix check-ip and get-permissions middlewares behaviour when role is null
* Simplify cache key
* Fix typescript linting issues
* Handle app auth flow for shared page
* Fixed /users/me response
* Show when user is authenticated
* Try showing item drawer in shared page
* Improved shared card styling
* Add shares permissions and change share card styling
* Pull in schema/permissions on share
* Create getPermissionForShare file
* Change getPermissionsForShare signature
* Render form + item on share after auth
* Finalize public front end
* Handle fake o2m field in applyQuery
* [WIP]
* New translations en-US.yaml (Bulgarian) (#10585 )
* smaller label height (#10587 )
* Update to the latest Material Icons (#10573 )
The icons are based on https://fonts.google.com/icons
* New translations en-US.yaml (Arabic) (#10593 )
* New translations en-US.yaml (Arabic) (#10594 )
* New translations en-US.yaml (Portuguese, Brazilian) (#10604 )
* New translations en-US.yaml (French) (#10605 )
* New translations en-US.yaml (Italian) (#10613 )
* fix M2A list not updating (#10617 )
* Fix filters
* Add admin filter on m2o role selection
* Add admin filter on m2o role selection
* Add o2m permissions traversing
* Finish relational tree permissions generation
* Handle implicit a2o relation
* Update implicit relation regex
* Fix regex
* Fix implicitRelation unnesting for new regex
* Fix implicitRelation length check
* Rename m2a to a2o internally
* Add auto-gen permissions for a2o
* [WIP] Improve share UX
* Add ctx menu options
* Add share dialog
* Add email notifications
* Tweak endpoint
* Tweak file interface disabled state
* Add nicer invalid state to password input
* Dont return info for expired/upcoming shares
* Tweak disabled state for relational interfaces
* Fix share button for non admin roles
* Show/hide edit/delete based on permissions to shares
* Fix imports of mutationtype
* Resolve (my own) suggestions
* Fix migration for ms sql
* Resolve last suggestion
Co-authored-by: Oreilles <oreilles.github@nitoref.io >
Co-authored-by: Oreilles <33065839+oreilles@users.noreply.github.com >
Co-authored-by: Ben Haynes <ben@rngr.org >
Co-authored-by: Thien Nguyen <72242664+tatthien@users.noreply.github.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2021-12-23 18:51:59 -05:00
José Varela
3c82d5f7ea
Gatsby: Fix auth email and password ( #10615 )
...
* Fix auth email and password
* remove unnecessary condition
2021-12-22 12:27:54 -05:00
Azri Kahar
9105c1e42c
fix directusctl packages ( #10623 )
2021-12-21 12:51:12 -05:00
rijkvanzanten
4b444baf5b
v9.3.0
2021-12-16 18:48:10 -05:00
Sam Milledge
5a30fa4f40
Fix missing operators in field filter type ( #9582 )
2021-12-16 18:40:15 -05:00
Nicola Krumschmidt
ee3e9b59f9
Pass a custom emitter to API extensions ( #10531 )
2021-12-15 18:49:55 -05:00
Nicola Krumschmidt
23951e5a02
Align display options type with interface options type ( #10524 )
...
* Align display options type with interface options type
* Fix linter warnings
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2021-12-15 20:25:46 +00:00
José Varela
116e683e1f
Gatsby plugin: handle file extensions ( #10482 )
...
* remove unused package
* handle file extensions
2021-12-13 13:34:10 -05:00
rijkvanzanten
546d525175
v9.2.2
2021-12-10 15:53:08 -05:00
José Varela
71a5fb6c2c
Gatsby: fix plugin for version 4 ( #10422 )
...
* gatsby: fix plugin for version 4
* add note about using with gatsby-transformer-sharp
* add ability to query system collections
2021-12-09 17:41:25 -05:00
Azri Kahar
f071a4a933
add custom panel extensions template & docs ( #10386 )
2021-12-08 11:13:10 -05:00
rijkvanzanten
1d4e9c425c
v9.2.1
2021-12-06 14:31:01 -05:00
Rijk van Zanten
5d80038a8a
Fix permissions merging on null check ( #10336 )
...
Fixes #10305
2021-12-06 15:12:20 +00:00
Nicola Krumschmidt
ad4a13f93b
Share pinia with extensions ( #10335 )
...
Pinia is stable and also the recommended state management lib for Vue 3 🔥
2021-12-06 09:58:48 -05:00
rijkvanzanten
776c105aac
v9.2.0
2021-12-03 16:16:38 -05:00
Nicola Krumschmidt
a3cbbfd237
Apply the cleaned up build config to the sdk ( #10230 )
2021-12-02 17:01:10 -05:00
Nicola Krumschmidt
b500c32072
Fix extension config importing on Windows ( #10242 )
...
Fixes #10239
2021-12-02 16:39:57 -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
Oreille
b4557056a0
Don't go back to page 1 when navigating back from an item ( #10235 )
2021-12-02 19:33:18 +00: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
Nicola Krumschmidt
7e270713f0
Clean up format-title build process ( #10204 )
2021-12-02 11:07:09 -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
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
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