Commit Graph

24 Commits

Author SHA1 Message Date
James Brooks a55575656d Rename Bus Add to Create 2017-03-18 09:30:36 +00:00
James Brooks b4397158c9 Update component call. Fixes #2368 2017-02-16 08:18:44 +00:00
James Brooks edfbb2384f Components can now be supplied meta data 2016-12-05 19:03:27 +00:00
Davide Bellini 05f93e16e8 Fixed redirects with “cachet_redirect” helper 2016-10-13 09:51:44 +02:00
James Brooks 5a9f6134c4 Completely refactor all routes 2016-10-12 21:47:46 +01:00
Davide Bellini ff84a6d935 Fixed redirect when “Component group” was deleted (#2130) 2016-10-04 08:40:47 +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 7f65e1e48c Fixes #1659 2016-03-25 18:11:14 +00:00
James Brooks da7af1fca0 Allow component groups to be collapsed by default. Closes #1398 2016-01-29 16:02:44 +00:00
Graham Campbell df5eb24efd Moved things into a bus namespace 2016-01-05 02:38:07 +00:00
Graham Campbell 5557edc342 Use the new dispatch helper function 2015-12-24 15:16:09 +00:00
phecho f072f58cb6 Remove dispatchFromArray 2015-12-23 18:23:28 +08:00
phecho 32b66df5f0 Fixes issue #1158 2015-11-20 17:02:11 +08:00
phecho be1fccd682 Fixed translations of dashboard page title 2015-11-11 14:57:02 +08:00
James Brooks b8e3dcff55 Docblock fixes 2015-11-04 15:02:56 +00:00
James Brooks 4897453f5f Editing a component should call UpdateComponentCommand. Closes #1036 2015-10-14 17:19:24 +01:00
James Brooks 30b05f360d Applied fixes from StyleCI 2015-09-23 18:19:01 +01:00
James Brooks d4c1b23b3f Added UpdateComponentGroupCommand 2015-09-23 18:19:01 +01:00
James Brooks d3cd8201a6 UpdateComponentCommand is now done 2015-09-23 18:19:01 +01:00
James Brooks 6ee697cf7f Added AddComponentGroupCommand 2015-08-31 20:16:38 +01:00
James Brooks be080a10ef Added commands to delete component group (also fixes bug in API) 2015-08-31 20:16:38 +01:00
Joseph Cohen a239c34892 CS Fixes 2015-08-31 20:16:37 +01:00
Joseph Cohen 4a5110ae53 Finish add and remove components via commands 2015-08-31 20:16:37 +01:00
James Brooks 77ce0e21f4 Rename Admin directory to Dashboard within routes. Closes #933 2015-08-31 18:59:17 +01:00