Commit Graph

708 Commits

Author SHA1 Message Date
Bui
224bf25fc0
Merge pull request #224 from N-Field/patch-preview-int
fix 400 errors from /api/preview
2020-05-09 17:29:53 +01:00
Bui
f346e05312
Merge pull request #214 from MarNicGit/DynamicCategories
Dynamic categories
2020-05-09 17:24:23 +01:00
purerosefallen
992a44be36
typo 2020-05-06 21:13:24 +08:00
purerosefallen
6a93ad2735
byte limit 2020-05-06 21:12:49 +08:00
purerosefallen
61dc667705
fix /api/preview 2020-05-06 21:05:55 +08:00
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
Bui
09c1ba2b0a
Merge pull request #215 from bui/bug-fixes
Bug fixes
2020-04-17 03:09:04 +01:00
LoveEevee
f83fab41e3 Bug fixes
- Fixed touch multiplayer drum being too small and nameplate drawing on top of it
- Fixed #lyric lines being forced to be lowercase and appearing too early
- Fixed exiting session while someone else is using netplay sending you to difficulty selection of the song that the netplay person has selected
- Fixed ≠MM title on song select not having the first symbol rotated
- Fixed nameplate cache in song select and in game not getting cleared
- Increased ping timeout for multiplayer

Admin page fixes
- Add meta viewport tag so that the admin pages can be opened on mobile
- On song list, songs that are not enabled are now marked
- Disable tabbing through diverge notes checkboxes in courses when adding or editing a song
- Add Hash to song adding
- Display an error if a local chart file has not been found while calculating hash
- If calculating the hash results in an error, do not discard all other changes
2020-04-17 04:53:53 +03: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
Bui
d98b2d9697
Merge pull request #209 from N-Field/fix-session-redis
Fix crash when using non-localhost redis
2020-04-06 09:39:19 +01:00
purerosefallen
99c906d1ad
load redis properly in session 2020-04-06 16:36:00 +08:00
Bui
008bfbe418
fix admin level for song edit 2020-04-06 06:36:08 +01:00
Bui
6c02bf9049
Merge pull request #208 from bui/add-custom-don
Add custom Don
2020-04-05 01:10:33 +01: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
Bui
ed97f9c593 add pip requirements 2020-04-02 20:25:02 +01:00
Bui
d910de6bc7 Merge branch 'add-lyrics' 2020-04-02 20:05:35 +01:00
LoveEevee
967d882a36 Fix multiplayer server 2020-04-02 01:37:23 +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
8d8a4577d2 Admin: Fix hashing if songs baseurl is not absolute 2020-03-18 06:54:42 +03:00
LoveEevee
54a98b77d9 Fix logging out and the Remember me checkbox 2020-03-17 11:07:29 +03:00
LoveEevee
a62184e0d2 Fix a multiplayer bug that I cannot reproduce 2020-03-17 08:51:23 +03:00
LoveEevee
2232c36182 Request a csrftoken before every request 2020-03-17 07:20:03 +03:00
Bui
841e9d37d1 add csrftoken api route 2020-03-17 04:03:10 +00:00
LoveEevee
96b1ba4b04 Add git hooks to tools
- Place these in your .git/hooks/ directory
2020-03-17 06:13:36 +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
873bd1a73e hashexception 2020-03-17 01:27:54 +00:00
Bui
fe90a35625 generate hashes on server 2020-03-17 01:27:06 +00:00