Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added todo filter tests21508-inconsistency-personal-dashboard-todos-page-uses-old-interface-wrong-dropdown-filter-buttons | Luke Bennett | 2016-09-01 | 2 | -20/+63 |
| | |||||
* | Fixed project filtering | Luke Bennett | 2016-09-01 | 1 | -3/+4 |
| | |||||
* | Review changes, simplified dropdown init | Luke Bennett | 2016-09-01 | 2 | -44/+13 |
| | |||||
* | Removed select2 from todos feature spec | Luke Bennett | 2016-09-01 | 1 | -6/+17 |
| | |||||
* | Removed inline JS and improved dropdown labels | Luke Bennett | 2016-09-01 | 3 | -52/+73 |
| | |||||
* | Added type and action dropdowns, need to finalize by removing all inline and ↵ | Luke Bennett | 2016-09-01 | 1 | -8/+32 |
| | | | | polishing off the selected dropdown states | ||||
* | Completed project filter dropdown, still need to move it from inline to ↵ | Luke Bennett | 2016-09-01 | 3 | -3/+8 |
| | | | | ProjectSelect.js (or different) | ||||
* | Swapped out author dropdown and started on swapping out project dropdown | Luke Bennett | 2016-09-01 | 4 | -27/+46 |
| | |||||
* | Merge branch 'expire-commit-info-partials-sooner' into 'master' | Yorick Peterse | 2016-09-01 | 2 | -1/+2 |
|\ | | | | | | | | | Expire commit view partial after a day See merge request !6128 | ||||
| * | Expire commit view partial after a dayexpire-commit-info-partials-sooner | Sean McGivern | 2016-08-31 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | We rarely use Russian-doll caching in views, and when we do, it's typically with a naturally-invalidating key. In the case of the commit partial, though, the author lookup isn't part of the cache key - because we're not going to use the state of the users table - and so a new email address can take up to two weeks to show against the commits list. Limiting this to a day still caches the partial for a healthy amount of time, without as bad a worst case scenario. | ||||
* | | Merge branch 'meta/add-doc-mr-template' into 'master' | Achilleas Pipinellis | 2016-09-01 | 1 | -0/+14 |
|\ \ | | | | | | | | | | | | | | | | | | | Add MR Documentation description template Add an MR Documentation template for `gitlab-ce`. See merge request !6145 | ||||
| * | | Add MR Documentation description template | Achilleas Pipinellis | 2016-09-01 | 1 | -0/+14 |
| | | | |||||
* | | | Merge branch 'control-dropdown-permissions' into 'master' | Robert Speicher | 2016-08-31 | 2 | -18/+22 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide group control nav if no options present ## What does this MR do? Hides the group nav controls if no options present in the dropdown. Also fixed the alignment of the dropdown to match the project page. ## What are the relevant issue numbers? Closes #19120 See merge request !5155 | ||||
| * | | | Updated variable namecontrol-dropdown-permissions | Phil Hughes | 2016-08-30 | 1 | -3/+3 |
| | | | | |||||
| * | | | Hide group control nav if no options present | Phil Hughes | 2016-08-30 | 2 | -18/+22 |
| | | | | | | | | | | | | | | | | Closes #19120 | ||||
* | | | | Merge branch ↵ | Robert Speicher | 2016-08-31 | 3 | -15/+42 |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'gh-importer-use-default-project-visibility-for-non-private-projects' into 'master' GitHub importer use default project visibility for non-private projects ## What does this MR do? GitHub importer use the `Default Project Visibility` setting for all non-private projects. ## Why was this MR needed? This allow users to import projects when `Public` visibility is restricted. ## What are the relevant issue numbers? Fixes #21437 See merge request !6023 | ||||
| * | | | Update CHANGELOG | Douglas Barbosa Alexandre | 2016-08-31 | 1 | -0/+1 |
| | | | | |||||
| * | | | GitHub importer use default project visibility for non-private projects | Douglas Barbosa Alexandre | 2016-08-31 | 2 | -15/+41 |
|/ / / | |||||
* | | | Merge branch 'refactor/add-policies' into 'master' | Robert Speicher | 2016-08-31 | 45 | -824/+690 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor ability.rb into Policies ## What does this MR do? Factors out `ability.rb` into a new abstraction - the "policy" (stored in `app/policies`). A policy is a class named `#{class_name}Policy` (looked up automatically as needed) that implements `rules` as follows: ``` ruby class ThingPolicy < BasePolicy def rules @user # this is a user to determine abilities for, optionally nil in the anonymous case @subject # this is the subject of the ability, guaranteed to be an instance of `Thing` can! :some_ability # grant the :some_ability permission cannot! :some_ability # ensure that :some_ability is not allowed. this overrides any `can!` that is called before or after delegate! @subject.other_thing # merge the abilities (can!) and prohibitions (cannot!) from `@subject.other_thing` can? :some_ability # test whether, so far, :some_ability is allowed end def anonymous_rules # optional. if not implemented `rules` is called where `@user` is nil. otherwise this method is called when `@user` is nil. end end ``` See merge request !5796 | ||||
| * | | | newline before default returnrefactor/add-policies | http://jneen.net/ | 2016-08-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | s/NB:/NOTE:/ | http://jneen.net/ | 2016-08-30 | 2 | -2/+2 |
| | | | | |||||
| * | | | don't use a deprecated api in ability_spec | http://jneen.net/ | 2016-08-30 | 1 | -2/+2 |
| | | | | |||||
| * | | | implement RuleSet#size for tests | http://jneen.net/ | 2016-08-30 | 1 | -0/+4 |
| | | | | |||||
| * | | | line break after guard clause | http://jneen.net/ | 2016-08-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | use || in place of `or` | http://jneen.net/ | 2016-08-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | use a more compact style for access policies | http://jneen.net/ | 2016-08-30 | 1 | -11/+4 |
| | | | | |||||
| * | | | move the rules method to the top #cosmetic | http://jneen.net/ | 2016-08-30 | 1 | -27/+27 |
| | | | | |||||
| * | | | factor out a RuleSet so that `delegate!` retains @cannot | http://jneen.net/ | 2016-08-30 | 2 | -9/+51 |
| | | | | |||||
| * | | | remove the rest of the dead code | http://jneen.net/ | 2016-08-30 | 1 | -74/+0 |
| | | | | |||||
| * | | | special-case blocked users | http://jneen.net/ | 2016-08-30 | 1 | -0/+1 |
| | | | | |||||
| * | | | test if we can :read_group the group, not the namespace | http://jneen.net/ | 2016-08-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | use a nil subject when we want to check global abilities | http://jneen.net/ | 2016-08-30 | 2 | -2/+2 |
| | | | | |||||
| * | | | add Deployment, Environment, and ExternalIssue policies | http://jneen.net/ | 2016-08-30 | 3 | -0/+15 |
| | | | | |||||
| * | | | take the dive - only use abilities from Policies | http://jneen.net/ | 2016-08-30 | 1 | -8/+1 |
| | | | | |||||
| * | | | use the cached abilities in #delegate! | http://jneen.net/ | 2016-08-30 | 1 | -1/+1 |
| | | | | |||||
| * | | | port UserPolicy | http://jneen.net/ | 2016-08-30 | 2 | -11/+11 |
| | | | | |||||
| * | | | port runners, namespaces, group/project_members | http://jneen.net/ | 2016-08-30 | 4 | -58/+42 |
| | | | | |||||
| * | | | add personal snippets and project members | http://jneen.net/ | 2016-08-30 | 2 | -0/+38 |
| | | | | |||||
| * | | | factor in global permissions | http://jneen.net/ | 2016-08-30 | 2 | -2/+9 |
| | | | | |||||
| * | | | trim more dead code | http://jneen.net/ | 2016-08-30 | 1 | -52/+1 |
| | | | | |||||
| * | | | port groups | http://jneen.net/ | 2016-08-30 | 2 | -36/+48 |
| | | | | |||||
| * | | | port personal snippets | http://jneen.net/ | 2016-08-30 | 1 | -32/+1 |
| | | | | |||||
| * | | | trim dead code | http://jneen.net/ | 2016-08-30 | 1 | -81/+0 |
| | | | | |||||
| * | | | port notes and project snippets | http://jneen.net/ | 2016-08-30 | 2 | -0/+39 |
| | | | | |||||
| * | | | add automatic detection of the policy class | http://jneen.net/ | 2016-08-30 | 2 | -16/+18 |
| | | | | |||||
| * | | | port CommitStatus/Build | http://jneen.net/ | 2016-08-30 | 4 | -1/+24 |
| | | | | |||||
| * | | | add and use MergeRequestPolicy | http://jneen.net/ | 2016-08-30 | 2 | -2/+8 |
| | | | | |||||
| * | | | port issues to Issu{able,e}Policy | http://jneen.net/ | 2016-08-30 | 5 | -4/+58 |
| | | | | |||||
| * | | | add support for anonymous abilities | http://jneen.net/ | 2016-08-30 | 3 | -205/+67 |
| | | | | |||||
| * | | | add project_policy_spec to replace .project_abilities spec | http://jneen.net/ | 2016-08-30 | 2 | -64/+36 |
| | | | |