Commit Graph

12 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 556c2791b3 feat(file imports): large file uploads now work on docker compose (#5037) 2025-07-07 11:00:55 +01:00
Iain Sproat a6c473f682 fix(server): correctly handle content-disposition (#5008)
- non-ascii filenames were not handled correctly causing 500 errors when file attempted to be downloaded
2025-06-30 13:57:09 +01:00
Iain Sproat cb0f106c46 Resolve conflicts 2025-04-28 15:17:40 +01:00
Iain Sproat dd806b0730 Revert "prefer pipeline over .pipe"
This reverts commit 16049b6a92.
2025-03-11 09:46:55 +00:00
Iain Sproat 16049b6a92 prefer pipeline over .pipe 2025-03-10 10:57:54 +00:00
Iain Sproat 3c132f8098 type the busboy event 2025-03-06 21:51:53 +00:00
Iain Sproat 7c6ebc95dc refactor fileuploads to avoid http request 2025-03-05 16:39:23 +00:00
Iain Sproat 0035783932 place busboy instantiation in callable function 2025-03-05 15:20:12 +00:00
Iain Sproat 334a7e4988 Tidy deletion endpoint 2025-03-05 15:02:18 +00:00
Iain Sproat 2d73a75cf8 custom error handler can be removed as functionality is already provided by our existing middleware 2025-03-05 14:30:13 +00:00
Iain Sproat 6afad05430 refactor(blobstorage): separate REST components and services 2025-03-05 14:21:50 +00:00