1536 Commits

Author SHA1 Message Date
James Brooks
8b8114576d Don't use the config facade for settings 2016-10-08 17:55:46 +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
318227f067 Boolean settings should be bools! (#2157)
Boolean settings should be bools!
2016-10-08 14:17:04 +01:00
James Brooks
dfeab93d88 Remove references to component in the Maintenance emails. Fixes #2153 2016-10-08 11:01:19 +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
Davide Bellini
3700f1485f Fixed incident update (#2151)
… and now tests are green :)
2016-10-07 17:53:19 +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
b1e23e4145 Added missing Arctic timezone 2016-10-07 12:48:56 +01:00
James Brooks
eb470abf09 Clean up the timezone listings 2016-10-07 12:47:55 +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
f7a8b7ed19 Fix setup location 2016-10-07 12:29:18 +01:00
James Brooks
bed038653a Standardise @joecohens name in the class headers 2016-10-07 12:25:40 +01:00
James Brooks
c60c519755 Added console kernel header 2016-10-07 12:25:15 +01:00
James Brooks
0d9cd8fad9 Reword console command descriptions 2016-10-07 12:24:19 +01:00
James Brooks
b19d321bae Added header 2016-10-07 12:23:04 +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
5b2d99e723 Merge pull request #2136 from CachetHQ/only-disrupted-days
Option to only show disrupted days. Closes #2088
2016-10-04 20:52:25 +01:00
James Brooks
ea69fc9313 Merge '2.4' 2016-10-04 19:20:29 +01:00
James Brooks
179de1ff28 Option to only show disrupted days. Closes #2088 2016-10-04 19:16:50 +01:00
James Brooks
0646b6b475 Fix docblocks 2016-10-04 19:10:08 +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
Abhimanyu Sharma
0f4c14ac08 Lowercase email for gravatar 2016-10-02 01:07:16 +05:30
James Brooks
f21a2b4b44 Revert "Check for unique user and email. Closes #2118"
This reverts commit 6ce4348a2801c8a84e77720ad2a39ae51efeca14.
2016-10-01 11:55:43 +01:00
James Brooks
6ce4348a28 Check for unique user and email. Closes #2118 2016-09-29 23:19:52 +01:00
James Brooks
b40066b20e Don't fire component update emails if the status hasn't changed.
Fixes #2113
2016-09-29 10:03:47 +01:00
James Brooks
7625bdc8df Rewrite the stickied incident demo text 2016-09-29 09:51:33 +01:00
James Brooks
86013db148 Fix subscriber api. Closes #2112 2016-09-28 20:19:57 +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
6ded0051ef extracts the dashboard routes
removes hhvm check
2016-08-22 16:36:41 +01:00
Connor S. Parks
fa1b32c11a implements a modular view system 2016-08-22 16:36:01 +01:00
Connor S. Parks
a9fd973b98 unsure if this is nice, honestly 2016-08-20 13:53:29 +01:00
Connor S. Parks
445c1ed2d0 starts the modular process 2016-08-18 13:12:40 +01:00
James Brooks
7e24e35d5f Fix syntax of beacon schedule times 2016-08-16 19:16:07 +01:00
James Brooks
1a099a7683 Fix event handle param 2016-08-15 18:27:22 +01:00
James Brooks
e0a8e9d663 Cast status as int. Fixes #2058 2016-08-15 08:09:59 +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
James Brooks
a947cffcb8 Standardizing things 2016-08-10 10:46:45 +01:00