japanese-drum-game/public/src/js
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
..
lib Multiplayer improvements and reupload score on error 2020-03-14 07:50:04 +03:00
about.js Improve the loading screen error message 2020-03-16 12:54:21 +03:00
abstractfile.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
account.js Add custom Don 2020-04-04 16:48:58 +03:00
assets.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
autoscore.js only for safety 2019-11-03 10:40:43 +08:00
browsersupport.js Use Font Loading API instead of FontDetect 2020-03-09 16:05:13 +03:00
canvasasset.js Add custom Don 2020-04-04 16:48:58 +03:00
canvascache.js Add custom Don 2020-04-04 16:48:58 +03:00
canvasdraw.js Bug fixes 2020-04-17 04:53:53 +03:00
canvastest.js Miscellaneous bug fixes 2018-12-13 12:18:52 +03:00
circle.js More bug fixes 2020-03-12 07:59:28 +03:00
controller.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
customsongs.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
debug.js Add custom Don 2020-04-04 16:48:58 +03:00
game.js ParseSong: Separate events from notes 2020-03-15 18:00:23 +03:00
gameinput.js Add global offset 2019-11-28 09:04:40 +03:00
gamepad.js Split language and tutorial, add gamepad settings 2019-04-16 21:06:41 +03:00
gamerules.js More bug fixes 2020-03-12 07:59:28 +03:00
gpicker.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
importsongs.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
keyboard.js Add custom Don 2020-04-04 16:48:58 +03:00
loader.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
loadsong.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
logo.js Custom scripting, #song=, translations 2019-02-14 12:32:45 +03:00
lyrics.js Support importing lyrics 2020-03-31 15:50:27 +03:00
main.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
mekadon.js Split language and tutorial, add gamepad settings 2019-04-16 21:06:41 +03:00
p2.js Add custom Don 2020-04-04 16:48:58 +03:00
pageevents.js Multiplayer improvements and reupload score on error 2020-03-14 07:50:04 +03:00
parseosu.js ParseSong: Separate events from notes 2020-03-15 18:00:23 +03:00
parsetja.js Bug fixes 2020-04-17 04:53:53 +03:00
scoresheet.js Improve the song loading screen error message 2020-03-16 16:42:36 +03:00
scorestorage.js Add custom Don 2020-04-04 16:48:58 +03:00
session.js Fixed custom don not working in session mode 2020-04-04 17:08:59 +03:00
settings.js Revert some whitespace changes 2020-04-27 20:07:43 +03:00
songselect.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
soundbuffer.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
strings.js ImportSongs: Add Google Drive support 2020-10-29 08:07:56 +03:00
titlescreen.js Revert some whitespace changes 2020-04-27 20:07:43 +03:00
tutorial.js improve category jump 2020-02-22 13:09:07 +00:00
view.js Merge pull request #214 from MarNicGit/DynamicCategories 2020-05-09 17:24:23 +01:00
viewassets.js Add custom Don 2020-04-04 16:48:58 +03:00