From 5c9378833e84a6ea50da84f34c0bd34e2f7aeb54 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 5 Jan 2023 18:24:26 +0100 Subject: [PATCH] tweak: Add license, some small tweaks. --- LICENSE.md | 7 +++++++ README.md | 2 ++ package.json | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..9eacc8d --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,7 @@ +Copyright 2023 Quantified Uncertainty Research Institute. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 1555c9e..cb49e70 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ Overall, the services which we use are: ## Various notes +- This repository is released under the [MIT license](https://opensource.org/licenses/MIT). See `LICENSE.md` - Commits follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) - For elicit and metaculus, this library currently filters out questions with <10 predictions. - The database is updated once a day, at 3:00 AM UTC, with the command `ts-node -T src/backend/flow/doEverythingForScheduler.ts`. The frontpage is updated after that, at 6:00 AM UTC with the command `ts-node -T src/backend/index.ts frontpage`. It's possible that either of these two operations makes the webpage briefly go down. @@ -97,6 +98,7 @@ Overall, the services which we use are: - [x] Update Metaculus and Manifold Markets fetchers - [x] Add markets from [Insight Prediction](https://insightprediction.com/). +- [ ] Use to update stars calculation for Manifold. - [ ] Add a few more snippets, with fetching individual questions, questions with histories, questions added within the last 24h to the /contrib folder (good first issue) - [ ] Refactor code so that users can capture and push the question history chart to imgur (good first issue) - [ ] Upgrade to [React 18](https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html). This will require dealing with the workaround we used for [this issue](https://github.com/vercel/next.js/issues/36019#issuecomment-1103266481) diff --git a/package.json b/package.json index 2627dc2..a6a87d4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "build": "prisma generate && next build", "next-start": "next start", "next-export": "next export", - "dbshell": ". .env && psql $DIGITALOCEAN_POSTGRES" + "dbshell": ". .env && psql $DIGITALOCEAN_POSTGRES", + "upgrade-interactive": "yarn upgrade-interactive --latest" }, "dependencies": { "@floating-ui/react-dom": "^0.7.2",