Commit Graph

183 Commits

Author SHA1 Message Date
Netsai 8902be5bb1 Fix spellings (#1581) 2018-07-24 11:11:22 +02:00
Régis Freyd 37ee0fda1f Fix account deletion (#1597) 2018-07-23 19:54:12 -04:00
Alexis Saettler ed80f544a5 Improve Date and DateTime parsing (#1576) 2018-07-23 00:15:48 +02:00
Alexis Saettler 0ec0e8591d Use route function everywhere (#1568) 2018-07-22 21:04:31 +02:00
Régis Freyd 341ee04197 Dates are now stored in UTC (#1491) 2018-07-22 11:11:06 -04:00
Alexis Saettler a95d0f3368 Use Carbon::toDateString function (#1571) 2018-07-14 15:49:56 +02:00
Régis Freyd b4ec3d96ca Replace activity types and activity type categories models (#1556)
This PR adds the first step towards supporting custom activity types and custom activity type categories.
2018-07-14 08:25:31 -04:00
Marti Markov 0592d6ff38 Add support for + sign in query (#1346) 2018-07-10 20:27:10 +02:00
Matthew Brown f8fe374f79 Update Psalm and fix issues found (#1486) 2018-07-08 10:22:22 +02:00
Alexis Saettler 18be5acaea Fix some sonar issues (#1546) 2018-07-07 16:24:07 +02:00
Alexis Saettler 8a8debc739 Yubikey support (#1031) 2018-07-04 23:37:12 +02:00
Régis Freyd 29197090a7 Restructure where models are stored (#1476)
The idea is to clean the repository a little bit by moving models into their respective folders.
2018-06-14 20:49:12 -04:00
Tom Rochette 90dc58348c [#1437] Set the default_avatar_color property before saving a contact model. (#1464) 2018-06-12 20:46:49 +02:00
Tom Rochette d4a1abad6e Replace queries with hardcoded "monica" database name to use the current default connection database (#1372) 2018-06-10 19:14:09 +02:00
Régis Freyd cd38ef44cf Fix account reset not working (#1463) 2018-06-06 20:38:05 -04:00
Régis Freyd 3d1ff3e867 Add support for nickname (#1359) 2018-06-04 18:02:21 -04:00
Régis Freyd f7757c9fe3 Add debts on the dashboard (#1373) 2018-05-28 21:17:55 -04:00
Alexis Saettler a79c19dd6c Add email confirmation on signup (#1374) 2018-05-28 17:40:17 +02:00
Régis Freyd 300cdfece0 Hide view untagged filter when there are not tags (#1375) 2018-05-21 22:29:18 -04:00
Régis Freyd 9018b558b8 Add GDPR compliance (#1296) 2018-05-20 16:00:03 -04:00
Danny 8bbe1ce591 Fix duplication of tags when filtering contacts (#1341) 2018-05-16 18:57:18 -04:00
Danny 401582b1b6 Partial contacts now load associated real contacts when searching (#1307) 2018-05-13 21:06:04 -04:00
Danny 5438307fc3 Refactor how contacts are sort by last activity date (#1300) 2018-05-13 20:55:58 -04:00
Barry vd. Heuvel acaa6a3b69 Allow multiple imported fields, replace existing (#980) 2018-05-13 22:15:13 +02:00
Danny 4458baa0b9 Add a view for contacts who do not have tags associated with them (#1112) 2018-05-13 09:09:57 -04:00
Alexis Saettler 61961d580d Optimization for getting list of countries (#1321) 2018-05-13 14:08:27 +02:00
Alexis Saettler 304762c52b Fix update command (#1317) 2018-05-12 18:16:57 +02:00
Tom Rochette d2c9c75644 Fix tests to prepare for foreign keys (#1289)
* Fix AccountTest tests.
Update the model factories not to expect a constant value for account_id.
Add various missing relationships in the model factories.

* Fix AddressTest after the addition of foreign keys.

* Fix ContactTest after the addition of foreign keys.
Set contact/account before saving a special date using Contact::setSpecialDate or Contact::setSpecialDateFromAge.

* Fix DayTest after the addition of foreign keys.

* Fix EntryTest after the addition of foreign keys.

* Fix GiftTest after the addition of foreign keys.

* Fix JournalEntryTest after the addition of foreign keys.

* Fix NoteTest after the addition of foreign keys.

* Fix NotificationTest after the addition of foreign keys.

* Fix PetTest after the addition of foreign keys.

* Return the account id and not the account object in many model factories definition.

* Fix ReminderTest after the addition of foreign keys.

* Fix SpecialDateTest after the addition of foreign keys.

* Fix UserTest after the addition of foreign keys.

* Make instead of creating in Contact::logEvent() as we cannot create an event without giving it an account_id.

* Fix ActivityTest after the addition of foreign keys.

* Fix SendNotificationsTest after the addition of foreign keys.

* Fix SendNotificationsTest after the addition of foreign keys.
- Remove the test_it_deletes_the_notification_if_contact_does_not_exist test because on deletion of a contact, all his associated notifications will be deleted due to cascade constraints.

* Fix SendRemindersTest after the addition of foreign keys.
- Remove the test_it_deletes_the_reminder_if_contact_doesnt_exist test because on deletion of a contact, all his associated reminders will be deleted due to cascade constraints.

* Fix TagTest after the addition of foreign keys.

* Update the logic in Contact::removeSpecialDate so that a foreign key constraint is not triggered when removing the associated relation.
Set a the partner gender before saving the partner as the gender is mandatory.
Add the ConvertEmptyStringsToNull middleware.
Set the metThroughId default option as empty so it is converted to null by the ConvertEmptyStringsToNull middleware.
Set the activity_type_id as empty so it is converted to null by the ConvertEmptyStringsToNull middleware.
Mark the Reminder title has required.
2018-05-08 21:33:12 -04:00
Alexis Saettler 67171c0309 Get list of countries from countries-laravel package (#1117) 2018-05-08 18:30:35 +02:00
Régis Freyd 4b1a8200e5 Fix missing views due to a folder restructure (#1288) 2018-05-07 20:45:53 -04:00
Régis Freyd 5e7690a852 Fix notifications being sent even if reminder rule is set to off (#1285) 2018-05-06 21:34:18 -04:00
Régis Freyd 586e477bb8 Remove automatic birthday reminder creation when editing a contact (#1275) 2018-05-04 22:59:41 -04:00
Alexis Saettler d0292b3f6f Fix removing tags (#1264) 2018-05-03 01:34:34 +02:00
Régis Freyd 1aa24bcc44 Fix error message in the Stay in touch feature (#1231) 2018-04-29 23:21:55 -04:00
Régis Freyd cae774bd4a Add support for markdown on Journal and Notes (#1230) 2018-04-29 22:56:41 -04:00
Matthew Brown da73a6e15d Add Psalm to check for possibly fatal issues (#973) 2018-04-29 19:11:40 +02:00
Régis Freyd ec346507ba Add an API method to access public statistics (#1220) 2018-04-26 22:17:00 -04:00
Régis Freyd c1b3b6116c Add ability to display contact fields for each contact in the contact list through the API (#1205) 2018-04-22 20:14:00 -04:00
Régis Freyd 901bc0c4d6 Add ability to stay in touch with a contact at a regular interval (#1195) 2018-04-21 12:36:25 -04:00
Théo Mathieu 8e7c1085b6 Add secure Oauth route for the API login (#1174) 2018-04-19 08:39:28 -04:00
Régis Freyd 08f19c853d Add ability to set relationships through the api (#1181) 2018-04-17 07:29:50 -04:00
Régis Freyd ad2b75db75 Add changelog inside the application (#1172) 2018-04-14 19:52:52 -04:00
Régis Freyd 05bd0a52b2 Fix contact deletion not working (#1159) 2018-04-12 22:35:18 -04:00
Régis Freyd b03ca6dd1a Improvements, bug fixes and support markdown in activity comments (#1145) 2018-04-10 21:53:32 -04:00
Alexis Saettler a75fa01ac2 Fix delete contact's relationship on contact delete (#1132) 2018-04-10 09:42:39 +02:00
Dago 97a1d3a97c Add ability to set a journal entry date (#1116) 2018-04-09 20:48:02 -04:00
Alexis Saettler 6657aeec9a Fix bugs with last commits (#1130) 2018-04-09 21:07:04 +02:00
Régis Freyd 874a7f09fb Add ability to define which features you want active on the Contact sheet (#1121) 2018-04-09 09:07:52 -04:00
Alexis Saettler 0830b09134 Fix Gifts handle (#1115) 2018-04-08 23:58:15 +02:00
Danny 54aecde3d9 Fix a bug when editing gift (#1088) 2018-04-08 23:46:20 +02:00