Commit Graph

435 Commits

Author SHA1 Message Date
Bui
7f511abb4f allow 2p url config, origin limiting for server 2022-03-24 02:32:31 +00:00
Bui
f4f0081e3d fix for search.js split 2022-03-22 00:44:28 +00:00
Bui
7d3cff5cbe Merge branch 'master' into normalize-search 2022-03-22 00:36:33 +00:00
Bui
94daea6d4d split kanaPairs 2022-03-22 00:34:13 +00:00
KatieFrogs
81464df356 Fix browse button becoming too big 2022-03-16 19:18:55 +03:00
KatieFrogs
b9d990a643 Plugins: Fix browse button on iOS 2022-03-16 19:04:51 +03:00
KatieFrogs
e231ad1fcf Fixes
- Add a "Browse..." button to the plugin menu
- Remove the "Unload All" button from the plugin menu if there are no imported plugins to unload
- Add a new search filter: random:yes
- Resolution settings now affects the results screen assets
- Pixelate more assets with lowest resolution setting
- Fix loading error message not appearing sometimes
- Remove img.css from img assets, the background selectors have been moved to assets.js
- Separate the search logic from SongSelect to its own js file
- Load all image assets with crossorigin=anonymous, this could allow making assets low resolution or programatically taking screenshots at a later time
- If EditFunction in a plugin tries to edit something that is not a function, it will give a better error message
- Disallow search engine bots from indexing images and adding a translate link, which cannot load the game
2022-03-16 09:55:25 +03:00
Bui
84b4bf00a8
Merge pull request #440 from bui/gpicker-api-changes
Gpicker API Changes
2022-03-15 14:03:30 +00:00
KatieFrogs
c553a15f1e Fix the previous commit 2022-03-13 18:51:17 +03:00
KatieFrogs
7967ff1b09 Fix fixing courses with p1 and p2 notes 2022-03-13 18:31:42 +03:00
KatieFrogs
9c31d5b8a0 Use Google 3P authorization 2022-03-11 17:34:00 +03:00
KatieFrogs
27c8526c2a Gpicker API Changes
Hopefully that is what is being changed, I do not think there is a way to test this properly until the old API closes down

Resources:
- https://developers.googleblog.com/2022/03/gis-jsweb-authz-migration.html
- https://developers.google.com/drive/api/v3/quickstart/js
2022-03-11 14:20:22 +03:00
Bui
65b464a9aa improve search normalization 2022-03-10 20:04:17 +00:00
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