Commit Graph

1514 Commits

Author SHA1 Message Date
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 6ce4348a28.
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
James Brooks
86883090a8 Use the info method, success doesn't exist 2016-08-08 08:39:20 +01:00
James Brooks
3c90622185 Merge pull request #2037 from CachetHQ/component-status-change-email
Send component update email on status changes
2016-08-08 08:03:06 +01:00
phecho
16557351ab Fixed typo 2016-08-08 14:45:47 +08:00
James Brooks
e281c5d646 Only send component change email when the status changes. Fixes #1989 2016-08-07 22:50:51 +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
f3a5a8e230 Remove queue worker schedule 2016-08-07 19:09:00 +01:00
James Brooks
d5de469076 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-08-04 06:06:35 -04:00
James Brooks
9da17e7c15 Added beacon events 2016-08-04 11:06:27 +01:00
James Brooks
55aca1dbad Applied fixes from StyleCI
[ci skip] [skip ci]
2016-08-04 10:12:06 +01:00
James Brooks
778664b20a Added new Beacon handling code 2016-08-04 10:12:06 +01:00
James Brooks
e412c988e6 Fixed missing import 2016-08-04 09:03:29 +01:00
James Brooks
e6227301fd Update command subscriber to fire system events 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
James Brooks
b3cc8f7031 Added more user events 2016-08-04 09:03:29 +01:00
James Brooks
a40bfd12b7 Removed blank line 2016-08-02 11:02:31 +01:00
James Brooks
8d86c5e072 Ignore SQLite databases when backing up the db 2016-08-02 11:00:39 +01:00
Graham Campbell
7596966e6c Added missing listener definitions 2016-07-29 13:05:18 -04:00
James Brooks
915ea0d0bd Merge branch '2.3' into 2.4 2016-07-29 11:45:45 -04:00
James Brooks
dc73f62803 Fixes issues with updating using dashboard api. Closes #2014 2016-07-28 10:47:59 -04:00
James Brooks
71b5d446ba Merge branch '2.3' into 2.4 2016-07-25 21:44:07 +01:00
Graham Campbell
309a3f96ef Revert "Don't use settings caching in cli" 2016-07-25 19:25:05 +01:00