Commit Graph

61 Commits

Author SHA1 Message Date
James Brooks
5ff2289eeb Apply fixes from StyleCI 2020-02-27 09:44:35 +00:00
James Brooks
3ac7492858 Remove old Tag commands, refactor migration etc 2019-07-12 11:08:25 +01:00
James Brooks
6810af48f7 Tag syncing is now done within the Component commands 2019-07-12 10:29:23 +01:00
Anne-Greeth van Herwijnen
1bbe3dcefa Fix tests 2019-04-26 13:25:39 +02:00
James Brooks
60a4c15d0e Merge pull request #2931 from nstapelbroek/feature/2895-custom-meta-descriptions-per-incident
Custom meta descriptions per incident
2019-01-27 14:31:34 +00:00
sideffect0
a91a9a9b05 grep -rl "test\.com" . | xargs sed -i 's/test.com/example.com/g'
From test.com to example.com
2018-10-18 14:52:09 +05:30
Nico Stapelbroek
43078e9c75 Merge branch '2.4' of github.com:CachetHQ/Cachet into feature/2895-custom-meta-descriptions-per-incident 2018-07-02 11:20:47 +02:00
James Brooks
e37c882dfe Update PHPUnit classes 2018-06-25 21:48:27 +01:00
James Brooks
b22f7abd28 Fix how tags are created. Fixes #3004 2018-06-18 21:28:46 +01:00
Nico Stapelbroek
abf0a0ac9c Add tests for the StoresMeta Trait and fix the Functional MetaSeo tests 2018-03-19 23:47:06 +01:00
Nico Stapelbroek
206022acfd Fix invalid amount of arguments in CreateIncidentUpdateCommandTest 2018-01-27 22:45:19 +01:00
James Brooks
f11c1edeee Implement creating of meta data and tests 2017-06-13 19:34:50 +01:00
James Brooks
c1bd3e40fa Fix some tests 2017-03-18 09:49:33 +00:00
James Brooks
485116b5ce Rename incident bus 2017-03-18 09:41:33 +00:00
James Brooks
a55575656d Rename Bus Add to Create 2017-03-18 09:30:36 +00:00
James Brooks
7d27c61abe Rename ComponentStatusWasUpdated 2017-03-18 09:14:16 +00:00
James Brooks
c9423604ca Apply fixes from StyleCI
[ci skip] [skip ci]
2017-02-06 18:59:18 +00:00
James Brooks
8725ab2b9b Component notifications can be silenced. Closes #2316 2017-02-06 18:59:05 +00:00
James Brooks
3dc154dff1 Add event action storage. Closes #2344 2017-02-04 16:54:27 +00:00
James Brooks
f22d3fc717 Fix tests 2017-01-09 18:44:03 +00:00
James Brooks
7269dd1523 More test fixes 2017-01-04 21:21:57 +00:00
James Brooks
a38acf190c IncidentUpdateWasReportedEvent has handlers 2017-01-04 21:03:08 +00:00
James Brooks
c20a66ed48 Fix tests 2017-01-04 20:42:14 +00:00
James Brooks
b8a9f41ae4 Integrate Mail, Nexmo and Slack notifications into Cachet 2017-01-04 19:51:20 +00:00
James Brooks
34b0432ceb Log when beacon fails to send 2017-01-02 17:09:55 +00:00
James Brooks
edfbb2384f Components can now be supplied meta data 2016-12-05 19:03:27 +00:00
James Brooks
105cff50b9 Added metric visibility options. Closes #2244 2016-12-04 16:54:36 +00:00
James Brooks
02b2e4c214 Added missing command tests 2016-12-02 15:12:01 +00:00
James Brooks
0705440256 Rename test 2016-10-30 22:00:47 +00:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +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
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
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
c94919f1b9 Backport Incident Updates from v3.0.0 2016-10-06 22:40:56 +01:00
James Brooks
ea69fc9313 Merge '2.4' 2016-10-04 19:20:29 +01: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
James Brooks
8ce7e5e82e Test with different status 2016-09-29 09:52:25 +01:00
Antoine GIRARD
1954cf26f3 Add stickied incident 2016-09-06 22:45:52 +02:00
James Brooks
6685ae96d8 Welcome all users to their status page 2016-08-23 13:09:47 +01:00
Connor S. Parks
a9fd973b98 unsure if this is nice, honestly 2016-08-20 13:53:29 +01:00
James Brooks
e281c5d646 Only send component change email when the status changes. Fixes #1989 2016-08-07 22:50:51 +01:00
James Brooks
9da17e7c15 Added beacon events 2016-08-04 11:06:27 +01:00
James Brooks
1559e5945d Remove setEventExpectations override 2016-08-04 11:00:25 +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
1285d19cd4 Added missing event tests 2016-08-04 09:03:29 +01:00
Graham Campbell
16189da222 Finished off tests 2016-07-29 13:05:30 -04:00
James Brooks
dcea947973 Fix metric point tests 2016-07-29 12:54:20 -04:00
James Brooks
d8ea3c59e3 Added update subscriber subscription command test 2016-07-29 12:54:20 -04:00
James Brooks
a2f8f4540e Added missing event tests 2016-07-29 12:54:20 -04:00