Commit Graph

414 Commits

Author SHA1 Message Date
renovate[bot]
e3ae897df9 update jest monorepo to v27.1.0 (#7656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:42:34 -04:00
renovate[bot]
071e313bce update dependency typescript to v4.4.2 (#7638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 21:53:07 +00:00
renovate[bot]
9110cc765b pin dependency @types/supertest to 2.0.11 (#7582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 14:15:35 -04:00
rijkvanzanten
4353225d4d Add supertest to api deps 2021-08-24 14:03:32 -04:00
rijkvanzanten
8f943a34f9 v9.0.0-rc.91 2021-08-23 16:08:06 -04:00
renovate[bot]
62b9edc281 update dependency tedious to v12 (#7548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 10:51:25 -04:00
renovate[bot]
19ed19be72 update dependency ts-jest to v27.0.5 (#7453)
* update dependency ts-jest to v27.0.5

* update dependency @types/jest to v27

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 10:43:44 -04:00
renovate[bot]
44a9ac013a update dependency @types/js-yaml to v4.0.3 (#7529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-22 16:07:11 -04:00
renovate[bot]
f0e429387c update dependency pino-http to v5.7.0 (#7536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 15:06:56 -04:00
renovate[bot]
d6f8c57eeb update dependency pino to v6.13.1 (#7534)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-21 15:06:40 -04:00
renovate[bot]
89ce56ba46 update dependency @types/jsonwebtoken to v8.5.5 (#7510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-20 14:20:26 +00:00
renovate[bot]
d2888474d5 update dependency sharp to ^0.29.0 (#7461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 15:18:03 +00:00
renovate[bot]
f91d8254c9 update dependency @types/mime-types to v2.1.1 (#7440)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 09:37:20 -04:00
Sam Milledge
19424feefa Fixes for GraphQL variables in HTTP GET requests (#7416)
* Fix missing GraphQL variables in HTTP GET requests

* Fix GraphQL query request caching

 - Fix incorrect response when the query contains variables
 - Added tests for cache keys and cache middleware

* Update api/src/utils/get-cache-key.test.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-16 23:16:41 +00:00
Rijk van Zanten
952725dcac Revert "update dependency macos-release to v3 (#7381)" (#7389)
This reverts commit ca111a80cb.
2021-08-12 17:03:20 -04:00
renovate[bot]
ca111a80cb update dependency macos-release to v3 (#7381)
* update dependency macos-release to v3

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-12 22:17:02 +02: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
rijkvanzanten
9f4e855826 v9.0.0-rc.90 2021-08-11 13:46:49 -04:00
rijkvanzanten
dc9ede85ee v9.0.0-rc.89 2021-08-09 17:27:01 -04:00
Pascal Jufer
bea3794f0a Switch to exifr for image metadata extraction (#6922)
* Switch to exifr for image metadata extraction

* Fix migrations on pg

* Prevent double divider

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-05 19:19:18 -04:00
Rijk van Zanten
6f4844846e Fix pino deprecation warning (#7230) 2021-08-06 00:30:36 +02:00
renovate[bot]
9d87296a71 update dependency @types/lodash to v4.14.172 (#7153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-03 09:29:24 -04:00
rijkvanzanten
2a324dd40d v9.0.0-rc.88 2021-08-02 16:54:03 -04:00
rijkvanzanten
37575e4849 v9.0.0-rc.87 2021-07-28 17:15:59 -04:00
Rijk van Zanten
a85c4af4ea Fix mssql max-length doubling (#7041)
Fixes #5236
2021-07-28 18:05:16 +02:00
Pascal Jufer
993e0fe187 Move object-hash to non-optional deps (#7027)
Since required in assets.ts, fixes #7024

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-28 09:53:34 -04:00
renovate[bot]
688f83b7a0 update dependency @types/sharp to v0.28.5 (#7017)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 18:14:48 -04:00
Saad Irfan ⚡️
afdeb980cb Support for notifying user if an update is available for Directus CLI (#6852)
* Notify user if an update is available

* Replaced console log with logger

* Fix lint error

* Update api/src/start.ts

* Make update check non-blocking

* Remove unused async call

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 19:36:16 -04:00
rijkvanzanten
3390430c04 v9.0.0-rc.86 2021-07-26 18:20:42 -04:00
Rijk van Zanten
d20cecb882 Update knex-schema-inspector@1.5.12 (#6975) 2021-07-26 12:13:42 -04:00
Nicola Krumschmidt
7d8aa9fced Replace DIRECTUS_DEV env var with NODE_ENV and SERVE_APP (#6929) 2021-07-22 23:47:56 +02:00
renovate[bot]
d487f691a3 pin dependency @types/object-hash to 2.1.1 (#6914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 16:05:03 -04:00
Tim
2c9ff3bca6 Allow custom transformations of assets (#6593)
* Allow custom transformations of assets

This exposes one query parameter `transforms`, which is a JSON array of
shard transformation operations.

It also updates the asset presets. The UX for this still needs some work

* Rename options to arguments for presets

More explicit

* options -> arguments in setting spec

* Better errors for invalid JSON in asset presets

* Add limit to transforms query parameter

* Use flattened option for extra transforms

* Fix placeholder color of code input

* Allow "simple mode" aliases

* Add documentation

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-21 15:57:47 -04:00
Rijk van Zanten
70bb6d70dd Improve default value extraction in MS SQL (#6843)
Fixes #6666
2021-07-15 23:57:08 +02:00
Nicola Krumschmidt
f96eeb2c83 v9.0.0-rc.85 2021-07-15 21:22:54 +02:00
rijkvanzanten
f60deb9ca2 Remove prepublish build step, handled in CI 2021-07-15 14:23:48 -04:00
rijkvanzanten
ddab55d190 v9.0.0-rc.84 2021-07-15 14:10:01 -04:00
rijkvanzanten
2a60a0fd88 Revert "v9.0.0-rc.84"
This reverts commit a4945a64fd.
2021-07-15 10:29:18 -04:00
rijkvanzanten
6d7dc17852 Remove oracle from optionaldependencies 2021-07-14 18:18:16 -04:00
rijkvanzanten
a4945a64fd v9.0.0-rc.84 2021-07-14 17:26:35 -04:00
rijkvanzanten
628b4efc29 Revert "v9.0.0-rc.84"
This reverts commit 18e62086f7.
2021-07-14 17:25:52 -04:00
rijkvanzanten
18e62086f7 v9.0.0-rc.84 2021-07-14 16:57:41 -04:00
renovate[bot]
057f277b6c update dependency @types/lodash to v4.14.171 (#6704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 13:20:52 +00:00
renovate[bot]
0658746e1f update dependency @types/node-cron to v2.0.4 (#6708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 14:08:23 +02:00
renovate[bot]
52d427a5de update dependency @types/qs to v6.9.7 (#6716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 14:08:11 +02:00
renovate[bot]
0cb1d3f72a update dependency @types/nodemailer to v6.4.4 (#6712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:07:22 +02:00
renovate[bot]
dc1c115014 update dependency @types/cors to v2.8.12 (#6727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:06:31 +02:00
renovate[bot]
9967e59f67 update dependency @types/keyv to v3.1.2 (#6701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 12:11:51 +00:00
renovate[bot]
f8dd7c20d4 update dependency @types/json2csv to v5.0.3 (#6696)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:23:23 +00:00