summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added todo filter tests21508-inconsistency-personal-dashboard-todos-page-uses-old-interface-wrong-dropdown-filter-buttonsLuke Bennett2016-09-012-20/+63
|
* Fixed project filteringLuke Bennett2016-09-011-3/+4
|
* Review changes, simplified dropdown initLuke Bennett2016-09-012-44/+13
|
* Removed select2 from todos feature specLuke Bennett2016-09-011-6/+17
|
* Removed inline JS and improved dropdown labelsLuke Bennett2016-09-013-52/+73
|
* Added type and action dropdowns, need to finalize by removing all inline and ↵Luke Bennett2016-09-011-8/+32
| | | | polishing off the selected dropdown states
* Completed project filter dropdown, still need to move it from inline to ↵Luke Bennett2016-09-013-3/+8
| | | | ProjectSelect.js (or different)
* Swapped out author dropdown and started on swapping out project dropdownLuke Bennett2016-09-014-27/+46
|
* Merge branch 'expire-commit-info-partials-sooner' into 'master' Yorick Peterse2016-09-012-1/+2
|\ | | | | | | | | Expire commit view partial after a day See merge request !6128
| * Expire commit view partial after a dayexpire-commit-info-partials-soonerSean McGivern2016-08-312-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 Pipinellis2016-09-011-0/+14
|\ \ | | | | | | | | | | | | | | | | | | Add MR Documentation description template Add an MR Documentation template for `gitlab-ce`. See merge request !6145
| * | Add MR Documentation description templateAchilleas Pipinellis2016-09-011-0/+14
| | |
* | | Merge branch 'control-dropdown-permissions' into 'master' Robert Speicher2016-08-312-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-permissionsPhil Hughes2016-08-301-3/+3
| | | |
| * | | Hide group control nav if no options presentPhil Hughes2016-08-302-18/+22
| | | | | | | | | | | | | | | | Closes #19120
* | | | Merge branch ↵Robert Speicher2016-08-313-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 CHANGELOGDouglas Barbosa Alexandre2016-08-311-0/+1
| | | |
| * | | GitHub importer use default project visibility for non-private projectsDouglas Barbosa Alexandre2016-08-312-15/+41
|/ / /
* | | Merge branch 'refactor/add-policies' into 'master' Robert Speicher2016-08-3145-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-policieshttp://jneen.net/2016-08-301-0/+1
| | | |
| * | | s/NB:/NOTE:/http://jneen.net/2016-08-302-2/+2
| | | |
| * | | don't use a deprecated api in ability_spechttp://jneen.net/2016-08-301-2/+2
| | | |
| * | | implement RuleSet#size for testshttp://jneen.net/2016-08-301-0/+4
| | | |
| * | | line break after guard clausehttp://jneen.net/2016-08-301-0/+1
| | | |
| * | | use || in place of `or`http://jneen.net/2016-08-301-1/+1
| | | |
| * | | use a more compact style for access policieshttp://jneen.net/2016-08-301-11/+4
| | | |
| * | | move the rules method to the top #cosmetichttp://jneen.net/2016-08-301-27/+27
| | | |
| * | | factor out a RuleSet so that `delegate!` retains @cannothttp://jneen.net/2016-08-302-9/+51
| | | |
| * | | remove the rest of the dead codehttp://jneen.net/2016-08-301-74/+0
| | | |
| * | | special-case blocked usershttp://jneen.net/2016-08-301-0/+1
| | | |
| * | | test if we can :read_group the group, not the namespacehttp://jneen.net/2016-08-301-1/+1
| | | |
| * | | use a nil subject when we want to check global abilitieshttp://jneen.net/2016-08-302-2/+2
| | | |
| * | | add Deployment, Environment, and ExternalIssue policieshttp://jneen.net/2016-08-303-0/+15
| | | |
| * | | take the dive - only use abilities from Policieshttp://jneen.net/2016-08-301-8/+1
| | | |
| * | | use the cached abilities in #delegate!http://jneen.net/2016-08-301-1/+1
| | | |
| * | | port UserPolicyhttp://jneen.net/2016-08-302-11/+11
| | | |
| * | | port runners, namespaces, group/project_membershttp://jneen.net/2016-08-304-58/+42
| | | |
| * | | add personal snippets and project membershttp://jneen.net/2016-08-302-0/+38
| | | |
| * | | factor in global permissionshttp://jneen.net/2016-08-302-2/+9
| | | |
| * | | trim more dead codehttp://jneen.net/2016-08-301-52/+1
| | | |
| * | | port groupshttp://jneen.net/2016-08-302-36/+48
| | | |
| * | | port personal snippetshttp://jneen.net/2016-08-301-32/+1
| | | |
| * | | trim dead codehttp://jneen.net/2016-08-301-81/+0
| | | |
| * | | port notes and project snippetshttp://jneen.net/2016-08-302-0/+39
| | | |
| * | | add automatic detection of the policy classhttp://jneen.net/2016-08-302-16/+18
| | | |
| * | | port CommitStatus/Buildhttp://jneen.net/2016-08-304-1/+24
| | | |
| * | | add and use MergeRequestPolicyhttp://jneen.net/2016-08-302-2/+8
| | | |
| * | | port issues to Issu{able,e}Policyhttp://jneen.net/2016-08-305-4/+58
| | | |
| * | | add support for anonymous abilitieshttp://jneen.net/2016-08-303-205/+67
| | | |
| * | | add project_policy_spec to replace .project_abilities spechttp://jneen.net/2016-08-302-64/+36
| | | |