Commit Graph

7078 Commits

Author SHA1 Message Date
José Varela
bf2b7e8d01 fix no options in repeater (#9113)
before: page does render if repeater has no options
after: page renders and repeater showe no options
2021-10-25 11:44:49 -04:00
Oreille
7eb2cb1137 Fix filter added twice and remove unnecessary _and node. (#9116) 2021-10-25 11:37:47 -04:00
Oreille
c94d0c4bfe Use default filter operator for type in filter input. (#9103)
* Use default filter operator for type in filter input. Also fix error on geometry operator update.

* Fixed tests.

* Only reset geometry filter value when necessary

* Support `null` for boolean operators.
2021-10-25 11:28:44 -04:00
Oreille
ed0a8aeb15 Ignore codemirror import mode types (#9112) 2021-10-25 11:27:07 -04:00
José Varela
a7c16ca975 Feat: allow ctrl click to open new tab on tabular (#9115)
* feat: allow ctrl click to open new tab on tabular

* support metaKey + click
2021-10-25 11:22:48 -04:00
Rijk van Zanten
06dcd5f7f7 New Crowdin updates (#8873)
* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Slovenian)

* Update source file en-US.yaml

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Hebrew)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Kurdish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Danish)
2021-10-25 11:22:21 -04:00
Pascal Jufer
ae1987a359 Revise GitHub workflows (#9011)
* Fix check for changed files & reformat workflows

* Test performance of paths-filter action

* Revise workflows

* Better wording

* Fix naming of "Pre-Check"

* Point out values

* Abreviate to make it look cleaner in report
2021-10-25 11:22:06 -04:00
Oreille
d06abbd797 Always cast M2A related primary keys to text. (#9122) 2021-10-25 09:53:44 -04:00
Aiden Foxx
712e1c24fa Update sso-links.vue (#9054) 2021-10-22 10:53:30 -04:00
Paul Boudewijn
fb93ee0c86 Update introduction.md (#9063) 2021-10-22 10:24:24 -04:00
Paul Boudewijn
12524fe3a8 Update running-locally.md (#9068) 2021-10-22 10:24:00 -04:00
Oreille
911e40144e Do not listen to the clicks of the ghosts (#9067) 2021-10-22 10:23:28 -04:00
Aiden Foxx
29a2e75206 Improved invalid JWT handling (#9058)
* Improved invalid token handling in oauth flows

* Fixed cookie name
2021-10-22 10:17:12 -04:00
Rijk van Zanten
8b7b94ac68 Update changelog.md 2021-10-21 19:55:51 -04:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 v9.0.0-rc.99 2021-10-21 19:52:37 -04:00
Rijk van Zanten
3a85287237 Revert "Update dependency knex-schema-inspector to v1.6.3 (#9015)" (#9036)
This reverts commit a234198110.
2021-10-21 19:48:54 -04:00
rijkvanzanten
9b41257dcb Update example env 2021-10-21 17:48:01 -04:00
Aiden Foxx
fa3b1171e8 New OpenID and OAuth2 drivers (#8660)
* Moved over oauth impl to new interface

* Fixed most build issues and started addind schema to auth drivers

* Finished up OAuth2 and OpenID drivers

* Removed unused migration and utils

* Fixed minor todos

* Removed old oauth flow

* Changed oauth flow to re-use refresh token

* Added new oauth frontend

* Added font awesome social icons

* Updated authentication documentation

* Update api/src/auth/drivers/oauth2.ts

* Tested implementation and fixed incorrect validation

* Updated docs

* Improved OAuth error handling and re-enabled creating users with provider/identifier

* Removed Session config from docs

* Update app/src/components/v-icon/v-icon.vue

* Removed oauth need to define default roleID

* Added FormatTitle to SSO links

* Prevent local auth without password

* Store OAuth access token in session data

* Update docs/guides/api-config.md

* Fixed copy and removed fontawesome-vue dependency

* More docs fixes

* Crucialy importend type fiks

* Update package-lock

* Remove is-email-allowed check

In favor of more advanced version based on filtering coming later

* Fix JSON type casting

* Delete unused util

* Update type signature to include name

* Add warning when code isn't found in oauth url

and remove obsolete imports

* Auto-continue on successful SSO login

* Tweak type signature

* More type casting shenanigans

* Please the TS gods

* Check for missing token before crashing

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 17:45:01 -04:00
Oreille
1b64b4472a Bug fixes and improvements (#8995)
* Updated layout and interface mapbox style
* Fixed margin issues around the layout
* Use render-template component to display item popup on hover
* Fixed french translations
2021-10-21 15:30:13 -04:00
Rijk van Zanten
7897a7a1f5 Cast "DB_EXCLUDE_TABLES" to array (#9029)
Fixes #9001
2021-10-21 15:19:37 -04:00
renovate[bot]
f8587497d8 Update dependency ts-node to v10.3.1 (#9025)
* Update dependency ts-node to v10.3.1

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 15:10:39 -04:00
Oreille
1b0f75eec2 Fix o2m-resolver memory issue (#8944)
* Add limit to m2o fetching.

* Remove unused parameter

* Remove unused nested flag, move limit to apply

* Add limit to offset check

* Add usage note on union query

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 15:02:26 -04:00
Aiden Foxx
f6b250e25c Update users.ts (#9024) 2021-10-21 13:49:15 -04:00
Filip Prochazka
5741fcce57 Fix #8402 (#9012) 2021-10-21 13:37:08 -04:00
Oreille
bb0f4b1628 Sort child collections in navigation (#9002)
Fix #8983
2021-10-21 12:51:28 -04:00
renovate[bot]
a234198110 Update dependency knex-schema-inspector to v1.6.3 (#9015)
* Update dependency knex-schema-inspector to v1.6.3

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 12:47:36 -04:00
ian
20ec941fa8 Fix click on relational filters with children (#9007) 2021-10-21 12:35:48 -04:00
Oreille
7facfb1616 Fix error with table manual sort (#9010) 2021-10-21 12:31:00 -04:00
Rijk van Zanten
2318347206 Allow filesize display for bigInteger fields (#9019)
Fixes #9017
2021-10-21 12:21:33 -04:00
renovate[bot]
8b362c0383 Update dependency @types/lodash to v4.14.176 (#8989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 20:59:14 -04:00
Jay Cammarano
43b0b9c62e E2E tests for the /items/:collection endpoint (#8549)
* added faker.js for testing

* edited env vars removed sqlite from testing (temp)

* getMany endpoint working with no data

* converted to faker

* getOne test passing

* schema for relations, item creation => factory

* many to many test working, factory refactored

* faker as dev dep

* new schema, tests passing postgres json exception

* tests passing

* upgrade tedious

* images

* removed images, rebuilt package-lock.json

* added users and schema map(WIP)

* user => artist m2o relation working on fields

* downgrade tedious

* user => guest, each => all

* items/:collection/invalid_id test

* items/invalid_collection/:id test added

* /:collection POST createOne test

* createMany factory, createMany endpoint test

* error handling tests

* create many with a many to one

* createMany with options to link relations

* some more describe sorting

* factory tests working

* tests passing
2021-10-20 23:20:50 +00:00
renovate[bot]
cce1c05b4c Pin dependencies (#8980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 16:42:15 -04:00
Jay Cammarano
a379c77280 E2E Factories and Testing Migration and Seeding (#8912)
* added faker

* added factories and tests

* removed unnecessary factory

* new schema

* seedTable test

* included all dbs in db relevant tests

* json string for insert in dbs that aren't postgres

* added organizer

* polished up geometry types

* added raw option to seedTable return

* forgot await disonnect

* createMany func with test

* remove an only

* createMany w/ options for relations and tests

* tests for json field

* removed an only

* json support

* factories working, ignore tests leaving for future
2021-10-20 17:24:34 +00:00
Jay Cammarano
5c16ed20b9 E2E Schema generated through migration and seed files (#8853)
* schema now represented in migrations (untested)

* seeds (untested)

* added seeding and fixed seed id #s

* removed run-migrations, not migrating .ts files

* setup.ts runs with migrate and seed

* removed unneeded console.log()

* guest id is uuid, because I can

* added guest_events, changed user => guest

* updated column types

* removing system_tables migration file

* fixed many to one relation for favorite_artist

* added relational tables to collections

* fixed relations

* geometry fields

* updated schema
2021-10-20 11:44:04 -04:00
Pascal Jufer
88813a59d3 Add GitHub Action to Auto-Merge Translations from Crowdin (#8966)
* Add Action to Auto-Merge Translations from Crowdin

* Don't trigger checks on translation updates
2021-10-20 11:01:14 -04:00
renovate[bot]
71093f5d2e Update dependency @rollup/plugin-commonjs to v21.0.1 (#8958)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:53:04 -04:00
renovate[bot]
a9432b6db3 Update dependency @rollup/plugin-node-resolve to v13.0.6 (#8959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:52:51 -04:00
Azri Kahar
c81300f786 improve folder picker selection highlight (#8954) 2021-10-20 09:51:28 -04:00
Tien Tran
b3f1e3383e Skip publish-npm job in the release workflow for forked repos (#8957) 2021-10-20 09:48:08 -04:00
renovate[bot]
8c6a7b1b3e Update jest monorepo to v27.3.1 (#8967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:23:55 -04:00
Pascal Jufer
5a53d7007e Fix warnings from ESLint (#8969) 2021-10-20 09:23:42 -04:00
renovate[bot]
84ba3d0032 Update typescript-eslint monorepo to v5.1.0 (#8974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:21:13 -04:00
renovate[bot]
f5b5b57e58 Update dependency @types/busboy to v0.3.0 (#8970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:07:46 -04:00
renovate[bot]
30c1a64ed1 Update dependency eslint-plugin-vue to v7.20.0 (#8971)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:07:03 -04:00
renovate[bot]
52119fcd2d Update dependency vite-plugin-md to v0.11.2 (#8964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Azri Kahar <azrikahar@outlook.com>
2021-10-20 19:00:01 +08:00
renovate[bot]
09bfefaff1 Update dependency vite to v2.6.10 (#8963)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:44:32 +08:00
renovate[bot]
9d137af1a0 Update dependency nock to v13.1.4 (#8961)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:03:20 +08:00
renovate[bot]
74fed8ce7f Update dependency pinia to v2.0.0-rc.14 (#8962)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 18:00:46 +08:00
Paul Boudewijn
deea6c787b Update iis.md (#8948)
the web.config example didn't work because the url value of the match element was not a valid regex.
2021-10-19 23:12:04 +00:00
Azri Kahar
2c0b61fdf3 add default preset for webhooks page (#8937)
* add default preset for webhooks page

* Apply suggestions from code review

* Update api/src/database/system-data/fields/webhooks.yaml

🤦🏻‍♂️

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-10-19 15:39:56 +00:00