Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure the check works for paths with spaces. | Bob Van Landuyt | 2017-08-04 | 2 | -1/+23 |
| | |||||
* | Add a Circuitbreaker for storage paths | Bob Van Landuyt | 2017-08-04 | 40 | -37/+1421 |
| | |||||
* | Merge branch 'sh-bump-gitlab-shell-gitaly' into 'master' | Stan Hu | 2017-08-04 | 2 | -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-gitaly | Stan Hu | 2017-08-04 | 2 | -2/+2 |
|/ | |||||
* | Merge branch 'refactor.notification-recipient-builders' into 'master' | Sean McGivern | 2017-08-04 | 6 | -329/+389 |
|\ | | | | | | | | | Refactor.notification recipient builders See merge request !13197 | ||||
| * | another rubocop style fixrefactor.notification-recipient-builders | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | rubocop style fix | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | add a comment warning that note.project may be nil | http://jneen.net/ | 2017-08-03 | 1 | -0/+4 |
| | | |||||
| * | remove build_relabeled_recipients | http://jneen.net/ | 2017-08-03 | 2 | -20/+7 |
| | | |||||
| * | move the read_ability logic into NotificationRecipient | http://jneen.net/ | 2017-08-03 | 3 | -21/+18 |
| | | |||||
| * | rm unused methods | http://jneen.net/ | 2017-08-03 | 1 | -26/+0 |
| | | |||||
| * | disable the delegate cop | http://jneen.net/ | 2017-08-03 | 1 | -0/+1 |
| | | |||||
| * | declarative_policy rubocop fix | http://jneen.net/ | 2017-08-03 | 1 | -2/+3 |
| | | |||||
| * | deparameterize `project` | http://jneen.net/ | 2017-08-03 | 2 | -41/+37 |
| | | | | | | | | since 99% of the time it's `target.project` anyways. | ||||
| * | unmemoize read_ability | http://jneen.net/ | 2017-08-03 | 1 | -8/+9 |
| | | | | | | | | since it's only called once now in make_recipient | ||||
| * | rm unused NewNote#subject | http://jneen.net/ | 2017-08-03 | 1 | -4/+0 |
| | | | | | | | | | | its functionality is swept into the project permission check in NotificationRecipient#has_access? now | ||||
| * | clearer argument name | http://jneen.net/ | 2017-08-03 | 1 | -2/+2 |
| | | |||||
| * | use the accessor for `type` | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | fix comment | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | |||||
| * | use safe navigation on notification_setting | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | short-circuit if there is no policy, and add :read_project check | http://jneen.net/ | 2017-08-03 | 3 | -12/+16 |
| | | |||||
| * | force queries to include notification settings | http://jneen.net/ | 2017-08-03 | 1 | -2/+11 |
| | | |||||
| * | use a simple pluck, since equivalent filtering happens later | http://jneen.net/ | 2017-08-03 | 1 | -3/+1 |
| | | |||||
| * | style fixes | http://jneen.net/ | 2017-08-03 | 2 | -8/+10 |
| | | |||||
| * | don't require project | http://jneen.net/ | 2017-08-03 | 1 | -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 users | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | default the project to target.project | http://jneen.net/ | 2017-08-03 | 3 | -6/+13 |
| | | |||||
| * | require that the user be able to :read_build | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | | | | | | | to get a pipeline_failed email | ||||
| * | make sure users have to be able to read_pipeline | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | | | | | | | to get pipeline failed notifications | ||||
| * | use intersection and diff operators instead of each | http://jneen.net/ | 2017-08-03 | 1 | -22/+2 |
| | | |||||
| * | make sure #custom_action is always defined | http://jneen.net/ | 2017-08-03 | 1 | -0/+4 |
| | | |||||
| * | move Recipient to its own NotificationRecipient file | http://jneen.net/ | 2017-08-03 | 2 | -109/+109 |
| | | |||||
| * | move the #build_* methods to static, parameterize the project | http://jneen.net/ | 2017-08-03 | 2 | -41/+40 |
| | | |||||
| * | rm a now-useless spec | http://jneen.net/ | 2017-08-03 | 1 | -34/+0 |
| | | |||||
| * | factor out .notifiable_users | http://jneen.net/ | 2017-08-03 | 2 | -41/+8 |
| | | |||||
| * | don't elevate to :watch if no @custom_action is provided | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | | |||||
| * | rm the @builder argument and factor out .notifiable_users | http://jneen.net/ | 2017-08-03 | 2 | -15/+38 |
| | | |||||
| * | move filtering logic into Recipient class | http://jneen.net/ | 2017-08-03 | 1 | -99/+102 |
| | | |||||
| * | add builder helpers with levels and start to separate out #filter! | http://jneen.net/ | 2017-08-03 | 2 | -54/+118 |
| | | |||||
| * | make recipients mutative during the build | http://jneen.net/ | 2017-08-03 | 1 | -64/+73 |
| | | |||||
| * | move build_custom_key to Default | http://jneen.net/ | 2017-08-03 | 1 | -8/+6 |
| | | |||||
| * | factor out the `target` argument to helpers | http://jneen.net/ | 2017-08-03 | 1 | -19/+19 |
| | | |||||
| * | move the build arguments to the initializers | http://jneen.net/ | 2017-08-03 | 1 | -14/+60 |
| | | |||||
| * | move the builders to classes with a #build | http://jneen.net/ | 2017-08-03 | 1 | -219/+257 |
| | | |||||
| * | use notification_setting_for_user_project in reject_users | http://jneen.net/ | 2017-08-03 | 1 | -18/+2 |
| | | |||||
| * | protect against nil project/group/setting | http://jneen.net/ | 2017-08-03 | 1 | -4/+4 |
| | | |||||
| * | move notification_setting_for_user_project to a public class method | http://jneen.net/ | 2017-08-03 | 1 | -13/+13 |
| | | |||||
| * | move the ability check to reject_users_without_access | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'rs-update-rspec' into 'master' | Rémy Coutable | 2017-08-04 | 2 | -28/+24 |
|\ \ | | | | | | | | | | | | | Bump rspec to 3.6.0 See merge request !13293 | ||||
| * | | Bump rspec to 3.6.0rs-update-rspec | Robert Speicher | 2017-08-03 | 2 | -28/+24 |
| | | |