Commit Graph

857 Commits

Author SHA1 Message Date
renovate[bot]
d7e5657434 Update dependency openid-client to v5 (#9202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 15:50:07 -04:00
renovate[bot]
a1ade2a5ce Update dependency marked to v3.0.8 (#9359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 19:34:00 +00:00
renovate[bot]
b633f83c29 Update dependency mime to v2.6.0 (#9370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 15:21:57 -04:00
renovate[bot]
4e3ca63b83 Update vue monorepo to v3.2.21 (#9341)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 19:18:10 +00:00
renovate[bot]
86acc602e7 Update gatsby monorepo to v4.1.0 (#9367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 14:09:29 -04:00
renovate[bot]
7fbd135c0b Update dependency @types/sharp to v0.29.3 (#9352)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 10:32:07 -04:00
renovate[bot]
a85460c0f2 Update dependency rollup to v2.59.0 (#9293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-01 14:21:26 -04:00
renovate[bot]
a58bedafb5 Update typescript-eslint monorepo to v5.3.0 (#9317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-01 18:06:35 +00:00
renovate[bot]
366eb3e775 Update dependency knex to v0.95.12 (#9208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-01 14:04:25 -04:00
Dorian Zedler
106d207238 Feat/custom ldap mail attribute (#9307)
* Allow custom email field for LDAP

* Update docs

* Break out into variable and don't cast to String
2021-11-01 15:57:57 +00:00
renovate[bot]
bb9b8f5d36 Pin dependency @types/ldapjs to 2.2.1 (#9238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 16:11:05 +00:00
Aiden Foxx
b7ee318e43 LDAP auth provider (#9074)
* Added LDAP implementation

* Cleanup and added refresh checking

* Added provider check to ldap

* Added LDAP docs

* Always update LDAP user role on authentication

* Fetched package-json from github

* Fixed lint error

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

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

* Added missing locale key

* Update docs/guides/api-config.md

* Update docs/configuration/config-options.md

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

* Added back LDAP example

* Update config-options.md

* getUserID function sjhouldn't care about password

* Added LOCKOUT to INVALID_ACCOUNT_FLAGS

* Update styling approach for v-select

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-29 11:58:10 -04:00
renovate[bot]
c14914046a Update dependency vite-plugin-md to v0.11.4 (#9206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 15:22:12 +02:00
renovate[bot]
3ee019d343 Update dependency @vitejs/plugin-vue to v1.9.4 (#9181)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 18:40:27 -04:00
renovate[bot]
641ee9f97c Update dependency simple-git-hooks to v2.7.0 (#9195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 18:32:52 -04:00
renovate[bot]
ccefbc5a0b Update dependency pinia to v2.0.0 (#9205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 17:44:45 -04:00
renovate[bot]
22521e464d Update dependency vite to v2.6.13 (#9193)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 17:44:11 -04:00
renovate[bot]
d4af01bf5a Update dependency lint-staged to v11.2.6 (#9175) 2021-10-26 19:58:22 -04:00
renovate[bot]
0cccffe93a Update dependency sass to v1.43.4 (#9177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:44:00 -04:00
renovate[bot]
f62675213d Update dependency knex-schema-inspector to v1.6.4 (#9159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 21:20:22 +00:00
renovate[bot]
cb23a5a0ff Update dependency vite to v2.6.12 (#9169)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:55:46 +00:00
renovate[bot]
76ba6f1bc6 Update dependency stylelint to v14.0.1 (#9168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 12:52:00 -04:00
renovate[bot]
07485de5e3 Update dependency micromark to v3.0.7 (#9141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 14:42:53 +00:00
renovate[bot]
eba8213044 Update gatsby monorepo to v4 (#9028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
2021-10-26 10:29:05 -04:00
renovate[bot]
93481302e6 Update dependency lint-staged to v11.2.5 (#9155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 09:49:06 -04:00
renovate[bot]
01e091e27f Update typescript-eslint monorepo to v5.2.0 (#9133)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 06:18:51 +00:00
renovate[bot]
8f7b8e863f Update dependency oracledb to v5.3.0 (#9042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 06:13:37 +00:00
renovate[bot]
1c0d17d48e Update dependency eslint to v8.1.0 (#9091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 06:10:11 +00:00
renovate[bot]
1d2f139bb6 Update dependency ts-node to v10.4.0 (#9083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 03:25:06 +00:00
renovate[bot]
1a1eca43dd Pin dependency stylelint-config-standard to 23.0.0 (#9140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 22:35:22 -04:00
renovate[bot]
54ba54d3d6 Update dependency stylelint to v14 (#9016)
* Update dependency stylelint to v14

* Update dependency stylelint-scss to v4

* Update dependency stylelint-order to v5

* Undo command change

* Update stylelint command

* Use modern color syntax

Who knew this was already supported everywhere? Awesome!!

* Update stylelint-config-standard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 22:26:57 -04:00
renovate[bot]
09c0d9f1f4 Update dependency sass to v1.43.3 (#9035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:12:08 -04:00
renovate[bot]
cc4ca9ade8 Update dependency @types/js-yaml to v4.0.4 (#9090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:05:55 -04:00
renovate[bot]
f9b2818cbd Update dependency @types/busboy to v0.3.1 (#9096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 21:02:11 -04:00
renovate[bot]
24bbe3114c Update dependency axios to v0.24.0 (#9132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:52:06 -04:00
renovate[bot]
4e7c6a1d45 Update dependency vite to v2.6.11 (#9121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:46:47 -04:00
renovate[bot]
47d96b3caf Update dependency pinia to v2.0.0-rc.15 (#9131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:42:40 -04:00
renovate[bot]
ade9d0c822 Update dependency lint-staged to v11.2.4 (#9100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:38:09 -04:00
renovate[bot]
3402869a45 Update Node.js to v16.12.0 (#9137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:29:45 -04:00
renovate[bot]
c0952edd52 Update dependency @types/async to v3.2.9 (#9136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 20:29:29 -04:00
renovate[bot]
a257f324c0 Update dependency rollup to v2.58.3 (#9114)
* Update dependency rollup to v2.58.3

* node version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jay Cammarano <jay.cammarano@gmail.com>
2021-10-25 18:45:12 -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
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