Commit Graph

14 Commits

Author SHA1 Message Date
Salanto
d8a166ea60 Fix database permission error when database is first created
It was apparently perfectly acceptable to some that it shows an error when the file did not even have a chance to exist.
2021-10-04 22:17:24 +02: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
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
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
MangosArentLiterature
720669679a Select only needed values from the DB 2021-06-21 22:22:02 -05:00
MangosArentLiterature
ef3103a87f Replace all std::pair with QPair 2021-06-21 22:14:37 -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
6cf9f2dd23 Merge branch 'master' into ban-updating 2021-06-03 11:44:07 -05:00
Cerapter
e6b00575d8 Merge remote-tracking branch 'refs/remotes/scatter/master' 2021-05-13 07:15:18 +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
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