Commit Graph

593 Commits

Author SHA1 Message Date
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
Bui
73a95abf62
Merge pull request #414 from bui/plugin-fixes
Plugin fixes
2022-02-23 17:35:15 +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
deddba58ad add plugins to gitignore 2022-02-22 16:31:00 +00:00
Bui
10f49094b9 ja 2022-02-22 16:24:30 +00:00
Bui
c8594b3e0b
Merge pull request #413 from bui/plugin-settings
Plugins: Add plugin settings
2022-02-22 16:20:09 +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
eaa77728b9 en 2022-02-17 23:39:04 +00:00
Bui
3aff309504 ja 2022-02-17 23:37:10 +00:00
Bui
e356b094c2 Merge branch 'master' of https://github.com/bui/taiko-web 2022-02-17 23:07:21 +00:00
Bui
66e9491a5b index scores 2022-02-17 23:07:12 +00:00
KatieFrogs
7c0104fe5b Fix black screen 2022-02-18 02:06:00 +03:00
Bui
ebc3c79c75
Merge pull request #411 from bui/bug-fixes
Bug fixes
2022-02-17 22:54:09 +00: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
714a0302ec serve src and assets on debug server 2022-02-15 21:21:19 +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
Bui
c01f30b34a
Merge pull request #408 from bui/add-plugins
ImportSongs: Add plugin support
2022-02-15 01:55:38 +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
Bui
fa6d12cf28
Merge pull request #376 from bui/dependabot/pip/websockets-9.1
Bump websockets from 8.1 to 9.1
2022-02-03 11:54:27 +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
dependabot[bot]
5015df50e6
Bump websockets from 8.1 to 9.1
Bumps [websockets](https://github.com/aaugustin/websockets) from 8.1 to 9.1.
- [Release notes](https://github.com/aaugustin/websockets/releases)
- [Changelog](https://github.com/aaugustin/websockets/blob/9.1/docs/changelog.rst)
- [Commits](https://github.com/aaugustin/websockets/compare/8.1...9.1)

---
updated-dependencies:
- dependency-name: websockets
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 18:03:57 +00: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