Commit Graph

3361 Commits

Author SHA1 Message Date
Kris Johnson
e8c106ea1e Remove all mentions of "Nintendo" 2023-12-21 11:44:43 -07:00
Mia
b4798c6eae Roomlogs: Ensure uhtmlchange messages are stored in the roomlog
Without oan original /uhtmlchange in the log to work off of, the changes never get placed in the log (so they don't get seen on join), and they never get placed in the log anywhere, so that log iteration is essentially pointless otherwise. This commit places it if it doesn't exist, then future changes will be able to adjust the message as they get made.
2023-12-20 02:15:01 -06:00
Mia
43a04d3220 Scavs: Fix crash 2023-12-20 01:50:19 -06:00
Karthik
034ae7ce4d
Allow Announcements to be edited (#9932)
* Allow Announcements to be edited

* actually save the edit + change wording

* rearrange stuff
2023-12-18 20:48:54 -08:00
Mia
9c5932c4f8 Chat-monitor: Update evasion detection substitutions table 2023-12-18 17:38:36 -06:00
Guangcong Luo
88d8572086 Support side servers uploading replays
We broke this when we ported Replays to Postgres, but it should be
working again.
2023-12-16 18:25:12 -05:00
livid washed
02b00792af
Random Battles: Combine Alcremie winrates (#9970) 2023-12-15 23:32:37 -07:00
Sergio
a1ced8d4b3
Implement /viewquote last (#9952) 2023-12-11 12:32:31 -06:00
Mia
37b0d3e3dc Info: Support audio/video URLs in /show
Bringing this command up to parity with Officer Jenny's ~link command.
2023-12-09 00:02:47 -06:00
Guangcong Luo
a36cb7e4e9 Don't suppress replay db errors
A try-catch in Replays was too general.
2023-12-08 23:51:56 -05:00
Guangcong Luo
eb60769cd3
Refactor learnset checking (#9951)
After seeing fifty different ways we use `getLearnset`, most of which
are just "haphazardly assemble a movepool", I decided to write
`getFullLearnset` and `getMovePool`, which centralizes the
implementations and prevents weird bugs like 9713dc6db5 which
we spent two years trying to figure out.
2023-12-08 22:45:47 -06:00
Mia
5e895a32c5 Rooms: Add copy button back to replay uploaded popup 2023-12-08 16:45:19 -06:00
Mia
7fb904972f Ensure battle processes have source maps set up 2023-12-08 09:39:37 -06:00
Distrib
aace270df8
Friends: Add class for the 'add friend' input (#9901) 2023-12-08 04:28:31 -06:00
Leonard Craft III
97a544054b
Fix some HTML escaping in best-of rooms (#9934) 2023-12-08 03:18:18 -06:00
Mia
39295329b6 Teams: Fix crash in access validation 2023-12-07 20:38:57 -06:00
Guangcong Luo
c3b3935a76 Make auto-uploaded replays not show up in searches
(Several users complained about clutter.)
2023-12-03 17:37:56 -05:00
Guangcong Luo
6b42b4f6b2 Experimental direct replay uploading
We have a new replay server on a new engine using a new schema.

Everything's gone remarkably well, considering.
2023-12-02 11:07:08 -05:00
Guangcong Luo
13c8c19064 Improve error message for Bo3 crash 2023-12-01 17:01:48 -05:00
Kris Johnson
e56b0cbe68 FIx /tiershift 2023-12-01 12:13:18 -07:00
Kris Johnson
48eeb35e4b Add December 2023 tier shifts 2023-12-01 10:44:36 -07:00
Mia
135e7ad6ec Room-battle: Record replay save state in battle logs 2023-11-30 01:20:19 -06:00
Hisuian Zoroark
a9ab6ced3c
Smogdex: Properly default to SV (#9924) 2023-11-29 12:58:52 -05:00
Sirz Benjie
6f2c1537a2
Add fuzzy searching to the /randbats command (#9907)
* Added fuzzy searching to the /randbats command

* Removed excess checks for isInexact

* Update server/chat-plugins/randombattles/index.ts

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>

* Added message indicating when fuzzy searching occured

* Added missing semicolons

whoops

---------

Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
2023-11-28 16:26:14 -06:00
Mia
c89c68ad3a Use source maps for better error stacks
This has been very annoying.
2023-11-26 22:49:46 -06:00
Mia
ab8b67405b Chatlog: Properly cache day stat results by roomid 2023-11-22 20:35:28 -06:00
Mia
9db7516c87 Fix typo 2023-11-20 22:41:46 -06:00
Mia
a525d519f7 Core: Add /unblockofflinepms 2023-11-20 22:25:35 -06:00
Sergio
f4a8b501fe
Fix HTML tag in /friends (#9908) 2023-11-17 22:47:48 -06:00
Kris Johnson
55a38d445e Add proper ZU support for old gens 2023-11-17 13:59:18 -07:00
Leonard Craft III
947e783cce
Don't highlight on updateclient/loginserver commands (#9906) 2023-11-15 21:00:45 -06:00
Mia
bd52c2e7cd Don't import room-battle into core chat commands
This import caused room-battle to get deallocated and re-imported on every hotpatch, thus ensuring a new StreamProcessManager (with four child processes) was created each time we hotpatched. I hate this.
2023-11-15 20:30:50 -06:00
Distrib
d2349f4390
Tournaments: readmore only when custom rules are defined (#9873) 2023-11-15 19:55:58 -06:00
Mia
82da90d75e Moderation: Ensure private reasons aren't in offline warns 2023-11-15 00:03:02 -06:00
Sergio
f05bbb7fd5
Update /otd help (#9900) 2023-11-13 15:45:39 -06:00
Leonard Craft III
658af82b89
Add command to view remaining battles during lockdown (#9872)
* Add command to view remaining battles during lockdown

* Use details tag if more than 10 battles
2023-11-12 22:51:16 -06:00
Mia
72413823ce Friends: Add 'add friend' button to the main page 2023-11-10 09:43:24 -06:00
Mia
c63aced654 Core: Reorder blockpms checks to waste less space 2023-11-09 15:12:54 -06:00
Mia
c09f82d5c1 Core: Divorce blockpms for online and offline pms 2023-11-09 15:09:23 -06:00
Mia
aa68115a85 Chatlog: Trim search ops provided in command 2023-11-08 16:27:51 -06:00
Mia
47b22f2d05 Chatlog: Don't count the current day in /roomactivity output
When the day isn't over, it drastically skews the outputs since it's not complete data. Also fixes a typo.
2023-11-08 09:48:48 -06:00
Mia
b492aec471 Fix various spacing issues 2023-11-05 18:21:16 -06:00
livid washed
84ac9e9e3e
Revamp [Gen 4] Random Battle (#9883) 2023-11-05 17:28:02 -06:00
Mia
a337730d79 Remove duplicated spawn code 2023-11-04 23:24:53 -05:00
Mia
d6c78db0dd SQL: Account for dist files in loading extensions 2023-11-04 16:41:47 -05:00
Mia
5f6d9029ac Prevent chat processes from nesting 2023-11-04 16:37:49 -05:00
Mia
d5d30a0c6b Prevent friends processes from nesting 2023-11-04 16:32:26 -05:00
Mia
560a2c8b61 PMs: Expose getSettings API 2023-11-04 14:57:43 -05:00
Mia
0211066723
Add offline messaging (#8440) 2023-11-04 14:45:18 -05:00
Mia
0f81d192f8 Helptickets: Rename notifying-subtle class 2023-11-02 23:26:19 -05:00