Commit Graph

816 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
renovate[bot]
6e3a63df2b Update jest monorepo to v27.3.0 (#8918)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:33:32 +00:00
renovate[bot]
1a83faf7e5 Update fullcalendar monorepo to v5.10.0 (#8772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:30:33 +00:00
renovate[bot]
f3400bb54d Update dependency ts-jest to v27.0.7 (#8915)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:02:42 -04:00
renovate[bot]
3e771b2bd4 Update dependency vite to v2.6.9 (#8916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:02:30 -04:00
Nicola Krumschmidt
70861db1db Fix table and cards layout scroll to top if page changes (#8826)
* Fix table and cards layout scroll to top if page changes

Fixes #8767

* Update cards.vue

* Update tabular.vue

Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
2021-10-15 10:55:54 -04:00
renovate[bot]
4fb2dcc9a9 Update dependency ts-jest to v27.0.6 (#8803)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 16:53:18 -04:00
renovate[bot]
7eb15389d4 Update dependency stylelint-config-prettier to v9.0.3 (#8802)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 16:28:43 -04:00
renovate[bot]
5d04df8e8d Update dependency vue-router to v4.0.12 (#8800)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 13:40:39 -04:00
renovate[bot]
5f3c5660ae Update dependency eslint to v8 (#8681)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-14 11:14:45 -04:00
Nicola Krumschmidt
c09c88c438 Remove unused vue cli dependencies (#8791) 2021-10-14 10:33:20 -04:00
renovate[bot]
b1e964bc61 Update dependency sass to v1.43.2 (#8776)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 23:43:29 +00:00
renovate[bot]
350025f973 Update dependency nanoid to v3.1.30 (#8775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 23:40:17 +00:00
Jay Cammarano
eaa5cc1f86 tedious downgrade and remove sqlite3 from tests. (#8771) 2021-10-13 21:17:33 +00:00
renovate[bot]
2429d30917 Update dependency typescript to v4.4.4 (#8749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:51:36 -04:00
renovate[bot]
b9a2a3a18b Update dependency axios to v0.23.0 (#8744) 2021-10-12 14:45:16 -04:00
Nicola Krumschmidt
2908063d86 Transpile docs to vue components at build time (#8743) 2021-10-12 14:22:14 -04:00
renovate[bot]
de5c6a549f Update dependency pinia to v2.0.0-rc.13 (#8740)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 13:50:20 -04:00
renovate[bot]
ae77ec8e2f Update dependency @types/dockerode to v3.3.0 (#8741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 17:49:36 +00:00
renovate[bot]
b2ec182493 Update typescript-eslint monorepo to v5 (major) (#8702)
* Update typescript-eslint monorepo to v5

* Fix linter warnings

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-12 11:07:46 -04:00
renovate[bot]
9c7b6cb6fb Update dependency stylelint-config-prettier to v9 (#8703)
* Update dependency stylelint-config-prettier to v9

* Fix linter warnings

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-12 14:39:36 +00:00
renovate[bot]
0cbd9b697e Update dependency codemirror to v5.63.3 (#8724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 09:48:03 -04:00
renovate[bot]
a9dbce8e4f Update dependency tinymce to v5.10.0 (#8688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 09:30:57 -04:00
renovate[bot]
1a7bdeb1d9 Update dependency lint-staged to v11.2.3 (#8674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 09:20:38 -04:00
renovate[bot]
82ef453f42 Update dependency apexcharts to v3.29.0 (#8685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 09:19:55 -04:00
renovate[bot]
2a370ac33a Update dependency @types/codemirror to v5.60.5 (#8705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:49:04 +08:00
renovate[bot]
86861ecb8d Update dependency ts-node to v10.3.0 (#8700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:46:18 +08:00
renovate[bot]
75508d96fe Update dependency vite to v2.6.7 (#8698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 10:45:17 +08:00
renovate[bot]
4db768d698 Update dependency vue to v3.2.20 (#8673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 15:46:35 -04:00
renovate[bot]
1c70d2af90 Update dependency @vue/compiler-sfc to v3.2.20 (#8667)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 17:25:43 +00:00
renovate[bot]
b4bb1071f2 Update jest monorepo to v27.2.5 (#8656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 11:45:56 -04:00
Nicola Krumschmidt
fe1ae5c5db Fix rel attribute of external links (#8642) 2021-10-08 10:25:29 -04:00
renovate[bot]
fc87c0b662 Update dependency vite to v2.6.5 (#8624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 10:03:56 +08:00