811 Commits

Author SHA1 Message Date
James Brooks
444b236f9f Fixes #619 2015-05-02 09:19:01 +01:00
James Brooks
8f9d2614e9 Fix sorting of days 2015-05-02 09:09:02 +01:00
Vincent Klaiber
b26bef7251 Fix typo in AbstractApiController 2015-04-28 18:22:23 +02:00
EdeMeijer
c4c55a73cb Use APC cache for Docker and fix bug with changing component sort order
By default, the file cache is used, but this breaks the throttling detection when authenticating.
The APC cache is tagged and will allow you to log in again after installation.
---
When changing the sort order, a form with hidden inputs for every component was serialized. The hidden inputs
had names in the form of `component[id]`. When you removed components, there would be holes in this ID sequence,
yielding a serialized array with empty values (since JS arrays always have every index until the highest one, even
if you don't specify a value).

This is fixed by just passing an array of component IDs in the desired sort order to the API endpoint. The API
will then update the components based on the implicit given sort order. Much simpler.
2015-04-25 12:00:53 +02:00
James Brooks
cbf59b9b78 Merge pull request #597 from Lavoaster/fix/homepage_excessive_queriesv2
Refactored the way incidents are pulled out of the database + Sort fix
2015-04-23 08:08:32 +01:00
naabster
968abd0dc0 controller class names made case sensitive for router 2015-04-22 23:24:37 +02:00
Adam Lavin
8b200ef35e Refactored the way incidents are pulled out of the database + Sort fix
Incidents are now pulled out via the database, grouped together via php, then missing days are added to the data.
2015-04-21 12:45:36 +01:00
James Brooks
1543643f4c Revert "Refactored the way incidents are pulled out of the database on the homepage" 2015-04-21 10:13:08 +01:00
Adam Lavin
04438e31ed CS Fixes 2015-04-20 23:44:29 +01:00
Adam Lavin
4c4a32da3d Refactored the way incidents are pulled out of the database
Incidents are now pulled out via the database, grouped together via php, then missing days are added to the data
2015-04-20 23:28:53 +01:00
James Brooks
c3c62a6b4e Add TrustProxies to Http middleware 2015-04-19 09:04:50 +01:00
James Brooks
80e3d9167d Closes #568, adds copyright information. 2015-04-19 08:52:39 +01:00
James Brooks
ba7f9881d6 Fix L10n style and content @wfjsw 2015-04-18 16:55:51 +01:00
James Brooks
9c221b7b2a Fix metic point calculations. 2015-04-18 14:06:14 +01:00
James Brooks
7c9fff983e Update L5 branch. 2015-04-18 13:59:37 +01:00
James Brooks
4f09ce1f1b Fix Atom and RSSController docblocks. 2015-04-03 18:06:08 +01:00
James Brooks
d3554ec4f4 Fixes #550 in the Laravel 5 branch. 2015-04-03 17:53:57 +01:00
James Brooks
f7aa87c503 Remove OneClickDeployCommand from Kernel $commands 2015-04-03 17:15:31 +01:00
James Brooks
31f5d76bcf Removed native Heroku deployment. Closes #557. 2015-04-03 17:10:20 +01:00
Graham Campbell
0f44fab68c More specific docblock 2015-03-30 21:48:57 +01:00
Graham Campbell
3f0b2d1375 Cleanup exception handler 2015-03-30 21:47:25 +01:00
James Brooks
64f5c23546 Use Laravel-Exceptions 2015-03-30 21:44:32 +01:00
Joseph Cohen
082f57569f Fix CS 2015-03-26 15:09:49 -06:00
Joseph Cohen
37e20bf2bf Update code to match master 2015-03-26 15:07:16 -06:00
Joseph Cohen
41186b7271 CS fixes 2015-03-21 02:56:01 -06:00
Joseph Cohen
44ac45fc6b Fix loadconfix exceptions 2015-03-21 02:52:59 -06:00
Joseph Cohen
09e83ab689 Fix tests 2015-03-21 02:33:38 -06:00
Joseph Cohen
c5a93d99a7 Remove unused clases and use abstract controller 2015-03-21 02:21:20 -06:00
Joseph Cohen
d4fa4e59a0 Fix segment implementation 2015-03-21 02:16:45 -06:00
James Brooks
c1c3eb65d9 Fix unknown AbstractController import 2015-03-21 07:36:34 +00:00
Joseph Cohen
1ca9b85389 CS Fixes 2015-03-20 18:32:24 -06:00
Joseph Cohen
b4ac66d727 Cachet is now a Laravel 5 app 2015-03-20 18:30:45 -06:00
James Brooks
7cfa158e68 Always show a link to the dashboard. Closes #526. 2015-03-19 23:53:59 +00:00
James Brooks
39f2bc1021 Restyle the component list slightly 2015-03-18 21:51:56 +00:00
James Brooks
b8bb978d5e Better demo data 2015-03-18 21:15:40 +00:00
James Brooks
8e372c55b1 Allow metrics to calculate the sum or average. Closes #517. 2015-03-17 20:32:26 +00:00
James Brooks
a1afabbc18 Rename graphs partial to metrics for consistency. 2015-03-17 11:47:34 +00:00
James Brooks
ae10f49ff3 Always seed the demo user with the same API key. 2015-03-16 08:47:25 +00:00
Joseph Cohen
dfbdd539b0 Use decimal on metric points 2015-03-12 18:49:45 -06:00
James Brooks
cd53dc36f5 Banner image will link if app_domain is set. Closes #510 2015-03-12 23:56:08 +00:00
Joseph Cohen
912077538f CS fixes 2015-03-11 16:10:25 -06:00
James Brooks
9098ae1b96 Added API endpoint to delete metric points. 2015-03-11 15:08:09 +00:00
James Brooks
8ab0a1cd50 Metirc points can now be updated at /api/metrics/id/points/point_id 2015-03-11 15:06:39 +00:00
James Brooks
1b11f3b675 Fix listing of metric points. 2015-03-11 14:33:19 +00:00
James Brooks
e398c7f0ab Modify API endpoint for adding points to a metric 2015-03-11 14:21:12 +00:00
James Brooks
7e44c01fe8 The metrics point api endpoint now makes more sense 2015-03-11 14:20:26 +00:00
James Brooks
06a493ff21 Fix CS 2015-03-10 18:47:24 +00:00
James Brooks
b959575814 Remove extra row. Fixes #500 2015-03-09 09:05:06 +00:00
James Brooks
2ec4859da9 Allow setting of the cache driver via an env var. 2015-03-09 08:55:12 +00:00
James Brooks
49c56ec915 Fix syntax error 2015-03-07 13:41:17 +00:00