21 Commits

Author SHA1 Message Date
Ian Cross 337367a89e fix: add link to reminders endpoint at api root (#5801)
* Add link to reminders endpoint at api root

* fix: add link to reminders endpoint at api root

* add missing name route

Co-authored-by: Alexis Saettler <alexis@saettler.org>
2022-01-01 20:14:08 +01:00
Alexis Saettler 223fbed0a8 Apply fixes from StyleCI (#5495) 2021-09-12 09:13:02 +02:00
Serkan 69331a9211 refactor: simplify setSQLOrderByQuery function (#4686)
* setSQLOrderByQuery function simplified

* double quote to single

* Update ApiController.php

Co-authored-by: Alexis Saettler <alexis@saettler.org>
2021-01-02 12:06:33 +01:00
Alexis Saettler 63c2005ab0 refactor: use request input (#3303) 2019-12-15 22:05:01 +01:00
Alexis Saettler 958d4ed614 feat: enable api web navigation (#3289) 2019-12-12 22:22:02 +01:00
Alexis Saettler aa75e7d3ce chore: add thecodingmachine/safe package (#2630) 2019-05-04 14:48:25 +02:00
Alexis Saettler 92bef2413c chore: add phpstan (#2383) 2019-02-07 22:44:34 +01:00
Régis Freyd 69cfdebb1a feat: refactor reminders (#2223)
yolo
2019-01-15 18:03:13 -05:00
Alexis Saettler 444babbb43 test: improve services rules validation (#1986) 2018-11-02 16:34:22 +01:00
Alexis Saettler 080b2c5bb3 fix: fix api routes (#1932) 2018-10-27 09:16:08 +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
Régis Freyd 08f19c853d Add ability to set relationships through the api (#1181) 2018-04-17 07:29:50 -04:00
Régis Freyd ce7ecf5adc Add with parameter in Contact object to retrieve contact fields (#1044) 2018-03-23 22:12:12 -04:00
Régis Freyd f5810865e7 Add sorting capabilities to most models in the API (#1022) 2018-03-20 21:32:59 -04:00
Régis Freyd 8be4c15e90 Add ability to sort tasks by completed_at attribute (#1021) 2018-03-20 20:58:22 -04:00
Matthew Brown 749caa2c03 Fix issues found by static analysis (#878) 2018-03-04 18:23:33 +01:00
Alexis Saettler 9fbf194e89 Fixes based on sonar recommandations (#934) 2018-02-26 19:31:39 +01:00
Régis Freyd 8886aa802c Add sort capabilities in the API (#933) 2018-02-25 17:18:37 -05:00
Régis Freyd 562016f7a9 Improve contact search through the API (#930) 2018-02-25 13:40:43 -05:00
Régis Freyd f776aec510 Add notion of how you met (#633) 2017-11-02 12:36:37 -04:00
Régis Freyd 7e1cd96bf5 Add API (#606)
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.
2017-10-30 08:38:15 -04:00