Commit Graph

1031 Commits

Author SHA1 Message Date
Rijk van Zanten
ebb810b9af Explicitly nullify user/role when the other is set in presets (#7512)
Fixes #7366
2021-08-20 00:15:43 +02:00
renovate[bot]
05b3f27b78 pin dependency jest-environment-jsdom to 27.0.6 (#7504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-19 12:52:43 -04:00
Rob
8c965ba1e7 Fix SDK Tests (#7469)
* POST instead of PATCH for invite accept test

* Replace Jest JSDOM environment

Using `jest-environment-jsdom-global` didn't seem to bring any used advantages over the default `jest-environment-node`

* remove mockdate, use modern jest fake timers

* update package lock

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Jay Cammarano <67079013+jaycammarano@users.noreply.github.com>
2021-08-19 10:51:45 -04:00
Oreille
49e4a9b0de Don't allow empty filter for non-string types. Add null filter. (#7501) 2021-08-19 10:02:54 -04:00
renovate[bot]
67e9b94f10 update dependency gatsby-source-filesystem to v3.12.0 (#7482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 15:19:26 -04:00
Oreille
fb64df54be Fix server error when a postgres view contains geometry columns (#7487)
* Fix server error when a postgres view contains geometry columns

* Fixed typo

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-18 15:19:12 -04:00
renovate[bot]
d66d55a6bf update dependency ts-node to v10.2.1 (#7495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 14:14:06 -04:00
Oreille
02cf1741bb Fix server error when a postgres view contains geometry columns (#7486) 2021-08-18 15:14:46 +02:00
Nicola Krumschmidt
f933663972 Add basic support for a config file to extension building (#7332)
The config file has to be a file inside the cwd.
It should be named "extension.config.(m|c)?js".
Right now it only supports specifying a plugins array.
2021-08-17 16:55:32 -04:00
renovate[bot]
6144b5b815 update vue monorepo to v3.2.4 (#7467)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-17 14:29:55 -04:00
Ben Haynes
60fc455bbd Add FAQs to title formatter 2021-08-17 11:19:05 -04:00
renovate[bot]
9d9e2800d1 update vue monorepo to v3.2.3 (#7444)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 10:57:26 -04:00
renovate[bot]
33f71a4294 update dependency marked to v3 (#7424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-16 10:32:59 -04:00
Nicola Krumschmidt
415f6d1a94 Move geojson from devDeps to deps of shared (#7403)
Geojson has to be a regular dependency in order for the imported types to be available when installing shared.
Ideally, we should bundle type definitions to a single file.
2021-08-13 09:08:35 -04:00
renovate[bot]
0b720daee2 pin dependencies (#7384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-12 16:11:03 -04:00
Oreille
83e8814b2d Add support for Geometry type, add Map Layout & Interface (#5684)
* Added map layout

* Cleanup and bug fixes

* Removed package-lock

* Cleanup and fixes

* Small fix

* Added back package-lock

* Saved camera, autofitting option, bug fixes

* Refactor and ui improvements

* Improvements

* Added seled mode

* Removed unused dependency

* Changed selection behaviour, cleanup.

* update import and dependencies

* make custom style into drawer

* remove unused imports

* use lodash functions

* add popups

* allow header to become small

* reorganize settings

* add styling to popup

* change default template

* add projection option

* add basic map interface

* finish simple map

* add mapbox style

* support more mapbox layouts

* add api key option

* add mapbox backgrounds to layout

* warn when no api key is set

* fix for latest version

* Improved map layout and interface, bug fixes, refactoring.

.

.

* Added postgis geometry format, added marker icon shadow

* Made map buttons bigger and their icons thinner. Added transition to header bar.

* Bug fixes and error handling in map interface.

* Moved box-select control out of the map component. Removed material icons sprite and use addImage for marker support.

* Handle MultiGeometry -> Geometry interface error.

* Removed hardcoded styles. Added migrations for basemap column. Lots of refactoring.

Removed hardcoded styles. Added migrations for basemap column. Lots of refactoring.

* Fixed style reloading error. Added translations.

* Moved worker code to lib.

* Removed worker code. Prevent Mapbox from removing access_token from the URL.

* Refactoring.

* Change basemap selection to in-map dropdown for layout and interface.

* Touchscreen selection support and small fixes.

* Small change.

* Fixed unused imports.

* Added support for PostgreSQL identity column

* Renamed migration. Added crs translation.

* Only show fields using the map interface in the map layout.

* Removed logging.

* Reverted Dockerfile change.

* Improved crs support.

* Fixed translations.

* Check for schema identity before updating it.

* Fixed popup not updating on feature hover.

* Added feature hover styling. Fixed layer customization input. Added out of bounds error handling.

* Added geometry type and support for database native geometries.

* Fixed linting.

* Fixed layout.

* Fixed layout.

* Actually fixed linting

* Full support for native geometries
Fixed basemap input
Improved feature popup on hover
Locked interfaced support

* Fixed geometryType option not updating

* Bug fixes in interface

* Fixed crash when empty basemap settings. Fixed fitBounds option not updating.

* Added back storage type option. Improved interface behaviour.

* Dropped wkb because of vendor inconsistency with binary data

* Updated layout to match new geometry type. Fixed geojson payload transform.

* Added missing geometry_format attributes to local types.

* Fixed typos & refactoring

* Removed dependency on proj4

* Fix error when empty map interface options

* Set geometry SRID to 4326 when inserting into the database

* Add support for selectMode

* Fix error on initial source load

* Added geocoder, use GeoJSON for api i/o, removed geometry_format option, refactoring

* Added geometry intersects filter. Created geometry helper class.

* Fix error when null geometryOptions, added mapbox_key setting.

* Moved all geometry parsing/serializing into processGeometries in `payload.ts`. Fixed type errors.

* Migrate to Vue 3

* Use wellknown instead of wkx

* Fixed basemap selection.

* Added available operator for geometry type

* Added nintersects filter, fixed map interface for filter input

* Added intersects_bbox filter & bug fixes.

* Fixed icons rendering

* Fixed cursor icon in select mode

* Added geometry aggregate function

* Fixed geometry processing bug when imported from relational field.

* Fixed error with geocoder instanciation

* Removed @types/maplibre-gl dependency

* Removed fitViewToData options

* Merge remote-tracking branch 'upstream/main' into map-layout

* Fixed style and geometryType in map interface options

* Fixed style change on map interface.

* Improved fitViewToData behaviour

* Fixed type imports and previous merge conflict

* Fixed linting

* Added available operators

* Fix and merge migrations

* Remove outdated p-queue dep

* Fix get-schema column extract

* Replace pg with postgis for local debugging

* Re-add missing import

* Add mapbox as a basemap when key exists

* Remove unused tz flag

* Process delta in payloadservice

* Set default map, add limit number styling

* Default display template to just PK

* Tweak styling of error dialog

* Fix method usage in helpers

* Move sdo_geo to oracle section

* Remove extensions from ts config exclude

* Move geo types to shared, remove _Geometry

* Remove unused type

* Tiny Tweaks

* Remove fit to bounds option in favor of on

* Validate incoming intersects query

* Deepmap filter values

* Add GraphQL support

* No defaultValue for geometryType

* Resolve c

* Fix translations

Co-authored-by: Nitwel <nitwel@arcor.de>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-12 22:01:34 +02:00
renovate[bot]
0207d78ffe update vue monorepo to v3.2.2 (#7355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 17:43:55 -04:00
rijkvanzanten
9f4e855826 v9.0.0-rc.90 2021-08-11 13:46:49 -04:00
Pascal Jufer
cacd4f4ff1 Fix HTTP method for collections.createMany in SDK (#7304)
* Fix HTTP method for collections.createMany in SDK

* Post collections in data body

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-10 09:30:24 -04:00
renovate[bot]
b4a6d73835 update dependency rollup to v2.56.2 (#7303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 08:56:38 -04:00
rijkvanzanten
dc9ede85ee v9.0.0-rc.89 2021-08-09 17:27:01 -04:00
renovate[bot]
1fa975e59f update vue monorepo to v3.2.1 (#7293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 21:20:38 +00:00
renovate[bot]
5ad5544bf4 update dependency vue to v3.2.0 (#7289)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 16:35:59 -04:00
Nicola Krumschmidt
e5683e0d0b Fix gitignore file in extension templates being deleted when publishing (#7279) 2021-08-09 12:00:09 -04:00
Nicola Krumschmidt
aca8c1078e Only loads app extensions if SERVE_APP is true (#7275)
This also ensures API/App only load their respective extensions in dev.
2021-08-09 09:44:27 -04:00
renovate[bot]
d1b851e34a update dependency ts-node to v10.2.0 (#7271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:49 -04:00
renovate[bot]
e43065bc12 update dependency vue-router to v4.0.11 (#7272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:35 -04:00
renovate[bot]
4449310c1a update dependency rollup to v2.56.1 (#7269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:24 -04:00
Rijk van Zanten
90793d5645 Don't use tags interface for CSV filter (#7258)
Fixes #6778
2021-08-06 23:53:15 +02:00
renovate[bot]
4bd5c94669 update dependency rollup to v2.56.0 (#7208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 09:25:32 -04:00
Rijk van Zanten
d0f6cb35e3 Support dynamic variables in conditional fields (#7202)
* Move accountability type to shared

* Rely on shared for parse-filter

* Install date-fns

* Support dynamic variables in conditional fields

Closes #7157
2021-08-05 01:51:15 +02:00
Jay Cammarano
61a994ea4f added .keep to common folder (#7196) 2021-08-04 16:15:02 -04:00
Jay Cammarano
1e16065bb0 Updated routes for SDK Settings, Relations, Collections, and Fields (#7192)
* draft

* enpoints tested(manually) and working

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

* removed optional params

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-04 16:00:05 -04:00
renovate[bot]
293b655589 update dependency gatsby-source-filesystem to v3.11.0 (#7194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 15:43:08 -04:00
Rijk van Zanten
b6fe51a4a7 Fix spec for default folder setting (#7172)
Fixes #7128
2021-08-04 00:37:22 +02:00
Rijk van Zanten
ef3d618d6c Add support for app-required field state (#7166)
* Add "required" option to fields

* Move some exceptions to shared

* Do client side validation for required

* Add conditional required support
2021-08-03 23:04:24 +02:00
rijkvanzanten
2a324dd40d v9.0.0-rc.88 2021-08-02 16:54:03 -04:00
Rijk van Zanten
a4767f80ab Fix nested fields check in validate-payload handler (#7135) 2021-08-02 13:32:04 -04:00
Nicola Krumschmidt
d27a673db8 Remove unused field-types.ts from shared (#7127)
The file is identical to fields.ts except for variable names.
2021-08-02 11:50:44 -04:00
Matteljay
fbcd50444c Auth patch to @directus/gatsby-source-directus (#7119)
Gatsby needs one-time access to the images at build time with the secure access token. With this security patch it is now no longer needed to have all Directus files continuously exposed to the public.

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-02 10:03:39 -04:00
renovate[bot]
fb0559c7c3 update dependency joi to v17.4.2 (#7117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 10:00:39 -04:00
Nicola Krumschmidt
ed1eb6e95d Clean up type declarations in shared (#7100)
Hopefully typescript will fully support the "exports" field soon so we
can get rid of this.
2021-07-30 16:14:07 +00:00
renovate[bot]
74658cfbc3 update dependency npm-watch to v0.11.0 (#7090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:29:22 -04:00
renovate[bot]
bf5adef9de update dependency chalk to v4.1.2 (#7093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:28:14 -04:00
renovate[bot]
48ef5b1a9d update dependency @rollup/plugin-commonjs to v20 (#7094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:26:43 -04:00
renovate[bot]
c113a54943 update dependency rollup to v2.55.1 (#7085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-29 14:49:02 -04:00
rijkvanzanten
37575e4849 v9.0.0-rc.87 2021-07-28 17:15:59 -04:00
Jake Ruesink
81e19fa5ac Create index.js file for Gatsby Themes (#7044)
Gatsby does not always find the plugin unless there is an index.js file.
https://github.com/gatsbyjs/gatsby/issues/5559
https://github.com/gatsbyjs/gatsby/issues/14068
2021-07-28 12:53:20 -04:00
Rijk van Zanten
a85c4af4ea Fix mssql max-length doubling (#7041)
Fixes #5236
2021-07-28 18:05:16 +02:00
renovate[bot]
496db9269b update dependency rollup to v2.55.0 (#7028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-28 09:53:48 -04:00