Commit graph

9 commits

Author SHA1 Message Date
Jakob Gillich
e0defe8240
Persistence #1 featuring quill (#508)
* Add .scalafmt.conf

* Adopt quill for database access

* Removed postgresql-async
* Refactored all instances of database access
* Creating duplicate characters of the same account is no longer possible
* Rewrote large parts of LoginSessionActor

* Implement migrations

* Move overrides into subdirectory

* Make usernames case insensitive

* Use LOWER(?) comparison instead of storing lowercased username

* import scala.util.{Success, Failure}

* Add config and joda-time dependencies

* Add sbt-scalafmt

* Use defaultWithAlign scalafmt preset

* Format all

* Add scalafix

* Remove unused imports

* Don't lowercase username when inserting

* Update readme

* Listen on worldserver.Hostname address

* Remove database test on startup

It could fail when the global thread pool is busy loading zone
maps. Migrations run on the main thread and also serve the
purpose of verifying the database configuration so it's fine to
remove the test altogether.

* Refactor chat message handlers, zones

What started as a small change to how zones are stored turned
into a pretty big effort of refactoring the chat message handler.
The !hack command was removed, the /capturebase commandwas added.

* Expose db ports in docker-compose.yml

* Silence property override log

* Rework configuration

* Unify configuration using the typesafe.config library
* Add configuration option for public address
* Configuration is now loaded from application.conf rather than worldserver.ini
* Refactor PsLogin and remove unnecessary logging
* Move pslogin into net.psforever.pslogin namespace

* Fix coverage
2020-07-13 23:54:05 -04:00
pschord
3c0b55a99e Update copyrights for 2017 (#109) 2017-03-06 19:30:45 -05:00
Chord
d14df59d39 Fix for test leaking a DH crypto object
Error was: net.psforever.crypto.CryptoInterface.CryptoDHState: class not closed.
memory leaked
2017-03-01 19:38:47 -05:00
Chord
cb2507360e Improve ChatMsg and fix LoginRespMessage 2016-08-06 11:23:28 -04:00
Chord
50fb65ac57 Version bump scodec and specs2
Also fix assorted casting errors and improve test case readability
2016-06-03 21:47:45 -04:00
Chord
df1d222df8 Refactor package naming scheme and line endings (CRLF) 2016-05-03 03:58:58 -04:00
Chord
6711786f44 CryptoInterface cross platform, UDP listen public 2016-04-22 23:00:39 -04:00
Chord
a3de62db90 Add copyrights to top of all files 2016-03-04 15:14:50 -05:00
Chord
b8ff34c0f9 [packet] VNLWorldStatusMessage
Added VNL packet type from IDA. Moved definition in to its own file.
Refactored PacketCoding MarshalPacket. The whole structure needs a
rework.

Now able to get a PlanetSide client to the server screen with a server
of choice.
2016-03-04 13:00:03 -05:00
Renamed from pslogin/src/test/scala/CryptoInterfaceTest.scala (Browse further)