Commit Graph

188 Commits

Author SHA1 Message Date
scatterflower
3d0b954536
Merge pull request #142 from AttorneyOnline/case-sens
Make iniswap detection case-insensitive
2021-06-21 21:45:18 -05:00
MangosArentLiterature
0e6efb18c0 Use QSettings instead of settings struct
As it turns out, I am not intelligent.
2021-06-19 23:05:33 -05:00
MangosArentLiterature
c4db245bec Rewrite ConfigManager and server configs
- Rewrites ConfigManager
- Adds DataTypes
- Changes "auth" and "logging" to use new AuthType and LogType types.
- ConfigManager now handles all config loading
- Remove AreaData and Server config.ini and command config loading.
2021-06-18 18:06:32 -05:00
MangosArentLiterature
4f7d5cd045 Discord webhook refactor
Completely refactors the Discord class, breaking it up into separate functions and slots, removing circular dependencies, and replacing most pointers with const references.
2021-06-17 19:21:37 -05:00
in1tiate
bdd5ad745c Make iniswap detection ignore case 2021-06-17 03:32:01 -05:00
MangosArentLiterature
da7aa12b90 Fix crash with /ban
Sets /ban to require 3 arguments instead of 2
2021-06-14 11:24:18 -05:00
MangosArentLiterature
9896feb1ab Fix localhost being used for webAO IPIDs
this was really dumb of me
2021-06-13 21:07:38 -05:00
MangosArentLiterature
c7a1bc3ec9 fix documentation part 2 2021-06-12 12:15:20 -05:00
MangosArentLiterature
bfe5c8c733 fix documentation
def. didn't forget to do this
2021-06-12 12:13:26 -05:00
MangosArentLiterature
8416232ff9 Log commands and OOC messages separately
Now every OOC message won't be treated as if it were a command, only commands will be sent to the command logger.
Also, much needed .gitignore update
2021-06-12 12:05:47 -05:00
MangosArentLiterature
a561d3eb47 Mirror isIPBanned() changes to isHDIDBanned()
this also removes getBanReason and getBanDuration as they are now no longer needed

also minor clean up this websocket ip ban or whatever
2021-06-09 23:32:55 -05:00
MangosArentLiterature
555b4a0cbf Implement remote banning
- Use IPID for IP bans instead of remote IP.
- Remove 2 extraneous DB queries by altering isIPBanned()
- Allow banning unconnected clients
2021-06-09 23:15:06 -05:00
MangosArentLiterature
dc497a55f6 Add the ability to ignore the BG list per area
- Adds the "ignore_bglist" option to areas, which toggles whether the BG list is enforced or ignored in an area.
- Adds a moderator permission "IGNORE_BGLIST" to give moderators the permission to toggle this setting.
- Adds a moderator command `/ignorebglist` to toggle this for an area.
2021-06-08 09:12:04 -05:00
scatterflower
4c32cf86cc
Merge pull request #128 from AttorneyOnline/password-requirements
Add password requirements
2021-06-06 14:08:33 -05:00
scatterflower
1a0cb3c6ef
Merge pull request #125 from AttorneyOnline/ban-updating
Add /updateban
2021-06-06 14:07:57 -05:00
MangosArentLiterature
526ebcf635 Fix testimony recorder
Fixes the entirely broken testimony recorder and makes it work like intended.

Co-Authored-By: Cerapter <43446478+Cerapter@users.noreply.github.com>
Co-Authored-By: Salanto <62221668+Salanto@users.noreply.github.com>
2021-06-03 16:10:28 -05:00
MangosArentLiterature
17cd92bc5b Fix character being considered taken upon changing areas
Fixes a bug that would cause the server to consider your character taken when switching to a new area, booting you to char select and preventing your original character from being reselected.
2021-06-03 14:16:52 -05:00
MangosArentLiterature
65467df4ba Merge branch 'master' into password-requirements 2021-06-03 11:56:27 -05:00
MangosArentLiterature
6cf9f2dd23 Merge branch 'master' into ban-updating 2021-06-03 11:44:07 -05:00
MangosArentLiterature
44519c0db3 Fix character selection
- Fix an issue allowing you to select taken characters
- Fix a regression of #64

Co-Authored-By: Cerapter <43446478+Cerapter@users.noreply.github.com>
2021-06-02 16:17:07 -05:00
MangosArentLiterature
17ab971e85 Fix command UID crash
Fix several commands targeting clients by UID crashing the server by not properly checking if the client they want exists.
2021-05-31 20:50:46 -05:00
Salanto
d52c069df2 Merge branch 'master' into discord_content 2021-05-15 16:53:05 +02:00
Cerapter
e6b00575d8 Merge remote-tracking branch 'refs/remotes/scatter/master' 2021-05-13 07:15:18 +02:00
Cerapter
de085461d9 Fix testimony problems, simplify statement hops, add tests for testimony 2021-05-09 18:02:50 +02:00
Cerapter
0655294ae4 Add static config for Windows 2021-05-09 16:58:01 +02:00
Cerapter
ba3d20186d Merge remote-tracking branch 'refs/remotes/scatter/master'
Conflicts:
	akashi.pro
	core/src/aoclient.cpp
	core/src/commands/authentication.cpp
	core/src/packets.cpp
	src/aoclient.cpp
	src/commands/authentication.cpp
	src/packets.cpp
2021-05-09 15:11:02 +02:00
Cerapter
f12567cd07 Document remaining AreaData functions 2021-05-09 14:25:30 +02:00
Cerapter
e435470952 Fix Doxygen looking in nonexisting directory, add more documentation 2021-05-05 23:07:43 +02:00
Cerapter
9423b25bf5 Fix remaining clazy-writing-to-temporary issues 2021-05-04 22:38:39 +02:00
Cerapter
9b081a1ce4 Forbid Windows builds from making subdirs in destdir 2021-05-04 08:40:46 +02:00
Cerapter
a42281c2c7 Fix clazy-writing-to-temporary issues
TODO still:
- Evidence
- Judgelog
2021-05-02 18:32:39 +02:00
Cerapter
68b4174a40 Merge remote-tracking branch 'refs/remotes/scatter/master'
Conflicts:
	akashi.pro
	core/include/logger.h
	core/src/commands/area.cpp
	core/src/packets.cpp
	include/logger.h
	src/commands/area.cpp
	src/packets.cpp
2021-05-01 23:33:00 +02:00
Cerapter
0a87f30287 Corrected every error in the build
TODO: Documentation, test writing still.
2021-05-01 22:51:51 +02:00
Cerapter
08fd5896ba More work on AreaData rework 2021-05-01 17:45:59 +02:00
Cerapter
85cc9af73a Change all accesses to getters 2021-05-01 16:05:50 +02:00
Cerapter
5a0c291825 AreaData acccess rework, from direct to through getters
Literal hell.
2021-05-01 15:29:58 +02:00
Cerapter
3aeff2d72d Merge remote-tracking branch 'refs/remotes/scatter/master' 2021-04-26 21:23:51 +02:00
Cerapter
f5cc137b40 Rename lib to core.
On Linux, the resulting shared library would have been called `liblib`, which is just dumb.
2021-04-26 21:14:25 +02:00