Commit Graph

146 Commits

Author SHA1 Message Date
Cristian Balas 3447ee1210 increase db streaming cache to 500 objects (#304) 2021-06-18 16:34:09 +03:00
Dimitrie Stefanescu 94c4c90d60 feat(server): increasing highwatermark in db stream; adding passthrough for bigger (500k) buffers cc @crist8 2021-06-17 13:27:42 +01:00
Cristian Balas eea73470d8 Set upload limits (10mb obj, 50mb batch) (#300) 2021-06-16 12:10:35 +03:00
Dimitrie Stefanescu 23b40b2ee4 fix(server): invite message promise fix 2021-06-11 10:10:19 +01:00
Dimitrie Stefanescu 7346b2c91c Merge pull request #287 from specklesystems/dim/stats-endpoints
Dim/stats endpoints
2021-06-10 19:24:16 +01:00
Dimitrie Stefanescu d79daa245b test(server): allows for port override in startHttp to potentially prevent EADDRINUSE errs in test 2021-06-10 19:21:24 +01:00
Dimitrie Stefanescu 57dca802c3 feat(server): admin backend gql api + tests 2021-06-10 17:47:15 +01:00
Dimitrie Stefanescu 6cbfd8d4ed feat(server): admin backend: adds stat services & tests 2021-06-10 14:00:12 +01:00
Dimitrie Stefanescu 2f7b7bedec feat(server): wIP: stats endpoints scaffolding 2021-06-10 09:45:29 +01:00
Dimitrie Stefanescu 1768b7d4e5 fix(server): sanitises invite messages & adds tests 2021-06-08 18:42:42 +01:00
cristi8 aa395da29a Removed temp dependency 2021-06-07 12:20:03 +03:00
cristi8 b4f64f0e1b streaming downloads 2021-06-07 12:18:37 +03:00
cristi8 2981dbf0ed . 2021-06-07 08:54:28 +03:00
cristi8 399e219fa9 test 2021-06-07 08:54:28 +03: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
Dimitrie Stefanescu bfbe38bde2 Merge pull request #271 from specklesystems/cristi/delete_account
delete account feature
2021-06-03 14:35:26 +01:00
cristi8 1b119ffb34 delete user's commits and branches for streams that are left behind 2021-06-03 11:42:32 +03:00
Dimitrie Stefanescu cb54830567 feat(account deletion): adds extra private scope for profile deletion & adds gql resolver guards (#272)
* feat(account deletion): adds extra private scope for profile deletion & adds gql resolver guards

* feat(account deletion): paranoia warnings
2021-06-03 10:36:34 +03:00
Dimitrie Stefanescu 2f61cef46a fix(server): changes excel app name to make sure we're not infringing on trademarks 😬 2021-06-02 17:26:57 +01:00
Dimitrie Stefanescu 87baf940e2 fix(server): adds link to docs for excel app 2021-06-02 17:24:51 +01:00
Dimitrie Stefanescu 35f76554e3 test(server): updates tests on apps 2021-06-02 17:22:02 +01:00
Dimitrie Stefanescu 5f83c79bf9 feat(server): adds a default app for the excel connector 2021-06-02 17:18:24 +01:00
cristi8 76950d02d2 delete account feature 2021-06-02 10:44:46 +03:00
dependabot[bot] 8248431ac1 build(deps-dev): bump ws from 7.4.2 to 7.4.6 in /packages/server
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 00:58:56 +00:00
Cristian Balas 0b8274ea34 [server] check if objects exists (#251) 2021-05-18 18:07:05 +03:00
Cristian Balas 1b11456f90 increase server post data size limit (#250) 2021-05-17 21:46:49 +03:00
Cristian Balas 9be48bb943 Apollo prometheus metrics (#248) 2021-05-17 18:49:05 +03:00
Dimitrie Stefanescu 2bed4a1f3b Merge pull request #247 from specklesystems/dim/hotfixes
hotfix(server): theoretically filters out subs from telemetry
2021-05-17 14:51:28 +01:00
Dimitrie Stefanescu fb434a7dbd style(server): removes console log 2021-05-17 14:50:06 +01:00
Dimitrie Stefanescu 3672a5e421 fix(server): theoretically filters out subs from telemetry 2021-05-17 14:45:13 +01:00
Cristian Balas d201d4391c Fixed json construction when downloading stream of objects (#246) 2021-05-17 15:18:08 +03:00
Cristian Balas 3840068cad diff endpoints + added version in ServerInfo (#235) 2021-05-11 20:23:42 +03:00
dependabot[bot] 2de86fe179 build(deps): bump hosted-git-info in /packages/server
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 21:06:39 +00:00
Dimitrie Stefanescu 90968fd3d8 Merge pull request #224 from specklesystems/dependabot/npm_and_yarn/packages/server/handlebars-4.7.7
build(deps): bump handlebars from 4.7.6 to 4.7.7 in /packages/server
2021-05-07 16:19:11 +01:00
dependabot[bot] 92a289eca3 build(deps): bump handlebars from 4.7.6 to 4.7.7 in /packages/server
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 15:15:20 +00:00
dependabot[bot] e5d71a5a93 build(deps): bump lodash from 4.17.20 to 4.17.21 in /packages/server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 15:14:54 +00:00
Dimitrie Stefanescu f19369139d fix(server): ensures frontend app url is always sourced from env in auth finalisation middleware 2021-05-05 12:07:10 +01:00
Dimitrie Stefanescu f549e72e11 improvement(server): makes ad strategy logging less verbose in non debug env 2021-05-04 19:33:21 +01:00
Dimitrie Stefanescu e593ade23d fix(server): azure ad: uses data from _json user response field, as relying on the upn was flaky 2021-05-04 19:31:14 +01:00
Dimitrie Stefanescu 5a1c97ecd3 feat(server): adds extra env var in example file re ad org name 2021-05-04 19:30:05 +01:00
Dimitrie Stefanescu 05ff1208ae fix(server): ad strategy was missing dependency ref in package.json 2021-05-04 19:28:26 +01:00
Dimitrie Stefanescu 4efd732bf4 removes doubled up google strategy env flag 2021-05-04 11:24:19 +01:00
Dimitrie Stefanescu a84d3cbc38 Merge pull request #204 from peterjgrainger/main
feat(auth): Add Azure AD auth option
2021-05-04 11:23:26 +01:00
Cristian Balas 2314917b30 Removed default SENTRY_DNS value (#214) 2021-05-03 21:16:00 +03:00
Peter Grainger ce0ea82889 fix: Local strategy is the default one not azure ad 2021-05-03 13:12:41 +01:00
Peter Grainger 15f1896c97 feat(auth): 🙈 Add Azure AD auth to login strategies
Add an additional passport strategy that uses Azure AD to log user in
2021-05-03 13:08:43 +01:00
Dimitrie Stefanescu 934be7c5a2 Merge pull request #208 from specklesystems/dim/fixes
Server: Invite flow fix
2021-05-03 11:26:51 +01:00
Dimitrie Stefanescu b1c1155441 fix(server): invites: corrects imports in gh strategy 2021-05-03 11:20:54 +01:00
Dimitrie Stefanescu 8eff9f2da3 chore(server): removes unused imports 2021-05-03 11:20:02 +01:00
Cristian Balas 164fb01d50 added EMAIL_FROM environment variable (#207) 2021-05-03 13:13:02 +03:00