Commit Graph

472 Commits

Author SHA1 Message Date
KatieFrogs
ab3c421ab4 Fix custom song list in opera 2022-03-07 02:02:13 +03:00
Bui
8c8f34f7a3 fix songselect when no songs 2022-03-06 18:24:57 +00:00
Bui
055823a8ca fix 2022-03-06 17:48:06 +00:00
Bui
e490f76744 fix 2022-03-06 17:44:50 +00:00
Bui
da90ccde34 fix if p2 closed song 2022-03-06 16:13:07 +00:00
Bui
e90fdd87b5 update random button 2022-03-06 16:05:20 +00:00
Bui
b02dd02ad9 block search when p2 is loading song 2022-03-06 14:56:52 +00:00
KatieFrogs
38963479bc Fix some ogg urls not working on iOS 2022-03-05 08:39:16 +03:00
KatieFrogs
0781c9b120 More fixes
- Add list of enabled plugins to the diagnostics
- Fix broken image permormance in the diagnostics
- Fix parsing undefined values in score storage
- Do not error when verticalText or layeredText gets undefined text
2022-03-04 01:41:56 +03:00
KatieFrogs
89b159e33a Easier plugin debugging
- Make debugging syntax errors in plugins easier by catching the errors and printing relevant information
- Fix default plugin rejected load promise resolving unexpectedly
- Fix default plugin id not stripping the search part of the url
2022-03-04 01:26:17 +03:00
KatieFrogs
6c54c45a23 Song select fixes
- Searching diverge:yes returns songs with branches
- Fade out music slightly while search window is open
- When opening search box with a saved query, all the text gets selected
- Fix Ctrl+F not working during song select fade in
- Fix edge case highlighting only working on lowercase letters
- Fix right clicking selected text in the search box so it no longer gets unselected
- Fix Netplay option appearing when netplay is offline
- Use category id instead of name in the generated stylesheet
- Languages can choose to fallback to english instead of japanese with preferEn
2022-03-03 23:38:29 +03:00
KatieFrogs
6f10718bd2 Add Patch.addLanguage for language plugins 2022-03-03 18:19:16 +03:00
Bui
05bda50655 fix back button 2022-03-03 05:45:02 +00:00
Bui
c81c3008fa normalize search 2022-02-28 22:04:04 +00:00
KatieFrogs
03428aa50e Do not exclude 1 char gap 2022-02-28 03:24:14 +03:00
KatieFrogs
8c3429b67c Move the highlighted range 2022-02-28 02:51:51 +03:00
KatieFrogs
22712326b2 Workaround for an edge case 2022-02-28 02:45:27 +03:00
KatieFrogs
0b433e5e72 Improve search relevancy
- If the search string gets split too many times (more than twice the amount of characters), the result is excluded
- Matches in the title are ranked higher than in the subtitle
- Exact matches are ranked the highest
2022-02-28 02:19:25 +03:00
Bui
a6458168b8 update max results, again 2022-02-27 20:28:32 +00:00
Bui
c9b05b35e3 don't play v_diffsel if already there 2022-02-27 19:34:50 +00:00
KatieFrogs
fbcb0e41eb Highlight search results 2022-02-27 22:11:21 +03:00
Bui
70a047cd1c improve range parsing 2022-02-27 18:23:20 +00:00
Bui
a763028fa7 built-in limit filter 2022-02-27 17:52:07 +00:00
Bui
0dab74c0bb back to 100 2022-02-27 17:25:02 +00:00
Bui
bdad6b702a use fuzzy search 2022-02-27 17:17:17 +00:00
KatieFrogs
05b2104713 Fix broken search, fix wrong result size 2022-02-27 19:43:51 +03:00
KatieFrogs
07294857fa Optimize search
- Optimize search result insertion, should be 5 to 7 times fater than before
- Fix a memory leak when stylesheets are being inserted into the page
2022-02-27 18:49:56 +03:00
Bui
9ceecd90d0 fix maker filter 2022-02-26 21:50:37 +00:00
Bui
54f807a8d5 fix courses with p1 and p2 notes 2022-02-26 21:39:11 +00:00
Bui
1cf969a68f reduce results to 50 2022-02-26 05:06:50 +00:00
KatieFrogs
39c2436de2 Search optimization 2022-02-26 06:06:32 +03:00
KatieFrogs
0f142b5386 Squish text, fix keyboard navigation 2022-02-26 05:49:05 +03:00
KatieFrogs
76736a35bf Add fadeout in the search 2022-02-26 05:06:32 +03:00
Bui
6c1cddf33f set caret to end 2022-02-26 01:37:44 +00:00
Bui
4f71a32bcf set last query first 2022-02-26 01:29:02 +00:00
Bui
b63cd56b93 add maker filter 2022-02-26 01:22:36 +00:00
KatieFrogs
10d360fd42 More CSS fixes 2022-02-26 04:18:51 +03:00
Bui
1ef724c4c1 remember last query until refresh 2022-02-26 00:47:09 +00:00
KatieFrogs
d85d48bc1f CSS fixes 2022-02-26 03:24:46 +03:00
Bui
e9b07f283d fix genre filter for custom song list 2022-02-26 00:09:14 +00:00
KatieFrogs
d44a4a1ce2 Improve appearance on mobile 2022-02-26 00:05:43 +03:00
Bui
7372b617b0 highlight close button on hover 2022-02-25 20:48:51 +00:00
Bui
17bec44720 check for event 2022-02-25 19:42:57 +00:00
Bui
5145aeccec trim query 2022-02-25 19:34:12 +00:00
Bui
c307fbb279 update p2 background 2022-02-25 19:32:35 +00:00
KatieFrogs
eb37779b58 Do not cancel touch while searching 2022-02-25 22:19:29 +03:00
Bui
24f02393eb allow ctrl+f from diff sel, fix input focus 2022-02-25 19:07:53 +00:00
Bui
6c6da320e1 stop songsel bgm 2022-02-25 19:02:30 +00:00
KatieFrogs
7935b3685f Fix key events in the search box 2022-02-25 21:57:10 +03:00
Bui
6a9139f9e9 fix ctrl+f 2022-02-25 18:50:21 +00:00
Bui
d0c26aa309 use more keyCode 2022-02-25 18:45:04 +00:00
Bui
e8547b027c use keyCode 2022-02-25 18:41:03 +00:00
Bui
ca9c602b67 search fixes 2022-02-25 18:29:56 +00:00
Bui
6c8b635c2a implement song search 2022-02-25 18:16:11 +00:00
KatieFrogs
bedcc1e5ef Plugin fixes
- Support returning a promise in the plugin load() function
- strReplace can now replace more than one occurence with a parameter, specify how many occurences are expected, with Infinity being as much as possible
- this.log() function now accepts multiple arguments
2022-02-23 20:31:52 +03:00
KatieFrogs
6ad78cc547 Expand the plugin tooltip area 2022-02-22 19:52:42 +03:00
Bui
10f49094b9 ja 2022-02-22 16:24:30 +00:00
KatieFrogs
7cf34cfb74 Hide plugin menu if empty 2022-02-22 17:43:27 +03:00
KatieFrogs
7d818877f8 Plugins: Add plugin settings
- Add support for plugin settings, they appear in the same menu as the plugins, indented from the left to emphasize which plugin the setting belongs to
  - Note that plugin settings can still be changed even when the plugins are stopped
- Add tooltips to plugin menu to view the plugin descriptions, description_lang can also be used
- Fix scolling not working on song select when returning from game settings
- Let instance owners set default plugin files in config.py, to make them easier to maintain
- plugins.add() can now add plugins using a url
- Plugins can be hidden from the plugin menu using PluginLoader.hide, an option in plugins.add(), or in config.py
- Make p2.disable() incremental so that multiple plugins can disable multiplayer independently
- Server no longer crashes if certain optional config fields were not copied over from an updated example config
- Fix not being able to unload plugins if one was imported with errors
2022-02-22 16:23:01 +03:00
Bui
78fe7062dc allow ogg to be used for previews 2022-02-18 16:17:12 +00:00
KatieFrogs
4d27499108 Support plugin name localization 2022-02-18 02:44:37 +03:00
Bui
3aff309504 ja 2022-02-17 23:37:10 +00:00
KatieFrogs
7c0104fe5b Fix black screen 2022-02-18 02:06:00 +03:00
KatieFrogs
4e6eec231a Fix song scrolling in session multiplayer 2022-02-18 00:14:38 +03:00
KatieFrogs
911841af95 Fix tutorial 2022-02-18 00:06:50 +03:00
KatieFrogs
0655b79293 Bug fixes
- Change song select mouse wheel song scrolling to be instant
- Clicking on don chan in account settings toggles the animation
- If the music is too long for the chart, the results screen is shown earlier
- Fix weird BPM values freezing the browser (zero, negative, and very large)
- Add a warning to the page when JavaScript is disabled in the browser
- Fix Chrome auto dark mode by forcing light mode on the page
- Add a meta keywords tag to the page
- Fix plugin names getting cut off in the menu
- Delay the function editing of the EditFunction class in plugins to the start() function instead of load()
  - When stopping one of the plugins, all the plugins have to be stopped in reverse order and started again so that patched code of a stopped plugin does not linger around
- Fix importing plugins that have a SyntaxError
- Fix plugins getting the same internal name when added without one, causing them to not appear in the plugin settings
- Support editing args in EditFunction for plugins
- Prevent multiple websockets from being opened
- Fix page freezing after selecting Random song with no songs
- Fix the back button being repeated twice when there are no songs
- Fix /admin/users not accepting case insensitive usernames
- Pressing enter on the Delete Account field does the expected action instead of refreshing the page
- Better error message when custom folder access is denied
- Fix being able to start netplay in custom songs after refreshing the page (#383)
- Fix an error when importing songs from previous session and clicking on the white spot where you normally start multiplayer session
- Fix canvas elements becoming smaller than 1x1 resolution and crashing the game (#390)
- Fix song frame shadow cache on song select not being cleared when resizing the browser window, causing it to become blurry
- Fix a pause-restart error when you hit both confirm keys on the restart button
2022-02-17 23:50:07 +03:00
Bui
eab03369c7 reverse wheel controls 2022-02-16 14:55:44 +00:00
Bui
b893407013 lower directional key hold delay 2022-02-16 14:49:07 +00:00
Bui
c5b7906d4d slow down + improve wheel scroll 2022-02-16 13:28:22 +00:00
Bui
d85f8909d7 make songsel fast + add mousewheel scrolling 2022-02-16 13:13:52 +00:00
Bui
dfbdba50ef
bugge fix 2022-02-15 16:15:29 +00:00
Bui
23d269cf92
update ja strings 2022-02-15 12:53:11 +00:00
KatieFrogs
1db4eb6710 ImportSongs: Add plugin support
- Files with filenames that end with .taikoweb.js can be imported and run to add custom functionality to the game
- The plugin file is a javascript module script that should have a class in the default export
- Currently supported methods in the class: name (string), load, start, stop, unload (functions)
- The class can be extended from the Patch class to add automatic patching of variables and functions
- Here are some of the plugins I made: https://github.com/KatieFrogs/taiko-web-plugins
2022-02-11 17:28:22 +03:00
Bui
fd114d9f69
Merge pull request #374 from SiderealArt/patch-1
Add Traditional Chinese translation
2022-02-03 11:55:44 +00:00
SiderealArt
27da8c4a8e
calibration 2021-08-17 21:12:41 +08:00
SiderealArt
096402b625
Update strings.js 2021-07-11 14:45:39 +08:00
SiderealArt
405c340318
Update strings.js 2021-06-07 01:06:22 +08:00
SiderealArt
f99a826236
Update strings.js 2021-06-07 00:15:34 +08:00
SiderealArt
46c3c30a3d
Update strings.js 2021-06-07 00:01:35 +08:00
SiderealArt
9d779576d1
Update strings.js 2021-06-06 21:10:52 +08:00
SiderealArt
4aa8aff4d6
Update strings.js 2021-06-06 20:52:49 +08:00
SiderealArt
d1600023de
Update strings.js 2021-06-06 20:44:50 +08:00
SiderealArt
6ba9f94026
Add Traditional Chinese translation 2021-06-06 17:11:39 +08:00
LoveEevee
3d09fea3a5 Workaround an http-only crash in Chrome, fix cancel on title screen 2021-06-01 12:21:55 +03:00
LoveEevee
657c631769 Support restoring multiple folders imported by dragging 2021-05-30 07:13:36 +03:00
LoveEevee
9c44d223c4 Play se_don on title screen more fittingly 2021-05-28 04:55:53 +03:00
LoveEevee
b42b246a99 CustomSongs: Restore custom song list after reload
Uses the File System Access API supported in some browsers to keep the custom song list between sessions, restoring it back even when the page was closed.
2021-05-27 20:23:19 +03:00
Bui
1fceaadc7d
Merge pull request #303 from bui/gdrive-beta
ImportSongs: Implement Google Drive beta testing
2021-02-05 17:21:36 +00:00
jerrybeomsoo
6bece1de57
Update strings.js
Changed "오니" to "귀신" according to request.
2021-02-04 22:48:36 +09:00
jerrybeomsoo
35cfb71321
Update strings.js 2021-02-04 22:11:58 +09:00
LoveEevee
6918648ed6 Move privacy link, add categories.json to tools 2020-12-22 20:05:56 +03:00
LoveEevee
b8e63c650f ImportSongs: Implement Google Drive beta testing
Instances that wish to enable Google Drive support should first enable it to only a small subset of users (100 maximum) to allow the OAuth screen to be verified by Google without hitting the user limit. Minimum level in the config can be set to enable beta testing of this feature and then disabled by setting it to None.

- Add user level assignment screen to the administration panel
- Add privacy policy and links to it in various places
- Add switch accounts link near the Google Drive picker
2020-12-21 16:02:56 +03:00
LoveEevee
13d6aaab78 Bug fixes
- Fix chart in Ai want U
- Mute music on song select with Q
- Do not scroll song select background when the tab is not active
- Fix very short inputs not being recognized
- Fix sound being muted when playing the same song again
- Fix multiplayer when audio latency is set
- Fix getting stuck when imported song cannot be restarted
- Fix 2P cursor when ura is selected by both players
- Add KeyboardEvent.key to browser tests
- Separate buttons like Shift+Left into two on the How to Play page
- Change focused button on the custom songs screen to the first one available
- Add favicon to the admin page
- Display the id on the admin new song page
2020-12-04 13:52:35 +03:00
Bui
bd8e2191dd Add support for accented characters 2020-12-02 09:39:48 +00:00
Nyaasu
02348e45ea 📝 Add some Chinese translations 2020-11-30 06:44:50 +08: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
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