Kristaps Fabians Geikins
f5e4e09c9f
chore(server): auth IoC 11 - createAppTokenFromAccessCodeFactory ( #3032 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
* chore(server): auth IoC 9 - revokeRefreshTokenFactory
* chore(server): auth IoC 10 - createAuthorizationCodeFactory
* chore(server): auth IoC 11 - createAppTokenFromAccessCodeFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:58:37 +02:00
Kristaps Fabians Geikins
52b2601a54
chore(server): auth IoC 10 - createAuthorizationCodeFactory ( #3031 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
* chore(server): auth IoC 9 - revokeRefreshTokenFactory
* chore(server): auth IoC 10 - createAuthorizationCodeFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:54:22 +02:00
Kristaps Fabians Geikins
af37bfb76c
chore(server): auth IoC 9 - revokeRefreshTokenFactory ( #3029 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
* chore(server): auth IoC 9 - revokeRefreshTokenFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:52:07 +02:00
Kristaps Fabians Geikins
59cbafdce5
chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory ( #3028 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:48:12 +02:00
Kristaps Fabians Geikins
3a424ed4a0
chore(server): auth IoC 7 - deleteAppFactory ( #3027 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:45:47 +02:00
Kristaps Fabians Geikins
e58f3f63f1
chore(server): auth IoC 6 - updateAppFactory ( #3026 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:37:23 +02:00
Kristaps Fabians Geikins
d56fca924b
chore(server): auth IoC 5 - createAppFactory ( #3025 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:26:27 +02:00
Kristaps Fabians Geikins
860ebed68a
chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory ( #3019 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2024-09-19 09:22:12 +02:00
Kristaps Fabians Geikins
40cc8caa6f
chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory ( #3018 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
2024-09-19 08:58:13 +02:00
Kristaps Fabians Geikins
1922c0563b
chore(server): auth IoC 2 - getAllPublicAppsFactory
2024-09-17 14:23:57 +03:00
Kristaps Fabians Geikins
68376b91c1
auth IoC 1 - initializeDefaultAppsFactory
2024-09-17 14:04:37 +03:00
Iain Sproat
298d8d6e52
fix(server/authcode): guard against null challenges ( #2643 )
...
- the database expects challenge to be not null, so we should guard against this early before consuming database resources
2024-08-13 09:12:06 +01:00
Gergő Jedlicska
b84b24467d
feat: make automate app registration optional based on the existence of the url config ( #2094 )
...
* feat: make automate app registration optional based on the existence of the url config
* docs: add back automate env var with docs
* feat: app redirect url application side override
* chore: cleanup
2024-02-29 13:32:29 +01:00
Kristaps Fabians Geikins
5cd573355d
feat(server): ability for apps to create new app tokens ( #1942 )
...
* /graphql endpoint fix
* app token creation seems to be done
* added tests
* more tests
* cleaned up TS annotations
* CR cleanup
* TS type fixes
* test fixes
2024-01-09 11:58:38 +02:00
andrewwallacespeckle
76cbcef4e6
Feature - FE2 - Developer Settings ( #1822 )
...
* WIP Developer Settings
* Access Tokens
* scopes load fix
* mapping to correct struct
* Updates to Application
* Update to apps.js to fix scopes error
* Application table done
* Token confirmation done.
* Application Success
* Fix ts
* Darkmode fixes
* Responsive fix
* Fixes for PR
* Pass size prop to Editable Avatar
* Updates from PR comments
* Section Header - TS Types
* Add Typeguard to Delete Dialog
* Add Description to scopes query
* minor type guard fix
* edit application cache update fix
* Fix Dialog Expansion
* Rename mutations to correct casing
* Remove unneeded import for defineProps
---------
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com >
2023-10-26 12:51:05 +01:00
Kristaps Fabians Geikins
d8640bbdc9
feat(ui-components): tags input component ( #1810 )
...
* FormSelectBase converted to generic Vue component
* WIP tags w/ custom input box
* a11y works
* proper tags wrapping
* errors/validation/icon styling
* styling fixes
* autocomplete item resolution
* feat: configurable tags input
* various fixes
* moved avatar components to ui-components
* replaced avatar in frontend-2 w/ new ui-components exports
* new icon loader
* added validation support for avatar editor
* updated fe-2 to use new avatar editor api
* disabled support for avatar editor
* more fixes and improvements
* attempted preview-service fix
* attempted preview-service fix
* added story
* linting fix
* more fixes
* server test fix
2023-10-16 14:10:41 +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
Dimitrie Stefanescu
88be9dad60
fix(apps): selects all relevant fields in get all apps query (inc. trustByDefault)
2022-05-11 10:39:44 +01:00
Gergő Jedlicska
4812d53aa4
Merge branch 'main' of github.com:specklesystems/speckle-server into eslintAllTheThings
2022-04-04 22:06:53 +02:00
Fabians
4699e6794c
reformatting again for 88 width
2022-04-04 19:21:28 +03:00
Fabians
1c7436e7ff
extra prefer-const & object-shorthand
2022-04-04 19:00:24 +03:00
Kristaps Fabians Geikins
16da51b96a
fix(server): awaiting revokeRefreshToken to ensure it fails within request scope ( #652 )
...
* fix(server): awaiting revokeRefreshToken to ensure it fails within request scope
* removed unnecessary error throw
2022-04-04 17:00:27 +03:00
Gergő Jedlicska
d53df11f77
style(server): fix all eslint errors and break the tests
2022-03-31 14:18:44 +02:00
Fabians
abe6d5e086
chore: re-formatted everything with prettier
2022-03-30 12:54: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
Cristian Balas
9329265708
Upgrade dependencies ( #577 )
2022-02-07 14:04:26 +02:00
Dimitrie Stefanescu
c452b91aa6
fix(server): checks for matching appIds in acces token exchange service
2021-04-29 21:28:28 +01:00
Dimitrie Stefanescu
cd95c28939
refactor(global): restructures repo with lerna
2021-01-03 13:35:53 +02:00