209 Commits

Author SHA1 Message Date
Graham Campbell
d29b872fee Fixed issues with the api controller 2015-05-27 17:02:17 +01:00
James Brooks
502ae9d2a0 Closes #669 2015-05-26 19:13:46 +01:00
James Brooks
6c6caa7f6c Don't call Artisan facade 2015-05-25 20:28:47 +01:00
James Brooks
6dbd15d272 Allow changing of some env variable during setup. 2015-05-25 18:40:09 +01:00
Graham Campbell
3988753b99 Updated copyright headers 2015-05-25 17:59:08 +01:00
Graham Campbell
b06167f5e9 Updated joe's email address 2015-05-25 17:53:06 +01:00
James Brooks
c554b40c7d Remove unused import (Input) 2015-05-23 15:54:21 +01:00
James Brooks
0e40fe4d3f Prevent Binput from trimming values when dealing with metric suffixes 2015-05-23 15:53:03 +01:00
Graham Campbell
91e4dafca9 Updated my email address 2015-05-23 14:48:33 +01:00
James Brooks
65aaa6402a Default all segment contexts to include driver info. 2015-05-23 13:30:18 +01:00
James Brooks
1af50d991e segment_track defaults parameters to an empty array 2015-05-23 13:29:01 +01:00
James Brooks
01b6bb1c2b Track Logged In and Logged Out events 2015-05-23 13:27:56 +01:00
James Brooks
83be116075 Make changes to what we send to Segment, still anonymous! 2015-05-23 13:20:05 +01:00
James Brooks
92604f2ecd Fix the segment_page function 2015-05-23 13:13:38 +01:00
James Brooks
6803f8e4a8 Improve handling of BasicAuth errors. 2015-05-22 18:29:09 +01:00
James Brooks
d24e83e0ae Account for BasicAuth within ApiAuthenticate 2015-05-22 15:11:44 +01:00
James Brooks
0be55c75c0 Merge pull request #654 from cachethq/api-auth
Authenticate api requests
2015-05-20 23:07:01 +01:00
Joseph Cohen
78b7dc92d6 Authenticate api requests 2015-05-20 17:05:37 -05:00
James Brooks
d70ca8d4e5 Fixes #653 2015-05-20 22:38:09 +01:00
Joseph Cohen
088b54a5ce Abstract presenter, timestampstrait, update api responses 2015-05-20 14:19:01 -05:00
Joseph Cohen
10bcbc6169 Get default value on config repository 2015-05-20 14:19:01 -05:00
Joseph Cohen
33f6bf167c Make presenters work with the api 2015-05-20 14:19:01 -05:00
James Brooks
79889edd29 Fix editing of incident.created_at under Postgres 2015-05-20 08:18:48 +01:00
James Brooks
053ed46b97 Fix docblock 2015-05-20 08:09:10 +01:00
James Brooks
a1ab59a15a Remove old Cors middleware 2015-05-20 08:08:53 +01:00
James Brooks
9337c1a75b Allows ordering of component groups. Closes #573. 2015-05-19 22:54:28 +01:00
James Brooks
bc376748c8 Fixes #628 - Handle Cors properly. 2015-05-19 20:54:23 +01:00
James Brooks
d9b5c31a06 Merge pull request #647 from cachethq/change-incident-timestamps
Allow changing of incident dates. Closes #615
2015-05-19 20:17:24 +01:00
James Brooks
c04ac4a5e3 Fix RedirectIfAuthenticate middleware redirecting to wrong location 2015-05-19 19:30:16 +01:00
James Brooks
166e6f8d59 Fixes #648 2015-05-19 19:14:21 +01:00
James Brooks
77d0c20015 Allow changing of incident dates. Closes #615 2015-05-19 17:40:04 +01:00
James Brooks
0928251673 Add Joseph Cohem and Graham Campbell to the copyright headers. 2015-05-19 10:45:38 +01:00
James Brooks
9b4e626447 Shorten code 2015-05-13 08:08:45 +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
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
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