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
Mia
ea3bd8303f
Roomstats: Display total stats and handle empty logfiles better ( #8117 )
2021-03-15 07:54:21 -07:00
Mia
736e38e4af
ProcessManager: Handle Monitor#slow in subprocesses ( #7990 )
2021-03-03 12:39:53 -08:00
Mia
d50f5823ae
Searchlogs: Properly handle deleted rooms
2021-02-26 13:52:25 -06:00
Mia
76c10841ea
Lib: Add an index file for all exports ( #7972 )
2021-01-31 18:00:19 -08:00
Mia
f4d78b8395
Fix build
2021-01-30 15:08:50 -06:00
Guangcong Luo
da30a71706
Revert "Remove User#inRooms and User#games ( #7815 )"
...
This reverts commit 5c9c84c415 .
This also reverts commit 1fc92ef977 .
2021-01-30 15:55:55 -05:00
Mia
0ad5c41896
Chatlog: Restrict access to slowlog roomlogs
2021-01-30 14:40:15 -06:00
Mia
5c9c84c415
Remove User#inRooms and User#games ( #7815 )
2021-01-28 10:41:35 -08:00
Mia
121e93524c
Add a command for searching groupchats ( #7900 )
...
* Add a command for searching groupchats
* OK
2021-01-11 01:27:59 -08:00
Mia
755f930957
Add a page/command for viewing log access logs ( #7794 )
2020-12-14 01:38:56 -08:00
Mia
94fe9d838b
Fix userid search regexes for battlesearch/chatlog ( #7801 )
2020-12-13 23:12:14 -08:00
Mia
ceb7bfab8b
Battlelog: Run search in PM ( #7796 )
2020-12-12 13:44:54 -08:00
Annika
37daf55014
Chatlog: Increase PM timeout to 1 hour
2020-12-11 20:47:09 -08:00
Mia
f9c4f8d4bc
Chatlog: Refactor FS/ripgrep handling and support battle logs ( #7775 )
2020-12-11 16:51:42 -08:00