Kristaps Fabians Geikins
4b7740eb17
Merge branch 'main' into fabians/web-2415-6
2025-02-17 15:15:52 +02:00
Gergő Jedlicska
c4a6da410b
feat(core): drop the closure table pls ( #3900 )
...
* feat(core): drop the closure table pls
* feat(core): remove closures feature flag
* feat(core): remove more closure stuff
* feat(core): only drop closure table if it exists
2025-02-07 14:06:53 +01:00
Kristaps Fabians Geikins
9b46747815
chore(server): refactor activityStream invocations - batch #6 - project invites
2025-01-24 18:35:21 +02:00
Kristaps Fabians Geikins
aee14edc5b
chore(server): getting rid of module-scoped event emitters - batch #1 ( #3766 )
...
* got rid of models emitter + added tests
* got rid of projects emitter + added tests
* replaced user event bus
* test migrate
2025-01-13 11:39:46 +02:00
Iain Sproat
a1ee8a89a7
chore(server): graceful shutdown ( #3125 )
...
* chore(server): graceful shutdown
- stop() on the apollo server should be called
* chore(server): gracefully drain apollo server
* Allow grace period to be configured
* Terminus manages the readiness and liveness endpoints
* terminus is responsible for stopping the graphql server
* remove logging on shutdown
* Remove redundant parameter
* move healthchecks out of business modules to top-level directory
- terminus can only handle readiness check, not liveness
- app needs to return readiness handler, so that server terminus can use it
* fix tests
* Fix broken merge
* fix broken merge
* incorporate review comments
* fix invalid merge
* fix readinesscheck not being passed as parameter
2024-11-19 11:08:38 +01:00
Kristaps Fabians Geikins
f33dcb0849
chore(server): core IoC #88 - createObjectFactory
2024-10-18 16:13:15 +03:00
Kristaps Fabians Geikins
f27f289dc6
chore(server): core IoC #78 - getServerInfoFactory
2024-10-17 12:37:43 +03:00
Kristaps Fabians Geikins
da88f5925c
chore(server): core IoC #72 - createPersonalAccessTokenFactory
2024-10-16 17:13:03 +03:00
Kristaps Fabians Geikins
573970fc6c
chore(server): core IoC #55 - createUserFactory
2024-10-15 12:55:33 +03:00
Kristaps Fabians Geikins
1cb27e6fdd
chore(server): core IoC #51 - getUser(s)Factory
2024-10-14 17:24:11 +03:00
Kristaps Fabians Geikins
6cb5022ac4
chore(server): IoC 35 - updateStreamRoleAndNotify
2024-10-09 16:31:20 +03:00
Alessandro Magionami
c3abd854ff
chore(activitystream): refactor getUserActivity
2024-09-25 15:58:49 +02:00
Iain Sproat
60251e45cb
Revert "fix(server): revert 55cad9662a ( #2633 )" ( #2650 )
...
This reverts commit f2c5677b4a .
2024-08-13 11:48:20 +01:00
Iain Sproat
f2c5677b4a
fix(server): revert 55cad9662a ( #2633 )
...
* Revert "refactor(server/upload): convert js to ts (#2618 )"
This reverts commit e9f7286f67 .
* Revert "feat(logging): pass request logger to core/services/objects (#2599 )"
This reverts commit ee3e9af78d .
* Revert "feat(server): configurable maximum objects POST size and improved logging (#2594 )"
This reverts commit 55cad9662a .
2024-08-12 10:26:53 +01:00
Iain Sproat
ee3e9af78d
feat(logging): pass request logger to core/services/objects ( #2599 )
...
* chore(logging): include additional detail on object upload logs
* allow max file size to be configurable
* feat(logging): add logger to core/services/objects
* fix log line
* fix tests
* typo
* fix variable name
* convert values to megabytes
* calculating memory was causing the system to freeze
* calculating memory was causing the system to freeze
* DRY the logging metadata
* all required variables should be passed to calculateLogMetadata
* fix many things with the logging
2024-08-09 10:15:37 +02:00
Kristaps Fabians Geikins
37d51072fb
feat(server): resource limits on app tokens ( #1959 )
...
* WIP new mutation arg
* limited resource token creation done
* token resource rule creation validation
* updated authorizeResolver implementation
* introduced resource access rule checks in authorizeResolver everywhere
* more checks added
* updated projects resolvers
* updated stream resolvers
* more checks added
* error page theme resolution fix
* WIP testss
* more tests
* implemented checks in REST auth pipeline
* REST API coverage & tests
* some tests fixed
* test fixess
* added tests
* feat(server): new automation result reporting scope (#1976 )
* feat(server): new automation result reporting scope
* tests fix
2024-01-19 18:14:49 +01:00
Gergő Jedlicska
c22e0dfe23
refactor(server scopes): use constants for profile email scope
2023-07-26 13:32:08 +02:00
Gergő Jedlicska
61c4869091
refactor(server scopes): use constants for profile read scopes
2023-07-26 13:29:54 +02:00
Gergő Jedlicska
f1e64e3b83
refactor(server scopes): use constants for tokens read scopes
2023-07-26 13:27:33 +02:00
Gergő Jedlicska
9b09a2d1c8
refactor(server scopes): use constants for tokens write scopes
2023-07-26 13:26:49 +02:00
Gergő Jedlicska
d12cb9d34a
refactor(server scopes): use constants for users email scopes
2023-07-26 13:25:09 +02:00
Gergő Jedlicska
4d9078a6d7
refactor(server scopes): use constants for users read scopes
2023-07-26 13:15:09 +02:00
Gergő Jedlicska
878f97baa2
refactor(server scopes): use constants for streams write scopes
2023-07-26 13:13:09 +02:00
Gergő Jedlicska
bb5778bf2d
refactor(server scopes): use constants for streams read scopes
2023-07-26 13:09:34 +02:00
Kristaps Fabians Geikins
8e59ee7243
refactor: moving away from 'user' query ( #1046 )
...
* refactor: moving away from 'user' query + various fixes
* fix: linting issue in stream tests
* fix(server): some tests broken after rebase onto main
2022-10-06 12:08:08 +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
fec9b5345c
fix(frontend): timeline items duplicating after going to stream page and back ( #842 )
2022-07-29 14:08:44 +03:00
Kristaps Fabians Geikins
da9224a069
feat: server & stream invites rework
...
feat: server & stream invites rework
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 13:01:19 +03:00
Gergő Jedlicska
0ac118e05c
(refactor) server for less app-root-path
2022-05-03 13:10:00 +02:00
Fabians
1c7436e7ff
extra prefer-const & object-shorthand
2022-04-04 19:00:24 +03:00
Gergő Jedlicska
d53df11f77
style(server): fix all eslint errors and break the tests
2022-03-31 14:18:44 +02: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
Gergő Jedlicska
68a4a95d90
refactor(server): rework test hooks
...
drop db migration before and after hooks, add helpers and root hooks
fix #531
2022-02-05 15:05:17 +01:00
Gergő Jedlicska
8050c30d6d
test((server) archival tests): add archived user scope tests
...
also i'm trying to fix flaky tests
2021-11-04 13:33:22 +01:00
izzy lyseggen
36e22b61e8
fix(server): adjust activity stream tests
2021-06-24 16:17:14 +01:00
izzy lyseggen
b4275888c7
feat(server): activity stream timeline and tests
2021-06-24 16:07:16 +01:00
izzy lyseggen
8172328257
feat(server): activity stream args
2021-06-23 15:06:21 +01:00
cristi8
8c328c3947
after discussisons
2021-06-22 14:29:37 +03:00