Commit Graph

26 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00
Kristaps Fabians Geikins 593c63bc43 fix(server): migrating commits, branches, users timestamp precision (#1265)
* fix(server): migrating commits, branches, users timestamp precision

* fix(server): incorrect migration heading
2022-12-13 15:05:19 +02:00
Kristaps Fabians Geikins 1351b6b82a feat(server): fixing double summary emails per week (#1054)
* feat(server task scheduler): sketch out core task scheduler implementation

* feat(server weekly activity digests): add function lock duration to the weekly digest execution

* feat(server scheduled tasks): add scheduled tasks type definition, db schema and migration

* feat(server scheduled tasks): add scheduled tasks repository

* feat(server task scheduler): add task scheduler service implementation

* chore(server deps): add mocha type definitions

* refactor(server scheduled tasks): refactor scheduled tasks migration

* refactor(server scheduled tasks): refactor scheduled task db schema and type definitions

* feat(server scheduled tasks): implement db side lock acquire

* refactor(server scheduled tasks): refactor task scheduler with lock on query mechanism

* test(server scheduled tasks): add tests for scheduled tasks implementation

* refactor(server weekly activity digests): refactor to new task scheduler implementation

* feat(server weekly activity digest): switch to a 1000 seconds trigger period for testing purposes

* fix(server task scheduler): fix not catching lock acquire function errors

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-10-04 16:11:01 +02:00
Kristaps Fabians Geikins 05f11a26da feat: batch commit delete/move (#1016)
* feat: batch delete/move commits

* fix: ts linter issue
2022-09-22 16:49:18 +03:00
Kristaps Fabians Geikins 651dee0977 feat(server): stream discoverability flag & queries (#948) 2022-08-24 13:46:24 +03:00
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 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
Dimitrie Stefanescu d59a9c4028 fix(comments): moves migration into core module 2022-05-16 18:17:37 +01: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
Kristaps Fabians Geikins aeeb88340d feat: favoriting streams #620 (#633) 2022-03-29 16:30:49 +03:00
Cristian Balas f37e623c8b Server limits and ratelimits (#632) 2022-03-23 14:29:58 +02:00
Gergő Jedlicska 2d4119c40e refactor(server migration): code cleanup 2021-11-19 12:57:00 +01:00
Gergő Jedlicska adee78104e docs(server migration): fix migration script link 2021-11-19 12:54:14 +01:00
Gergő Jedlicska 2f41985fa2 chore(server migration): ignore migration script from code coverage 2021-11-19 12:01:46 +01:00
Gergő Jedlicska 9046be59ad feat(server core migrations): add user deduplicating migration 2021-11-19 11:56:09 +01:00
luz paz ad97cdf444 Fix various typos
Found via `codespell -q 3 -L optio,promisses,usera`
2021-07-22 09:23:21 -04: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 f19369139d fix(server): ensures frontend app url is always sourced from env in auth finalisation middleware 2021-05-05 12:07:10 +01:00
Cristian Balas dfded037f4 Add streamId field to objects (#155) 2021-03-25 21:58:46 +02:00
Dimitrie Stefanescu 75d2924de5 feat(server): starts work on #62
scaffolds basic server invite logic
2021-03-14 11:40:42 +00:00
Dimitrie Stefanescu bb6cd0716d improvement(server): adds public field to roles & updates resolver to return only public roles 2021-02-25 13:27:54 +00:00
Dimitrie Stefanescu cd95c28939 refactor(global): restructures repo with lerna 2021-01-03 13:35:53 +02:00