210 Commits

Author SHA1 Message Date
James Brooks
f60f861b1c Fully qualified class name 2014-11-25 20:28:15 +00:00
James Brooks
2725cc2df7 Clean up the setup page 2014-11-25 20:26:50 +00:00
James Brooks
243733459d Use fully qualified namespaces, minor fixes 2014-11-25 20:24:56 +00:00
James Brooks
82f5de2ff1 Add SoftDeletingTrait 2014-11-25 16:15:36 +00:00
James Brooks
6d218f5c61 Added subscribers migration with accompanying model 2014-11-25 16:09:03 +00:00
James Brooks
707ef5f557 Fixed formatting 2014-11-25 12:42:29 +00:00
James Brooks
31b971dafb Fixed formatting 2014-11-25 12:42:03 +00:00
James Brooks
2c58ff812c Merge pull request #29 from jbrooksuk/write-api-started
Write api started
2014-11-25 12:41:15 +00:00
manavo
a4d3928916 Allow updating incidents from the API 2014-11-25 12:40:12 +00:00
manavo
325ed033ba Better validation 2014-11-25 12:27:34 +00:00
manavo
52e82f53a8 Group setting inputs, so we don't save the CSRF token in settings 2014-11-25 12:18:05 +00:00
manavo
e994f2a88a Save the user ID of who created the component or incident 2014-11-25 11:50:15 +00:00
James Brooks
e5aea08da1 Create metric migrations and models 2014-11-25 11:19:20 +00:00
manavo
e104a9a317 Create components and incidents from the API 2014-11-25 11:06:28 +00:00
James Brooks
0c62f0534a Merge pull request #27 from jbrooksuk/api-improvements
Incidents API
2014-11-25 10:36:26 +00:00
manavo
49fe6c9b56 Fix docblock 2014-11-25 10:32:39 +00:00
manavo
683d3f2093 Get all incidents, get single incident, transformer for incidents 2014-11-25 10:30:42 +00:00
James Brooks
a1844741bd Added CORS filter. Tidied up the filters.php code 2014-11-25 09:48:56 +00:00
James Brooks
f9ceb70e50 API for returning incidents on a component, including incident_count 2014-11-25 09:40:54 +00:00
James Brooks
3ba9db5d24 Use lang to lookup the status of components and incidents 2014-11-25 09:18:22 +00:00
James Brooks
8736db957c Move component/incident color lookups into actual CSS. 2014-11-25 09:16:00 +00:00
James Brooks
7dd54010a2 Incidents belong to a component. Tidy and docbloc code too. 2014-11-25 09:08:04 +00:00
James Brooks
b931c59ae6 Fix the relationship column 2014-11-25 09:04:33 +00:00
James Brooks
9ce390c780 Relationship for incidents reported on the component 2014-11-25 09:04:03 +00:00
James Brooks
429e717278 Fix the auth filter to redirect to auth/login 2014-11-25 09:02:29 +00:00
James Brooks
69a8811a48 Formatting 2014-11-25 08:57:41 +00:00
James Brooks
2fff40b18e Use fully qualified namespaces 2014-11-25 08:57:25 +00:00
James Brooks
a2c65d0e03 Self-contained condition expression 2014-11-24 20:53:00 +00:00
James Brooks
ce44ee5cef Format the api routes 2014-11-24 20:45:04 +00:00
James Brooks
72314e40b5 Indent classes one level 2014-11-24 18:56:41 +00:00
James Brooks
98fd7a3790 Formatting of ComponentTransformer 2014-11-24 18:56:28 +00:00
James Brooks
7384da4eba Merge pull request #21 from manavo/api
API started
2014-11-24 18:47:18 +00:00
manavo
7e6f62702f Endpoint for single component 2014-11-24 18:03:55 +00:00
manavo
9f54629359 Start of an API 2014-11-24 18:01:11 +00:00
James Brooks
782d05368e Move sections of HTML into imports directory. 2014-11-24 17:48:26 +00:00
James Brooks
d9b71ff792 Merge pull request #20 from manavo/components
Only show components section if we have some
2014-11-24 17:41:25 +00:00
manavo
301eb264ec Better counting of total (don't convert collection to array) 2014-11-24 17:38:35 +00:00
manavo
93b0d3af13 Only show components section if we have some 2014-11-24 17:37:49 +00:00
James Brooks
040345dc68 Link back to the status page for now 2014-11-24 17:33:22 +00:00
James Brooks
e82c7d6e57 Merge pull request #18 from manavo/master
Login functionality, and some small things
2014-11-24 17:26:32 +00:00
manavo
2176e63ad9 Login page 2014-11-24 17:21:50 +00:00
manavo
66ddd7bd04 Don't save passwords in plaintext 2014-11-24 17:21:36 +00:00
James Brooks
971b4ac685 Switch to using Lang::get for view-composer 2014-11-24 17:14:11 +00:00
James Brooks
7634b93852 Added some missing route models 2014-11-24 17:09:32 +00:00
manavo
ad115bc915 Don't show login page if you're already logged in 2014-11-24 17:02:21 +00:00
James Brooks
d67b36ad42 Cache the amount of incidents we have 2014-11-24 17:02:03 +00:00
manavo
c7036ad68a Open Cachet GitHub page in a new tab 2014-11-24 17:01:58 +00:00
James Brooks
2a3cf0a52b Lower-case the null constant 2014-11-24 17:01:18 +00:00
James Brooks
ff37e13221 Merge pull request #16 from manavo/remember-input
Remember data inputted in the setup form when there are errors
2014-11-24 16:54:58 +00:00
manavo
abb20ab92d Remember data inputted in the setup form when there are errors 2014-11-24 16:53:57 +00:00