Vyacheslav Matyukhin
89fc5ec8b6
refactor: reorganize platforms code further
2022-03-29 18:10:28 +03:00
Vyacheslav Matyukhin
4a8377704d
comment: draft for future Platform type
2022-03-29 05:10:49 +03:00
Vyacheslav Matyukhin
8553dfa93f
fix: godjudmentopen spelling matches db
2022-03-29 05:10:34 +03:00
Vyacheslav Matyukhin
efae18600f
feat: separate fetchers from upserts
2022-03-29 04:34:27 +03:00
Vyacheslav Matyukhin
066eb0302a
style: bring back double quotes from prettier
...
One large commit to avoid dealing with messy patches later on.
Turns out I had
https://marketplace.visualstudio.com/items?itemName=amatiasq.sort-imports
installed with single quotes which messed up all double quotes from
prettier.
2022-03-28 20:59:07 +03:00
63e77bcd04
Merge branch 'master' into no-mongo
2022-03-27 22:46:35 -04:00
5b9b36d2ed
Merge pull request #23 from QURIresearch/more-typescript
...
feat: More typescript & cleanups
2022-03-27 22:45:25 -04:00
Vyacheslav Matyukhin
a1c3f03d7d
feat: remove mongodb support
...
also:
- refactor and significantly simplify database-wrapper code
- rename manualSendToMongo to manualSendToDb
2022-03-28 02:09:34 +03:00
8a40676b7b
fix: change goodjudment script
2022-03-27 17:53:29 -04:00
Vyacheslav Matyukhin
806ec3ee51
feat: fix mongodb call in databaseReadWithReadCredentials (unused)
2022-03-28 00:32:47 +03:00
Vyacheslav Matyukhin
164f996f41
feat: convert all js to ts
...
allowJs is set to false in tsconfig.json now; please write all future
code with typescript.
cleanups:
- removed platforms/deprecated
- removed flow/history/old
- see https://github.com/QURIresearch/metaforecast/issues/22
- commented some invalid axios options
- minor fixes with mismatching function arguments
- commented invalid mongo call in databaseReadWithReadCredentials
- {encoding: 'utf-8'} in readFileSync calls
2022-03-28 00:32:47 +03:00
Vyacheslav Matyukhin
41b314b84a
cleanup: more ts, delete unused api endpoints
2022-03-28 00:32:27 +03:00
Vyacheslav Matyukhin
8cfdaddd7a
feat: cli exits properly; disable excessive db logging
2022-03-27 02:03:48 +03:00
Vyacheslav Matyukhin
b481212721
feat: more ts, fix tailwind
...
- rename more files to .ts/.tsx
- update tailwind config to use .tsx files from all dirs
- merge css files into a single main.css to avoid import order
dependencies
- minor cleanups due to ts complaints
2022-03-26 03:36:50 +03:00
Vyacheslav Matyukhin
42c0f0967b
feat: back to frontpage-in-db approach
2022-03-26 02:51:55 +03:00
Vyacheslav Matyukhin
9714e4cd0a
fix: frontpage json serialization
2022-03-24 21:41:23 +03:00
Vyacheslav Matyukhin
796d227537
feat: rewrite frontpage code with direct db queries
2022-03-24 21:08:48 +03:00
Vyacheslav Matyukhin
abf3ba8327
feat: setCookies uses netlify
2022-03-24 15:47:35 +03:00
Vyacheslav Matyukhin
20af4e91fb
cleanup: remove unused data/ and input/ files
2022-03-24 15:47:16 +03:00
Vyacheslav Matyukhin
490f698f26
cleanup old commented fs.writeFileSync calls
2022-03-24 01:48:36 +03:00
Vyacheslav Matyukhin
f3592cde40
remove getSecret, always use env variables
2022-03-24 01:07:55 +03:00
Vyacheslav Matyukhin
a5563f9d2e
store frontpage code in db
2022-03-22 03:30:25 +03:00
Vyacheslav Matyukhin
244f02b3af
refactor: monorepo
2022-03-22 03:30:25 +03:00