Mia
40881ca342
Chatlog: Add roomlog, rl, and roomlogs as aliases for /chatlog
2024-01-03 13:20:41 -06:00
Mia
ab8b67405b
Chatlog: Properly cache day stat results by roomid
2023-11-22 20:35:28 -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
Karthik
f69d139235
Linecount: Fix displaying total lines for user pages ( #9791 )
2023-09-20 16:01:11 -05:00
Sergio
36a9d55819
Update /help searchlogs ( #9612 )
2023-06-21 17:50:05 -05:00
Sergio
01164a5997
Fix typo in `/help linecount` ( #9474 )
2023-03-24 14:01:23 -05:00
Mia
d0912f58ca
Chatlog: Make /sl usable only by admins
2023-03-09 14:03:13 -06:00
Alexander B
5fa7a17da9
Chatlog: Remove file check from /sl ( #9411 )
2023-02-21 23:36:37 -05:00
Mia
2f12192e4d
Chatlog: Properly respect Config.disableripgrep
2023-01-05 12:57:34 -06:00
Mia
b11177d530
Migrate to esbuild for compilation ( #9203 )
2022-12-22 15:19:29 -06:00
Mia
8cd51c909e
Chatlog: Support linking to specific times in chat
...
Previously, the colons in times assured it couldn't be linked (colons can't be in links). I swapped it to use just the numbers in the time - since it's a 24-hour timestamp, it should work fine. Tested and ensured it was linkable/etc.
2022-12-16 08:03:17 -06:00
Mia
a96ad73bb8
Chatlog: Support linking to specific times
...
With this, chatlog is now up to parity with /roomlog.
2022-12-15 21:18:56 -06:00
Mia
5c73b3632a
Admin: Add a command to disable ripgrep
...
Requested (and okayed) by Marty as a stopgap. Ripgrep lags usage stats all to hell.
2022-12-01 17:38:21 -06:00
Mia
eaaf2ac2c0
Chatlog: Alias /chatlog to /cl
2022-06-20 21:18:09 -05:00
Mia
8c9da4b34e
Chatlog: Exclude uhtml from linecount searches
2022-06-20 21:17:06 -05:00
Mia
e97008dab2
Chatlog: List total lines on /roomstats
2022-04-02 11:30:18 -05:00
Annika
99fffe2e4b
Remove unnecessary code
...
Found these thanks to LGTM.com
2022-03-02 20:02:29 -08:00
Mia
04d359da98
Chatlog: Make /gbc broadcastable everywhere
2022-02-13 16:24:17 -06:00
Mia
653d3ba00d
Chatlog: Fix older results buttons
2022-01-19 08:46:42 -06:00
Mia
52d826f8f1
Searchlog: Fix "View more" buttons
...
These had the old argument syntax.
2021-11-20 06:14:53 -06:00
Guangcong Luo
a2c18b9a93
Improve date validation in chatlog
2021-11-10 00:25:54 -05:00
Guangcong Luo
4efd6a2232
Fix month validation in chatlog
2021-11-09 23:59:47 -05:00
Mia
c2023bf75b
Chatlog: Make /gbc broadcastable in Staff room
2021-11-08 12:00:06 -06:00
Mia
c5726289c1
Fix HTML
2021-11-06 23:37:47 -05:00
Mia
a1c6efb59f
/gbc: implement suggestions
2021-11-06 23:36:15 -05:00
Mia
923f1f1d2b
/gbc: Default to current room if none given
2021-11-06 23:17:28 -05:00
Mia
49f6a6592b
Add a command for getting chat messages out of a battle
2021-11-06 23:11:49 -05:00
Mia
12db1bd96d
/linecount: Fix default search values
2021-11-03 10:27:59 -05:00
Mia
32fd8a788a
/linecount: Support new search syntax
...
This brings it to the same syntax as modlog, which means you can make more varied searches while also getting defaults on values. Before, if you wanted to search a user, you had to enter everything. Now, you can just /linecount user=mia, for example.
2021-11-02 14:42:38 -05:00
Mia
9e7a6f7c8e
Searchlog: Standardize argument delimiters
2021-10-26 14:03:59 -05:00
Mia
f1011ffd7b
Add more help for chatlog commands
2021-09-23 12:48:29 -05:00
Mia
7811795344
Handle new TypeScript version ( #8449 )
...
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2021-08-30 20:11:44 -07:00
Mia
d858936d09
Chatlog: Fix all crashes, restore Chat import
2021-08-15 17:18:01 -05:00
Mia
140e023d05
Fix build
2021-08-15 16:51:15 -05:00
Mia
030b84b041
Chatlog: Fix crash
2021-08-15 16:32:39 -05:00
Mia
b0fec9f5e2
Chat: Don't setup DB until after processes are spawned
2021-08-15 16:24:25 -05:00
Mia
6c19c06c44
Chatlog: Fix /help searchlogs
2021-07-26 11:39:43 -05:00
Mia
293c65303d
/searchlog: Escape HTML in search
2021-07-21 13:59:44 -05:00
Mia
ba2a109311
Support viewing stats on the activity of rooms ( #8345 )
2021-07-09 20:01:15 -07:00
Mia
9000eebbef
Chatlog: Fix date validation
2021-05-30 01:43:17 -05:00
Mia
487fc5e3fa
Fix comment
2021-05-29 21:02:16 -05:00
Mia
8ba56d3d03
Chatlog: Fix crash in date validation
2021-05-29 20:56:07 -05:00
Mia
38374f8bd9
Alias /chatlog to /chatlogs
2021-05-16 19:53:33 -05:00
Mia
a7c0f8054a
Chatlog: Fix crash
...
This should ensure that all dates passed to roomstats are in the form year-month. The crashes came from only a year being passed
2021-05-08 11:29:18 -05:00
Guangcong Luo
810aff74cd
Namespace more server global types
2021-04-25 14:16:27 -07:00
Guangcong Luo
0e0389bdc8
Rename pageContext.send to pageContext.setHTML
...
It's currently not very similar to commandContext.send so using the
same name could make things very confusing.
We have a new `pageContext.send` function that actually behaves as
you'd expect.
2021-04-25 13:25:42 -07:00
Guangcong Luo
486f292904
Refactor everything to use Utils.sortBy ( #8220 )
...
A few uses of `array.sort()` have been left alone:
- sorting in `data/` because they aren't supposed to import anything
- `set-importer` because I still have no clue what that's for and what
dependencies it is/isn't allowed to have
- `sort()` with no arguments used as a lexical sort (at which point
`sortBy` offers no benefits)
All other cases have been replaced with `Utils.sortBy`, which should
be a massive increase in readability.
Sort orders should be much more readable now, without needing to puzzle
through sign issues. The order is always low-to-high, A-to-Z,
true-to-false.
2021-04-23 22:41:00 -07:00
Kris Johnson
a1bdafbfe8
Add room sections ( #8205 )
2021-04-23 22:39:56 -07:00
Mia
4f31d369f5
Add an easy way to disable battlesearching commands
2021-03-25 12:24:12 -05:00