114 Commits

Author SHA1 Message Date
StyleCI Bot
ee23e952a6
Apply fixes from StyleCI 2024-10-09 20:01:40 +00:00
Shift
7c2a6ffe92
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.

You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root.

For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
2024-04-05 18:36:26 +00:00
StyleCI Bot
cf4260e5f9
Apply fixes from StyleCI 2024-01-19 20:03:40 +00:00
James Brooks
cf674850dd Laravel 10 + Cachet Core 2024-01-19 20:03:17 +00:00
Paul Vogel
b76559274e
Sets the default value for the reserved column to 0 (instead of null)
Fixes the error "Cannot add a NOT NULL column with default value NULL"
2021-03-31 14:59:22 +02:00
James Brooks
cfd173cf12
Merge pull request #3890 from jzinkweg/feature/fix-job-table
Remove unused "reserved" column from jobs table
2020-08-08 10:05:15 +01:00
James Brooks
5ff2289eeb Apply fixes from StyleCI 2020-02-27 09:44:35 +00:00
jzinkweg
4abfc3644a Remove unused "reserved" column from jobs table 2019-12-12 14:34:40 +01:00
James Brooks
17ad1ae5af
Update 2018_04_02_163658_MigrateComponentTagTable.php 2019-07-12 14:43:31 +01:00
James Brooks
3ac7492858 Remove old Tag commands, refactor migration etc 2019-07-12 11:08:25 +01:00
Nico Stapelbroek
1a07b3f8d9 Remove references to the Laravel backup manager
As proposed in https://github.com/CachetHQ/Cachet/pull/3150 the current backup solution produces too many edge cases when configured with the non-default options. Cachet should not be held responsible for backups since it's unable to complete this task properly. Feel free to re-add a laravel backup solution to your custom cachet instance.
2018-07-24 11:39:06 +02:00
Joe Cohen
66ccb2a56f test metric points by latests 2018-07-02 19:22:01 -05:00
James Brooks
7c9d540477 Add notifications column to incidents (WIP) 2018-06-17 19:31:47 +01:00
James Brooks
03dab3667e Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-14 20:16:19 +00:00
James Brooks
43fefec37a Schedules should be soft deletable 2018-06-14 21:16:05 +01:00
James Brooks
c137e9ab1b Make component_tag a polymorphic structure 2018-04-02 17:43:22 +01:00
James Brooks
c4eedd2b8b Add to model factory 2018-03-26 21:02:21 +01:00
James Brooks
1e3516d7b7 Track who created incident. Closes #2717 2018-03-26 20:54:23 +01:00
jvictor
6330f8a2fb added auto-refresh on master status page 2017-08-31 16:09:27 +02:00
James Brooks
7622a8f474 Add status_id column 2017-07-25 14:40:43 -04:00
James Brooks
7bfba072bb Create incident_components table 2017-07-18 22:52:49 +01:00
James Brooks
c6d9798b91 Update .gitignore 2017-07-11 14:13:15 +01:00
James Brooks
4b9e0141e8 Create meta table and model 2017-06-13 19:23:53 +01:00
James Brooks
2c1700f4da Fix validation for component groups 2017-02-27 19:47:44 +00:00
James Brooks
3dc154dff1 Add event action storage. Closes #2344 2017-02-04 16:54:27 +00:00
Joseph Cohen
dbad195a7e Use unsigned tiny int instead of boolean for visible metrics 2017-01-15 23:55:23 -06:00
James Brooks
f03d55783c Be sure to make email nullable 2017-01-04 19:51:47 +00:00
James Brooks
e8ce42b8d6 Publish the notifications table 2017-01-04 19:51:20 +00:00
James Brooks
b8a9f41ae4 Integrate Mail, Nexmo and Slack notifications into Cachet 2017-01-04 19:51:20 +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
984d132902 Use nullable columns 2016-12-04 16:32:13 +00:00
James Brooks
b5916b7577 Fix missing down migrations 2016-12-04 16:16:22 +00:00
James Brooks
72ff181a02 Fix rollback of AlterTableIncidentsRemoveScheduledColumns 2016-12-04 16:14:48 +00:00
James Brooks
341bfb08a8 Use aliases when migrating data. Fixes #2240 2016-11-14 18:36:42 +00:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00:00
James Brooks
a2cded299d New migrations 2016-10-30 21:00:06 +00:00
James Brooks
804d02fbdc Don't use backticks as this breaks in Postgres 2016-10-30 17:45:50 +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
James Brooks
c94919f1b9 Backport Incident Updates from v3.0.0 2016-10-06 22:40:56 +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
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
Graham Campbell
3ea1428c23 Added missing imports 2016-07-24 14:47:02 +01:00
James Brooks
27e46d77e6 Publish the cache table migration 2016-06-05 10:16:50 +01:00
James Brooks
cab030237b Set an order on metrics via the API. Closes #1874 2016-06-02 10:16:23 +01:00
James Brooks
21b60e0708 Take a backup before calling app commands. Closes #1730 2016-05-06 21:11:57 +01:00
Joe Cohen
f1b61c7ef1 Applied fixes from StyleCI 2016-05-01 16:04:43 +01:00
Joseph Cohen
05bb91d2d9 Global subscribers and fix notifications 2016-05-01 16:04:43 +01:00
James Brooks
f9bc46b460 Refactored the way we store metrics 2016-04-25 20:42:00 +01:00