Commit Graph

29 Commits

Author SHA1 Message Date
Alessandro Magionami 17c8c66d5b Merge pull request #3271 from specklesystems/fabians/core-ioc-51
chore(server): core IoC #51 - getUser(s)Factory
2024-10-15 09:52:55 +02:00
Iain Sproat 8860f76a6f chore(deprecate FE1): update urls to point to *.speckle.systems (#2515)
* chore(deprecate FE1): update urls to point to *.speckle.systems

* Revert change to urlhelper.ts

* Update the logo in the helm chart
2024-10-14 19:30:00 +01:00
Kristaps Fabians Geikins 1cb27e6fdd chore(server): core IoC #51 - getUser(s)Factory 2024-10-14 17:24:11 +03:00
Kristaps Fabians Geikins 30331c6f8e chore(server): core IoC #48 - markCommitStreamUpdatedFactory 2024-10-14 16:01:53 +03:00
Alessandro Magionami d489975037 Activitystream IoC 4 addCommitCreatedActivity (#3239)
* chore(activitystream): addStreamUpdatedActivity refactor multi region

* chore(activitystream): addStreamAccessRequestedActivity refactor multiregion

* chore(activitystream): addStreamAccessRequestDeclinedActivity refactor multiregion

* chore(activitystream): onUserCreated refactor multiregion

* chore(activitystream): addCommitCreatedActivity refactor multiregion

* chore(activitystream): fix types
2024-10-11 15:49:38 +02:00
Kristaps Fabians Geikins 380fe049e6 chore(server): IoC 31 - getStreamCollaboratorsFactory 2024-10-09 10:39:29 +03:00
Kristaps Fabians Geikins 5b5dd201e2 chore(server): IoC 29 - getStream(s)Factory 2024-10-09 10:39:00 +03:00
Kristaps Fabians Geikins 84130ccfa1 chore(server): core IoC 27 - getObjectFactory 2024-10-07 18:55:33 +03:00
Kristaps Fabians Geikins 96c30f50cb chore(server): core IoC 26 - getStreamObjectsFactory 2024-10-07 18:13:18 +03:00
Fabis c6486b4ef4 chore(server): core IoC 19 - getAllBranchCommitsFactory 2024-10-01 16:49:06 +01:00
Fabis 857210be10 chore(server): core IoC 17 - createCommitByBranchIdFactory 2024-10-01 14:45:12 +01:00
Kristaps Fabians Geikins f42dea7331 chore(server): core IoC 16 - getSpecificBranchCommitsFactory 2024-09-27 14:32:13 +03:00
Kristaps Fabians Geikins b2459e84e9 chore(server): core IoC 5 - getBranchLatestCommitsFactory 2024-09-26 15:48:07 +03:00
Kristaps Fabians Geikins 0f27d41cae chore(server): core IoC 4 - getStreamBranch(es)ByNameFactory 2024-09-26 15:26:48 +03:00
Kristaps Fabians Geikins afc6477745 chore(server): comments IoC 10 - createCommentReplyAndNotifyFactory 2024-09-24 13:14:28 +03:00
Kristaps Fabians Geikins 5ab3428456 chore(server): comments IoC 9 - createCommentThreadAndNotifyFactory 2024-09-24 12:57:08 +03:00
Kristaps Fabians Geikins 2243df5ef5 chore(server): cross-server-sync IoC Part 1 (#2906) 2024-09-09 17:46:46 +03:00
Kristaps Fabians Geikins 94b0b5f5e0 fix(server): cross server sync not respecting token (#2181)
* fix(server): cross server sync not respecting token

* minor adjustment

* getting rid of token positional arg
2024-03-29 15:21:06 +02:00
Kristaps Fabians Geikins 951d86aa3e feat(server): cross-server onboarding stream sync + DL project CLI command (#1717)
* WIP

* cleanup and sync MVP kinda done

* WIP

* logging improved a bit

* fixed version sorting

* onboarding base stream creation works

* moved onboarding stream to use new base
2023-07-31 11:44:39 +03:00
Kristaps Fabians Geikins 80df259159 feat(server): improved cross-server commit/version download (#1711) 2023-07-19 11:43:06 +03:00
Gergő Jedlicska 075fb82907 add FE2 terminology to commit create webhook (#1657) 2023-06-28 09:17:55 +02:00
Kristaps Fabians Geikins 6d08889a79 fix(fe2): various minor regressions (#1622)
* fix(server): viewerState sometimes reporting wrong isOrthoProjection value

* feat: more resilient viewerState read/write

* feat: more resilient viewerState read/write

* fix(fe2): dashboard not showing empty state properly

* fix(fe2): weird thread opening/closing behaviour

* feat(cli): specifying token for commit download

* fix(fe2): selection not being set for opened threads
2023-06-13 13:55:55 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03: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
Kristaps Fabians Geikins 5f48ae8086 feat(server): optimized command for importing commits from other servers (#1113) 2022-10-17 10:32:01 +03:00