Kristaps Fabians Geikins
b29331705e
chore(server): get rid of duplicate gql TS types ( #5065 )
2025-07-14 11:31:12 +03:00
Kristaps Fabians Geikins
bde148f286
chore(server): migrating fully to ESM ( #5042 )
...
* wip
* some extra fixes
* stuff kinda works?
* need to figure out mocks
* need to figure out mocks
* fix db listener
* gqlgen fix
* minor gqlgen watch adjustment
* lint fixes
* delete old codegen file
* converting migrations to ESM
* getModuleDIrectory
* vitest sort of works
* added back ts-vitest
* resolve gql double load
* fixing test timeout configs
* TSC lint fix
* fix automate tests
* moar debugging
* debugging
* more debugging
* codegen update
* server works
* yargs migrated
* chore(server): getting rid of global mocks for Server ESM (#5046 )
* got rid of email mock
* got rid of comment mocks
* got rid of multi region mocks
* got rid of stripe mock
* admin override mock updated
* removed final mock
* fixing import.meta.resolve calls
* another import.meta.resolve fix
* added requested test
* nyc ESM fix
* removed unneeded deps + linting
* yarn lock forgot to commit
* tryna fix flakyness
* email capture util fix
* sendEmail fix
* fix TSX check
* sender transporter fix + CR comments
* merge main fix
* test fixx
* circleci fix
* gqlgen bigint fix
* error formatter fix
* more error formatting improvements
* esmloader added to Dockerfile
* more dockerfile fixes
* bg jobs fix
2025-07-14 10:26:19 +03:00
Daniel Gak Anagrov
ba3d9ade22
feat(activity): moved project roles to activity ( #5019 )
...
* feat: moved project roles to activity
* fix: added previous project role filed on activity
* fix: remvoke does not get logged as an actvity for every project in a workspace when removed from workspace
* fix: on delete user account, emit also seat and project event
Co-authored-by: Charles Driesler <chuck@speckle.systems >
2025-07-10 11:44:54 +02:00
Iain Sproat
4738b97091
feat(server/fileuploads): use a presigned url to upload large files ( #4901 )
2025-06-17 17:38:47 +01:00
Kristaps Fabians Geikins
9998ed2586
feat: personal project limits ( #4759 )
...
* base limits cleanup
* history limit tests
* canCreatePersonal & tests
* canInvite block
* WIP model check
* fix tests
* shared tests fix
* lodash import fix
* lint fix
* help update
* hopefully fixing test
* CR comment
2025-05-20 14:56:05 +03:00
Kristaps Fabians Geikins
4db1531064
feat: "workspace" project visibility ( #4704 )
...
* WIP new visi
* test fixes
* visibility seems to work
* authz policies & authorizeResolver updated
* various test fixes
* users tests
* frontend changes
* minor adjustments
* shared test fix
* test fixes
* force rerun CI
2025-05-14 15:20:26 +03:00
Kristaps Fabians Geikins
c6dcf18bdb
feat(server): workspace project invite auto-accept (for existing wp members) ( #4622 )
...
* WIP ts
* DI fix & tests moved to TS
* auto-accept seems to work
* CR comments
2025-04-30 17:39:07 +03:00
Iain Sproat
920099c39f
chore(readable code): use TIME_MS for readable durations
...
- we recently added TIME_MS helper; this applies it to existing durations
2025-04-18 17:51:43 +01:00
Alessandro Magionami
0c18acc452
Alessandro/web 2945 comments hide body ( #4385 )
...
* chore(core): move limits logic into shared
* feat(comments): limit text and rawText for comments
* chore(core): removed test moved to shared
* chore(comments): generate gql types
* feat(comments): rework comment history limits
* chore(comments): fix tests
* chore(shared): add dayjs as dependency
---------
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com >
2025-04-15 10:44:12 +02:00
Kristaps Fabians Geikins
b6c21fd506
feat: comment read/write auth policies in BE & FE ( #4368 )
...
* webhooks perm minor fix
* tryna get fileimport service to work
* new comment policies - shared
* BE done?
* checks implemented in FE
* lint fix
* tests fix
* readme fix
2025-04-10 15:14:34 +03:00
Kristaps Fabians Geikins
6c5da56650
Merge branch 'main' into fabians/web-2415-5
2025-02-17 14:56:51 +02:00
Kristaps Fabians Geikins
f51d632ef7
Merge branch 'main' into fabians/web-2415-4
2025-02-17 14:23:33 +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
0b90dcf0df
chore(server): moving out comments sub reporting to separate listeners
2025-01-24 18:29:50 +02:00
Kristaps Fabians Geikins
b6871a61cc
chore(server): refactor activityStream invocations - batch #5 - comments
2025-01-24 17:54:16 +02:00
Kristaps Fabians Geikins
9775c488a1
chore(server): moving out version sub reporting to separate listeners
2025-01-24 17:52:34 +02:00
Kristaps Fabians Geikins
ac88c503e3
chore(server): refactor activityStream invocations - batch #4 - commits
2025-01-24 16:57:15 +02:00
Kristaps Fabians Geikins
b41a98d107
chore(server): getting rid of module-scoped eventBuses - batch #4 - comments ( #3812 )
2025-01-14 17:24:26 +01:00
Kristaps Fabians Geikins
dab0a23c33
chore(server): event bus refactor - version emitter - batch #2
2025-01-13 11:03:34 +02:00
Kristaps Fabians Geikins
f403d51330
replaced user event bus
2025-01-07 11:24:07 +02:00
Kristaps Fabians Geikins
7ce306569f
got rid of projects emitter + added tests
2025-01-06 17:42:24 +02:00
Kristaps Fabians Geikins
42db2f6b82
feat(server): comments module multiregion support ( #3493 )
...
* prepwork
* more prep for testing
* tests/linting seems fine
* a couple of query fixes
* fix up notifications for multiregion
* test fixes?
* wal_level issue fix?
* fileupload test fix
* anotha test fix
* undo unnecessary changes
* streamActivity -> main DB
2024-11-19 12:15:43 +02:00
Kristaps Fabians Geikins
2643d32d0a
Merge branch 'main' into fabians/multiregion-testing3
2024-11-11 14:53:53 +02:00
Kristaps Fabians Geikins
d02ca824c3
test fixes
2024-11-11 14:51:54 +02:00
Gergő Jedlicska
73cc7e67d3
gergo/webhookRegions ( #3459 )
...
* feat(webhooks): multi region webhook resolver
* feat(webhooks): multi region webhook cleanup
* fix(webhooks): DI fixes
* feat(activitystream): region aware save activity
* feat(accessrequests): multi region
* feat(cli): allow multi region project and commit download
* feat(postgres): make docker postgres 0 day multi region ready
* feat(cli): allow multi region project and commit download properly
* fix(cross-server-sync): di fix
* feat(activitystream): non region aware activities, they are not project data
* fix(webhooks): triggers need to be included
* feat(stream/projectCreate): activity save is not needed any more, its all event based
* feat(multiRegion): get all registered db clients
* fix(regions): test equal in any order
* fix(projectDownload): need to await
2024-11-08 10:45:39 +01:00
Kristaps Fabians Geikins
69ff3864af
feat(server): multi region support in dataloaders
2024-11-07 09:57:43 +02: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
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
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
6cb5022ac4
chore(server): IoC 35 - updateStreamRoleAndNotify
2024-10-09 16:31:20 +03:00
Kristaps Fabians Geikins
a3252f88f3
chore(server): IoC 34 - updateStreamAndNotifyFactory
2024-10-09 12:54:10 +03:00
Kristaps Fabians Geikins
aa4f319277
chore(server): IoC 32 - createStreamFactory ( #3204 )
2024-10-09 11:10:20 +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
Fabis
857210be10
chore(server): core IoC 17 - createCommitByBranchIdFactory
2024-10-01 14:45:12 +01:00
Kristaps Fabians Geikins
9d0256268f
chore(server): comments IoC 6 - index service remaining
2024-09-24 12:53:22 +03:00
Kristaps Fabians Geikins
feab6c06a6
tests fix
2024-09-24 12:52:50 +03:00
Kristaps Fabians Geikins
f15f76c960
chore(server): comments IoC 5 - getCommentsLegacyFactory
2024-09-24 12:52:50 +03:00
Kristaps Fabians Geikins
7867e3b2d4
chore(server): comments IoC 4 - archiveCommentFactory
2024-09-24 12:52:39 +03:00
Kristaps Fabians Geikins
e44dbd3b73
chore(server): comments IoC 2 - editCommentFactory ( #3077 )
2024-09-24 12:17:51 +03:00
Kristaps Fabians Geikins
215cdf19b3
chore(server): comments IoC 2 - createCommentReplyFactory
2024-09-23 15:54:46 +03:00
Kristaps Fabians Geikins
ba2198657d
minor adjustment
2024-09-23 15:07:49 +03:00
Kristaps Fabians Geikins
0412deeda3
chore(server): comments IoC 1 - createComment
2024-09-23 15:03:45 +03:00
Kristaps Fabians Geikins
c92938eff3
chore(server): apollo server v3 -> v4 ( #2880 )
...
* main changes seem to be done?
* lint fix
* minor cleanup
* dataloader clear
2024-09-05 12:27:13 +03: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