Commit Graph

307 Commits

Author SHA1 Message Date
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
Bui
62aca02aab bugfixes 2020-03-13 03:19:26 +00:00
Bui
ae71ab8073 Merge remote-tracking branch 'origin/add-accounts' into user-server 2020-03-13 02:46:52 +00:00
Bui
7519b1c4c2 account system backend, db rewrite 2020-03-13 02:45:42 +00:00
LoveEevee
2af924a985 Add everything for accounts 2020-03-13 05:34:54 +03:00
LoveEevee
e81bf9b480 More bug fixes
- BPM and go go time change even when there are no notes after the change, seen in Ego Ego Atakushi and UFO Swingin'
- Maker URL can be added to a local tja
  - Example: `MAKER: Creator name <https://example.com/path>`
- Long list of settings scrolls more naturally with arrow keys
- When media engagement is low, gamepad users will not be able to proceed on the title screen until a mouse click or a key press unpauses the audio context
- Fix "Bad" note gauge judgement on easy difficulty
- In debug, use hash to tell apart songs
2020-03-12 07:59:28 +03:00
LoveEevee
4d370762f8 Use Font Loading API instead of FontDetect 2020-03-09 16:05:13 +03:00
LoveEevee
9248a52194 Lots of bug fixes
- Toggling autoplay checkbox in debug now disallows saving the score
- Fix crown of the song that was previously selected rendering above the genre
- Outline of empty crowns is slightly darker
- Fix rendering when there is a crown on oni and no crown on ura
- Fix crowns overlapping the netplay 2P icon
- Fix gauge in latency calibration
- Fix debug to work on mobile, can be toggled with ctrl+alt+`;` on hacker's keyboard with permanent notification
- Fix being unable to scroll the settings list without toggling something
- Handle KeyboardInterrupt in server.py
- Fix category jumping not working in session mode
- Fix mouse cursor being hidden at results screen in session mode
- Make "Issues" on the about screen and "An error occurred, please refresh" on loading screens translateable
- CanvasCache uses integer increments for comparison instead of Date.now()
- For imported songs, exclude song titles from genre comparisons if they appear in the name of the folder
- Fix tja files with spaces in the notation
- Fix second player's score on the results screen to have upside down appearance
- Add fixed chinese strings
2020-03-09 15:36:57 +03:00
Bui
5a1be53e21
Merge pull request #186 from bui/songselect-add-crowns
SongSelect: Add crowns
2020-03-07 13:54:14 +00:00