32 Commits

Author SHA1 Message Date
James Brooks
2c1700f4da Fix validation for component groups 2017-02-27 19:47:44 +00:00
James Brooks
5481d716b9 Fix ordering of component group statuses. Closes #2342 2017-02-19 11:00:40 +00:00
James Brooks
766f32f64f Added docblock to component group 2017-02-19 10:55:42 +00:00
James Brooks
e99a198770 Fix visible validation rule 2017-02-14 19:29:46 +00:00
James Brooks
ebf3c8656f Fix model validations 2016-10-19 12:29:22 +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
a947cffcb8 Standardizing things 2016-08-10 10:46:45 +01:00
James Brooks
08c1f105c2 Order components within group. Fixes #1793 2016-05-20 14:31:08 +01:00
James Brooks
6e7df6e1f7 Added attributes to prevent bad default data in groups. Closes #1683 2016-04-16 12:19:16 +01:00
James Brooks
a0477b03e3 Option to auto-expand groups when components are down. Closes #1602 2016-03-10 15:01:13 +00:00
James Brooks
0b3483fb8a Implement very basic API searching. Closes #1348 2016-03-08 18:55:04 +00:00
Joseph Cohen
919c7127e7 Fixes API sorting and filtering. Closes #1489 2016-02-25 18:58:42 +00:00
James Brooks
da7af1fca0 Allow component groups to be collapsed by default. Closes #1398 2016-01-29 16:02:44 +00:00
James Brooks
45c6c37c65 Laravel auto casts the id column to int for us 2016-01-07 14:47:39 +00:00
James Brooks
5ccd601695 Fixes missing titles 2016-01-03 12:26:27 +00:00
James Brooks
cf4cbfa605 Display a status circle next to component groups. Closes #1317 2016-01-03 11:48:53 +00:00
Graham Campbell
d46007c536 Switched from integer to int 2015-10-20 20:33:23 +01:00
James Brooks
6ee697cf7f Added AddComponentGroupCommand 2015-08-31 20:16:38 +01:00
James Brooks
a77efc12e0 Added casts properties to all models, re-ordered model properties. Fixes #916 2015-08-24 21:08:59 +01:00
James Brooks
4b3ec45b03 Added component groups API. Closes #801 2015-08-08 15:36:48 +01:00
Graham Campbell
fcbbfdd84e Refactor validator stuff and fix variable names in views 2015-08-03 22:32:51 +01:00
Graham Campbell
0a321bffd8 Updated copyright information 2015-07-06 17:37:01 +01:00
James Brooks
259ec3d3bb Use the ::class syntax 2015-06-16 09:46:29 +01:00
James Brooks
26ff4dc85a Remove class annotations 2015-06-16 08:27:31 +01:00
Graham Campbell
3988753b99 Updated copyright headers 2015-05-25 17:59:08 +01:00
Graham Campbell
b06167f5e9 Updated joe's email address 2015-05-25 17:53:06 +01:00
Graham Campbell
91e4dafca9 Updated my email address 2015-05-23 14:48:33 +01:00
James Brooks
9337c1a75b Allows ordering of component groups. Closes #573. 2015-05-19 22:54:28 +01:00
James Brooks
0928251673 Add Joseph Cohem and Graham Campbell to the copyright headers. 2015-05-19 10:45:38 +01:00
James Brooks
80e3d9167d Closes #568, adds copyright information. 2015-04-19 08:52:39 +01:00
Joseph Cohen
37e20bf2bf Update code to match master 2015-03-26 15:07:16 -06:00
Joseph Cohen
b4ac66d727 Cachet is now a Laravel 5 app 2015-03-20 18:30:45 -06:00