Commit Graph

12 Commits

Author SHA1 Message Date
Vassyli ae63c209e9 Clean-ups
Left overs to clean and changes from discussion.

Fixed config path finding
2016-07-29 11:57:24 +02:00
Austen McDonald 2370528392 Transition from environment variables to a configuration file format. 2016-07-22 04:19:10 +00:00
Basilius Sauter 931d60b907 Removes uneeded filters from code base 2016-05-26 08:14:23 +02:00
Austen McDonald 78695eb52d Remove extra cache clear statement in tests. 2016-05-21 13:46:01 -07:00
Austen McDonald 8251e22784 Change configuration to use environment variables instead of globals. 2016-05-21 13:43:36 -07:00
Austen McDonald e45b0ee694 Fix some bugs in ModelTestCase, including clearing the cache 2016-05-14 21:08:57 -07:00
Basilius Sauter 0ff9958830 Adds MotD and Message model as well as tests
This commit adds the MotD model for storing and retrieving
messages-of-the-day.

It also adds a model for messages. Messages have an author as well as a
thread they belong to, the thread can be read by a specific number of
authors. FUrthermore, the message model supports system messages.

This commit introduces a number of needed changes:
- Character is now implementing the CharacterInterface
- MissingCharacter and SystemCharacter are supporting "pseudo-characters"
- trait MockCharacter implements non-implemented methods for
  MissingCharacter and SytemCharacter
- Characters are now soft-deletable. Models wanting to load soft-deleted
  characters need to fetch them eagerly.

Closes #17
2016-05-12 11:04:04 +02:00
Basilius Sauter 7643277cf7 Changed phpunit configuration back 2016-04-19 21:58:44 +02:00
Basilius Sauter 3fbfc7692f Improved Tests and CharacterModel 2016-04-16 09:13:07 +02:00
Basilius Sauter 7afa27246b Added strict_types=1 and added test 2016-04-15 18:56:08 +02:00
Basilius Sauter 254bd9516d Merge branch 'master' into fixups 2016-04-15 17:36:03 +02:00
Austen McDonald a7d761d4da Cleanup formatting in composer.json and rename Tests to tests 2016-04-14 21:31:22 -07:00