Commit Graph
40 Commits
Author SHA1 Message Date
Regis FreydandAlexis Saettler 72ff0d3da4 feat: change avatar management (#2112) 2019-08-17 21:32:10 +02:00
Alexis SaettlerandGitHub 103b27b0d7 fix: fix last consulted list (#2887) 2019-08-10 23:54:59 +02:00
Alexis SaettlerandGitHub 73592fcaef Apply fixes from StyleCI (#2768) 2019-06-13 00:42:33 +02:00
Alexis SaettlerandGitHub aa75e7d3ce chore: add thecodingmachine/safe package (#2630) 2019-05-04 14:48:25 +02:00
Matthew BrownandAlexis Saettler 684ce6bc56 refactor: fix bad return types with Psalter (#2435) 2019-02-16 19:20:28 +01:00
Régis FreydandGitHub 69cfdebb1a feat: refactor reminders (#2223)
yolo
2019-01-15 18:03:13 -05:00
Alexis SaettlerandGitHub 9c3f80a829 fix: fix dashboard calls display (#2209) 2018-12-25 22:13:47 +01:00
Adrien PoupaandAlexis Saettler a1c93616ae fix: reduce the number of queries in the dashboard by eager loading the contacts (#2138) 2018-12-18 08:32:30 +01:00
Régis FreydandGitHub 4f3fbd9615 feat: add ability to create tasks that are not linked to contacts (#2067) 2018-11-17 20:02:07 -05:00
Régis FreydandGitHub 574e89a31d feat: read changelogs from json file instead of db (#2016) 2018-11-11 10:44:08 -05:00
ohandRégis Freyd fdcefcabdb feat: hide deceased people in dashboard / people list (#1903) 2018-10-26 22:51:10 -04:00
Alexis SaettlerandRégis Freyd a98b762195 feat: add ability to archive a contact (#1769) 2018-10-26 21:33:24 -04:00
Régis FreydandGitHub 4a1252d1ce feat: display all pending tasks on the dashboard (#1909) 2018-10-11 21:59:15 -04:00
Alexis SaettlerandGitHub 1c70d4ef24 fix: Fix contacts account mismatch (#1625) 2018-08-01 23:28:05 +02:00
Régis FreydandGitHub 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
Régis FreydandGitHub 3d1ff3e867 Add support for nickname (#1359) 2018-06-04 18:02:21 -04:00
Régis FreydandGitHub f7757c9fe3 Add debts on the dashboard (#1373) 2018-05-28 21:17:55 -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 b03ca6dd1a Improvements, bug fixes and support markdown in activity comments (#1145) 2018-04-10 21:53:32 -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
Matthew BrownandAlexis Saettler 749caa2c03 Fix issues found by static analysis (#878) 2018-03-04 18:23:33 +01:00
Régis FreydandGitHub 5e1ad97d52 Remove list of events being loaded in the dashboard for no reason (#811)
Close #764
2018-01-14 13:37:10 -05:00
Régis FreydandGitHub bf5c8e160c Fix avatars not clickable on dashboard (#761) 2018-01-06 10:48:44 -05:00
Régis FreydandGitHub 97d8028c56 Fix avatars on new dashboard (#759) 2018-01-06 10:21:17 -05:00
Régis FreydandGitHub fe974db4c1 Change the structure of the dashboard (#755) 2018-01-06 09:31:57 -05:00
Régis FreydandGitHub 94f8146411 Change how the Journal works (#709) 2017-12-22 14:53:45 -05:00
Régis FreydandGitHub 76c75ce6e7 Add inline notes editing and favorites for notes (#672)
Notes are now edited inline (with Vue.js) and can be marked as favorites.
Favorite notes will appear on the dashboard in a new tab.
2017-12-04 09:55:47 -05:00
Régis FreydandGitHub 7e367d67da Manage tasks in Vue.js (#666)
* Tasks are now edited inline
* Tasks can be marked as completed
* Tasks can be edited
2017-11-29 16:07:37 -05:00
Régis FreydandGitHub 095ef1caa8 Significant other and kids can now be contacts (#524) 2017-08-14 17:14:46 -04:00
Régis FreydandGitHub a2172f0851 Add style CI (#503)
Hopefully this will result in slightly better code.
2017-07-26 21:02:55 -04:00
Daniel LovattandRégis Freyd 1c62d6be35 Fix name not appearing in latest actions (#404) 2017-06-27 23:22:54 -04:00
Régis FreydandGitHub 5b5b2da5f8 Add multi user support and subscriptions (#359)
This pull request adds support to multi users in one account. It also introduces the notion of subscriptions.

Accounts can now have multiple users.

Subscriptions are defined by a new env variable called REQUIRES_SUBSCRIPTION, and defaults to false. As promised, all the paid features on .com will be free if you download and host Monica on your own server.
2017-06-20 20:51:40 -04:00
Yamamoto KadirandRégis Freyd 496d23e4a7 Separate PeopleController into smaller chunks (#253)
* 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
2017-06-15 15:03:22 -04:00
Régis FreydandGitHub 690b0e50ba Add Export to SQL (#248) 2017-06-12 22:48:20 -04:00
Yamamoto KadirandRégis Freyd 50005544ee Fix some relationship inconsistencies and reduce dashboard queries (#209)
This normalizes all relationships and adds relations to models to take advantage of laravel's eagerloading and reduce queries to the database.

This might go against the 'add any kind of complexities whatsoever' rule in the contribution guide, but I think adding relations would eventually simplify the code base. The amount of queries just on the dashboard fell from ~70 to 26. There's also a lot of boilerplate code in the Contact model to retrieve relationships and to maintain accurate count of them (fields like number_of_*). They can be greatly simplified with the addition of relations.

One other thing in the Contact model was the definition of the Contact-User relation. This definition uses the account_id field in the contacts table and and relates it to id in users. I'm not sure if this is the intention, since the id from accounts table is used when assigning account_id for a contact. This seems to have worked so far, because both a user and its associated account are created at the same time during registration and their ids match, but if there was any difference, this relationship would relate wrong contacts and users. I changed the relationship name to account. This makes the path to a user from a contact is $contact->account->user right now.
2017-06-11 23:01:23 -04:00
Vinay KumarandRégis Freyd 7dc53c6dee Fixed gifts count issue (#186) 2017-06-10 09:20:41 -04:00
RégisandGitHub 78db86f585 Better dashboard 2017-06-05 22:12:39 -04:00
RégisandGitHub ed29243841 Reminders are working again 2017-05-29 21:27:00 -04:00
RégisandGitHub 265f0ffbe3 Remove marketing material from the application 2017-02-20 22:53:30 -05:00
Regis Freyd 2e6760e7db Migrate to organization 2017-02-16 19:21:44 -05:00