Commit Graph

3837 Commits

Author SHA1 Message Date
Guangcong Luo
7bbce1f98f Support cachebusters on custom.css 2025-07-23 04:29:23 -07:00
Guangcong Luo
4fc3ed81ee Refactor to Promises 2025-07-23 02:02:29 -07:00
Guangcong Luo
aab4db07e2 Switch to using vendored node-static 2025-07-22 22:09:25 -07:00
Mia
ef56c668d2 Suspects: Fall back on existing suspect URL in edits if need be
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-22 12:51:49 -05:00
Mia
99af09ba7c Chat: Ensure absolute plugin files are always loaded
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Accounting for loading outside of the normal dir
2025-07-21 17:28:19 -05:00
Mia
0899c4b7b3 Chat: Annotate commands with plugin names for categorization 2025-07-21 17:15:40 -05:00
Mia
9ca1b0c35f Chatlog: Rewrite argument protocol for searches
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-07-19 00:28:33 -05:00
Mia
e9fd0b76dd Chatlog: Render search arguments in display 2025-07-19 00:12:40 -05:00
Mia
3823ec2471 Fix typo
WHY DID THIS NOT GET STAGED I SPECIFICALLY CLICKED STAGE
2025-07-19 00:10:07 -05:00
Mia
546dfd07ff Searchlog: Standardize handling of search parameters
Makes this easier to extend for the future, too.
2025-07-19 00:08:20 -05:00
Mia
4d314e3f5e Ladder trackers: Suppress user-facing errors on restoration
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-18 14:28:08 -05:00
Mia
67ca3b04eb Fix searchlog padding 2025-07-18 13:09:47 -05:00
Mia
ad3cedc8ad Actually guard dates via regex testing 2025-07-18 13:00:40 -05:00
Mia
0c4298d29d Fix typo 2025-07-18 12:58:48 -05:00
Mia
c4a6e8de1f Searchlog: Fix next/prev month buttons 2025-07-18 12:58:02 -05:00
Mia
4012a4b532 Searchlog: Add prev/next month buttons, fix date handling for more ambiguous dates 2025-07-18 12:53:34 -05:00
Mia
2b7e1d48b5 Searchlog: Allow searching only a username
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
2025-07-17 23:26:21 -05:00
Mia
4d4c541a57 Searchlog: Adjust header to be more descriptive 2025-07-17 23:14:48 -05:00
Mia
20072695c1 Fix typo 2025-07-17 23:13:41 -05:00
Mia
fa5295db23 Searchlog: Use plainto_tsquery to sanitize syntax 2025-07-17 23:12:11 -05:00
Mia
88726667a1 Searchlog: Fix text rendering 2025-07-17 23:08:35 -05:00
Mia
e81d70440e Chatlog: Fully deprecate support for 'all' dates 2025-07-17 22:58:02 -05:00
Mia
5f31e2efe3 Chatlog: Restore /searchlog 2025-07-17 22:54:09 -05:00
Slayer95
19d279c9b5 CLI: Update to use util.parseArgs (#11245)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-07-17 05:06:26 -07:00
Sergio
38b0d9475e Minor changes to the help boxes of /ds and /ms (#11094)
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
* Minor changes to the help boxes of /ds and /ms

Removed parameters that do nothing (instruct, mimic), changed ssb examples (they were obsolete), added a couple more things. Would love to make the wall of mods you can use with both ds and ms smaller, since a lot of those don't actually change their behaviour, like randomroulette, but I'm not sure how to approach it. A hardcoded list of mods that change things is an option.

* Added "restricted" as a parameter
2025-07-15 21:11:15 -06:00
hammer798
fddbf8adb5 Fix item filters duplicating search terms (#11271) 2025-07-14 14:03:08 -07:00
Slayer95
0b6c1dbeec Make some dependencies optional: probe-image-size, source-map-support (#11247) 2025-07-14 03:01:41 -07:00
André Bastos Dias
3b7b1d2864 Don't update the timer when an updated request is sent (#11251)
* Don't add time if there is a request update

* Ups

* Change prevRequest to updatedRequest

* Fix tests

* Refactor

* Fix tests
2025-07-13 15:38:58 -06:00
Mia
07a2820cf2 Punishments: Disallow Tor IPs from connecting 2025-07-07 12:18:39 -05:00
Slayer95
88d53617d6 RoomBattleTimer: Reset turn seconds on wait requests (#11240)
Previously, if a player timed out under VGC timer and knocked their opponent,
they would be treated as timing out their following 'wait' request
2025-07-05 01:32:10 -06:00
dot-Comfey
6533311382 Fix oversight from #11217 (#11228) 2025-07-01 01:17:21 -06:00
HoeenHero
8bcd2c2960 Teams: Improve error messages
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Moving the auth at least check later means the locked error message will actually trigger for locked users providing a clearer error message to them.
2025-06-30 12:40:33 -04:00
dot-Comfey
5a4c785ec4 Fix more button in /modlog (#11217)
* Fix more button in /modlog

* Drivers can use /mls

* Update modlog-viewer.ts
2025-06-29 22:09:06 -05:00
Alex "Mathy
9cd93f2a0c Permalock plugin: Fix room not updating after notice (#11218) 2025-06-29 22:08:13 -05:00
Mia
c03510f909 Users: Don't remove rangelocks on user merge 2025-06-29 22:06:39 -05:00
Alex "Mathy
687b1c4ae0 /show: Fix unescaped HTML template (#11225) 2025-06-29 15:02:38 -06:00
Karthik99999
aab6b728cb /ssb: Fix text formatting issues
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
2025-06-25 19:27:19 -04:00
Karthik99999
e0ccfa1532 Auctions: Fix draft order display 2025-06-25 12:27:09 -04:00
Slayer95
7835b015d9 Explain insecure subdomain in server/README.md (#11212)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
---------

Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2025-06-20 16:47:56 -07:00
zianwangs
d6e98c21fb Fix typos (#11200) 2025-06-19 04:10:12 -07:00
Kris Johnson
36ae30160c Auto Responder: Fix ignore page view for regex terms 2025-06-17 13:36:55 -06:00
Kris Johnson
1c28a150e7 Auto Responder: Fix /ar view keys not escaping regex keys 2025-06-17 13:14:39 -06:00
Guangcong Luo
6903a2e2e7 Document new URL format
Some checks failed
Node.js CI / build (18.x) (push) Has been cancelled
This doesn't say what the format is, but it's pretty easy to figure
out from the redirect, if you particularly care.
2025-06-15 08:11:10 -07:00
Guangcong Luo
e7b2be606a Fix client redirect
For a long time, connecting to non-localhost servers didn't work without
an HTTPS cert. But it's now once again possible. All you need is an
IP with an open port, and a dream.

Syntax is a little different than before. To go to `1.2.3.4` at port `5000`

- before: `http://1.2.3.4-5000.psim.us`
- after: `http://1-2-3-4--5000.insecure.psim.us`

Supporting multiple dots in the URL is too complicated, unfortunately.

The other way still works: `http://1.2.3.4:5000`

And yes, I would 100% recommend that one.
2025-06-15 07:25:04 -07:00
Lucas
4536eee620 /dexsearch: Add support for sorting by (doubles) tier (#11150)
* ds: add tier sorting

* Add support for doubles and natdex tiers

* fix unnecessary nationalSearch passing

---------

Co-authored-by: Meijer,L. (Lucas) <l.meijer6@students.uu.nl>
2025-06-14 19:01:25 -06:00
Mia
c73803efe7 Ladder tours: Expose tracker object for debugging 2025-06-13 22:16:47 -05:00
motogp-bit
b5304c68b5 Mafia: Fix /mafia resetgame (#11192)
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
2025-06-12 11:14:17 -04:00
Lucas
6007bdc0b9 Mafia: Improve host/gameban (#11036)
* Improve host/gameban

- Allow for offline namehostban and namegameban.
- Notify users when they get host and gamebanned.
- Fix hostbans, which did not work at all.
- Fix host and gamebanned users from being able to subhost

* Change aliases and remove gameban unhostbanning.
2025-06-11 22:03:43 -04:00
Mia
92f5871309 Ladder tours: Properly force battles public 2025-06-10 17:42:00 -05:00
Mia
5e61465955 Ladder trackers: Adjust help 2025-06-09 19:20:30 -05:00