1825 Commits

Author SHA1 Message Date
James Brooks
97ec6eceb9 Fix bad var name for components 2014-11-26 11:08:30 +00:00
James Brooks
5576fc2ac6 Add metrics and user tabs 2014-11-26 10:40:37 +00:00
James Brooks
e6f9a1ecf1 Start pulling the dashboard into its own view structure, basic tabs for now 2014-11-25 22:41:38 +00:00
James Brooks
9d5927afc6 Don't add the beginning slash 2014-11-25 22:01:39 +00:00
manavo
5ef33b0630 Fix indentation 2014-11-25 21:57:32 +00:00
James Brooks
23ed1ef23a Merge pull request #42 from jbrooksuk/api-update-component
API call to update existing components
2014-11-25 21:54:09 +00:00
Philip Manavopoulos
6437a4f5d9 Merge pull request #40 from jbrooksuk/metric-api
Create and update a metric.
2014-11-25 21:52:36 +00:00
Philip Manavopoulos
1a8c3ac559 Fix function name 2014-11-25 21:52:26 +00:00
James Brooks
a32c210611 Fixed bad method name 2014-11-25 21:51:36 +00:00
manavo
9cd26b8dd9 Logout link 2014-11-25 21:45:08 +00:00
manavo
c3febdb490 API call to update existing components 2014-11-25 21:43:36 +00:00
James Brooks
39bc6a1648 Create and update a metric. 2014-11-25 21:35:52 +00:00
James Brooks
f71639f226 Use fieldsets and legends instead of headers 2014-11-25 20:37:37 +00:00
James Brooks
620a7ebcb5 Private functions should be prefixed with an _ 2014-11-25 20:31:19 +00:00
James Brooks
49f42b57c9 You can now get metrics 2014-11-25 20:31:07 +00:00
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