Commit Graph

120 Commits

Author SHA1 Message Date
MangosArentLiterature
5f0cc8537f Add /reload
Ceraptor helped me figure this out.

- Adds /reload to reload values from config.ini, command config files, and recontact the master server
- Adds Server::requestReload and Advertiser::reloadRequested
- Adds QString server_desc and some minor changes to config loading.
2021-04-13 16:43:50 -05:00
MangosArentLiterature
c2d1286e27 Merge branch 'master' into config-loading 2021-04-13 15:53:24 -05:00
scatterflower
3ef7901b6d
Merge pull request #63 from AttorneyOnline/mod-commands
Add /judgelog and /baninfo commands
2021-04-10 00:44:59 -05:00
MangosArentLiterature
a2013aa32e Cleanup getBanInfo and cmdJudgeLog
- Removes unneeded parentheses from AOClient::cmdJudgeLog()
- Removes duplicate code in DBManager::getBanInfo()
2021-04-10 00:43:08 -05:00
scatterflower
8a5be8bc2c fix timer 2021-04-09 22:51:00 -05:00
MangosArentLiterature
86c25555b2 Add a new method of loading values from config.ini
- Centralizes the loading of values from config.ini, loading them all in at server start and holding them in memory.
- Removes all other methods of loading config.ini values and replaces them with references to these central values.
- Removes getServerName() and getDiceValue()
2021-04-09 19:18:46 -05:00
scatterflower
2a2171dc42 clean up timer command, fix crash 2021-04-09 15:32:17 -05:00
MangosArentLiterature
cff51674bb Update /8ball and AOClient::getReprimands to use the new command config loader 2021-04-08 22:51:51 -05:00
MangosArentLiterature
bd0efe40f6 Merge branch 'master' into mod-commands 2021-04-07 15:30:45 -05:00
MangosArentLiterature
2d793f4a99 Add /baninfo command
- Adds getBanInfo() to db_manager, which queries bans by banid, hdid, or ipid
2021-04-07 15:26:14 -05:00
MangosArentLiterature
ea0df75a88 Merge branch 'master' into mod-commands 2021-04-07 00:45:56 -05:00
MangosArentLiterature
735f886d15 Fix filtering out IPIDs for CM users 2021-04-06 15:22:36 -05:00
MangosArentLiterature
d73a7292fc Add a check to /judgelog to only send IPIDs to users with appropriate permissions 2021-04-06 13:50:06 -05:00
MangosArentLiterature
d98eedd6e9 Add /judgelog command
Adds a judgelog to each area and a helper function to update it. Adds /judgelog to retrieve it.
2021-04-06 00:41:28 -05:00
Salanto
c841f74196 Add allow_blankposting-command
+ update sample config
2021-04-05 23:18:08 +02:00
MangosArentLiterature
0f4173bcea
Merge branch 'master' into 8ball 2021-04-05 12:18:43 -05:00
Salanto
e1c578b8ee Add lm-command
Mango was disappointed when they learned I already did this several days ago and forgot about it.
2021-04-05 03:02:38 +02:00
MangosArentLiterature
272719f245 Fix /8ball output 2021-04-04 17:31:02 -05:00
MangosArentLiterature
b1c00cb46f Add /8ball 2021-04-04 16:16:37 -05:00
in1tiate
dfcc68817a
Merge branch 'master' into notecards 2021-04-04 02:04:42 -05:00
scatterflower
428053934a
Merge pull request #37 from Salanto/evidence_swap
Add /evidence_swap
2021-04-03 17:18:00 -05:00
MangosArentLiterature
f09adf4901 check for valid auth_type
Actually check if auth_type is set to advanced, otherwise warn about invalid settings
2021-04-03 16:24:34 -05:00
Salanto
026c9e778e Add missing bracket
That closing bracket is kinda important
2021-04-03 17:11:58 +02:00
Salanto
013a7ecfa1
Merge branch 'master' into evidence_swap 2021-04-03 17:05:54 +02:00
Salanto
173e9b3f7b Add check for older Qt versions 2021-03-31 15:30:01 +02:00
Salanto
1ed233b26a Add guard statements 2021-03-31 15:30:01 +02:00
Salanto
6b4a19ca66 English is hard 2021-03-31 15:30:01 +02:00
Salanto
a2153e58a5 Remove empty line 2021-03-31 15:30:01 +02:00
Salanto
27103e9620 Fix crash on empty evidence list 2021-03-31 15:30:01 +02:00
Salanto
f18c8733d0 Negative numbers not needed. 2021-03-31 15:30:00 +02:00
Salanto
ba56eaa66d Add /evidence_swap 2021-03-31 15:29:06 +02:00
in1tiate
5277a7dd7c i was supposed to not commit this all at once but i forgot 2021-03-23 20:42:53 -05:00
in1tiate
ef20ff00d7 add notecard functionality 2021-03-21 15:01:15 -05:00
scatterflower
1636dd93ef extremely important commit 2021-03-17 05:52:04 -05:00
in1tiate
d6b41d00d5 send hardcoded string only when client version is below 2.9.1 2021-03-15 18:20:08 -05:00
in1tiate
64d745dc0f Merge branch 'master' into feature/net-auth 2021-03-15 18:17:12 -05:00
scatterflower
cfc75798e7 add /about and update version string 2021-03-14 17:51:14 -05:00
in1tiate
4aba84734e
Merge branch 'master' into recent-bans 2021-03-14 17:44:02 -05:00
in1tiate
01f81c7107 always reload theme on subtheme change 2021-03-14 15:16:30 -05:00
in1tiate
954744d86a add /subtheme 2021-03-14 15:14:44 -05:00
in1tiate
6b3bfb2fda add some cute flavor text for permanent bans 2021-03-14 13:49:55 -05:00
in1tiate
9b32188cc6 add /unban and /removeuser 2021-03-14 13:44:12 -05:00
in1tiate
b562b77be9 use BanInfo for inserting bans, send ban id and duration with KB packet 2021-03-14 13:28:59 -05:00
in1tiate
b5779b1aa5 add /bans 2021-03-14 13:13:26 -05:00
in1tiate
535c05f3e2 Merge branch 'master' of https://github.com/AttorneyOnline/akashi 2021-03-14 12:13:13 -05:00
in1tiate
2a8ed66c4f rework getClient into getClientsByIpid, alter /ban and /kick to report number of clients affected 2021-03-14 12:11:18 -05:00
scatterflower
c673339653 Add mute and unmute 2021-03-14 08:21:58 -05:00
scatterflower
5368601b67 remove desu 2021-03-13 13:40:37 -06:00
scatterflower
6a38e50c4f add ban durations (only works for hdid atm) 2021-03-13 13:25:09 -06:00
scatterflower
f45099e47b implement tsu-like time parsing 2021-03-13 05:10:36 -06:00