Commit Graph

123 Commits

Author SHA1 Message Date
Alexis Saettler a79c19dd6c Add email confirmation on signup (#1374) 2018-05-28 17:40:17 +02:00
Alexis Saettler cc427af451 Fix for utf8mb4 and mysql < 5.7.7 (#1394) 2018-05-26 17:36:42 +02:00
Samuel Vandamme fe6c05500d FakeContentTableSeeder now adds meaningfull data in ContactFields (#1340) 2018-05-25 13:27:29 +02:00
Austin Drummond 643efa1bd6 Convert columns for emoji support (#169)
* removed some links from migration

* Fix StyleCI

* Move file

* Remove old tables

* Remove unneeded migrations

* Fix StyleCI

* Simplify script

* Fix psalm

* Fix StyleCI
2018-05-25 10:27:18 +02:00
Alexis Saettler d10cd9bbb5 Fix inconsistent reminder_time values (#1387) 2018-05-24 23:01:14 +02:00
Régis Freyd 9018b558b8 Add GDPR compliance (#1296) 2018-05-20 16:00:03 -04:00
i3anaan e5e9361402 postgresql specific fix for casting a varchar to int (#1309) 2018-05-20 10:29:38 +02:00
Régis Freyd 724ce3abea Simplify relationship types auto population on migration (#1328) 2018-05-16 21:19:00 -04:00
Daniel 564ce206c0 Add ex wife/husband as a relationship (#1319) 2018-05-16 19:10:38 -04: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 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 082894ec70 Add changelog entry about disabling birthday reminders (#1277) 2018-05-04 23:42:12 -04:00
Régis Freyd 2233a63ea0 Update changelog entry date (#1247) 2018-04-30 23:45:31 -04:00
Régis Freyd 08c61abf13 Refactor vCard import (#1227) 2018-04-30 23:06:42 -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 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
Régis Freyd ad2b75db75 Add changelog inside the application (#1172) 2018-04-14 19:52:52 -04:00
Régis Freyd cb3fe20a1e Fix gender id set to 0 (#1171) 2018-04-14 09:02:19 -04:00
Régis Freyd 03b832ab32 Remove unused contact ids (#1166) 2018-04-13 20:26:15 -04:00
Régis Freyd 6d7ef67137 Populate modules tables (#1147) 2018-04-10 22:50:28 -04:00
Régis Freyd b03ca6dd1a Improvements, bug fixes and support markdown in activity comments (#1145) 2018-04-10 21:53:32 -04: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
Danny 3ba96cf18b Add UUID instead of actual ID to identify contacts (#777)
Close #381
2018-04-08 14:23:13 -04:00
Alexis Saettler 2513137d12 Add an update command (#997) 2018-04-07 10:35:39 +02:00
Régis Freyd ae521f5226 Refactor relationships (#971) 2018-04-01 20:46:51 -04:00
Gabriel Caruso 1794435726 Use now helper (#1051) 2018-03-29 10:09:04 +02:00
Gabriel Caruso 1e1e984baf Use unsigned* columns (#1053) 2018-03-29 09:35:37 +02:00
Alexis Saettler 2a6290339b Fix Faker trait use (#995) 2018-03-10 20:40:45 +01:00
Alexis Saettler f89117cd3a Remove env calls (#991) 2018-03-10 08:07:37 +01:00
Alexis Saettler 558515b59a Fix issues proposed by sonar (#986) 2018-03-08 22:37:27 +01:00
Alexis Saettler 83fbc5fc48 Improve tests support (#984)
* Use WithFaker trait
* Add a scrollTo macro
* Use specific chromedriver
2018-03-08 21:36:18 +01:00
Alexis Saettler 422a305b14 Fix gravatar support (#944) 2018-03-02 13:04:47 +01:00
Régis Freyd d918ae9f1c Fix notifications not being sent (#951) 2018-03-01 20:21:08 -05:00
Régis Freyd f03c2b7f64 Rename some i18n folders (#938) 2018-02-25 20:53:41 -05:00
Régis Freyd e96b70f95c Add concept of notifications for reminders (#894) 2018-02-25 17:42:14 -05:00
Régis Freyd 3cbd95dec0 Add ability to associate and remove one or more tags to a contact via the API (#924)
3 new API methods have been added:

* It allows to associate one or more tags with a contact,
* It allows to remove one or more tags from a contact,
* It allows to remove all the tags from a contact at once.
2018-02-24 18:01:15 -05:00
Alexis Saettler 2c14f6d0ee Fix default genders seed with setup:production (#898) 2018-02-15 21:40:19 +01:00
Régis Freyd e78e140b9e Add support for custom genders (#879) 2018-02-04 15:44:26 -05:00
Alexis Saettler 94cec0daff Test php 7.2 and postgresql (#785)
Running:
- php 7.1 + mysql + selenium (browser) tests
- php 7.2 + mysql
- php 7.1 + postgresql
2018-02-03 22:05:24 +01:00
Régis Freyd cc754ca35d Add Annual plan (#861) 2018-01-28 13:22:55 -05:00
Régis Freyd fa6910510a More unit tests for many models (#851) 2018-01-24 23:01:45 -05:00
Régis Freyd 9e08f04642 Add more unit tests for User, Tag, Reminder and PetCategory models (#845) 2018-01-23 00:09:22 -05:00
Alexis Saettler 4f3994f94d Add Code Coverage to Browser tests (#813)
* Using Live-code-coverage to get Code Coverage from http server
* Add a new test to pass Login form
* Add FakeUserTableSeeder to seed in testing env
* Using SESSION_DRIVER=file in travis env
* Add saucelabs connection (disable right now)
* Update composer
2018-01-22 18:00:31 +01:00
Régis Freyd a5a602033d Add ability to export a contact as CSV (#840) 2018-01-21 22:28:47 -05:00
Régis Freyd 4fc47f605b Add more unit tests for Account model (#833) 2018-01-19 10:19:55 -05:00
Régis Freyd 7f246922ed Add ability to mark a gift idea as being offered (#831) 2018-01-18 23:53:20 -05:00
Alexis Saettler 620c5de2b0 Add Two Factor Authentication (2FA) (#724) 2018-01-08 18:17:06 -05:00