Commit Graph

482 Commits

Author SHA1 Message Date
8060303936
Merge pull request #37 from QURIresearch/faster-upsert
Faster upsert
2022-03-30 21:56:00 -04:00
9fc8a7de2a
Merge pull request #34 from QURIresearch/refactor-platforms
feat: Refactor platforms
2022-03-30 21:54:36 -04:00
Vyacheslav Matyukhin
4eeab9c861
WIP: no schemas 2022-03-30 20:21:38 +03:00
Vyacheslav Matyukhin
111aa8c9af
fix: bring back swc in package-lock.json 2022-03-30 20:15:01 +03:00
Vyacheslav Matyukhin
838fecd556
feat: faster upserts 2022-03-30 20:15:01 +03:00
Vyacheslav Matyukhin
6dfbe0c05e
cleanup: logs for algolia 2022-03-30 20:14:56 +03:00
Vyacheslav Matyukhin
64d612a572
docs: new algolia configs 2022-03-30 20:12:57 +03:00
Vyacheslav Matyukhin
f9e8f320a0
feat: xrisk and givewellopenphil backend platforms 2022-03-30 19:53:22 +03:00
Vyacheslav Matyukhin
49d8140784
feat: algolia settings in .env 2022-03-30 19:52:43 +03:00
Vyacheslav Matyukhin
0c9e577319
fix: forgot await 2022-03-29 21:47:28 +03:00
Vyacheslav Matyukhin
a3eea5a98e
feat: cli improvements 2022-03-29 20:54:20 +03:00
Vyacheslav Matyukhin
4a58389976
Merge remote-tracking branch 'origin/master' into refactor-platforms 2022-03-29 20:46:05 +03:00
Vyacheslav Matyukhin
89fc5ec8b6
refactor: reorganize platforms code further 2022-03-29 18:10:28 +03:00
4c1376f170 fix: small bugs on new polymarket fetcher 2022-03-28 22:38:14 -04:00
b7409b23f2 feat: make polymarket fetcher more efficient 2022-03-28 22:24:44 -04:00
27652407fd fix: fix cookies script to apply to heroku, not netlify 2022-03-28 22:24:15 -04:00
0686325f67 fix: updated some packages 2022-03-28 22:23:50 -04: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
7c0ad75bea
Merge pull request #26 from QURIresearch/no-mongo
feat: Remove mongodb support
2022-03-27 22:47:14 -04: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
edeefdb3f5
feat: don't include js code in tsconfig 2022-03-28 00:32:47 +03: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
698a11c28f feat: add plausible.io script 2022-03-27 17:19:06 -04:00
1ac56a3ee6 tweak: Change about page 2022-03-27 11:34:25 -04:00
5796d4dde8 feat: Bump version number
Feels warranted after the major refactor.
2022-03-27 11:33:13 -04:00
ace6e7fd54 chore: Update README. 2022-03-27 10:22:23 -04:00
Vyacheslav Matyukhin
cf1162faed
fix: correct npm registry 2022-03-27 12:15:45 +03:00
Vyacheslav Matyukhin
8cfdaddd7a
feat: cli exits properly; disable excessive db logging 2022-03-27 02:03:48 +03:00
Vyacheslav Matyukhin
2398394227
fix: paths in npm scripts 2022-03-27 01:55:18 +03:00
Vyacheslav Matyukhin
8c6844e42d
feat: install ts-node in prod 2022-03-27 01:54:02 +03:00
Vyacheslav Matyukhin
e26f5aa9c6
Merge pull request #8 from berekuk/monorepo
Monorepo
2022-03-27 01:50:01 +03:00
Vyacheslav Matyukhin
118495c30c
cleanup: remove unused netlify-plugin-cache-nextjs plugin 2022-03-27 01:06:57 +03:00
Vyacheslav Matyukhin
9d1a577a5e
feat: gitignore .env.production file to avoid accidental commit 2022-03-27 00:33:31 +03:00
Vyacheslav Matyukhin
7565540f8a
feat: repo renamed 2022-03-27 00:33:13 +03:00
Vyacheslav Matyukhin
d662572bcd
feat: don't update progress bar on searches 2022-03-26 14:42:13 +03:00
Vyacheslav Matyukhin
bb846068f3
feat: shallow: true on router.replace 2022-03-26 14:33:22 +03:00
Vyacheslav Matyukhin
d921885f1b
feat: nprogress bar 2022-03-26 14:23:38 +03:00
Vyacheslav Matyukhin
f2745d713c
feat: useNoInitialEffect in CommonDisplay (fix #14) 2022-03-26 14:21:36 +03:00
Vyacheslav Matyukhin
1b1c0f4228
refactor: move layout.tsx to web/display
https://metaforecast.org/layout is not a real page, so it shouldn't be
in src/pages.
2022-03-26 04:15:07 +03:00
Vyacheslav Matyukhin
9c586c6ec1
refactor: commonDisplay -> CommonDisplay 2022-03-26 03:57:18 +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