Commit Graph

137 Commits

Author SHA1 Message Date
Iain Sproat 8842a8f840 chore(deps): bump express to 4.19.2 (#2166)
* chore(deps): bump express to 4.19.2
- address https://security.snyk.io/vuln/SNYK-JS-EXPRESS-6474509

* chore(deps): update express used by speckle-server
2024-03-26 10:23:04 +00:00
andrewwallacespeckle 3c83d31459 [WBX-103] - FE1 to FE2 Messaging (#2121)
* Home page & Nav Footer

* FE1 Changes

* FE2 Changes WIP

* Dark mode onboarding

* FE2 Cookie for Banner/Dialog

* FE1 DIalog WIP

* Local Storage for FE1

* Add bgcolour to segmentation

* Add responsive message to fe1 login

* Update SVGS

* Fix build WIP

* Skip to Close

* Changes from Agi testing

* Update announcement banner

Updated icons, copy, spacings

* Update FE2 announcement copy and links

* Add video to FE2 announcement dialog

* Add video to FE1

* Minor Updates pre CR

* Update blog link

* Remove menu item

* Rename Dismissed

* added fe2 messaging query field

* Updates from CR

* helm chart changes

* Use new env for displaying fe2 messaging

* Fix build

* fixed helm readme values

* Updates from CR

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-03-14 13:19:29 +00:00
Iain Sproat 185d84530e ci(docker compose & helm chart): test deployment configuration in CI (#1881) 2024-01-30 15:21:18 +00:00
Iain Sproat 229f31040d chore(deps): bumps serialize-javascript to 6.0.2 (#1961)
- bumps serialize-javascript
- bumps mocha
- replaces superseded & archived rollup-plugin-terser with @rollup/plugin-terser
2024-01-12 22:32:14 +00:00
Iain Sproat 819df9bc65 Prefer docker compose over docker-compose (#1895) 2023-12-21 18:45:20 +00:00
Iain Sproat 3db83e50be chore(deps): bump node from 18.18.2 to 18.19.0 (#1921)
* chore(deps): bump node from 18.18.2 to 18.19.0

* Additional dependencies
2023-12-15 11:30:07 +01:00
Iain Sproat ac558564a4 chore(deps): bump axios to 1.6.2 (#1911)
* chore(deps): bump axios to 1.6.2
* Bump wait-on version to prevent conflict
2023-12-14 14:24:33 +00:00
Iain Sproat 438c6bbf0d chore(deps): bump node from 18.17.1 to 18.18.2 (#1844) 2023-10-31 18:08:25 +00:00
Iain Sproat c46e695612 chore(deps): force bump of @babel/traverse to >=7.23.2 through resolutions (#1826) 2023-10-18 16:37:42 +01:00
Iain Sproat 683c76cda4 Revert "fix(package.json): tidy resolutions - attempt 2 (#1784)" (#1785)
This reverts commit 3af833ceb5.
2023-09-06 09:57:39 +01:00
Iain Sproat 3af833ceb5 fix(package.json): tidy resolutions - attempt 2 (#1784)
* Revert "Revert "fix(server/package.json): tidy resolutions (#1782)" (#1783)"
* Explicitly provide dependency in frontend-2
2023-09-06 09:31:38 +01:00
Iain Sproat e1f32cddde Revert "fix(server/package.json): tidy resolutions (#1782)" (#1783)
This reverts commit c2419f038b.
2023-09-05 13:59:57 +01:00
Iain Sproat c2419f038b fix(server/package.json): tidy resolutions (#1782)
* fix(package.json): resolutions should not be pinned to the minor
* fix(package.json): remove unnecessary resolutions
2023-09-05 13:26:14 +01:00
Kristaps Fabians Geikins 6b6c6b3bfa chore: updating various dependencies (#1774)
* chore: updating nuxt & apollo client

* global tsc update
2023-08-25 14:31:08 +03:00
Iain Sproat 080e8197f9 chore(deps): bump node from 18.17.0 to 18.17.1 (#1771) 2023-08-24 10:55:43 +01:00
Iain Sproat ea941b3b81 chore(deps): bump node to 18.17.0 (#1722) 2023-07-26 12:38:50 +01:00
Iain Sproat a7f6fc0aba chore(deps): bump fast-xml-parser 4.2.4 to >=4.2.5 (#1710) 2023-07-18 14:30:53 +01:00
Iain Sproat e0819bb690 chore(deps): bump bl to >=1.2.3 and semver 7.0.0 to 7.5.4 (#1709)
* chore(deps): bump bl >=1.2.3
* sort resolutions in alphabetical order
* chore(deps): bump semver 7.0.0 to 7.5.4
2023-07-18 14:12:35 +01:00
Iain Sproat b8ce7b550b chore(deps): bump xml2js >=0.5.0 (#1708)
* chore(deps): bump xml2js to >=0.5.0
2023-07-18 13:46:27 +01:00
Iain Sproat 0f0215494b chore(deps): resolve word-wrap to a patched fork (#1707) 2023-07-18 12:42:11 +01:00
Iain Sproat e98b25ea55 chore(deps): bump tough cookie >=4.1.3 (#1706)
* chore(deps): bump tough-cookie >=4.1.3
2023-07-18 12:27:25 +01:00
Iain Sproat 4ac3d7477e chore(deps): bump semver to >=5.7.2 (#1705)
* chore(deps): bump semver to 7.5.4

* chore(deps): bump semver to >=4.3.2

* chore(deps): bump semver <7.5.4 to 7.5.4

* chore(deps): bump semver <5.7.2 to >=5.7.2
2023-07-18 12:13:36 +01:00
Iain Sproat ffc3c5186f chore(node): bump to 18.16.1 (#1675) 2023-07-07 16:54:18 +01:00
Kristaps Fabians Geikins a42ee35c09 fix(server): self-cleaning sub dataloaders + Comment.data type change 2023-05-22 21:00:27 +03:00
Kristaps Fabians Geikins bde4c36be3 adding profiling utils 2023-05-22 17:12:36 +03:00
Kristaps Fabians Geikins 2eb5f51af3 feat: dui3 package (#1585) 2023-05-19 16:57:28 +03:00
Kristaps Fabians Geikins 7d3be1d131 feat: tailwind theme & Vue base components extracted to own NPM packages (#1576) 2023-05-16 13:43:04 +03:00
Iain Sproat b1cbd05683 feat(circleci): adds a new step to ensure Helm Chart documentation is kept in line with Helm Chart (#1574)
* fix(helm): update documentation to match helm chart
* fix(helm): update documentation should not update README in helm repository
* fix(helm): should ensure output schema conforms to prettier requirements
* feat(pre-commit): update helm documentation as part of pre-commit
* feat(circleci): update Helm README when publishing new Helm chart
* fix(pre-commit): need to npm install before using readme generator
2023-05-12 13:26:28 +01:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00
Iain Sproat 4eab7d9dcd chore(deps): bump node to 18.16.0 (#1564) 2023-05-05 12:43:39 +01:00
Iain Sproat 87e8d08e64 chore(deps): bump node to 18.15.0 (#1446) 2023-03-10 11:01:30 +00:00
Iain Sproat d8b7123ed0 chore(deps): bump node from 18.14.0 to 18.14.2 (#1426) 2023-03-01 12:16:55 +00:00
Iain Sproat a6fba9ebd3 chore(node): bump node version to 18.14.0 (#1365) 2023-02-10 11:44:44 +00:00
Iain Sproat ee50b32b59 chore(node): upgrades to node 18 (#1189)
* chore(node): upgrades to node 18

Node 16 was out of support (but not security upgrades), so bumping to next stable version.

https://github.com/specklesystems/speckle-server/issues/1187

* Update server liveness and readiness probes for node 18
* Bump web-ifc to 0.0.36
* Apply `--no-experimental-fetch` flag to fileimport-service to prevent issues in web-ifc (via emscripten) with node 18
2022-12-06 12:57:48 +00:00
Iain Sproat 4d01e13a84 feat(structured logging) (#1242)
* Revert "Revert structured logging 2 (#1240)"
This reverts commit 78ecaeffcb.
* Logging should not be bundled into core shared directory
* making sure observability stuff isnt bundled into frontend


Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2022-12-06 11:51:18 +00:00
Iain Sproat 78ecaeffcb Revert structured logging 2 (#1240)
* Revert "'@' shortcut must come after it is configured in bootstrap (#1239)"

This reverts commit 967329473f.

* Revert "Structured logging (attempt 2) (#1234)"

This reverts commit 444d2ca7dd.
2022-12-05 15:46:09 +00:00
Iain Sproat 444d2ca7dd Structured logging (attempt 2) (#1234)
* Revert "Revert "feat(structured logging): implements structured logging for backend (#1217)" (#1227)"

This reverts commit 63e6581162.

* Use pino-http instead of express pino logger
* Use correct reference to knex and do not instantiate HttpLogger prematurely
* Adds missing dependency for pino to webhook-service
* Do not instantiate middleware when passed to express
* Refactor to move logging into shared
* Copy shared packages into dockerfiles
* Build shared workspace in docker build-stage for fileimport & webhook
2022-12-05 14:49:52 +00:00
Iain Sproat 63e6581162 Revert "feat(structured logging): implements structured logging for backend (#1217)" (#1227)
This reverts commit 84cb74e8b3.
2022-11-25 16:57:28 +00:00
Iain Sproat 84cb74e8b3 feat(structured logging): implements structured logging for backend (#1217)
* each log line is a json object
* structured logging allows logs to be ingested by machines and the logs to be indexed and queried addresses #1105
* structured logging allows arbitrary properties to be appended to each log line, and ingestion of logs to remain robust
* Structured logging provided by `pino` library
* Add `express-pino-logger` dependency
* Remove `debug`, `morgan`, and `morgan-debug` and replace with structured logging
* `console.log` & `console.error` replaced with structured logging in backend
* Remove `DEBUG` environment variable and replace with `LOG_LEVEL`
- Note that there is a test which reads from a logged line on `stdout`. This is not robust, it would be better to use the childProcess.pid to look up the port number.
* Log errors at points we explicitly send error to Sentry
* Amend indentation of a couple of log messages to align indentation with others
2022-11-25 16:05:05 +00:00
Iain Sproat b2ca83efc5 fix(package.json): upgrades commitizen to ^4.2.5 (#1139)
Upgrades directly referenced commitizen to ^4.2.5, which includes version 1.2.6 of minimist

https://github.com/specklesystems/admin/issues/358
2022-10-25 11:33:15 +01:00
Kristaps Fabians Geikins 55c736118b feat(frontend): share buttons directly on commit cards + batch commit actions UX improvements (#1122)
* feat(frontend): help message for disabled checkboxes on commit cards

* refactor: share-stream-dialog cleanup

* refactor: further share-stream-dialog prep for more usages

* feat(server): sharing directly from commit grid cards

* feat(server): sharing directly from commit list cards

* refactor: removing unnecessary dev tests
2022-10-25 13:16:33 +03:00
Kristaps Fabians Geikins 5f48ae8086 feat(server): optimized command for importing commits from other servers (#1113) 2022-10-17 10:32:01 +03:00
Kristaps Fabians Geikins 0a58381174 feat: @speckle/shared & some comments fixes (#997) 2022-10-10 16:32:23 +03:00
Kristaps Fabians Geikins db6a3e9367 refactor(server): apollo server v2 -> v3 migration (#1071) 2022-10-06 11:12:16 +03:00
Kristaps Fabians Geikins 2fef8b7de3 refactor(frontend): vue cli v4 -> vite (#1000) 2022-10-05 15:59:11 +03:00
Kristaps Fabians Geikins 05f11a26da feat: batch commit delete/move (#1016)
* feat: batch delete/move commits

* fix: ts linter issue
2022-09-22 16:49:18 +03:00
Gergő Jedlicska d1d5984e30 gergo/summaryEmails (#979)
* refactor(server emails): email transports module refactor to TypeScript

* refactor(docker-compose deps): move local email server to common dev compose file

* chore(server launch.json): add ts-node script running example

* chore(server deps): add nodemailer types package

* refactor(server activitystream): add strongly typed activity definitions

* feat(server activitystream): add activity repository

* feat(server info): add canonical url on the service level

* feat(server): add static file serving route to server core

* feat(server): add dependencies for periodical email digests

* feat(server activity stream): call the initialization step from the activity stream module

* feat(server activity digest): add WIP weekly email digest implementation

* feat(server digest email): smul upgrades and fixes to the email template and its contents

* just for Fabs to test

* chore(root package.json): remove deleted docker-compose references

* feat(frontend profile): add notification preferences panel

* feat(server digest emails): set prod ready cron tab and timespan

* refactor(server email digest): move templates into the email module

* refactor(server activity digests): refactor to use notifications infrastructure

* test(server activities): add tests and some refactor to activities and notification preferences

* refactor(notification preferences): fix minor issues

* test(server notification preferences test): fix describe nesting

* fix(server activities): add missing action types

* fix(server activities): fix errors after merging main

* test(server activity notifications): add test coverage for activity notifications service

* refactor(server activities): fixing tests and some cleanup

* feat(server cli): add summary notification command to cli

* chore(dev env db versions): upgrade local dev env versions

* chore(server deps): upgrade local dev db to pg 14

* fix(docker-compose): bind maildev to localhost

* process-scoped notifications test queues

* test(activity tests): add  sleep to fix flaky CI

* feat(activity digests): add demo date for digest trigger

* feat(activity digest): add UK timezone trigger date

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Fabians <fabis94@live.com>
2022-09-09 12:46:57 +02:00
Kristaps Fabians Geikins f991504932 feat: stream access requests (#976) 2022-09-06 11:10:38 +03:00
Kristaps Fabians Geikins 651dee0977 feat(server): stream discoverability flag & queries (#948) 2022-08-24 13:46:24 +03:00
Iain Sproat 49fdd818ce docs(helm chart): values.yaml is documented and json.schema provided (#932)
* docs(helm chart): values.yaml is documented and json.schema provided

Helm Chart values.yaml file is documented with inline comments.  These have been used to generate a
README (in the helm repo) and a values.json.schema file.

fixes https://github.com/specklesystems/speckle-server/issues/887
fixes https://github.com/specklesystems/speckle-server/issues/867
2022-08-16 14:41:34 +01:00