* Allow both POST and GET responses in OAuth flow
* Be more explicit about which method we fetch OAuth data from
* Removed unnecessary error handling in OAuth router
* Fixed method check in OAuth router
* Simplified method check
* Added POST support to OpenID flow
* Prefer redirect on OpenID POST to retain LAX cookie policy
* Prefer redirect on OAuth2 POST to retain LAX cookie policy
* Update api/src/auth/drivers/oauth2.ts
* Update api/src/auth/drivers/openid.ts
* remove request header check in files POST
* basic test
* it's filename_download instead of file_download
* unused vars begone
* make type required when creating file via JSON
* fix blackbox test
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Prevent changing to or from alias type
* Prevent infinite delete loop
* Display error when saving
* More validation for M2M and M2A
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
* Update API non-majors
* Update major changes
* Temp fix for type warning in sdk
* Resolve missing new keyword in GraphQLNonNull use
* Lock versions in api
* Update and lock versions in shared
* Update lockfile
* Fix build type errors in api
* Update app patches/minors
* Upgrade major versions
* Lock versions
* Upgrade root deps
* Update packages
* Switch from pino-colada to pino-pretty
* Update snapshots
* Fix globby sync usage
* Remove globals from jest config
* No ranges
* Revert "Remove globals from jest config"
This reverts commit e249e2c8fe.
* Revert "Upgrade root deps"
This reverts commit 62add28a85.
* Update non-jest stuff
* We'll keep trying
* Update globby to latest minor only
* Test on all vendors
* Revert test on all vendors
* Fix linting
* Preserve request log format
* Preserve existing timestamp format and allow configuration
* Use lodash merge to allow for nested objects
Co-authored-by: ian <licitdev@gmail.com>
* Add collections batch update endpoint
* Use collections batch update when sorting in data model
* Add autoPurgeSystemCache option
* Change type to false for consistency
* Refactor to InvalidPayloadException
* Add collection batch update test
* Bump default max payload size to 1mb
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Skip parsing of date strings that only contain zeros
* Allow dot in case of sub seconds and set min length as 10
* Add unit test to confirm parsing as null
* Fix timezone differences when running unit tests
* Throw nicer error if field does not exist on collection
* Simplify type signature and shift to be consistent with validateFilterOperator
Co-authored-by: ian <licitdev@gmail.com>
* missing icontains for strings, missing eq, neq for geo, missing in, nin for dates
* fix unit test
* fix unit test part 2
* Update packages/shared/src/utils/get-filter-operators-for-type.ts
Co-authored-by: ian <licitdev@gmail.com>
* fix tests?
* fix tests?
Co-authored-by: ian <licitdev@gmail.com>
* Do not require primary key on data on create / update
* Do not put fields non nullable if they have default value
* Handle manually entered primary keys (don't have default value)
* Allow uuid PK to be nullable
Co-authored-by: ian <licitdev@gmail.com>
* Allow user to send a WYSIWYG email body
* Revert "Allow user to send a WYSIWYG email body"
This reverts commit b65aeb4efc.
* Use a dropdown to select between WYSIWYG and Markdown Editor
* Change input-rich-text-* to wysiwyg or markdown
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
* revisions for CRUD operations with $full
* Update api/src/operations/item-update/index.ts
Co-authored-by: ian <licitdev@gmail.com>
* add system role to getAccountabilityForRole and add it to create, delete and update items operations
* Whitespace consistency
Co-authored-by: ian <licitdev@gmail.com>
* Disable foreign check outside the trx in SQLite
* Update test
* Test if working for all vendors
* Fix sequential tests flow
* Revert triggering for all vendors
* Fix sort field assignment in relationships
* fixed a merge error
* add sort logic to API
* using isNil for a more concise condition expression
* Removed the custom getSortMax function in favor of Math.max
* increment sort value accordingly for bulk creates
* make reordering sort start with 1 instead of 0
* account for bulk create in API side
* removed the redundant frontend sorting code
* reverted change from pr #14987
* updated selectedOnPage to support both item duplication and sorting
* Revert "account for bulk create in API side"
This reverts commit b37ed207f3.
* re-add bulk create increment sort logic
* prevent sending "+" as primary key for newly created relational items (#15353)
* re-add the removed new line as it felt odd
* ensure sql query fires once only
* fix return value
* use `.max()`
Co-authored-by: André Gaul <andre@gaul.io>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>