Commit Graph

125 Commits

Author SHA1 Message Date
Jill ba18d2f0d9 the tiniest microoptimization 2023-01-05 19:07:44 +03:00
winter 7ffe18b334 account saving 2023-01-06 00:22:33 +09:00
winter 4788c8f65f git forced me to commit :( 2023-01-06 00:22:33 +09:00
Jill 10989bb7ca refactor how data folder is handled 2023-01-05 17:08:57 +03:00
Jill d99741d10d gauntlets 2023-01-05 16:43:45 +03:00
Jill 6285395adb quests 2023-01-05 15:57:30 +03:00
Jill 7b1dcfad91 sql part 2 2023-01-05 12:34:24 +03:00
Jill 0417f36d3a i hate sql!!!! 2023-01-05 12:28:41 +03:00
Jill ab88dba7e0 make sure the logs specify chests are disabled 2023-01-05 12:22:25 +03:00
Jill 44b01501f6 chests 2023-01-05 12:08:36 +03:00
Jill 581a9cb6cc don't require login to see scores 2023-01-05 09:46:59 +03:00
Jill 9e22dbd8f3 fix account comments 2023-01-04 18:59:14 +03:00
Jill 1cc00624fe replace == "" with .blank? 2023-01-04 15:05:27 +03:00
Jill a0c97aa1f3 shitty reuploading 2023-01-04 14:55:59 +03:00
Jill 2c4ddaf0e8 fix viewing users' levels 2023-01-04 02:21:52 +03:00
Jill 9b55f5c423 dumb daily levels implementation 2023-01-04 02:20:45 +03:00
Jill bfb62f3e47 stricter requirements for accounts 2023-01-03 16:20:31 +03:00
Jill 2533475a2e update levels 2023-01-03 15:59:57 +03:00
Jill daa1e74533 switch level storage to file-based instead of blobs in db 2023-01-03 14:42:18 +03:00
Jill 5937c3978c oops forgot to remove debug line 2023-01-03 13:55:45 +03:00
Jill 310ba24084 more intensive upload checks; config update 2023-01-03 13:46:11 +03:00
Jill 6587cb4adf add level parsing for intensive upload checks, remove GDBase64 2023-01-03 13:38:23 +03:00
Jill e455a304b9 refactor endpoint system
context is now passed in instead of just the body

will allow for ip bans and similar in the future :slugclose:
2023-01-03 10:02:50 +03:00
Jill 0c6f4219da rename wt1 to editor_time, wt2 to editor_time_copies 2023-01-03 09:14:02 +03:00
Jill 46a4d06983 put newfound gddocs info to use
fun fact: this exists https://docs.gdprogra.me/

:slugclose:
2023-01-03 08:58:24 +03:00
Jill 7f9323c72f cache gjp checks for performance; switch everything to Accounts.auth 2023-01-02 19:07:33 +03:00
Jill e50acbcfd6 weekly level score leaderboard 2023-01-02 18:55:21 +03:00
Jill 69d9c5aee7 make mappack impl work with >3 mappacks 2023-01-02 18:14:06 +03:00
Jill 92cfd710c9 group map packs correctly question mark ? 2023-01-02 17:44:22 +03:00
Jill 8f3caccce2 see your own unlisted levels 2023-01-02 17:21:39 +03:00
Jill ef072cf082 viewing user levels fix 2023-01-02 17:12:12 +03:00
Jill 50c3f00035 single-line change to make unlisted levels work 2023-01-02 17:07:18 +03:00
Jill 903a7dd869 make search queries & level id lookups work 2023-01-02 17:06:32 +03:00
Jill 551bc7cbcf trending error fix, make errors actually log 2023-01-02 17:00:04 +03:00
Jill d4e930e424 switch all auto-incrementing ids to a single tracking system
this is to prevent ids from overlapping after a level is deleted

this WILL cause issues on older databases. i will not be responsible
2023-01-02 16:32:31 +03:00
Jill 02461ec944 clean downloadLevel up a little 2023-01-02 15:21:49 +03:00
Jill a4e28cb708 clean up comments 2023-01-02 15:12:41 +03:00
Jill c6b7fe3dfb pretty logs :) 2023-01-02 13:59:37 +03:00
Jill 8b3a39da9d custom song system more-or-less outlined
it's functional, but missing a lot of the functionality; very little checks to match the config are done and caching is completely missing
2023-01-02 09:56:04 +03:00
winter 6785d0e936 shine bright like a diamond 2023-01-01 17:24:04 +09:00
winter 31b59f76e0 shabadaba gooba like a meebo 2023-01-01 17:17:50 +09:00
winter cc8d24d2fd like comment and subscribe 2023-01-01 16:06:25 +09:00
Jill 1427aa6fc1 further attempt at getting comments to work (still not working) 2023-01-01 05:11:09 +03:00
Jill 43455b44d6 wip comments (currently non-functional) 2022-12-31 23:25:08 +03:00
Jill c83975ddfa refactor string cleaning 2022-12-31 22:05:39 +03:00
Jill 571041f8f8 customizable date display format 2022-12-31 21:45:00 +03:00
Jill 09eee68e51 profile comments 2022-12-31 21:45:00 +03:00
winter 15ab48298d sdfjhkjgfh 2023-01-01 02:48:18 +09:00
Jill 886a16468a slightly tweak account lib stuff 2022-12-31 20:12:22 +03:00
Jill c9e1595185 implement level deletion 2022-12-31 19:59:44 +03:00
winter 58bb7ace20 sdfjhklgf 2023-01-01 01:49:16 +09:00
Jill 426da44bee fix date formatting 2022-12-31 17:04:43 +03:00
Jill 865c21c4ea custom songs more-or-less functional 2022-12-31 16:25:45 +03:00
winter 4693eb222a fuck this it doesn't work 2022-12-31 19:46:51 +09:00
winter 5f1a1c74d1 progress 2022-12-31 19:46:51 +09:00
Jill d10faa1106 demon difficulty ratings 2022-12-31 12:42:05 +03:00
Jill 2b3f36f6ea config system 2022-12-31 11:16:43 +03:00
Jill 5a1ba76f02 you can vote on difficulties now 2022-12-31 10:21:21 +03:00
Jill ce5b075280 create community_difficulty field [requires db recreation] 2022-12-31 09:59:44 +03:00
Jill 6731a00b36 fix up level scores & account nonsense 2022-12-31 09:44:30 +03:00
Jill d9a73fe813 lightly fucked level scores 2022-12-31 09:28:08 +03:00
winter 45bc61c3cb bug: destroyed 2022-12-31 14:20:03 +09:00
winter 23f3e9311c сапог 2022-12-31 14:07:12 +09:00
Jill 2175b25ead more complete getLevels impl 2022-12-31 07:03:36 +03:00
Jill f6b757e5c3 tiny note about caps sensitivity in registerAccount 2022-12-31 05:16:46 +03:00
Jill 7bfb73f636 make account usernames a unique key 2022-12-31 05:13:29 +03:00
Jill 6cd20d330d tiny updateUser note 2022-12-31 05:10:50 +03:00
Jill a7faa055f9 basic input sanitization w/ todos sprinkled everywhere 2022-12-31 05:08:02 +03:00
Jill 0fddc7a3e6 replace sub w/ gsub, deduplicate b64 code 2022-12-31 04:17:37 +03:00
Jill a734b39238 move libraries to lib/ 2022-12-31 04:08:09 +03:00
winter 79ee71e6e2 oops! 2022-12-31 03:18:29 +09:00
winter 238cfcce82 like and subscribe (no comment yet) 2022-12-31 03:07:22 +09:00
winter 9cfe9520b4 some kind of security implemented 2022-12-31 02:34:55 +09:00
winter 0c1ca2bc0b fix bug with level download hash 2022-12-31 01:57:37 +09:00
Jill 4ca2ba06ab some minor refactoring 2022-12-30 19:04:27 +03:00