Commit Graph

71 Commits

Author SHA1 Message Date
James Brooks
f9bc46b460 Refactored the way we store metrics 2016-04-25 20:42:00 +01:00
James Brooks
ebc6525b65 Use query method rather than querying where 1 = 1 2016-04-21 18:53:12 +01:00
James Brooks
0b3483fb8a Implement very basic API searching. Closes #1348 2016-03-08 18:55:04 +00:00
James Brooks
be78216ff3 Added a version endpoint 2016-02-29 21:31:25 +00:00
James Brooks
d4655112ca Don't override existing data when updating metrics 2016-02-29 21:24:11 +00:00
James Brooks
f30710c5a8 Fixes #1574 - default display_chart to true 2016-02-29 21:23:58 +00:00
Joseph Cohen
919c7127e7 Fixes API sorting and filtering. Closes #1489 2016-02-25 18:58:42 +00:00
James Brooks
01e40c4684 Paginate the points API for metrics 2016-02-22 14:53:34 +00:00
James Brooks
a1206af764 Initialize the response array 2016-01-31 16:46:30 +00:00
James Brooks
da7af1fca0 Allow component groups to be collapsed by default. Closes #1398 2016-01-29 16:02:44 +00:00
James Brooks
ac3888f7c8 Added per-component subscriptions. Closes #734 2016-01-29 15:02:28 +00:00
Graham Campbell
df5eb24efd Moved things into a bus namespace 2016-01-05 02:38:07 +00:00
James Brooks
1c27cf7360 Adds the ability to set the default view in which to display metrics 2015-12-28 09:14:50 +00:00
Graham Campbell
5557edc342 Use the new dispatch helper function 2015-12-24 15:16:09 +00:00
Graham Campbell
d4614d8162 Removed unneeded method injection 2015-12-23 14:51:18 +00:00
Hereward Mills
a78a5ddb04 Fix some PHP docs. 2015-12-22 08:41:03 +00:00
Hereward Mills
ee886cddfd Fix some obvious spelling mistakes. 2015-12-21 22:06:21 +00:00
Graham Campbell
60108fb7cc Improved api validation 2015-11-21 21:18:40 +00:00
James Brooks
af176d7c7a Incident API can now use incident templates with Twig templating 2015-11-15 11:32:51 +00:00
James Brooks
1c1674d5b4 Default enabled for PUTing component. Closes #1119 2015-11-10 10:48:50 +00:00
Graham Campbell
5f1f6d3c04 Cleanup 2015-11-07 17:09:09 +00:00
James Brooks
b4d33f2bcb Default metric places to 2. Fixes #1090 2015-11-04 18:47:17 +00:00
James Brooks
fbc4041bf7 Hide disabled components from public API. Closes #1095 2015-11-04 14:59:11 +00:00
James Brooks
32d4aae76e Removed unused Guard usage 2015-11-04 14:48:02 +00:00
James Brooks
013f873500 Default the add component to true 2015-11-03 22:11:44 +00:00
James Brooks
edd111451e Started work on enabling/disabling components 2015-11-03 21:32:45 +00:00
Davide Bellini
b6fbe53b28 Use Collection on API Paginator presenter
This allows to decorate all model's attributes inside the Collection
2015-10-07 22:55:24 +01:00
Antoine Augusti
e9e5768406 per_page attribute in API responses should be an integer 2015-10-02 20:10:09 +02:00
James Brooks
08e9705088 $incident_date is now handled by the command handler 2015-09-26 14:42:42 +01:00
James Brooks
4384438d46 Applied fixes from StyleCI 2015-09-23 13:39:04 -04:00
James Brooks
18f98d19f0 Added UpdateMetric and UpdateMetricPoint commands 2015-09-23 18:38:42 +01:00
James Brooks
b8b81f7e1c Added UpdateIncidentCommand 2015-09-23 18:19:01 +01:00
James Brooks
d4c1b23b3f Added UpdateComponentGroupCommand 2015-09-23 18:19:01 +01:00
James Brooks
d3cd8201a6 UpdateComponentCommand is now done 2015-09-23 18:19:01 +01:00
James Brooks
082062fa1b Added ReportIncidentCommand 2015-08-31 20:16:38 +01:00
James Brooks
6ee697cf7f Added AddComponentGroupCommand 2015-08-31 20:16:38 +01:00
James Brooks
be080a10ef Added commands to delete component group (also fixes bug in API) 2015-08-31 20:16:38 +01:00
James Brooks
7be3aa2552 Incidents will now be removed via the command 2015-08-31 20:16:37 +01:00
Joseph Cohen
4a5110ae53 Finish add and remove components via commands 2015-08-31 20:16:37 +01:00
Joseph Cohen
9581c5a394 Add and remove metrics and metric points commands 2015-08-31 20:16:36 +01:00
Joseph Cohen
64ff4d73c2 Rename incident events and fixes 2015-08-31 20:16:36 +01:00
Joseph Cohen
a93472f544 Namespace events 2015-08-31 20:16:35 +01:00
Joseph Cohen
8250e4ebca Subscribe and unsubscribe subscribers via commands 2015-08-31 20:16:35 +01:00
James Brooks
da3e561217 Fixes #913 2015-08-23 09:08:51 +01:00
Graham Campbell
ade85e24bd Merge branch '1.2' 2015-08-08 17:38:28 +01:00
James Brooks
82a9dc9a4e Fix typo 2015-08-08 17:16:31 +01:00
James Brooks
4b3ec45b03 Added component groups API. Closes #801 2015-08-08 15:36:48 +01:00
James Brooks
1779ac40c9 Added the ability to sort and order API results. Closes #756 2015-08-07 12:08:25 +01:00
James Brooks
3f7f4e7624 Fix docblocks 2015-08-06 11:44:01 +01:00
Joseph Cohen
d68b248fd7 Remove AbstractController from remaining and rename BaseController to Controller 2015-08-05 17:21:03 -05:00