* Extract ignored settings requires by azure authentication
* Change the way to extract initial database settings
* Fix invalid names after extracting from env util
* Replace missing var after solving conflicts
* Add default value to poolconfig
* This should unbreak it
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Remove npmrc files which prevent lockfile creation in workspaces
Since `v8.5.0` npm will detect that it is running inside a workspace and issue commands at the root package.
* Require a minimum npm version of 8.5.0
* opt-in for reading of files from environment variables suffixed with _FILE
* updated docs for new environment variable
* [WIP] allow list
* moved allow list to constants file
* updated whitelist logic for regex matches
* Revert "updated docs for new environment variable"
This reverts commit 584966df38.
* moved allow list back to env.ts to prevent circular dependency
* Validate type of items' primary keys
* Update tests
* Update validations
* Remove DB specific check for statusCode in existing e2e test
* Extract as util function
* Add unit test
* Refactor to generic validateKeys
* Revert changes from #11737 to applyFilter
* Add case insensitive operators
* Improve ordering of operators
* Make filters test values more generic and improve structure
* Return chunk even if range is greater than filesize
* Allow range.start or range.end to not be defined
Examples:
bytes=-300
bytes=300-
bytes=-300- (negative start)
* Make expression lazy instead of greedy
Fix CodeQL "Polynomial regular expression used on uncontrolled data"
* Improve checks readability
* Show proper range in case of failure
* Fix compare falsy values vs zero values
* replace regex
* Handle range validation in a single place
* Clean validation
* Use range object for exception
* Resolve range undefined check
* Prefer strict equality checks
* Cleanup
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
* GraphQL count aggregation for all fields
Fixes#11792
* Rename countRows to countAll
* moved function to new apply-query folder
Co-authored-by: jaycammarano <jay.cammarano@gmail.com>
* Sort keys to ensure order
* Set query limit as the number of keys
* Add query limit only when reading by keys
* Update test
* Check if keys is of array type
* Update knex to version 2.0.0
Fixes#10842
* Remove unused optional dependencies
* Update sqlite3 to version 5.0.6
* Fix returning primary key when inserting items into database
* first attempt at nested sorting
* pull out addJoin so it can be reused
* Move get-relation-info to file, add tests
* Extract get-column-path, add tests
* Little cleanup
* Prevent the regex from blowing up with malicious input
* Allow sorting on m2o fields in the tabular layout
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>