Commit Graph

  • 930c0bc6a3 Added rate limit per day per IP. Ajay Ramachandran 2019-07-21 22:06:01 -04:00
  • 5a5118a7b0 Made it order the sponsor times by start time. Ajay Ramachandran 2019-07-20 21:48:08 -04:00
  • 5e3c8a3b15 Fixed submissions being broken. Ajay Ramachandran 2019-07-20 15:29:31 -04:00
  • a0e63e7326 Preventing voting twice accept for changing vote. Ajay Ramachandran 2019-07-19 17:00:50 -04:00
  • 27a6741d3e Update README.MD Ajay Ramachandran 2019-07-17 22:04:04 -04:00
  • 6850414a27 Replaced typeof with proper undefined check Ajay Ramachandran 2019-07-17 21:58:40 -04:00
  • 1a603082f5 Merge pull request #3 from ajayyy/experimental v0.2 Ajay Ramachandran 2019-07-17 19:43:16 -04:00
  • 03fcda5e3b Fixed post method not setting a default for votes. Ajay Ramachandran 2019-07-17 19:09:45 -04:00
  • a213d2be02 Fixed it not checking if there are more than 4 choices to choose from. Ajay Ramachandran 2019-07-17 17:13:43 -04:00
  • 0e50314cb6 Merge pull request #2 from ajayyy/experimental Ajay Ramachandran 2019-07-17 16:05:52 -04:00
  • 79fd1fe95e Made it use the sum of votes from choiceGroups when deciding the top 4. Ajay Ramachandran 2019-07-17 15:46:38 -04:00
  • 60c125f4ce Made functions use more generic variable names. Ajay Ramachandran 2019-07-17 14:44:23 -04:00
  • 24ed3143ed Uses weighted random to ensure a maximum of 4 sponsor times are returned Ajay Ramachandran 2019-07-17 14:41:10 -04:00
  • 5c24a6109c Moved weighted random into separate function. Ajay Ramachandran 2019-07-16 22:51:17 -04:00
  • a4affb9e4d Made it so that -2 to 0 votes has a chance in the randomizer. Ajay Ramachandran 2019-07-15 22:32:08 -04:00
  • ab3facdbcf Changed to point of convergence to 10. This can be changed if this service gets popular. Ajay Ramachandran 2019-07-15 22:25:22 -04:00
  • 9ab902dc36 Added new sqrt formula to decide which sponsor time to give out. Ajay Ramachandran 2019-07-15 22:18:35 -04:00
  • 22905b6acd Made the server return a list of UUIDs along with the list of sponsor times. Ajay Ramachandran 2019-07-15 16:54:27 -04:00
  • 4e5ef0d040 Added voting endpoint. Ajay Ramachandran 2019-07-15 16:40:47 -04:00
  • a41e6a9172 Merge pull request #1 from ajayyy/experimental v0.1 Ajay Ramachandran 2019-07-12 22:56:36 -04:00
  • 9b812721ad Made it so that each user can only submit 4 sponsorship segments per video Ajay Ramachandran 2019-07-11 19:45:55 -04:00
  • 1afd720241 Changed 400 error code to 409 Ajay Ramachandran 2019-07-10 23:38:28 -04:00
  • da9fc1f4a1 Made it save the time the data was submitted (in unix time) Ajay Ramachandran 2019-07-10 23:34:37 -04:00
  • 12745531e2 Added duplication check. Ajay Ramachandran 2019-07-10 22:45:15 -04:00
  • a2889925e7 Added global salt for hashed ips Ajay Ramachandran 2019-07-10 22:07:39 -04:00
  • 05da836384 Made the server save a hash of their ip with the data. Ajay Ramachandran 2019-07-10 22:00:28 -04:00
  • 16b2b22bc0 Added support for receiving a userID Ajay Ramachandran 2019-07-10 19:25:49 -04:00
  • 19bcd82dc5 Create README.MD Ajay Ramachandran 2019-07-09 23:11:06 -04:00
  • b2a54716c9 Fixed 404 check not properly working Ajay Ramachandran 2019-07-09 16:43:17 -04:00
  • 5cc5a7af0d Made it send 404 when nothing is found Ajay Ramachandran 2019-07-09 16:31:04 -04:00
  • 367dc82d85 Added support for float times Ajay Ramachandran 2019-07-09 15:20:10 -04:00
  • b167b0bc48 Fixed CORS issues Ajay Ramachandran 2019-07-09 15:12:08 -04:00
  • c0efc89083 Changed api endpoints Ajay Ramachandran 2019-07-09 14:44:40 -04:00
  • 7bf99e35fe Added post function and fixed database download function Ajay Ramachandran 2019-07-09 14:42:59 -04:00
  • ca479bc2f7 Initial commit Ajay Ramachandran 2019-07-09 13:48:03 -04:00