Commit Graph

1239 Commits

Author SHA1 Message Date
Annika
cfb33eb53f Modlog: Allow non-globalstaff to use modlogs 2021-07-25 15:42:46 -07:00
Annika
11caaf392f Modlog: Improve support for multiple searches 2021-07-25 15:33:42 -07:00
Annika
bcbe100c41
Modlog: Use SQLite for searches (#8004) 2021-07-23 13:47:49 -07:00
Mia
4dbee18695 Friends: Fix login notifications 2021-07-22 16:50:41 -05:00
Mia
c5926158d8 Fix build 2021-07-21 21:58:38 -05:00
Mia
285d084857 Friends: Update language in settings page 2021-07-21 20:25:42 -05:00
Mia
19af1945a2 Friends: Show public battles on the spectator list regardless of setting 2021-07-21 20:23:05 -05:00
Mia
96e4fe3af6 Friends: Fix /help and UHTML 2021-07-21 16:33:27 -05:00
Mia
293c65303d /searchlog: Escape HTML in search 2021-07-21 13:59:44 -05:00
Mia
ddd8205aa0 Chat-monitor: Upload replays for BattleMonitor mutes 2021-07-21 13:28:15 -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
Mia
ed34cc49b1 Friends: Add a page to spectate the battles of friends 2021-07-19 02:57:08 -05:00
Mia
eb9fd0e8e9 Friends: Use getExact in displaying singular pending requests 2021-07-17 18:33:36 -05: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
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
e5fbd64427
Support adding friends (#7333) 2021-07-16 12:56:34 -07:00
PartMan
29421ee145
Scavengers: Notify users on hint addition (#8400) 2021-07-16 12:50:34 -07: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
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
Annika
52a9378361 Trivia: Support combining multiple categories 2021-07-13 16:01:03 -07:00
Annika
6cc4ebe5d7 Trivia: Fix crash when no questions have been added 2021-07-13 15:43:38 -07:00
Mia
84bc3972a6 Helptickets: Add help for /ht removenote
Didn't get staged in my previous commit, unfortunately.
2021-07-11 22:20:58 -05:00
Mia
cdb910be4c Helptickets: Support adding hover notes to tickets 2021-07-11 18:58:45 -05:00
Annika
c5f881b76f More fixes for ts-node 2021-07-10 16:33:04 -04:00
PartMan
dfb246d40f
Datasearch: Minor refactor (#8390)
This fixes/changes a couple things:

a) Long dexsearch queries now reject with an error instead of blindly trimming and giving stuff like ``retur could not be found in any of the search categories``.
b) Maxgen now works properly (before this, the maxgen parameter only worked if it was either the first term or if there were no spaces after the preceding comma).
c) Mod now allows spaces around the equals sign (`mod = SSB`) instead of matching properly and failing on the split.
d) Gen0 no longer works in abilitysearch / itemsearch (not that relevant, but since current behaviour is to block Gen 1/2, seems a bit weird to allow 0).
e) Gen X and Maxgen X now work in abilitysearch / itemsearch (before this, they'd give a blank 'no results found').
f) Gen X and Maxgen X now support multi-digit generations (well in advance before Gen 10 releases, but doesn't hurt to be ready).
2021-07-10 04:19:03 -07:00
Mia
ba2a109311
Support viewing stats on the activity of rooms (#8345) 2021-07-09 20:01:15 -07:00
Annika
6ed55b6d1f
IPTools: Add sanity checks (#8331) 2021-07-09 19:59:45 -07:00
Annika
c134195915
Use ts-node instead of Sucrase (#8369) 2021-07-09 19:59:22 -07:00
Mia
c27cc7ae64 Helptickets: Properly link logs for text tickets in /ht list 2021-07-09 17:14:45 -05:00
Mia
aeac844ed1 Helptickets: Refresh text tickets on claim 2021-07-09 17:00:10 -05:00
Kris Johnson
598ac409e8 Rename Let's Go! mod to 'gen7letsgo' 2021-07-06 23:07:51 -06:00
Mia
5b4e2fe172 Spotlights: Check /setdaily permissions for viewing source instead of /daily
https://www.smogon.com/forums/threads/let-drivers-see-sourcecode-for-dailies-when-doing-daily.3687106/#post-8905412
2021-07-02 20:26:10 -05:00
Kris Johnson
876c86d236 Change type declaration formatting for Maps/Sets 2021-06-29 22:47:28 -06:00
Kris Johnson
61b72b687c Wifi: Modernize code of Giveaway#getSprite 2021-06-29 22:45:53 -06:00
Annika
56754afb42 Punishments: Remove getPunishType functions
These are poorly designed as they only return one punishments, but users can now have several.
2021-06-29 17:55:45 -07:00
Kris Johnson
62eaf3f5fa Room FAQs: Update help 2021-06-28 17:08:16 -06:00