Commit a973f41
authored
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 file1 parent 7890f1a commit a973f41
File tree
141 files changed
+14554
-51846
lines changed- .github/workflows
- docker
- auth-idp
- saml
- server
- docs
- instance
- plugins
- image/service
- src
- nga-msi
- service
- functionalTests
- assets
- exports
- main
- src
- @types/express
- adapters
- feeds/api_docs
- icons
- observations
- api
- app.api/observations
- app.impl/observations
- authentication
- docs/auth
- entities
- authorization
- events
- locations
- observations
- environment
- export
- migrations
- models
- provision
- routes
- test
- adapters/observations
- app/observations
- entities
- events
- observations
- export
- migrations
- web-app
- projects/core-lib
- common
- feed
- static-icon
- user
- src
- app
- admin/admin-authentication
- admin-authentication-create
- admin-authentication-saml
- api
- export
- plugin
- ng1
- admin/events/forms/feed
- authentication
- factories
- mage
- user
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
141 files changed
+14554
-51846
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
17 | 14 | | |
18 | 15 | | |
19 | | - | |
| 16 | + | |
20 | 17 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
This file was deleted.
0 commit comments