Commit Graph

404 Commits

Author SHA1 Message Date
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
da299a5c92 Fix gradient 2022-02-26 06:22:03 +03: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