170 Commits

Author SHA1 Message Date
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
5280fc8df4 Fix incidents timezones and order 2015-05-07 09:15:00 -05: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
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
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
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
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
c5a93d99a7 Remove unused clases and use abstract controller 2015-03-21 02:21:20 -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