Commit Graph

33 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b966f20fdb refactor(server): typescript support (#874)
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-08-04 14:21:39 +02:00
Kristaps Fabians Geikins 3ff772e342 fix: various server invites related improvements & fixes (#837)
* moving to invite token field, fixing comments & activity bugs I found, adding role prop to stream invite creation
* more fixes
* more tests
2022-07-25 11:02:22 +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 d2166c3f38 Merge branch 'main' of github.com:specklesystems/speckle-server into defaultAppScopeHandling 2022-05-11 11:43:13 +02:00
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Gergő Jedlicska 2d03d8a632 refactor(scopes constants): add users:invite to Scopes constant 2022-04-25 11:53:32 +02:00
luz paz 915cb0afaf Fix various typos
Found via `codespell -q 3 -S CHANGELOG.md -L doesnt,optio,promisses,tread,usera`
2022-04-15 13:49:46 -04:00
Gergő Jedlicska 89d0d9e0ed style: fix eslint warnings 2022-04-04 22:32:34 +02:00
Fabians 1c7436e7ff extra prefer-const & object-shorthand 2022-04-04 19:00:24 +03:00
Gergő Jedlicska 1355ddab6f style(all): some extra formatting fixes 2022-04-01 09:40:47 +02: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
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
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
Dimitrie Stefanescu 23b40b2ee4 fix(server): invite message promise fix 2021-06-11 10:10:19 +01:00
Dimitrie Stefanescu 1768b7d4e5 fix(server): sanitises invite messages & adds tests 2021-06-08 18:42:42 +01:00
Dimitrie Stefanescu 41fad72a11 fix(server): invites: fixes wrong flow on gh and google strategies 2021-05-03 10:54:25 +01:00
Matteo Cominetti 4241af0b21 fix(server): checks if invite is valid and returns proper error when not, partly fixes #163 2021-04-07 16:57:30 +01:00
Dimitrie Stefanescu e19046e26c fix(server): fixes invite link in emails
`invite=xxx` -> `inviteId=xxx`
2021-04-06 19:09:11 +01:00
Dimitrie Stefanescu 290b413e1e test(server): parks tests that pass locally, but not on the CI 2021-03-22 20:04:55 +00:00
Dimitrie Stefanescu 184f8a52e2 test(server): different fix 2021-03-22 20:01:13 +00:00
Dimitrie Stefanescu a52f8bb64c test(server): invites: test fiddles
they passed locally, but not remotely. this attempts to fix that.
2021-03-22 19:47:19 +00:00
Dimitrie Stefanescu 3ed4729c94 feat(server/invites): fixes a bug in 3rd party strategies & invites, and other changes
changes sender to no-reply@speckle.systems; updates invite email subject based on wether it's a
generic invite or a server invite, etc.
2021-03-22 18:44:58 +00:00
Dimitrie Stefanescu 41b95886bf feat(server): finalises backend invite work 2021-03-18 18:20:51 +00:00
Dimitrie Stefanescu 1a93f3e340 feat(server): invites: added gql endpoints & tests
for server invites & stream invites
2021-03-18 09:56:53 +00:00
Dimitrie Stefanescu 6225e58b8f feat(server/invites): invites: adds services, tests & scaffolds gql routes 2021-03-17 19:34:02 +00:00
Dimitrie Stefanescu dbab83e315 feat(server): checking in code 2021-03-16 08:16:08 +00:00
Dimitrie Stefanescu ae79248d26 feat(server): invites: scaffolds basic services 2021-03-15 10:06:19 +00:00
Dimitrie Stefanescu e9bcff3d3b feat(server): removes server invite fields for resource targets
parked this as a future TODO; would take a lot to implement properly
2021-03-15 10:05:51 +00:00
Dimitrie Stefanescu 75d2924de5 feat(server): starts work on #62
scaffolds basic server invite logic
2021-03-14 11:40:42 +00:00