Commit Graph
124 Commits
Author SHA1 Message Date
Régis FreydandGitHub f7757c9fe3 Add debts on the dashboard (#1373) 2018-05-28 21:17:55 -04:00
Alexis SaettlerandGitHub a79c19dd6c Add email confirmation on signup (#1374) 2018-05-28 17:40:17 +02:00
Alexis SaettlerandGitHub cc427af451 Fix for utf8mb4 and mysql < 5.7.7 (#1394) 2018-05-26 17:36:42 +02:00
Samuel VandammeandAlexis Saettler fe6c05500d FakeContentTableSeeder now adds meaningfull data in ContactFields (#1340) 2018-05-25 13:27:29 +02:00
Austin DrummondandAlexis Saettler 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 SaettlerandGitHub d10cd9bbb5 Fix inconsistent reminder_time values (#1387) 2018-05-24 23:01:14 +02:00
Régis FreydandGitHub 9018b558b8 Add GDPR compliance (#1296) 2018-05-20 16:00:03 -04:00
i3anaanandAlexis Saettler e5e9361402 postgresql specific fix for casting a varchar to int (#1309) 2018-05-20 10:29:38 +02:00
Régis FreydandGitHub 724ce3abea Simplify relationship types auto population on migration (#1328) 2018-05-16 21:19:00 -04:00
DanielandRégis Freyd 564ce206c0 Add ex wife/husband as a relationship (#1319) 2018-05-16 19:10:38 -04:00
Alexis SaettlerandGitHub 304762c52b Fix update command (#1317) 2018-05-12 18:16:57 +02:00
Tom RochetteandRégis Freyd 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 SaettlerandGitHub 67171c0309 Get list of countries from countries-laravel package (#1117) 2018-05-08 18:30:35 +02:00
Régis FreydandGitHub 5e7690a852 Fix notifications being sent even if reminder rule is set to off (#1285) 2018-05-06 21:34:18 -04:00
Régis FreydandGitHub 082894ec70 Add changelog entry about disabling birthday reminders (#1277) 2018-05-04 23:42:12 -04:00
Régis FreydandGitHub 2233a63ea0 Update changelog entry date (#1247) 2018-04-30 23:45:31 -04:00
Régis FreydandGitHub 08c61abf13 Refactor vCard import (#1227) 2018-04-30 23:06:42 -04:00
Matthew BrownandAlexis Saettler da73a6e15d Add Psalm to check for possibly fatal issues (#973) 2018-04-29 19:11:40 +02:00
Régis FreydandGitHub 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 FreydandGitHub 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 FreydandGitHub ad2b75db75 Add changelog inside the application (#1172) 2018-04-14 19:52:52 -04:00
Régis FreydandGitHub cb3fe20a1e Fix gender id set to 0 (#1171) 2018-04-14 09:02:19 -04:00
Régis FreydandGitHub 03b832ab32 Remove unused contact ids (#1166) 2018-04-13 20:26:15 -04:00
Régis FreydandGitHub 6d7ef67137 Populate modules tables (#1147) 2018-04-10 22:50:28 -04:00
Régis FreydandGitHub b03ca6dd1a Improvements, bug fixes and support markdown in activity comments (#1145) 2018-04-10 21:53:32 -04:00
Régis FreydandGitHub 874a7f09fb Add ability to define which features you want active on the Contact sheet (#1121) 2018-04-09 09:07:52 -04:00
DannyandRégis Freyd 3ba96cf18b Add UUID instead of actual ID to identify contacts (#777)
Close #381
2018-04-08 14:23:13 -04:00
Alexis SaettlerandGitHub 2513137d12 Add an update command (#997) 2018-04-07 10:35:39 +02:00
Régis FreydandGitHub ae521f5226 Refactor relationships (#971) 2018-04-01 20:46:51 -04:00
Gabriel CarusoandAlexis Saettler 1794435726 Use now helper (#1051) 2018-03-29 10:09:04 +02:00
Gabriel CarusoandAlexis Saettler 1e1e984baf Use unsigned* columns (#1053) 2018-03-29 09:35:37 +02:00
Alexis SaettlerandGitHub 2a6290339b Fix Faker trait use (#995) 2018-03-10 20:40:45 +01:00
Alexis SaettlerandGitHub f89117cd3a Remove env calls (#991) 2018-03-10 08:07:37 +01:00
Alexis SaettlerandGitHub 558515b59a Fix issues proposed by sonar (#986) 2018-03-08 22:37:27 +01:00
Alexis SaettlerandGitHub 83fbc5fc48 Improve tests support (#984)
* Use WithFaker trait
* Add a scrollTo macro
* Use specific chromedriver
2018-03-08 21:36:18 +01:00
Alexis SaettlerandGitHub 422a305b14 Fix gravatar support (#944) 2018-03-02 13:04:47 +01:00
Régis FreydandGitHub d918ae9f1c Fix notifications not being sent (#951) 2018-03-01 20:21:08 -05:00
Régis FreydandGitHub f03c2b7f64 Rename some i18n folders (#938) 2018-02-25 20:53:41 -05:00
Régis FreydandGitHub e96b70f95c Add concept of notifications for reminders (#894) 2018-02-25 17:42:14 -05:00
Régis FreydandGitHub 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 SaettlerandGitHub 2c14f6d0ee Fix default genders seed with setup:production (#898) 2018-02-15 21:40:19 +01:00
Régis FreydandGitHub e78e140b9e Add support for custom genders (#879) 2018-02-04 15:44:26 -05:00
Alexis SaettlerandGitHub 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 FreydandGitHub cc754ca35d Add Annual plan (#861) 2018-01-28 13:22:55 -05:00
Régis FreydandGitHub fa6910510a More unit tests for many models (#851) 2018-01-24 23:01:45 -05:00
Régis FreydandGitHub 9e08f04642 Add more unit tests for User, Tag, Reminder and PetCategory models (#845) 2018-01-23 00:09:22 -05:00
Alexis SaettlerandGitHub 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 FreydandGitHub a5a602033d Add ability to export a contact as CSV (#840) 2018-01-21 22:28:47 -05:00
Régis FreydandGitHub 4fc47f605b Add more unit tests for Account model (#833) 2018-01-19 10:19:55 -05:00
Régis FreydandGitHub 7f246922ed Add ability to mark a gift idea as being offered (#831) 2018-01-18 23:53:20 -05:00