Commit Graph

1488 Commits

Author SHA1 Message Date
rijkvanzanten
dd67fdbdfb Merge branch 'main' into aggregation 2021-06-23 18:09:00 -04:00
Nicola Krumschmidt
051df415df Fix extensions (#6377)
* Add support for npm extensions

* Allow extensions to import vue from the main app

* Bundle app extensions on server startup

* Fix return type of useLayoutState

* Add shared package

* Add extension-sdk package

* Add type declaration files to allow deep import of shared package

* Add extension loading to shared

* Refactor extension loading to use shared package

* Remove app bundle newline replacement

* Fix extension loading in development

* Rename extension entrypoints

* Update extension build instructions

* Remove vite auto-replacement workaround

* Update package-lock.json

* Remove newline from generated extension entrypoint

* Update package-lock.json

* Build shared package as cjs and esm

* Move useLayoutState composable to shared

* Reverse vite base env check

* Share useLayoutState composable through extension-sdk

* Update layout docs

* Update package versions

* Small cleanup

* Fix layout docs

* Fix imports

* Add nickrum to codeowners

* Fix typo

* Add 'em to vite config too

* Fix email

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-23 12:43:06 -04:00
rijkvanzanten
465c10d4c7 v9.0.0-rc.80 2021-06-22 22:00:55 -04:00
rijkvanzanten
5e0328fea0 v9.0.0-rc.79 2021-06-22 21:08:49 -04:00
rijkvanzanten
b9a857ccd7 Fix missing type signature 2021-06-22 21:08:28 -04:00
Rijk van Zanten
44082c60e1 Add schema caching (#6456)
* Rework cache handler to be function export

* Add default schema caching

* Add schema cache

* Auto purge schema cache on schema change from api

* Only set last_access value on login

* Add note on schema cache setting
2021-06-22 20:50:20 -04:00
Rijk van Zanten
25aaebacd4 Don't return default val for PK field in singleton (#6444)
Fixes #6429
2021-06-22 18:19:02 -04:00
Rijk van Zanten
1cb9181052 Add support for starts/ends with filters (#6437) 2021-06-22 14:28:11 -04:00
Nicola Krumschmidt
965bcde4ee Enforce latest node and npm version in dev (#6414)
* Enforce latest node and npm version in dev

* Update CI workflows to Node 16
2021-06-22 11:22:37 -04:00
rijkvanzanten
93b7aeb788 v9.0.0-rc.78 2021-06-21 17:56:34 -04:00
rijkvanzanten
7a09711c42 v9.0.0-rc.77 2021-06-21 16:11:06 -04:00
rijkvanzanten
953db0a29d Fix type error 2021-06-20 19:32:45 -04:00
renovate[bot]
ac2da1e5f6 chore(deps): update dependency @types/inquirer to v7.3.2 (#6391) 2021-06-19 12:11:46 -04:00
rijkvanzanten
518547b530 Merge branch 'main' into aggregation 2021-06-18 16:37:39 -04:00
Rijk van Zanten
0d899f097d Add ability to specify what fields to clone on "Save as Copy" (#6379)
* Start on tree-select component

* Stop propagation on label click as well

* Setup temp debug route

* Add value-combining=all

* Add branch mode

* Add leaf mode

* Add indeterminate state

* Add search

* Keep group state alive during search

* Fetch existing item based on clone fields data

* Add interface for setup

* Tweak field structure of m2a items

* Use collection name in checkbox

* Remove temp test
2021-06-18 16:37:27 -04:00
rijkvanzanten
9f8db4c594 Merge branch 'main' into aggregation 2021-06-18 09:45:35 -04:00
renovate[bot]
f99654ae18 chore(deps): update dependency @types/jsonwebtoken to v8.5.2 (#6363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 09:28:29 -04:00
rijkvanzanten
a9ff8f5352 Fix import in aggregation 2021-06-17 16:06:59 -04:00
Aiden Foxx
1da4751141 Fixed invalid onDelete constraint for some schemas (#6308)
* Fixed invalid onDelete clause for some schemas

* Ran prettier

* Updated all onDelete statements to be Oracle friendly

Co-authored-by: Aiden Foxx <aiden.foxx@sbab.se>
2021-06-17 15:46:22 -04:00
renovate[bot]
10101073a7 chore(deps): update dependency typescript to v4.3.4 (#6357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:22 -04:00
Nacho García
b856810e7a Change cache-control heeaders (#6355) 2021-06-17 15:46:22 -04:00
renovate[bot]
a908de2f23 chore(deps): update dependency typescript to v4.3.3 (#6329)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
rijkvanzanten
1c727cc48e Trim val before check
h/t @aidenfoxx
2021-06-17 15:46:21 -04:00
Rijk van Zanten
02a44c5861 Don't send sensitive data in webhooks (#6350)
Fixes #6246
2021-06-17 15:46:21 -04:00
Rijk van Zanten
e5012784d3 Use existing file extension as default (#6349) 2021-06-17 15:46:21 -04:00
Rijk van Zanten
3f6ccda2f0 Fixed issue that would cause uploads to the root folder of the file library to fail (#6348)
fixes #6310
2021-06-17 15:46:21 -04:00
Rijk van Zanten
2868fd6bf6 Redact tokens from logs (#6347) 2021-06-17 15:46:21 -04:00
Thijs-Jan
d7835e036a Add support for read hooks on items (#6341)
* Add emitter on item read

* Add performance warning to docs

* Make result instead of query the payload
2021-06-17 15:46:21 -04:00
renovate[bot]
fb738c246b fix(deps): pin dependencies (#6323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
Aiden Foxx
980be7cb53 Fixed invalid onDelete constraint for some schemas (#6308)
* Fixed invalid onDelete clause for some schemas

* Ran prettier

* Updated all onDelete statements to be Oracle friendly

Co-authored-by: Aiden Foxx <aiden.foxx@sbab.se>
2021-06-17 15:43:32 -04:00
renovate[bot]
9eb3a77689 chore(deps): update dependency typescript to v4.3.4 (#6357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:00:05 -04:00
Nacho García
0b8fb9fae8 Change cache-control heeaders (#6355) 2021-06-17 14:55:27 -04:00
renovate[bot]
998c1bafb8 chore(deps): update dependency typescript to v4.3.3 (#6329)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 11:44:37 -04:00
rijkvanzanten
95187e14cb Trim val before check
h/t @aidenfoxx
2021-06-17 11:20:56 -04:00
Rijk van Zanten
e96c77a819 Don't send sensitive data in webhooks (#6350)
Fixes #6246
2021-06-17 11:13:31 -04:00
Rijk van Zanten
e033e17326 Use existing file extension as default (#6349) 2021-06-17 11:06:00 -04:00
Rijk van Zanten
6d698d1a7b Fixed issue that would cause uploads to the root folder of the file library to fail (#6348)
fixes #6310
2021-06-17 11:02:13 -04:00
Rijk van Zanten
a8356302de Redact tokens from logs (#6347) 2021-06-17 10:57:52 -04:00
Thijs-Jan
e4b9bf06a0 Add support for read hooks on items (#6341)
* Add emitter on item read

* Add performance warning to docs

* Make result instead of query the payload
2021-06-17 10:56:52 -04:00
renovate[bot]
d4be69afef fix(deps): pin dependencies (#6323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 09:50:17 -04:00
rijkvanzanten
16d26bce0c Finish date retrieval abstraction for all vendors 2021-06-16 18:22:24 -04:00
rijkvanzanten
7ea10b2e21 Fix missing knex passthrough 2021-06-16 17:46:49 -04:00
rijkvanzanten
ea79d692e4 Allow functions in sort/filter 2021-06-16 17:39:39 -04:00
rijkvanzanten
81ba81a276 Add fields support for date functions 2021-06-16 16:35:27 -04:00
rijkvanzanten
d52f27339c Restructure fn helper 2021-06-16 15:41:16 -04:00
rijkvanzanten
d5685d69e9 Setup datetime abstraction 2021-06-16 15:07:09 -04:00
rijkvanzanten
a857ce1c17 Update params to match fields 2021-06-16 14:41:44 -04:00
rijkvanzanten
6f7ee2584d Merge branch 'main' into aggregation 2021-06-16 11:32:01 -04:00
dependabot[bot]
c86c6634ce Bump inquirer from 8.1.0 to 8.1.1 (#6304)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.0...inquirer@8.1.1)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 09:27:44 -04:00
Rijk van Zanten
d56f02697a Allow overriding the s-maxage cache header (#6294)
* Allow overriding the s-maxage cache header

* Only load expiry / set headers when cache exists
2021-06-15 17:11:29 -04:00