0
0
Fork 0
Commit graph

468 commits

Author SHA1 Message Date
Oliver-Akins
02644bb510 Fix default data objects and update the types 2021-09-30 12:36:41 -06:00
Oliver-Akins
60a83eef3d Add the ability to link to the history site in a button 2021-09-30 01:36:22 -06:00
Oliver-Akins
14df79139a Merge branch 'rewrite' of github.com:Oliver-Akins/Quote-Bracket into rewrite 2021-09-30 00:01:41 -06:00
Oliver-Akins
fca9a73bb8 Update Vite config and deploy script to work. 2021-09-29 23:58:14 -06:00
Oliver
6b12480cde
Merge pull request #8 from Oliver-Akins/dependabot/npm_and_yarn/server/axios-0.21.2
Bump axios from 0.21.1 to 0.21.2 in /server
2021-09-29 23:36:25 -06:00
dependabot[bot]
9997614f5b
Bump axios from 0.21.1 to 0.21.2 in /server
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 05:35:51 +00:00
Oliver-Akins
cd2349a449 Add the first version of the history site 2021-09-29 23:34:56 -06:00
Oliver-Akins
e616466f98 Add the history site config option 2021-09-29 22:49:04 -06:00
Oliver-Akins
7cbf104c32 Add an endpoint for accessing a guild's bracket history 2021-09-29 22:48:28 -06:00
Oliver-Akins
f22e74b599 Only intersect guilds that have the history site enabled 2021-09-29 22:47:55 -06:00
Oliver-Akins
fcda612970 Add server endpoint to compare a list of user guilds to the registered bracket guilds 2021-09-29 22:43:14 -06:00
Oliver-Akins
e8a1dbcb51 Update gitignore to allow config files 2021-09-29 22:33:58 -06:00
Oliver-Akins
b85fae5720 Correct the erroneous history database saving 2021-09-29 22:31:01 -06:00
Oliver-Akins
c1786bab56 Move tsconfig to the server folder 2021-09-29 22:15:13 -06:00
Oliver-Akins
07e69a8d74 Adjust source code formatting of the root README 2021-09-24 22:59:05 -06:00
Oliver-Akins
05bdaf9efd Update the gitignore for the new directory stucture 2021-09-24 22:58:45 -06:00
Oliver-Akins
33ca09808e Move everything for the server in to a server folder to make room for the site 2021-09-24 22:58:23 -06:00
Oliver-Akins
6a45152d8f Merge branch 'rewrite' of github.com:Oliver-Akins/Quote-Bracket into rewrite 2021-09-23 17:40:15 -06:00
Oliver-Akins
c339e96578 Fix the winners endpoint resetting the quote votes before comparison 2021-09-23 17:40:08 -06:00
Oliver-Akins
a6a3eff038 Remove data migration file 2021-09-23 01:10:17 -06:00
Oliver-Akins
19411a71e4 Only show the win streak if it has won 2021-09-23 00:34:52 -06:00
Oliver-Akins
8ea9bb4d2a Actually remove the dev_buttons option 2021-09-23 00:13:21 -06:00
Oliver-Akins
8796a5a0c4 Add script to migrate the database to v2 2021-09-23 00:03:41 -06:00
Oliver-Akins
0eca255f33 Move the button objects into their relevant files 2021-09-19 01:45:32 -06:00
Oliver-Akins
e49bc76e20 Add types for Discord components 2021-09-19 01:45:09 -06:00
Oliver-Akins
dfd9325775 Split the thread behaviour for the tie alerts into an enum intead of multiple booleans. 2021-09-19 01:44:48 -06:00
Oliver-Akins
c0a1f4be2e Split the dev buttons off into better controls 2021-09-19 01:44:14 -06:00
Oliver-Akins
f44d1d35e2 Have the button respond with the quote's text 2021-08-30 17:00:43 -06:00
Oliver-Akins
4475273d88 Make the count votes button display the actual quote and not the object 2021-08-30 16:58:24 -06:00
Oliver-Akins
7ee7496ce7 Update the bracket history type 2021-08-30 16:57:57 -06:00
Oliver-Akins
08084b0ab9 Add finalize querystring for incrementing win streak and resetting vote counts 2021-08-30 16:57:24 -06:00
Oliver-Akins
32a4062ea0 Tell the winners endpoint that we are finalizing bracket results with this call 2021-08-30 16:56:40 -06:00
Oliver-Akins
0bc10c0c6b Add missing space 2021-08-30 16:56:11 -06:00
Oliver-Akins
edb33a14eb Use the helper method to create the field, and use the quote text, not the object 2021-08-30 16:55:55 -06:00
Oliver-Akins
108fd65487 Add helper method for creating the field's title 2021-08-30 16:54:43 -06:00
Oliver-Akins
62285d4492 Use the quote text instead of an [object Object] 2021-08-30 16:54:21 -06:00
Oliver-Akins
bd98d87475 Refactor to use the Quote objects instead of strings 2021-08-29 15:16:05 -06:00
Oliver-Akins
4d066aed41 Refactor to use the new database structure 2021-08-29 15:15:36 -06:00
Oliver-Akins
f1586efc9e Move location of colon in field name 2021-08-29 15:14:05 -06:00
Oliver-Akins
a50c63b679 Refactor getQuote to return the Quote object 2021-08-29 14:56:29 -06:00
Oliver-Akins
fb0bdc779e refactor the jump link production in order to have it use the link when we aren't creating a thread. 2021-08-28 23:47:28 -06:00
Oliver-Akins
d4100d0adc refactor how the try_thread variable is created 2021-08-28 23:46:57 -06:00
Oliver-Akins
caf8ad7a5d Correct README section title 2021-08-28 23:44:07 -06:00
Oliver-Akins
c771b8e16a Update the README 2021-08-28 23:40:59 -06:00
Oliver-Akins
79418dcf32 refactor to use the new db schema 2021-08-28 22:58:27 -06:00
Oliver-Akins
cfb09349c9 convert to use the new DB schema 2021-08-28 22:56:06 -06:00
Oliver-Akins
06a5273f7c refactor the vote variable to newVote 2021-08-28 22:54:43 -06:00
Oliver-Akins
527e7a2b37 Update the database schema to have a better quote structure 2021-08-28 22:53:34 -06:00
Oliver-Akins
3fc360054d Initial version of a proper README 2021-08-13 22:44:49 -06:00
Oliver-Akins
9c800680cc Add a template configuration 2021-08-13 22:44:34 -06:00