Commit Graph

525 Commits

Author SHA1 Message Date
Bui
88c45113a3
Merge pull request #284 from Nyaasu66/master
Add some Chinese translations
2020-12-02 01:07:04 +00:00
Nyaasu
02348e45ea 📝 Add some Chinese translations 2020-11-30 06:44:50 +08:00
Bui
3b1452eb06
Merge pull request #278 from bui/browsersupport-add-ogg-wasm
BrowserSupport: Add Ogg/Wasm test
2020-11-09 15:38:09 +00:00
LoveEevee
2a167a0f50 Fix text becoming too big 2020-11-09 18:07:28 +03:00
LoveEevee
23214d14c3 BrowserSupport: Add Ogg/Wasm test 2020-11-09 17:34:44 +03:00
Bui
6c7d8803bb
Merge pull request #276 from bui/assets-convert-to-ogg
Assets: Convert to ogg
2020-11-09 09:21:25 +00:00
LoveEevee
4f66959e9c Use separate js and wasm files for oggmented
Source: https://github.com/LoveEevee/oggmented
2020-11-09 07:08:03 +03:00
LoveEevee
61c3bb1637 Fix calibration screen 2020-11-09 00:48:38 +03:00
LoveEevee
dec0e55eb7 Assets: Convert to ogg
- Uses oggmented library to add ogg support to iOS
- Adds support for ogg songs on the server, configurable per song on the admin page
- Lets iOS users upload custom songs with gdrive when enabled
- Tweaked colour picker on account page to respond faster
- Fixed not being able to restart osu songs
2020-11-09 00:30:56 +03:00
Bui
348322b7d8
Merge pull request #273 from bui/importsongs-add-gdrive
ImportSongs: Add Google Drive support
2020-11-08 07:44:56 +00:00
LoveEevee
1d025848c4 Fix local folder button 2020-11-04 03:16:45 +03:00
LoveEevee
5094b0bc70 Add folder dropping, fix rate limits
- Add folder drag and drop support
- Do expodential retrying if rate limited, allowing upload of very large drive folders
- Do not import deleted files
- Move the upload buttons to their own line
- Notify when no TJA files have been found
- Add more translations
2020-11-04 03:12:46 +03:00
LoveEevee
180ec58adb Changed look of song loading, fix custom game assets and song skins, fix auth error
- Change the way a selected song appears while it is loading the metadata
- Fix custom taikowebskin
- Fix importing custom game assets (local only)
- Get the oauth token again on auth error
2020-10-31 14:47:42 +03:00
LoveEevee
c5ce5104f1 Fix charts with utf8-bom encoding 2020-10-29 15:21:53 +03:00
LoveEevee
9aa7375287 Fix lyrics 2020-10-29 11:56:58 +03:00
LoveEevee
f590222568 Fix metadata loading, loading animation, osu charts, and gpicker
- Speed up metadata loading by not waiting for the audio
- Make loading animation bigger on mobile
- Fix osu charts imported with gdrive
- Fix gpicker not appearing after cancelling
2020-10-29 09:04:36 +03:00
LoveEevee
3fea149353 ImportSongs: Add Google Drive support
- Adds a new page for importing custom songs, where it is possible to pick a local folder (desktop only) or a Google Drive folder (desktop and Android)
  - This feature is disabled on iOS due to the lack of OGG audio support in the browser
- In order to not get rate limited, a TJA file is parsed for metadata only when the song is clicked in the song selection, rather than all at once at import time
- The instance maintainer will need to provide the API credentials in the config.py file to enable this feature
  - This requires a new project to be created at console.cloud.google.com
  - Drive API will have to be enabled
  - API and OAuth keys should be created
    - API key can be restricted to only have Google Drive and Google Picker APIs
    - OAuth Client ID should have Web Application type and JavaScript origins set
    - Editing the OAuth consent screen to have a name and icon is recommended
      - It is semi-required to submit the consent screen for verification as the permission to download all of the Drive files will be asked.
      - Note that the email of the maintainer is publicly visible on the consent screen
  - The project number can be found in the IAM & Admin settings page
2020-10-29 08:07:56 +03:00
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