Commit Graph

912 Commits

Author SHA1 Message Date
Salanto
860af5af82 Setup basic strcuture
Welcome to the ride. You may witness me slowly loosing my sanity on this.
2021-08-24 15:44:45 +02:00
Salanto
01fcb51155
Nix-QString::Splitbehaviour complaint (#195) 2021-08-24 00:05:38 -05:00
Rosemary Witchaven
624fe41e12
Fix or suppress compiler warnings (#158)
* purge warnings

* indentation change

* unused macros for notice cmd

* cleanup clazy/clang-tidy diagnostics
2021-08-23 19:07:22 -05:00
Rosemary Witchaven
f7e5a58d02
Merge pull request #194 from AttorneyOnline/ci-fix-linux
Fix Linux CI
2021-08-23 00:01:11 -05:00
Rosemary Witchaven
0202a2b3a0
run apt-get update before installing dependencies 2021-08-22 23:58:00 -05:00
Rosemary Witchaven
958752ef0a
Merge pull request #192 from Salanto/fix-#191
Allow spaces to be contained in background names
2021-08-21 05:00:36 -05:00
Salanto
8daca2eee0 fix-#191 2021-08-21 11:53:53 +02:00
Rosemary Witchaven
72aeee3ec0
Merge pull request #190 from Salanto/fix-DiscordNoContentEmbed
Fix Modcall Embed Construction Order
2021-08-19 18:30:11 -05:00
Salanto
378b21099d Add check for empty string 2021-08-19 23:04:23 +02:00
Salanto
20a9112a21 Fix Embed Construction Order 2021-08-19 23:01:12 +02:00
Rosemary Witchaven
ce660b56de
Merge pull request #188 from AttorneyOnline/device-not-open
Fix QIODevice::read (QTcpSocket) device not open error
2021-08-19 15:11:57 -05:00
Rosemary Witchaven
bd6498c35b
Merge pull request #187 from Salanto/refactor-discord
Refactor Discord class to be reloadable
2021-08-19 15:00:47 -05:00
Salanto
5f3d42d999 Remove unusued nullpointer 2021-08-19 21:48:33 +02:00
Salanto
2efb6edee8 Privatize Discord + use Signals better
None of this is called outside of Discord, so there's no point on having it public.

Bonus note on the slots :
But if you close your eyes,
Does it almost feel like
Nothing changed at all?
2021-08-19 21:46:05 +02:00
in1tiate
637a6170e9 wait for connection before reading first data 2021-08-18 20:47:10 -05:00
Salanto
5b07bb5557 Update config descriptions for Discord.ini 2021-08-12 23:03:46 +02:00
Salanto
f4038d4678 Cleanup Discord class and fix reload error 2021-08-12 22:55:27 +02:00
Salanto
931365d1bd Resolve compile error 2021-08-12 22:03:42 +02:00
Salanto
9148e522aa Make webhook reloadable 2021-08-12 21:44:53 +02:00
Salanto
51ca518aeb Add QElapsedTimer to track server uptime
Had no better place to put it without making it needlessly complicated.
2021-08-12 21:33:13 +02:00
Salanto
893b3f6cb1 Document ban webhook signal 2021-08-12 20:43:03 +02:00
Salanto
f604e9c8de Split discord configuration into different file
The current config.ini is both long and full of text.
This reduces readability and combines essential configuration with non-essential configuration.
Splitting optional features like Discord into its own config helps the readability issue by not beating the users to death with information.
2021-08-11 23:52:53 +02:00
Rose Witchaven
eb830db587
Merge pull request #163 from Salanto/AliveHook
Implement Uptime Webhook
2021-08-11 06:56:30 -05:00
Salanto
4550128d63 Merge branch 'master' into AliveHook 2021-08-11 13:06:36 +02:00
Rose Witchaven
db1645690e
Merge pull request #186 from Salanto/fix-#180-compile-error
Fix compile error caused by #180
2021-08-11 06:02:04 -05:00
Salanto
9d55d3ea9e Inherit tr method from QObject 2021-08-11 08:52:01 +02:00
Salanto
2fd9dd9288 Add uptime url to sample configuration 2021-08-11 08:04:23 +02:00
Salanto
aaccf8e605 Implement Uptime Webhook
This commit implements a functional uptime webhook which posts a message to the config defined webhook URL. The interval is configurable, but not updatable.
2021-08-11 07:56:08 +02:00
Rose Witchaven
ec45370a71
Merge pull request #180 from t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r/patch-1
Add a check for file writability to the DB to confuse users slightly less.
2021-08-10 16:59:08 -05:00
Rose Witchaven
21a8f95a20
Merge pull request #185 from Salanto/more-hook-urls
Add ban webhook url option
2021-08-10 16:47:25 -05:00
Salanto
058b5cef63 Update ban webhook to utilize different url
+ Update sample config
+ Clarify webhook urls in the config and configmanager.
2021-08-10 22:16:09 +02:00
Rose Witchaven
2f2f57c8f0
Merge pull request #184 from Salanto/Fix-#183
Notify target of invite and uninvite
2021-08-10 15:02:12 -05:00
Rose Witchaven
6213861529
Merge pull request #181 from Salanto/AFKTimeout-Configuration
Add missing afk timeout configuration to sample config
2021-08-10 15:00:45 -05:00
Rose Witchaven
28ab60cfea
Merge pull request #182 from Salanto/Fix-#145
Send confirm message on success of /pm
2021-08-10 15:00:30 -05:00
Salanto
fadafd2588 Notify target client of uninvite 2021-08-10 20:06:05 +02:00
Salanto
969089bf69 Notify target client of invite 2021-08-10 19:56:47 +02:00
Salanto
8211ab352e Send OOC message on success of /pm
Send OOC message on success of /pm

Add missing space in message layout
2021-08-10 19:26:17 +02:00
Salanto
a9c8cf7248 Add missing afk timeout configuration to sample config 2021-08-10 19:04:07 +02:00
Rose Witchaven
d7d5984631
Merge pull request #177 from AttorneyOnline/pay-attention
Add /notice, for moderators to be heard above the noise
2021-08-10 09:19:07 -05:00
in1tiate
91131c8970 swap out ternary for simpler if 2021-08-10 00:29:58 -05:00
in1tiate
c6b0c5f6de move notice functionality to helper function 2021-08-10 00:28:36 -05:00
Rose Witchaven
e84d9dc9ba
Merge pull request #179 from Salanto/Fix-#178
Set background in area data when /bg is used.
2021-08-09 11:18:54 -05:00
t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r
fd250ee13d
thanks
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-08-09 17:56:59 +02:00
cancer
a624fd502a do it with qt 2021-08-08 21:12:03 +03:00
t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r
23b5962e2a
defined 2021-08-08 08:04:02 +02:00
t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r
a94dce496d
sigh 2021-08-08 07:57:13 +02:00
t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r
5bfce45767
check if db is writable before using it
clearer error messages
2021-08-08 07:53:58 +02:00
t-h-i-s-u-s-e-r-n-a-m-e-i-s-c-a-n-c-e-r
a18ecfd633
add access() 2021-08-08 07:48:32 +02:00
Salanto
401f98b23e Set the background in area data.
Currently, Akashi does not save the changed background in the area, meaning clients will default to the configs background.

This commit addresses the issue by saving the new background in the area data, meaning it is persistent between people moving in and out of the area.
2021-08-07 22:21:53 +02:00
in1tiate
7b1845aa8d add global version of/notice 2021-08-04 06:12:25 -05:00