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
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
ca4ca7847d
chore(server): core IoC 14 - getCommitById cleanup
2024-09-27 14:13:16 +03:00
Kristaps Fabians Geikins
f92b6b37d4
chore(server): core IoC 9 - createBranchAndNotifyFactory
2024-09-26 16:36:41 +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
Alessandro Magionami
80484a4328
chore(useremails): fix linter
2024-07-24 16:01:22 +02:00
Alessandro Magionami
583ca06953
chore(useremails): findOrCreateUser function use useremails
2024-07-22 11:02:09 +02:00
Alessandro Magionami
cc74f0f2a8
chore(user-emails): code review changes
2024-07-15 14:13:29 +02:00
Alessandro Magionami
dab5b7b9de
chore(user-emails): use test helpers
2024-07-10 09:52:19 +02:00
Alessandro Magionami
377c7d8c8e
feat(core): update user creation to also create user-email
2024-07-09 13:50:55 +02:00
Gergő Jedlicska
c6cd4c311d
feat(serverinvites): create domain module in server invites ( #2401 )
...
* chore(serverinvites): repository refactor for multiregion
* chore(serverinvites): remove migrated functions from old repository
* chore(serverinvites): refactor serverInviteForToken resolver for multiregion
* chore(serverinvites): invite processing service refactor for multiregion
* chore(serverinvites): subscription refactor for multiregion
* chore(serverinvites): move buildEmailContents to dedicated file
* chore(serverinvites): deleteAllStreamInvites function multiregion refactor
* chore(serverinvites): refactor deleteServerOnlyInvites multiregion repository
* chore(serverinvites): complete repository refactor for multiregion
* feat(serverinvites): create domain module in server invites
* fix(serverinvites): no relative imports
* feat(serverinvites): extract individual types from repository
* feat(serverinvites): move interfaces to operations
* fix(serverinvites): update imports referencing old interfaces file
* fix(serverinvites): type mismatch for insert invite and delete old
* chore(serverinvites): refactor to single repo function
* test(serverinvites): fix tests
* fix(serverinvites): use domain types in all places
* feat(serverinvites): WIP unity
* feat(serverinvites): move to new facory names and types
* feat(serverinvites): fix tests
* fix(serverinvites): use factory name
---------
Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com >
2024-06-25 13:24:37 +02:00
Kristaps Fabians Geikins
83d8035dc2
chore: upgrade to eslint 9 ( #2348 )
...
* root + server
* frontend
* frontend-2
* dui3
* dui3
* tailwind theme
* ui-components
* preview service
* viewer
* viewer-sandbox
* fileimport-service
* webhook service
* objectloader
* shared
* ui-components-nuxt
* WIP full config
* WIP full linter
* eslint projectwide util
* minor fix
* removing redundant ci
* clean up test errors
* fixed prettier formatting
* CI improvements
* TSC lint fix
* 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader
* removed unnecessary void
---------
Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com >
2024-06-12 14:38:02 +03:00
Alessandro Magionami
e9ee53b827
fix(server): avoid removing verified email from user ( #2249 )
...
* fix(server): avoid removing verified email from user
* fix(server): fix test and use secure domain
* fix(server): remove redundant test
2024-05-09 11:56:31 +02:00
Gergő Jedlicska
2fa8a21754
feat(server): implement switch user role to guest
2023-07-27 13:30:32 +02:00
Gergő Jedlicska
a2bb36e43e
refactor(server scopes): use constants for streams owner role
2023-07-26 14:08:47 +02:00
Gergő Jedlicska
61c4869091
refactor(server scopes): use constants for profile read scopes
2023-07-26 13:29:54 +02:00
Gergő Jedlicska
d12cb9d34a
refactor(server scopes): use constants for users email scopes
2023-07-26 13:25: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
7aa21e88bd
chore: cleaning up suuid usages ( #943 )
2022-08-18 15:29:05 +03:00
Gergő Jedlicska
0ac118e05c
(refactor) server for less app-root-path
2022-05-03 13:10:00 +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
Gergő Jedlicska
7906307a8f
fix(server tests): fixed all non awaited rejected promisses
2022-03-31 15:21:13 +02: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
Gergő Jedlicska
19c01fe052
test(server): test archived users search
2022-03-23 18:06:53 +01:00
Gergő Jedlicska
522126a24d
fix(server): do not query archived users for searchUsers query if not explicitly asked
...
fix #612
2022-03-23 18:06:09 +01:00
Cristian Balas
f37e623c8b
Server limits and ratelimits ( #632 )
2022-03-23 14:29:58 +02:00
Gergő Jedlicska
799589b5fe
Merge pull request #575 from specklesystems/unittestRefactor
...
Rework test hooks
2022-02-08 12:29:24 +01:00
Cristian Balas
9329265708
Upgrade dependencies ( #577 )
2022-02-07 14:04:26 +02: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
Cristian Balas
7cfa85a627
other lgtm fixes ( #571 )
2022-02-02 15:30:25 +02:00
Gergő Jedlicska
b1b07bd8e6
fix(core users): handle case insensitive email comparison in a backwards compatible way
2021-11-12 11:55:40 +01:00
Gergő Jedlicska
2050aa9c95
feat((server, frontend) admin user deletion): add user deletion functionality to admin page
2021-11-02 21:34:38 +01:00
Dimitrie Stefanescu
cac9eaf073
test(server/rr): added prelim tests on read receipts
2021-10-25 10:17:01 +01:00
Gergő Jedlicska
32efdc2e62
test((server) user admin test): fix async failing test handling
2021-10-11 13:28:48 +02:00
Gergő Jedlicska
a6caa6bc04
Merge branch 'main' of github.com:specklesystems/speckle-server into user_admin_features
2021-10-11 13:00:02 +02:00
Gergő Jedlicska
abdb0174b6
feat((server) lower case email matching): user and invites ignore email casing
...
user email and invite email comparison is now done on a lower case basis
fix #409
2021-10-08 17:14:00 +02:00
Gergő Jedlicska
7deae841a8
test((server) users): add tests for user admin
2021-10-06 13:47:46 +02:00
Gergő Jedlicska
5723016348
feat((server) user role management): add user role changing service layer implementation
2021-09-17 21:08:03 +02:00
Gergő Jedlicska
f075b80b0d
feat((server) users view): add view users grapql query
2021-09-14 10:31:30 +02:00
Cristian Balas
9d254e7142
Keep commits of deleted users to other streams, but set the user reference to null ( #276 )
...
* Keep commits of deleted users to other streams, but set the user reference to null
* fix(server): user deletion fixes; updates tests
includes one failing assert that needs to be fixed
* fix(server): left join on users in commit services to handle null author cases
* fix(server): ditto, caught one more join -> leftJoin case
* test(server): user deletion test wrap-ip
catches all commit/branches with null authors re services
* fix(server): unqualified delete syntax error - thanks JS!
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com >
2021-06-07 08:08:04 +03:00
cristi8
1b119ffb34
delete user's commits and branches for streams that are left behind
2021-06-03 11:42:32 +03:00