Commit Graph

315 Commits

Author SHA1 Message Date
LoveEevee
db5e76880b Revert some whitespace changes 2020-04-27 20:07:43 +03:00
LoveEevee
6d0d5e1632 Fix categories for imported songs 2020-04-27 18:47:55 +03:00
mnvdk
962adb1dc7 song_Skin should be song_skin, info_Fill should be info_fill 2020-04-27 02:33:14 +02:00
mnvdk
8fe06bfb9d renamed infoFill to info_Fill on in the database 2020-04-27 02:22:18 +02:00
mnvdk
800e136f91 Undid storing categories in strings.js, instead using the localization method in songselect.js. category info gets passed down to view.js. 2020-04-27 02:12:09 +02:00
mnvdk
14629ad12a Don't lowercase the assigned value 2020-04-26 23:14:16 +02:00
mnvdk
387d1268fd importsongs no longer has a static category list 2020-04-26 22:56:31 +02:00
mnvdk
41ddbb66a9 load category strings in its own object instead of just overwriting everything 2020-04-26 18:13:59 +02:00
mnvdk
f66ef6417f Moved categories to its own object instead of allstrings and adjusted code in the other files in order to maintain multilangual support 2020-04-26 16:48:18 +02:00
mnvdk
dca4948548 reintroduced infoFill, moved infoFill to mongo 2020-04-17 18:35:39 +02:00
mnvdk
d02bfa8426 tiny bit of cleanup 2020-04-16 21:55:55 +02:00
mnvdk
84d5edbbd0 removed backgrounds from assets.js 2020-04-16 21:50:17 +02:00
mnvdk
2c4fdab4f9 removed hardcoded categories from stringsjs and moved the language block to mongo 2020-04-16 21:39:23 +02:00
mnvdk
7d810a27ce bg_genre_def made bg_genre_7 obsolete 2020-04-16 00:51:24 +02:00
mnvdk
988c4cc734 Removed more hardcoded instances of categories 2020-04-16 00:40:13 +02:00
mnvdk
e1411bcd0d preload all category images in loader.js 2020-04-15 22:33:49 +02:00
mnvdk
85d6e70ff6 Dynamic songskin loading for categories 2020-04-14 23:01:47 +02:00
LoveEevee
69b5aa2903 More consistent don size in account settings 2020-04-04 18:01:35 +03:00
LoveEevee
7aa401090c Fixed custom don not working in session mode 2020-04-04 17:08:59 +03:00
LoveEevee
cd288d4fa4 Add custom Don
- Registered users can customise the colour of their Don and it will appear for other players
- Bug fixes:
  - Add lyrics checkbox to admin page
  - 2P shows above "creative" or "with lyrics" labels
  - Prevent accidental alt and menu keyboard presses from triggering browser menus
  - Fixed mouse hitboxes on difficulty selection
  - Clean cached sounds and lyrics when another song is loading
  - Fixed debug jumping to the top-left of the screen when hidden
  - Fixed server volume not being applied to songs
2020-04-04 16:48:58 +03:00
LoveEevee
de284d204d Add Show Lyrics option to settings 2020-03-31 16:44:54 +03:00
LoveEevee
51bd6cec63 Support importing lyrics
- Use inline "#LYRIC" lines in tja files
- "LYRICS:" in tja metadata can point to a vtt file, this overrides "#LYRIC"
2020-03-31 15:50:27 +03:00
LoveEevee
b4dcd76f90 SongSelect: Mark songs with lyrics 2020-03-30 17:29:53 +03:00
LoveEevee
18b6e7dfc2 Fix debug 2020-03-30 11:59:42 +03:00
LoveEevee
3679c27986 Add lyrics 2020-03-30 09:50:34 +03:00
LoveEevee
20b964ab2e Fix some osu songs not being imported 2020-03-26 00:56:49 +03:00
LoveEevee
54a98b77d9 Fix logging out and the Remember me checkbox 2020-03-17 11:07:29 +03:00
LoveEevee
2232c36182 Request a csrftoken before every request 2020-03-17 07:20:03 +03:00
Bui
816833bac0 handle csrf error 2020-03-17 02:18:18 +00:00
Bui
1e7477dd96 anti-csrf 2020-03-17 02:10:47 +00:00
Bui
fe90a35625 generate hashes on server 2020-03-17 01:27:06 +00:00
Bui
5a68978ec4 implement song addition/deletion 2020-03-16 23:30:44 +00:00
LoveEevee
c63b5eba4b Fix positioning of the Select Difficulty text 2020-03-17 01:31:15 +03:00
LoveEevee
f4c3a664eb SongSelect: Lower the songs to make room for crowns 2020-03-17 00:42:20 +03:00
LoveEevee
29fb7845ed Add session crowns 2020-03-16 22:49:18 +03:00
LoveEevee
47b769c8b3 Fix warning not showing in session mode 2020-03-16 19:07:55 +03:00
LoveEevee
95eef4e8db Fix bgm_songsel playing on error 2020-03-16 19:00:32 +03:00
LoveEevee
8f736b5b23 Fix weird sound on error and long lines not wrapping 2020-03-16 18:34:18 +03:00
LoveEevee
4b37150ee0 Improve the song loading screen error message 2020-03-16 16:42:36 +03:00
LoveEevee
a25e108a4b SongSelect: Session sound effects play in appropriate sound channels 2020-03-16 15:22:16 +03:00
LoveEevee
33b9b206a7 Improve the loading screen error message
- Fix subtitle if the previously selected song had the same title
2020-03-16 12:54:21 +03:00
Bui
61e521dda3 update song edit page 2020-03-15 16:16:18 +00:00
LoveEevee
38f1384f27 ParseSong: Separate events from notes 2020-03-15 18:00:23 +03:00
LoveEevee
0a578578c5 Fix strings not having id 2020-03-15 14:10:02 +03:00
LoveEevee
4c07813aff Improve strings.js layout 2020-03-15 10:12:16 +03:00
LoveEevee
0144367c6e Fix importing custom songs 2020-03-14 12:44:29 +03:00
LoveEevee
7f1bb9d357 Multiplayer improvements and reupload score on error
- In multiplayer you will play at the bottom if you joined second
- Add a dialog to song select that score has not been saved
- Uploads the score when logged in again
- Translate error messages from the server
2020-03-14 07:50:04 +03:00
LoveEevee
ad62ac800c Some bug fixes 2020-03-13 08:32:53 +03:00
Bui
929471698f fix individual score upload 2020-03-13 04:04:45 +00:00
Bui
73b8da36ab fix registration bug 2020-03-13 03:54:27 +00:00