Commit Graph

7 Commits

Author SHA1 Message Date
Graham Campbell
fcbbfdd84e Refactor validator stuff and fix variable names in views 2015-08-03 22:32:51 +01:00
James Brooks
c1a0fc10ae Use snake_case in views. Closes #778 2015-07-02 16:37:38 +01:00
James Brooks
9337c1a75b Allows ordering of component groups. Closes #573. 2015-05-19 22:54:28 +01:00
James Brooks
31336478fe Fixes #606 - Bad component.group_id when adding/editing components. 2015-05-18 16:26:34 +01:00
James Brooks
fe1425a6c0 Closes #605 2015-05-10 19:51:06 +01: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
Joseph Cohen
b4ac66d727 Cachet is now a Laravel 5 app 2015-03-20 18:30:45 -06:00