Commit Graph

16 Commits

Author SHA1 Message Date
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
Iain Sproat 7deb4554c6 chore(server/logging): add operation logs to email module 2025-04-14 17:20:07 +01:00
Kristaps Fabians Geikins 554b2fa386 chore(server): core IoC #66 - markUserAsVerifiedFactory 2024-10-16 12:03:19 +03:00
Kristaps Fabians Geikins e4a317e22f chore(server): emails IoC 8 - finalizeEmailVerificationFactory 2024-09-10 14:42:11 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00
Iain Sproat 7e89950358 feat(logging): log all http requests and responses (#1416)
- feat(logging): log all http requests and responses
- the auto logger does not log the body, to ensure sensitive payloads are not logged. Unfortunately this means that error messages are not logged either, so need to be manually logged.
- fix(logging): 400 errors should be info not error severity logging
2023-02-27 15:14:56 +00:00
Iain Sproat 4b1969c804 chore(server): improve logging of REST API endpoints (#1414)
- chore(server): adds endpoint parameter to some log messages
- and any other relevant parameters we have to hand (streamId, userId etc..)
- logging severity is info for `400` status codes, error for `500` status codes or equivalent.
2023-02-24 11:22:21 +00:00
Kristaps Fabians Geikins ecb9f825bb refactor: email verification flow & email template (#967) 2022-08-31 17:11:19 +03:00
Gergő Jedlicska 0ac118e05c (refactor) server for less app-root-path 2022-05-03 13:10:00 +02:00
Dimitrie Stefanescu e830e6a5e5 fix(frontend): displays toast post email verification, closes #672 2022-04-08 21:14:38 +01:00
Fabians abe6d5e086 chore: re-formatted everything with prettier 2022-03-30 12:54:24 +03:00
Gergő Jedlicska 71c52d99e4 test(server): test email verification rate limiting 2022-01-27 12:05:15 +01:00
Dimitrie Stefanescu 1ee7bb4ed6 style: autofix all the things 2022-01-26 11:29:23 +00:00
Gergő Jedlicska 34181fe2e7 style(server): fix verification formatting 2022-01-20 19:26:53 +01:00
Gergő Jedlicska 1ea8995e84 feat(server): add use verification rest endpoint 2022-01-20 19:12:05 +01:00
Gergő Jedlicska 87caee94a0 feat(server): add rest endpoint to initiate email verification 2022-01-20 17:53:21 +01:00