Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependency updates and export fixes (#195)
* [web-app] test insecure transport resolution * [web-app] fortify: try to resolve insecure random false positives * [web-app] fortify: try to resolve insecure transport false positive findings * [service] delete obsolete openapi doc * [web-app] set post method on forms to avoid fortify scan password management false positive * [web-app] set autocomplete false on password fields to resolve fortify scan findings * [service] fortify scan: rename http variable to resolve insecure transport false positive * [plugins/nga-msi] owasp dep check: upgrade axios dependency * [service] owasp dep check: upgrade moment and pug * [service] owasp dep check: upgrade xmldom * [service] owasp dep check: remove unused dep @mapbox/togeojson * [service] owasp dep check: remove unused deps terraformer, terrformer-arcgis-parser * [plugins/nga-msi] bump patch version * [service] owasp dep check: upgrade async package * [service] owasp dep check: upgrade body-parser package to transitively upgrade qs package and sync with express * [web-app] owasp dep check: upgrade underscore * [service] owasp dep check: upgrade cpy-cli to remove trim-newlines * [service] owasp dep check: upgrade multer to remove dicer dep * [service] fortify scan: remove localhost http server from openapi doc to resolve insecure transport finding * bump core versions to 6.2.10-beta.0 * [service] update better-sqlite3 to 8.6+ so the build works with node 20 on macos * [service] owasp dep check: upgrade jsonwebtoken * [service] owasp dep check: upgrade passport before upgrading related passport plugins * [service] owasp dep check: removed apparently unused openid-client dependency to resolove finding in transitive decode-uri-component * [service] owasp dep check: upgrade passport-saml to @node-saml/passport-saml * [service] owasp dep check: upgrade express * [service] remove unnecessary type cast * [service] fix type conflict with @node-saml/passport-saml request user property * resolve type conflicts between service and image plugin * [plugins/nga-msi] generate new package-lock, bump peer mage.service beta version, bump patch version * [plugins/image] bump service patch version * [service] update xmldom imports to scoped package * [service] fix timestamp bug in test * [service] move top level eslint config to service * [service] update eslint * [ci] remove node 14 from the testing list * [service] improve eslint config * [service] remove unused geojson-vt dependency * [service] add error logging to kml layer import * [service] layer routes: - remove unused pbf format handling which would crash if exercised anyway - refactor copy-pasted handler for getting geopackage tiles * [web-app] remove unused leaflet.vectorgrid dependency * [service] remove unused jose dependency * [docker] add saml test container * [web-app] consider port when comparing origin of idp popup window login result message * [web-app][service] post json for auth configuration instead of form url encoded with json string * [web-app][service] stop erroneously using old options key in saml settings * [service][web-app] make saml cert required, because passport-saml now requires cert * [service][web-app] change saml privateCert setting to privateKey to match passport-saml * [service] add db migration to move saml settings.options entries to settings * changelog * [service] rename export modules to typescript modules * [service] make base exporter a proper class * [service] make csv exporter a proper class * [service] fix type definitions on legacy models * [service] cleanup types in csv exporter * [service] fix potential null referenced in csv exporter * [service] add mage event entity to base exporter * [service] add types for archiver and json2csv * [service] add properties to location entity * [service] change kml exporter to proper class * [service] change kmlWriter module to functions instead of unnecessary class and single exported instance * [service] minor lint and formatting fixes * changelog * [service] wip: exports typescript migration [skip ci] * [service] kml export compiles * [service] add a few doc comments * [service] fix color function in kml export * [service] geopackage export: change requires to imports * [service] geopackage export: remove unnecessary canvas kit setting * [service] geopackage export: change to class syntax * [service] geopackage export: add initial type annotations * [service] geopackage export: fix more type issues and make code safer from reference errors * [service] geopackage export: fix remaining type issues and close a cursor on the location query * [service] todo comment * [service] geojson export: change require statements to import * [service] geojson export: change to ecmascript class from prototype * [service] geopackage export: move some methods that never reference `this` to module functions * [service] geojson export: add types and simplify observation property mapping * [service] geojson export: fix remaining type errors * [service] exports: replace exporter factory with index module and typed api * [service] exports: change routes to typescript file * [service] exports routes: change requires to imports * [service] exports: fix type errors in routes and add model type definitions * fix bloated package-lock in project root * [service] fix turf centroid type discrepancies * [service] exports: update tests to use new factory function * [service] exports: revert to export factory instance to make old tests pass * [service] exports: get exporter factory tests passing * [service] exports: fix geopackage test import * [service] exports: fix csv test import * [service] fix style copying * [service] exports: fix csv tests * [service] exports: fix geopackage tests * [service] upgrade supertest dependency * [service] upgrade supertest and superagent types * [service] upgrade mongodb-memory-server * [service] add axios for functional tests * [service] fn-test: add client and server stack for functional tests * [service] fn-test: add package path mapping in tsconfig * [service] fix boolean condition to allow 0 as the server port which prompts the http server to pick a random open port * [service] do not emit the mage ready event until after the http server starts listening * [service] fn-test: * undo ts path mapping which only works for types * start test stack as child process because of global env parameters * [service] fix validation message * [service] fn-test: fix setup request in test client * [service] fn-test: fix response code expectation * [service] fn-test: fix mongodb cleanup error `StateError` * [service] fn-test: update mongodb-memory-server dep * [service] fn-test: add types and methods for more client requests * [service] fix deprecated function call * [service] lint error * [service] fn-test: wip * [service] fn-test: wip: client with all operations and partial export fixture setup * [service] upgrade superagent typedefs * [service] lints and misc cleanup * [service] fn-test: remove scratch data before running tests * [service] fn-test: fix icon uploads * [service] fn-test: add method for adding event participants * [service] fn-test: add method to archive forms * [service] fn-test: export test fixtures * [service] fn-test: add delete user method and deleted user observation in exports test * [service] fn-test: exports: geopackage export failing on missing icon * [service] cleanup in geopackage export * [service] add types for legacy icon modules * [service] proper path creation * [service] improve icon model typedef * [service] fix geopackage export icon null reference * [service] fn-test: exports: wait for export method was requesting the route to download the export, not get the export information * [service] fn-test: fix attachment uploads in client * [service] better error response for attachment uploads with mismatched meta-data * [service] fn-test: exports: add several attachments to fixture data * [service] fn-test: exports: fix form field typos * [service] fn-test: exports: fix test filter to include attachments * [service] add comments about export attachment api * [service] fn-test: exports: add remaining export formats in test * [service] try increasing timeout on test setup to avoid failures in ci * [service] fix erroneous user icon path in geopackage export * [service] fn-test: support user icon uploads * [service] fn-test: exports: add user icons * [service] fix observation app test for changed attachment store error response * [service] try again to set the test timeout for downloading mongodb memory server * [service] remove unsupported attachment relative links from csv export * [service] fn-test: client: create and delete devices; update forms; return sign-in result * [service] fn-test: exports: add test cases for deleted devices and invalid stale form entries * [service] log all uncaught errors from express handler * bump core versions to 6.2.10-beta.1 * [service] fn-test: remove unnecessary async modifiers from methods; add methods to manage auth providers; make device id optional for sign-in when device auto-registration is enabled * [service] fn-test: exports: fix failure messages * [service] fn-test: exports: add fixture data to reproduce locations without device ids that cause exports to fail * [service] fix device id null reference in geopackage and csv exports * bump core version to 6.2.10-beta.2 * [plugins/image] upgrade sharp dependency to resolve vulnerability finding * [plugins/image] bump service patch version to 1.0.6 * [service] rename saml settings migrations with a distinct numeric prefix * add doc with notes on oauth setup * [service] fix test for renamed module * bump core prerelease versions to 6.2.0-beta.3 [skip ci] * [docker] add iron bank dockerfile; update docker readme; specify platform in compose file
- Loading branch information