Commit Graph

23 Commits

Author SHA1 Message Date
Basilius Sauter fc73f86ffa Changed PHPUnit dependency to use either 7 or 8. 2019-06-27 14:29:01 +02:00
Basilius Sauter e18cdd21cc Added void return type to setUp/tearDown test methods. 2019-06-27 09:40:12 +02:00
Basilius Sauter 8612a53538 Replaces style checker with PHP CS Fix 2019-06-25 20:23:22 +02:00
Basilius Sauter d0b2d48cc1 Upgrades successfully to PHPUnit 7, removed DBUnit support and integrated custom testing. 2019-06-16 17:50:58 +02:00
Basilius Sauter d609f981aa Changed doctrine dependency 2019-03-22 16:23:50 +01:00
Basilius Sauter 4ec84dfec3 Changed dependency to symfony 4 2019-03-22 16:23:50 +01:00
Basilius Sauter aa63259992 Updated version identifier for 0.5 2018-10-10 10:10:38 +02:00
Basilius Sauter 04b3b6aaf9 Changed character id to uuid 2018-10-08 17:29:44 +02:00
Vassyli 846ab6018e LibraryConfiguration now also knows crate packages. 2018-01-19 17:42:33 +01:00
Vassyli 003a6517ba Updated dependencies 2017-12-25 14:59:55 +01:00
Vassyli 498f4965e6 Adds tests and support for Unidirectional connections.
Also fixes travis config.
2017-03-02 20:04:27 +01:00
Vassyli 2970bd09d7 Changed the scene parent<=>child relationship to connections.
The parent<=>child relationship of scenes was removed. Instead, this commit introduces the concept of a connection.

A connection is used to connect two scenes. Depending on which entity the connect-method is called, one is defined as the "outgoing" scene, the other as the ingoing scene:

```
$a->connect($b);
```

In this case, $a will be the outgoing part of the connection, $b the incoming.

Furthermore, in order to support action groups, this commit introduces SceneConnectionGroups which can be created in scenes and checked wether they exist or not. Using these, it is possible to specifiy to which part of the scenes are connected to each other.

```
$a->getConnectionGroup("scene-A/marketsquare")->connect($b);
```

In this case, $a will have the action to access $b under the ActionGroup of scene-A/marketsquare. On the other hand, $b, which doesn't have a connection group specified, will have the connection back to $a in the default group.

Connect also accepts the return value of getConnectionGroup as the argument, thus allowing the connection _to_ a certain part of $b as well:

```
$a->connect($b->getConnectionGroup("scene-B/back"));
```

The tests for scenes were updates in order to reflect this change.
2017-03-02 17:19:46 +01:00
Austen McDonald de1f385e4a Add symfony/yaml as a dependency 2016-08-10 00:09:55 -07:00
Austen McDonald d30bab4ec8 Force docblock checking as part of t 2016-07-31 21:54:43 +00:00
Austen McDonald 23c2b79094 Add console command to daenerys tool. 2016-07-22 06:26:07 +00:00
Basilius Sauter dfb732328b Change PHP version requirement as suggested
Change from >7.0.0 to ^7.0.0

Closes #37
2016-06-09 23:20:30 +02:00
Basilius Sauter ac16c54591 Changes composer dependencies to be more flexible.
Changes composer dependencies to be more flexible. Furthermore, it adds a
requirement for php version to be > 7.0.0.
2016-06-07 17:35:34 +02:00
Austen McDonald 91ac1ffd60 Skeleton of daenerys console application. 2016-06-04 12:01:54 -07:00
Austen McDonald e2c97d21f9 Add composer/composer as dependency (and pedantically reorder some deps). 2016-05-21 21:42:52 -07:00
Austen McDonald 01cc817913 Update composer.json to include metadata (and update installed versions) 2016-05-20 21:32:26 -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
Austen McDonald a7d761d4da Cleanup formatting in composer.json and rename Tests to tests 2016-04-14 21:31:22 -07:00
Basilius Sauter 5e06171bec Basic commit
Added meta data files (gitattribute to normalize line ending,
gitignore), as well as a simple Model and non-working tests.
2016-04-14 23:57:17 +02:00