Commit Graph

23714 Commits

Author SHA1 Message Date
Mia
adbe7b9947 SQL library: Improve error handling 2021-07-19 23:56:58 -05:00
Mia
2c1b7d7828
Add a library for running SQLite databases in threads (#7350) 2021-07-19 21:02:03 -05:00
Mia
b175d8b000 Friends: Use /migrations/friends for versioning 2021-07-19 20:49:47 -05:00
Mia
c20cee8b1a Friends: Properly update spectator lists on battle end 2021-07-19 17:16:14 -05:00
Mia
48a71e82a8 Helptickets: Don't allow IP-Appeals from users who have a punishment matching their userid 2021-07-19 16:16:31 -05:00
Mia
f75f99f20a Helptickets: Remove ISP-Appeals 2021-07-19 16:16:31 -05:00
Kris Johnson
d1e92033f7
National Dex Monotype: Ban luck-based items
https://www.smogon.com/forums/threads/ban-on-luck-based-items.3687959/
2021-07-19 15:13:48 -06:00
Marty-D
ce9cde9324
ZU: Ban Centiskorch 2021-07-19 16:26:35 -04:00
Mia
ed34cc49b1 Friends: Add a page to spectate the battles of friends 2021-07-19 02:57:08 -05:00
Annika
74295cf506 Modlog Converter: Improve modernization
This now reaches 99.9% success rate on logs from January 2018-May 2021, and 94.6% success on logs from November 2014-May 2021. (Assuming one defines "success" as "modernizing the modlog entry without just spitting out an OLD MODLOG: entry".)
2021-07-18 21:07:29 -07:00
Annika
7bd70f8266 Modlog Converter: Fix issues with ts-node 2021-07-18 18:16:41 -07:00
Annika
33145f3fc8 Modlog Converter: Default to 0 if no time is found
This makes it clearer that no time was found, since PS didn't exist in 1970.
2021-07-17 21:21:32 -07:00
Annika
a4c1be6496 Modlog Converter: Fix bugs
The modlog converter now mostly works properly. There are some discrepancies (for example, Lobby gets 11,000 more modlog entries in SQLite than in text); I'm not sure if this is because of glitches in the previous system or a bug in my code. This script will need to be run after #8004 is merged.
2021-07-17 21:14:24 -07:00
Mia
eb9fd0e8e9 Friends: Use getExact in displaying singular pending requests 2021-07-17 18:33:36 -05:00
InAShellnut
8faa194521
Stadium 2: Fix Destiny Bond, Perish Song, and recoil (#8398)
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>

Bugs documented here: https://www.smogon.com/forums/threads/pok%C3%A9mon-stadium-2-simulators-bugs-glitches-and-other-mistakes.3685286/
2021-07-17 16:08:53 -04:00
Marty-D
c93111e81c
Gen II: Correct Unown formes
Thanks, pre!
2021-07-17 13:40:39 -04:00
Distrib
6a2f40b3a9
Update format threads (#8405) 2021-07-17 13:38:39 -04:00
Karthik
c32d9aecfe
Stadium 2: Send -unboost for stat drops (#8403) 2021-07-17 13:37:39 -04:00
Karthik
a36b74dbd1
Gen 3: Type boosting items should boost the attacking stat (#8402) 2021-07-17 13:36:56 -04:00
Mia
1cfead5d99 Friends: Fix single notifications 2021-07-16 23:53:26 -05:00
Mia
6949344351 Friends: Fix button 2021-07-16 22:50:09 -05:00
Mia
48ef5e3758 Friends: Fix crash in hideLogins 2021-07-16 22:49:02 -05:00
Mia
20c795f8f4
Friends: Move caching to User#friends (#8404) 2021-07-16 20:33:07 -07:00
Mia
194a939cd6 Friends: Use /raw
ugh.
2021-07-16 22:23:37 -05:00
Mia
34f9e33116 Friends: Match behavior with online friend requests when only one request is pending 2021-07-16 22:22:14 -05:00
Mia
3316bf3ffb Friends: Fix 'no request pending' error 2021-07-16 21:01:39 -05:00
HoeenHero
06228119d0 Auth: Don't accidentally reduce a Section Leader's permissions 2021-07-16 17:56:47 -04:00
Annika
edf9d08a26 Fix blockpms after friends list addition 2021-07-16 17:50:10 -04:00
Mia
8e3b05b2bf Friends: Fix crash pt 2 2021-07-16 16:41:32 -05:00
Mia
7b52c4d1d0 Friends: Fix crash 2021-07-16 16:38:34 -05:00
Mia
3020298000 Friends: Fix accepting your own requests 2021-07-16 16:19:17 -05:00
Mia
1a2c3b2e72 Friends: Properly allow viewing lists while requests are blocked 2021-07-16 15:56:05 -05:00
Mia
9323fd2416 Friends: Use Users#getExact more 2021-07-16 15:53:24 -05:00
Mia
2c73519641 Friends: Revert to sending PMs from & 2021-07-16 15:41:27 -05:00
Mia
c9c5e7fbb3 Friends: Display sent list for users blocking requests 2021-07-16 15:31:37 -05:00
Mia
241804aa6b Friends: Send friend request messages from the friend instead of & 2021-07-16 15:26:40 -05:00
Mia
084af11c06 Friends: Properly handle blockpms 2021-07-16 15:16:10 -05:00
Mia
e5fbd64427
Support adding friends (#7333) 2021-07-16 12:56:34 -07:00
Kris Johnson
40e36c8f38
Make adjustments to Section Leaders (#8387) 2021-07-16 12:51:29 -07:00
PartMan
ddec31a24f
Add /notifyuser (#8394) 2021-07-16 12:50:45 -07:00
PartMan
29421ee145
Scavengers: Notify users on hint addition (#8400) 2021-07-16 12:50:34 -07:00
Leonard Craft III
ac523230c6 National Dex Monotype: Ban Urshifu
https://www.smogon.com/forums/threads/national-dex-monotype-urshifu-s-voting.3687698/post-8918636
2021-07-16 14:49:03 -05:00
Mia
cee7d8290c Youtube: Update TwitchStream display HTML
Requested by Felucia.
2021-07-15 23:43:12 -05:00
Mia
c57691e2a6 Fix build pt. 2 2021-07-15 17:59:11 -05:00
Mia
422ca25506 Fix build 2021-07-15 16:44:04 -05:00
Mia
cb72f8e42d Usergroups: Block autoconfirmed & locked users from bypassing /blockpms ac 2021-07-15 15:19:03 -05:00
Mia
bb19c45448 Helptickets: Add extra state tracking, update messages 2021-07-15 15:16:40 -05:00
Annika
5b5c1a1646 Fix room privacy checks
Room.settings.isPrivate can be a boolean, undefined, or a string.
2021-07-15 13:13:55 -07:00
Karthik
8b911cbf12
Remove LC Uber as a valid tier in /ds help text (#8399) 2021-07-15 08:15:03 -07:00
Marty-D
010dbd6e59
Fix Nintendo Cup 2000 Move Legality
Closes #8397
2021-07-14 20:32:56 -04:00