Commit Graph

26 Commits

Author SHA1 Message Date
Gergő Jedlicska 89dccd8495 feat(server): add speckle automate as a configurable default app (#1540)
* feat(server): add speckle automate as a configurable default app

* feat(server): add default automate url, and helm values

* fix default app tests reporting the old number
2023-04-19 12:59:59 +02:00
Gergő Jedlicska 92887af32f gergo/powerBiApp (#1353)
* feat(server default apps): add powerbi as a default app on the servers

* feat(server powerbi app): remove stream write permission from the powerbi app

* fix(defaultApps): make sure id and secret are the proper length

* feat(defaultApps): throw if something goes wrong during init

* tests(server default apps): update the default app count on the server
2023-02-02 10:56:44 +02:00
Gergő Jedlicska 8e3add7788 feat(server default apps): add powerbi as a default app on the servers (#1344)
* feat(server default apps): add powerbi as a default app on the servers

* feat(server powerbi app): remove stream write permission from the powerbi app
2023-01-26 14:04:51 +01: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
Matteo Cominetti 0563296f6f feat(server): extends invite scope 2022-05-13 10:15:56 +01:00
Dimitrie Stefanescu 4bf130efe7 chore(app scope handling): adds logging 2022-05-11 10:30:38 +01:00
Gergő Jedlicska a92028d47f refactor(server default apps): i dont like mutating input objects inside functions 2022-04-28 15:38:56 +02:00
Gergő Jedlicska fc21bbfa02 refactor(server default apps): clean default apps update implementation 2022-04-28 14:32:13 +02:00
Gergő Jedlicska 849b6fc90e feat(server app scopes): initial transation imp for updating user app tokens for default apps 2022-04-28 13:38:09 +02:00
Gergő Jedlicska 765e6e3080 refactor(server default apps): minor cleanup 2022-04-25 18:39:18 +02:00
Gergő Jedlicska 295d66cc18 feat(default apps): update manager and connectors with user invite scopes
fix #679
2022-04-25 11:56:39 +02:00
Gergő Jedlicska d9bcada494 feat(server default apps): remove revoke default app credentials after updating it
fix #680
2022-04-25 11:47:08 +02:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 569b4688fa style(all): reformat with print width 88 2022-03-29 19:46:49 +02:00
Fabians aa5e94d640 chore: reformatting everything with prettier 2022-03-29 17:12:31 +03:00
Matteo Cominetti 01ca45ff48 feat(server): adds a default registered app for authenticating connectors without manager 2022-03-16 17:50:37 +00:00
Dimitrie Stefanescu 5a97f1716e fix(server/cors): enables cors on upload endpoints 2021-09-29 10:53:18 +01:00
Dimitrie Stefanescu 2f61cef46a fix(server): changes excel app name to make sure we're not infringing on trademarks 😬 2021-06-02 17:26:57 +01:00
Dimitrie Stefanescu 87baf940e2 fix(server): adds link to docs for excel app 2021-06-02 17:24:51 +01:00
Dimitrie Stefanescu 5f83c79bf9 feat(server): adds a default app for the excel connector 2021-06-02 17:18:24 +01:00
Dimitrie Stefanescu fab0a1cae9 fix(server): fixes explorer app redirect url registration
now using proper url concatenation
2021-03-17 10:26:15 +00:00
Dimitrie Stefanescu cd95c28939 refactor(global): restructures repo with lerna 2021-01-03 13:35:53 +02:00