Commit Graph

772 Commits

Author SHA1 Message Date
James Brooks 9b4e626447 Shorten code 2015-05-13 08:08:45 +01:00
James Brooks 0569142f84 Update the Incident model attributes 2015-05-10 19:41:33 +01:00
James Brooks 43eaf2aa2d Add cookies warning to login. Closes #525. 2015-05-10 19:16:34 +01:00
James Brooks 06b9bc2757 Prevent bots from indexing date ranges with no incidents. Closes #624. 2015-05-08 11:06:02 +01:00
Joe Cohen 2c0e806ad6 Merge pull request #598 from experty/L5
Use APC cache for Docker and fix bug with changing component sort order
2015-05-07 10:44:21 -05:00
Joseph Cohen a5526c7ca7 Remove tz form formatted date helper 2015-05-07 10:37:32 -05:00
James Brooks 4eb1bee983 Merge pull request #627 from cachethq/fix-config-and-tests
Update loading config to fix failing builds
2015-05-07 16:28:06 +01:00
Joseph Cohen bb5fd311fe Update loading config to fix failing builds 2015-05-07 09:38:58 -05:00
Joseph Cohen 5280fc8df4 Fix incidents timezones and order 2015-05-07 09:15:00 -05:00
James Brooks 65debb5014 Fixes #621 - Use zero-prefixed day formatting. 2015-05-02 14:57:48 +01:00
James Brooks 8a9456ab42 Fixes #618 - Only fetch Segment key if we want to help usage stats. 2015-05-02 09:29:00 +01:00
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