447 Commits

Author SHA1 Message Date
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00:00
James Brooks
fbb59ea66e Merge pull request #2040 from CachetHQ/metric-repository-perf
Metric repository perf
2016-10-30 17:36:01 +00:00
James Brooks
74c646e2f4 Rewrite the Metric repository implementation. Fixes #1900 2016-10-30 17:32:44 +00:00
James Brooks
a0f2d6642e Add incident column for when an incident occurred at (#2212)
Add incident column for when an incident occurred at. Closes #2208
[ci skip] [skip ci]
2016-10-29 17:25:52 +01:00
Connor S. Parks
196eba7129 use _our_ version of the middleware 2016-10-24 10:19:15 +01:00
Connor S. Parks
25bba1c178 re-adds the middleware 2016-10-19 16:28:25 +01:00
James Brooks
67b09af833 Check where consistency 2016-10-19 12:29:47 +01:00
James Brooks
a7e8ba3697 Update routes 2016-10-19 12:28:54 +01:00
Graham Campbell
278a7b7b36 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-19 07:54:08 +00:00
Laravel Shift
c58d05f170 Shift Middleware 2016-10-19 07:53:10 +00:00
Laravel Shift
2d2c1d4df3 Adopt PSR-2 coding style
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2016-10-19 07:53:09 +00:00
Jeroen Coupé
f15bf48747 Template overview broken when templates exists
Due to a typo in the routing table the page breaks once there are
templates available. Once the typo is resolved everything works as
expected
2016-10-17 23:28:15 +02:00
Davide Bellini
a8aec0603e Fixed Subscriber’s routes (#2186) 2016-10-15 08:49:37 +01:00
James Brooks
fe96a00b82 Incident templates cleanup (#2182)
Clean up Incident Templates, supply incident array to them by default
2016-10-14 08:03:19 +01:00
James Brooks
b5383c2ff2 Merge pull request #2176 from billmn/patch-1
Fixed redirects with “cachet_redirect” helper
2016-10-13 08:56:23 +01:00
James Brooks
2742ea0298 Fix bad dashboard link 2016-10-13 08:55:17 +01:00
Davide Bellini
05f93e16e8 Fixed redirects with “cachet_redirect” helper 2016-10-13 09:51:44 +02:00
James Brooks
5a9f6134c4 Completely refactor all routes 2016-10-12 21:47:46 +01:00
James Brooks
a0b6ce9601 Alias the feed routes better 2016-10-09 11:11:46 +01:00
James Brooks
70f2f1d32e Merge pull request #2158 from CachetHQ/remember-me
Add remember me functionality to login
2016-10-08 18:25:01 +01:00
James Brooks
b457f5d7a2 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-08 16:30:44 +00:00
James Brooks
0371d86be0 Making changes to the setup screen 2016-10-08 17:30:32 +01:00
James Brooks
e0fa69bc37 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-08 15:40:07 +00:00
James Brooks
b0d5306023 Add remember me functionality to login 2016-10-08 16:39:53 +01:00
James Brooks
4f807e6d93 Fix imports 2016-10-08 10:44:37 +01:00
James Brooks
96c0444783 Added middleware class headers 2016-10-08 10:37:21 +01:00
James Brooks
dbc488b6b7 Don't use the config facade and redirect to the route 2016-10-08 10:36:54 +01:00
Abhimanyu Sharma
adf3d194a8 Using internal
Using internal PHP function to validate for email.
2016-10-07 22:01:58 +05:30
James Brooks
42713f51e3 Fix some docblocks 2016-10-07 13:51:59 +01:00
James Brooks
a8261d23c0 Condense validation rules into array 2016-10-07 12:39:16 +01:00
James Brooks
985881c557 Fix validation of setup values at step 1 2016-10-07 12:38:36 +01:00
James Brooks
bed038653a Standardise @joecohens name in the class headers 2016-10-07 12:25:40 +01:00
James Brooks
ca34f5279a Move the setup views into own namespace 2016-10-07 12:20:47 +01:00
James Brooks
c94919f1b9 Backport Incident Updates from v3.0.0 2016-10-06 22:40:56 +01:00
Davide Bellini
7cdd537b42 Fixed groups order on API
Issue: if the request use “?sort=order” returns groups ordered by “order DESC”.

This is unexpected.
If I would a reversed order I have to use “sort=order&order=desc”
2016-10-05 09:26:52 +02:00
James Brooks
179de1ff28 Option to only show disrupted days. Closes #2088 2016-10-04 19:16:50 +01:00
Davide Bellini
ff84a6d935 Fixed redirect when “Component group” was deleted (#2130) 2016-10-04 08:40:47 +01:00
Davide Bellini
cc96ebb8f8 Fixed Component Group’s order
500 error after a reorder caused by a missing parameter on UpdateComponentGroupCommand instance
2016-10-03 18:18:58 +02:00
Marius Palade
ad0954eb20 Add visibility to component groups (#2027)
Implement visibility for the components groups. Closes #1892

Add functional test that asserts a guest can only see public items.

* Fix tests not running due to hitting the Setup page.

The missing `boostrap/cachet/testing.php` file is now generated the first time tests are ran.

* Add a functional test that asserts logged in users can see all items.

Add constants for possible values for the visible column/field of the ComponentGroup model.
Code review changes.

* Add API tests for component group visibility feature.

* Implement the visibility hidden option for a component group. Fixes #1892.

Add migration for the created_by column, in component_groups table.
Add methods to the ComponentGroup and User models to be able to work with the created_by column.
Hidden component groups are no longer displayed on the index page for loggedin users.
Add functional test for the dashboard page.
Save owner on create/edit component group.
Update the API tests for Component group visibility feature.

* Replace auth() usage with app(Guard::class).

* Apply StyleCI fixes.

* Drop the hidden visibility feature and fix all tests.

Some code review fixes too.

* Rename public to visible since it's a reserved keyword. Apply StyleCI fixes and correct typo.

* Code review changes.

* Tidy up component and component groups gathering.

* Code review changes and StyleCI fixes.

* Code review changes.

* Remove extra whitespace

* Remove useless method.
2016-10-02 13:57:32 +01:00
Antoine GIRARD
1954cf26f3 Add stickied incident 2016-09-06 22:45:52 +02:00
James Brooks
936ecfae35 Show the latest log output. Closes #2045 2016-08-23 13:40:10 +01:00
James Brooks
6685ae96d8 Welcome all users to their status page 2016-08-23 13:09:47 +01:00
Connor S. Parks
b3b3de3a90 extracts the dashboard routes 2016-08-20 12:23:30 +01:00
James Brooks
fb327345a6 Remove unused notifications view and controller method 2016-08-10 20:43:32 +01:00
James Brooks
838beac285 Don't allow redirecting to someones subscription. Closes #2047 2016-08-10 12:56:18 +01:00
James Brooks
5234c40590 Remove dump and die call 2016-08-10 12:44:49 +01:00
Graham Campbell
5a8ad3bd06 Merge branch '2.3' into 2.4 2016-08-07 22:07:30 +01:00
James Brooks
77409abc5a Applied fixes from StyleCI
[ci skip] [skip ci]
2016-08-07 16:10:12 -04:00
James Brooks
e412c988e6 Fixed missing import 2016-08-04 09:03:29 +01:00
James Brooks
6b6eeb9a3e Added more user and system events 2016-08-04 09:03:29 +01:00