James Lopez
6612ca096a
update repo and wiki repo bundler to use git bundle instead of compressing via tar
2016-05-05 12:01:18 +02:00
James Lopez
2a78e03ad5
Merge branches 'feature/project-export' and 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-05-03 11:15:38 +02:00
James Lopez
58b0b1a661
picking export stuff from the UI branch
2016-05-03 11:13:10 +02:00
Robert Speicher
c9bc3d20ef
Merge remote-tracking branch 'dev/master' into 'master'
2016-05-02 19:58:54 -04:00
Rémy Coutable and Stan Hu
3811eb0ba1
Fix error when trying to create a wiki page
...
Closes #15527 .
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-04-29 06:50:18 -07:00
Matt Oakes
28dcdb2779
Support supressing text file diffs on the default branch with .gitattributes
...
This is a combination of 3 commits.
- Update the bare repositories info/attributes if the default branch is updated
- Check the diff attributes of a file before showing a diff
- Update CHANGELOG
2016-04-29 12:45:15 +01:00
Robert Speicher
be67a4843c
Prevent privilege escalation via notes API
...
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15577
2016-04-26 14:40:51 -04:00
Rémy Coutable and Robert Speicher
cd0750e045
Prevent private project name and namespace from leaking in the new MR view
...
Fixes #15591 .
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-04-25 15:32:44 -04:00
Stan Hu
6dff1a9a2b
Fix Error 500 due to stale cache when projects are renamed or transferred
...
Closes gitlab-org/gitlab-ee#506
2016-04-25 06:57:50 -07:00
Grzegorz Bizon
01ab6d704c
Use association search in issuable create service
2016-04-22 08:01:50 +02:00
Grzegorz Bizon
4adfd501a5
Verify label affiliation before assigning to issue
...
This also verify if milestone belongs to correct project before creating
a new issue.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15439
2016-04-22 07:59:08 +02:00
James Lopez
2d503f6410
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-04-21 17:37:33 +02:00
Kamil Trzciński
d240666800
Merge branch 'ci-commit-as-pipeline' into 'master'
...
Ci::Commit becomes a Pipeline object
1. Ci::Commit receives context: ref, :tag.
1. One Ci::Commit describes a one Pipeline
1. Pipeline is created from `.gitlab-ci.yml`
1. Pipeline is a ordered group of builds
1. We test MR against Pipeline
1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703 )
1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703 )
1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future)
1. We add a Pipeline Hook that will be triggered on Pipeline status change (future)
1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future)
After merging that I'll prepare a separate MR that will unify naming, database columns, table names:
```
Ci::Commit -> Pipeline
Ci::Build -> Build
CommitStatus -> Job
GenericCommitStatus -> ExternalJob
ci_commits -> pipelines
ci_builds -> jobs
```
This MR implements first 5 points.
This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149 .
See merge request !3653
2016-04-21 08:10:37 +00:00
Sebastian Klier
edd07e2363
Fix wiki tests
2016-04-20 08:25:41 +08:00
Sebastian Klier
a88f0a1fd8
add wiki_page helper to url_builder
2016-04-20 08:25:41 +08:00
Sebastian Klier
54661d3d44
add slack notifications for wiki pages
...
update changelog
2016-04-20 08:25:40 +08:00
Kamil Trzcinski
27e0c7723c
Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline
...
# Conflicts:
# db/schema.rb
2016-04-19 14:00:14 -04:00
Douwe Maan
55380e69fc
Merge branch 'pmq20/gitlab-ce-issue_12785'
2016-04-19 18:25:42 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
5330af3fa6
Using single builder for push and tag events
2016-04-19 11:00:30 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
2384bed4d8
Refactor GitTagPushService and fig tags_push system event hook
2016-04-19 11:00:30 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
ee1090e2b2
Added System Hooks for push and tag_push
...
Code is based on Project Webhooks, removing deprecations and without
commits listing.
2016-04-19 11:00:30 +02:00
P.S.V.R
3d6ba3b107
Add support to cherry-pick any commit
...
Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/12785
Merge Request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3514
2016-04-18 15:39:07 +08:00
Kamil Trzcinski
065e0c0fe4
Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline
...
# Conflicts:
# db/schema.rb
2016-04-16 19:55:14 +02:00
Alfredo Sumaran and Jacob Schatz
a96dc94428
Memoize target
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
1eeabdc6a5
Change variable name
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
05628e0c2f
Fixes failing spec
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
ad48ecacae
Update method name and remove unneeded params
2016-04-16 07:21:28 -04:00
Alfredo Sumaran and Jacob Schatz
562c9652d6
Put owner and participating people first
2016-04-16 07:21:28 -04:00
Rémy Coutable
4a514b27e9
Merge branch 'issue_15155' into 'master'
...
Setup visibility level for project when transfering for a group
fixes #15155
See merge request !3707
2016-04-14 15:13:08 +00:00
James Lopez
0852f539aa
refactored stuff, added a save and compress all class and moved mostly everything to lib
2016-04-14 16:57:25 +02:00
Felipe Artur
a8ea2c1895
Change transfer service to use existing methods
2016-04-14 11:34:42 -03:00
Rémy Coutable
64776ab2b4
Merge branch 'start-with-iid-on-new-branch' into 'master'
...
Start with iid on branch creation
After the discussion it in #3886 it was decided the iid should be in the beginning of the branch name.
See merge request !3708
2016-04-14 13:41:30 +00:00
Zeger-Jan van de Weg
0385cd5a58
Start with iid on branch creation
2016-04-14 14:49:45 +02:00
Rémy Coutable
c71cdb194f
Merge branch 'simplify-gitlab-url_builder-15202' into 'master'
...
Refactor and expose only Gitlab::UrlBuilder.build(record)
```
$ git grep Gitlab::UrlBuilder
app/models/commit.rb: url: Gitlab::UrlBuilder.build(self),
app/services/issues/base_service.rb: issue_url = Gitlab::UrlBuilder.build(issue)
app/services/merge_requests/base_service.rb: hook_data[:object_attributes][:url] = Gitlab::UrlBuilder.build(merge_request)
app/views/search/results/_note.html.haml:- note_url = Gitlab::UrlBuilder.build(note)
lib/gitlab/note_data_builder.rb: base_data[:object_attributes][:url] = Gitlab::UrlBuilder.build(note)
spec/lib/gitlab/note_data_builder_spec.rb: expect(data[:object_attributes][:url]).to eq(Gitlab::UrlBuilder.build(note))
spec/lib/gitlab/url_builder_spec.rb:describe Gitlab::UrlBuilder, lib: true do
```
Fixes #15202 .
See merge request !3696
2016-04-14 10:27:49 +00:00
Felipe Artur
11f46b459e
Setup visibility level for project when transfering for a group
2016-04-13 15:28:10 -03:00
Rémy Coutable
02cfbf0db5
Refactor and expose only Gitlab::UrlBuilder.build(record)
...
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-04-13 16:07:04 +02:00
Kamil Trzcinski
4af0968c43
Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline
2016-04-13 15:47:18 +02:00
Yorick Peterse
3b9edce803
Instrument the HousekeepingService class
...
This allows us to track how much time is spent in updating the
"pushes_since_gc" column as well as the time needed to obtain the lease.
2016-04-13 15:31:13 +02:00
Douwe Maan
4516f40dfe
Merge branch 'decouple-member-notification' into 'master'
...
Decouple membership and notifications
This allow you to have notification setting per project even if you are member of group.
It also creates background for having notification settings in project you are not member of.
- [x] Make it work
- [x] Migrations
- [x] CHANGELOG
- [x] More tests
- [x] API
For #3359
After this merge request there is still some work to be done:
* create migration that remove duplicates in notification settings table and create uniq index (8.8 probably)
* remove notification_level field from Member model in 9.0
* make proper API for notification settings
* use `MemberCreateService` instead of Member#after_create callback for creating notification settings (after #14709 )
* maybe more tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
See merge request !3421
2016-04-12 16:39:40 +00:00
James Lopez
91ffd80289
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-04-12 18:18:56 +02:00
James Lopez
6f74c7d482
fix export commits stuff
2016-04-12 18:06:57 +02:00
James Lopez
3b99e4ae5b
add issue and MR comments to default export. Fix spec
2016-04-12 15:32:25 +02:00
Robert Schilling
ba21c00f01
Delete notes via API
2016-04-12 14:24:05 +02:00
Kamil Trzcinski
ac50f9dddf
Fix rest of rspec and spinach tests
2016-04-12 10:23:31 +02:00
Douglas Barbosa Alexandre
93a10f17e0
Reuse User#notification_settings_for when it's possible
2016-04-11 20:50:26 -03:00
Kamil Trzcinski
af7214d0f0
Fix specs
2016-04-11 23:32:55 +02:00
Kamil Trzcinski
5d69f5b46d
Use Ci::Commit as Pipeline
2016-04-11 23:32:54 +02:00
Douglas Barbosa Alexandre
7afeace354
Merge branch 'master' into decouple-member-notification
2016-04-08 15:48:09 -03:00
James Lopez
5d642fb7aa
fix rubocop warnings
2016-04-08 15:07:12 +02:00
James Lopez
de6c44e983
using new config
2016-04-07 18:14:42 +02:00