7aa44746bf
feat: Rework INFER fetcher using the json embedded in its html
2022-04-08 11:14:43 -04:00
63219d429d
fix: add missing dependency
2022-04-08 10:01:30 -04:00
Vyacheslav Matyukhin
a65f157be8
Merge pull request #48 from QURIresearch/prisma-migrate
...
Prisma migrate
2022-04-08 00:18:25 +03:00
Vyacheslav Matyukhin
8b70568795
feat: initial prisma migration
2022-04-07 23:19:59 +03:00
Vyacheslav Matyukhin
5e34ebf35e
cleanup: unnecessary db-related code
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
6a6597c657
WIP: more prisma migrate
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
592309559d
feat: prisma (empty config)
2022-04-07 22:47:17 +03:00
Vyacheslav Matyukhin
ebe09bd999
fix: /dashboards props type
2022-04-07 22:47:09 +03:00
7c89a1c6ad
Merge pull request #47 from QURIresearch/rootclaim-fix
...
Fix rootclaim fetcher
2022-04-06 21:14:30 -04:00
Vyacheslav Matyukhin
5aef91414c
fix: rootclaim ( fixes #39 )
2022-04-07 03:02:35 +03:00
Vyacheslav Matyukhin
afeca1e796
fix: avoid connection leaks in frontpage code
2022-04-06 02:16:55 +03:00
Vyacheslav Matyukhin
340dd3ac19
fix: /capture code
2022-04-06 01:51:32 +03:00
Vyacheslav Matyukhin
39e46b1fe6
fix: more dashboards fixing & ts changes
2022-04-06 00:36:38 +03:00
Vyacheslav Matyukhin
3771b53e4f
fix: platform labels in dashboards
2022-04-06 00:02:54 +03:00
067832b72f
fix: Tweak polymarket stars calculation b/c wash-trading incentives
...
Do this by adding liquidity requirements, rather than only loking at
volume
2022-04-05 10:46:46 -04:00
Vyacheslav Matyukhin
5ccbb7fabc
Merge pull request #42 from QURIresearch/no-schemas
...
Should be fine. Tables in `public` schema are ready.
Fixed secretEmbed and dashboards, fixed small bugs in platforms code (I'm starting to dislike the fact that platform fetchers have to populate `platform` field and set `id` to `${platform}-${shortId}`, it seems error-prone; maybe platforms should remove an object with `id: shortId` and without `platform`, and then an external code would populate it as needed... but then we'd need a different type for "fetcher output result", and I'm still hesitant).
Steps for the next half-hour:
- [ ] move tables to new DB instance in the US (copied with pg_dump/pg_restore)
- [ ] merge code, deploy on heroku/netlify
- [ ] switch to the new db
- [ ] update algolia index
- [ ] check that everything works
- [ ] drop schemas (from new DB, not a problem even in case of significant issues since we have backups and the old DB)
2022-04-02 03:12:36 +03:00
Vyacheslav Matyukhin
1b6ff8d440
fix: platform names, dashboards, cleanups
2022-04-02 02:25:12 +03:00
Vyacheslav Matyukhin
1461002070
fix: secretEmbed
2022-04-02 01:38:39 +03:00
Vyacheslav Matyukhin
72db637972
feat: new db structure; platform labels
2022-04-01 23:24:35 +03:00
Vyacheslav Matyukhin
a1ba23e340
feat: data in public schema; merge history tables
2022-03-31 13:00:09 +03:00
8b579bf7f0
tweak: fix broken readme link
2022-03-30 22:30:19 -04:00
339786a496
tweak: Show cli tool in README.md
2022-03-30 22:18:56 -04:00
e9f0c66ca2
tweak: only show first three options of sample when inserting
2022-03-30 22:02:52 -04:00
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