Commit Graph

35 Commits

Author SHA1 Message Date
James Brooks
34c1bff186 Make Taggable trait for simpleness 2018-05-11 18:02:56 +01:00
James Brooks
47f0077928 Fix issue with taggables 2018-05-11 17:57:29 +01:00
Vincent Domange
b2e64e186d Corrected link component tag : morphMany => morphToMany cf.#3004 2018-04-20 09:26:57 +02:00
James Brooks
737dd689b0 Fix test 2018-04-02 18:17:07 +01:00
James Brooks
af3d5ab493 System status now ignores hidden groups for guests - Fixes #2577 2017-06-19 14:23:32 +01:00
James Brooks
507ae3e4ed Add meta relation to all models 2017-06-13 19:25:43 +01:00
James Brooks
edfbb2384f Components can now be supplied meta data 2016-12-05 19:03:27 +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
e0a8e9d663 Cast status as int. Fixes #2058 2016-08-15 08:09:59 +01:00
James Brooks
a947cffcb8 Standardizing things 2016-08-10 10:46:45 +01: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
45c6c37c65 Laravel auto casts the id column to int for us 2016-01-07 14:47:39 +00:00
phecho
8a47dd873f Move HumanStatus to Presenter 2015-12-23 19:44:06 +08:00
Antoine Augusti
b414a4e391 Add scopes for components 2015-11-04 14:54:43 +01:00
James Brooks
edd111451e Started work on enabling/disabling components 2015-11-03 21:32:45 +00:00
Graham Campbell
d46007c536 Switched from integer to int 2015-10-20 20:33:23 +01:00
Graham Campbell
db6faa70d3 Moved dates to casts 2015-10-01 21:05:14 +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
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
9d879b162e Fix code standards, update language files. 2015-06-16 09:07:49 +01:00
James Brooks
26ff4dc85a Remove class annotations 2015-06-16 08:27:31 +01:00
James Brooks
620e7fed56 Closes #688 - Drop user_id column 2015-06-10 13:36:26 +01:00
James Brooks
106c1a034a Remove repositories from the API and switch cipher to rijndael-256 2015-06-09 10:57:45 +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
Joseph Cohen
088b54a5ce Abstract presenter, timestampstrait, update api responses 2015-05-20 14:19:01 -05: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
1ca9b85389 CS Fixes 2015-03-20 18:32:24 -06:00
Joseph Cohen
b4ac66d727 Cachet is now a Laravel 5 app 2015-03-20 18:30:45 -06:00