This is the first part of the API. It supports most of contacts, as well as the
journal. This PR also brings Monica to Laravel 5.5, as the API required it with
the new concept of resources. It needs to run `php artisan migrate` as well as
`php artisan passport:keys` to generate the access tokens needed for the API.
Moving from `kids` to `offsprings` broke the fake content seeder as
children are now contacts too. This commit generates a new contact
before attaching them as an offspring of the original contact
* List of people has now a header, with the number of contacts and the Sort filter in another place.
* Add much more data when seeding fake data. This will help have better real data when testing the product.
* Add a couple of unit tests here and there.
* Cleanup some methods.
* Truncate data on the dashboard so it's not messy if there is a lot of data.
Not everyone lives in the western culture. In some countries, names are not defined in the `firstname lastname` order, but rather the opposite, `lastname firstname`.
You can now define this order in your Settings panel.
Close#372
* Edit relation docblocks of Contact model
* Move activities to its own controller
* Move reminders to its own controller
* Move tasks to its own controller
* Refactor Gift in preparation for the move
* Move gifts into its own controller
* Fix failing tests
* Move debt to its own controllelr
* Fix tests failing on PHP7
* Move significant others to its own controller
* Move kids to its own controller
* Move notes to its own controller
* Some more adjustments & solving #277
And more query optimizations
The idea is that the instance owner can decide what should be the default timezone for every new user on the system. Also:
* change default APP_KEY to 32 char (avoid warning on specif openssl version) and update readme to remember 'php artisan key:generate' usage