Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add visibility to component groups #2027

Merged
merged 15 commits into from
Oct 2, 2016
Merged

Add visibility to component groups #2027

merged 15 commits into from
Oct 2, 2016

Commits on Oct 2, 2016

  1. Implement visibility for the components groups. Part of #1897.

    Add functional test that asserts a guest can only see public items.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    21e0ac7 View commit details
    Browse the repository at this point in the history
  2. 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.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    11b75e1 View commit details
    Browse the repository at this point in the history
  3. 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.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    11a3a70 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8588806 View commit details
    Browse the repository at this point in the history
  5. 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.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    24c61ed View commit details
    Browse the repository at this point in the history
  6. Replace auth() usage with app(Guard::class).

    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    1e502d8 View commit details
    Browse the repository at this point in the history
  7. Apply StyleCI fixes.

    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    658c760 View commit details
    Browse the repository at this point in the history
  8. Drop the hidden visibility feature and fix all tests.

    Some code review fixes too.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    1b69813 View commit details
    Browse the repository at this point in the history
  9. Rename public to visible since it's a reserved keyword. Apply StyleCI…

    … fixes and correct typo.
    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    1cfb26b View commit details
    Browse the repository at this point in the history
  10. Code review changes.

    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    1cf11f1 View commit details
    Browse the repository at this point in the history
  11. Tidy up component and component groups gathering.

    Marius Palade authored and Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    bc3cfea View commit details
    Browse the repository at this point in the history
  12. Code review changes and StyleCI fixes.

    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    8e3e401 View commit details
    Browse the repository at this point in the history
  13. Code review changes.

    Marius Palade authored and Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    7de032b View commit details
    Browse the repository at this point in the history
  14. Remove extra whitespace

    Marius Palade authored and Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    09b4570 View commit details
    Browse the repository at this point in the history
  15. Remove useless method.

    Yoyosan committed Oct 2, 2016
    Configuration menu
    Copy the full SHA
    259672f View commit details
    Browse the repository at this point in the history