summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make sure the check works for paths with spaces.Bob Van Landuyt2017-08-042-1/+23
|
* Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-0440-37/+1421
|
* Merge branch 'sh-bump-gitlab-shell-gitaly' into 'master'Stan Hu2017-08-042-2/+2
|\ | | | | | | | | Bump GITLAB_SHELL_VERSION and GITALY_VERSION to support unhiding refs See merge request !13307
| * Bump GITLAB_SHELL_VERSION and GITALY_VERSION to support unhiding refssh-bump-gitlab-shell-gitalyStan Hu2017-08-042-2/+2
|/
* Merge branch 'refactor.notification-recipient-builders' into 'master'Sean McGivern2017-08-046-329/+389
|\ | | | | | | | | Refactor.notification recipient builders See merge request !13197
| * another rubocop style fixrefactor.notification-recipient-buildershttp://jneen.net/2017-08-031-1/+1
| |
| * rubocop style fixhttp://jneen.net/2017-08-031-1/+1
| |
| * add a comment warning that note.project may be nilhttp://jneen.net/2017-08-031-0/+4
| |
| * remove build_relabeled_recipientshttp://jneen.net/2017-08-032-20/+7
| |
| * move the read_ability logic into NotificationRecipienthttp://jneen.net/2017-08-033-21/+18
| |
| * rm unused methodshttp://jneen.net/2017-08-031-26/+0
| |
| * disable the delegate cophttp://jneen.net/2017-08-031-0/+1
| |
| * declarative_policy rubocop fixhttp://jneen.net/2017-08-031-2/+3
| |
| * deparameterize `project`http://jneen.net/2017-08-032-41/+37
| | | | | | | | since 99% of the time it's `target.project` anyways.
| * unmemoize read_abilityhttp://jneen.net/2017-08-031-8/+9
| | | | | | | | since it's only called once now in make_recipient
| * rm unused NewNote#subjecthttp://jneen.net/2017-08-031-4/+0
| | | | | | | | | | its functionality is swept into the project permission check in NotificationRecipient#has_access? now
| * clearer argument namehttp://jneen.net/2017-08-031-2/+2
| |
| * use the accessor for `type`http://jneen.net/2017-08-031-1/+1
| |
| * fix commenthttp://jneen.net/2017-08-031-1/+2
| |
| * use safe navigation on notification_settinghttp://jneen.net/2017-08-031-1/+1
| |
| * short-circuit if there is no policy, and add :read_project checkhttp://jneen.net/2017-08-033-12/+16
| |
| * force queries to include notification settingshttp://jneen.net/2017-08-031-2/+11
| |
| * use a simple pluck, since equivalent filtering happens laterhttp://jneen.net/2017-08-031-3/+1
| |
| * style fixeshttp://jneen.net/2017-08-032-8/+10
| |
| * don't require projecthttp://jneen.net/2017-08-031-3/+1
| | | | | | | | | | it's not there in the case of personal snippets, f. ex., and we've already guarded against its being missing in #find_notification_setting
| * .notifiable_users: compact the passed-in usershttp://jneen.net/2017-08-031-1/+1
| |
| * default the project to target.projecthttp://jneen.net/2017-08-033-6/+13
| |
| * require that the user be able to :read_buildhttp://jneen.net/2017-08-031-1/+2
| | | | | | | | to get a pipeline_failed email
| * make sure users have to be able to read_pipelinehttp://jneen.net/2017-08-031-1/+2
| | | | | | | | to get pipeline failed notifications
| * use intersection and diff operators instead of eachhttp://jneen.net/2017-08-031-22/+2
| |
| * make sure #custom_action is always definedhttp://jneen.net/2017-08-031-0/+4
| |
| * move Recipient to its own NotificationRecipient filehttp://jneen.net/2017-08-032-109/+109
| |
| * move the #build_* methods to static, parameterize the projecthttp://jneen.net/2017-08-032-41/+40
| |
| * rm a now-useless spechttp://jneen.net/2017-08-031-34/+0
| |
| * factor out .notifiable_usershttp://jneen.net/2017-08-032-41/+8
| |
| * don't elevate to :watch if no @custom_action is providedhttp://jneen.net/2017-08-031-1/+1
| |
| * rm the @builder argument and factor out .notifiable_usershttp://jneen.net/2017-08-032-15/+38
| |
| * move filtering logic into Recipient classhttp://jneen.net/2017-08-031-99/+102
| |
| * add builder helpers with levels and start to separate out #filter!http://jneen.net/2017-08-032-54/+118
| |
| * make recipients mutative during the buildhttp://jneen.net/2017-08-031-64/+73
| |
| * move build_custom_key to Defaulthttp://jneen.net/2017-08-031-8/+6
| |
| * factor out the `target` argument to helpershttp://jneen.net/2017-08-031-19/+19
| |
| * move the build arguments to the initializershttp://jneen.net/2017-08-031-14/+60
| |
| * move the builders to classes with a #buildhttp://jneen.net/2017-08-031-219/+257
| |
| * use notification_setting_for_user_project in reject_usershttp://jneen.net/2017-08-031-18/+2
| |
| * protect against nil project/group/settinghttp://jneen.net/2017-08-031-4/+4
| |
| * move notification_setting_for_user_project to a public class methodhttp://jneen.net/2017-08-031-13/+13
| |
| * move the ability check to reject_users_without_accesshttp://jneen.net/2017-08-031-1/+2
| |
* | Merge branch 'rs-update-rspec' into 'master'Rémy Coutable2017-08-042-28/+24
|\ \ | | | | | | | | | | | | Bump rspec to 3.6.0 See merge request !13293
| * | Bump rspec to 3.6.0rs-update-rspecRobert Speicher2017-08-032-28/+24
| | |