Douglas Barbosa Alexandre
9a44d6977a
Merge branch 'master' into decouple-member-notification
2016-04-11 10:34:49 -03:00
Stan Hu
13c00262f7
Use false/true mixin in migration from !3640
2016-04-10 22:04:24 -07:00
Stan Hu
93cfc0b25e
Merge branch 'fix-raw-sql-migrations' into 'master'
...
Fix more SQL migrations to use raw commands
gitlab-org/gitlab-development-kit#109
See merge request !3640
2016-04-11 03:51:02 +00:00
Stan Hu
3b77a07856
Fix more SQL migrations to use raw commands
...
gitlab-org/gitlab-development-kit#109
2016-04-10 15:51:45 -07:00
Stan Hu
8536dedbb1
Fix seed_fu failure with inserting milestones into test DB
...
Milestones were not being saved due to "invalid state" validation errors
2016-04-10 06:39:42 -07:00
Stan Hu
66102e5017
Use raw SQL instead of Rails models in 20130403003950 migration
...
Closes gitlab-org/gitlab-development-kit#109
Closes https://github.com/gitlabhq/gitlabhq/issues/10123
2016-04-09 18:36:07 -07:00
connorshea
fb8afae186
Apparently I missed updating the schema.rb when removing the Twitter "Congrats" button
...
From commit 85cc172959
2016-04-09 11:28:47 -06:00
Douglas Barbosa Alexandre
99067a505c
Fix schema.rb
2016-04-08 18:46:46 -03:00
Douglas Barbosa Alexandre
d11288be95
Use query instead of model on migrations
2016-04-08 16:49:01 -03:00
Douglas Barbosa Alexandre
7afeace354
Merge branch 'master' into decouple-member-notification
2016-04-08 15:48:09 -03:00
connorshea
85cc172959
Remove "Congratulations!" tweet button on newly-created project.
...
I’ve removed everything related to the feature based on this commit:
ce08f919f34fd8849834365
Resolves #10857 .
2016-03-31 17:09:36 -06:00
Zeger-Jan van de Weg
1e7116b34d
Exclude projects pending deletion from all results
2016-03-31 20:20:18 +02:00
Douglas Barbosa Alexandre
db36ef60e9
Remove todos for deleted merge requests
2016-03-31 10:46:06 -03:00
Douglas Barbosa Alexandre
9b93f8adc8
Destroy related todos when an issue is deleted
2016-03-30 12:09:34 -03:00
Dmitriy Zaporozhets
1a293a4384
Update migration comment
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
855b2820c1
Improve db migrations for notification settings
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
73c5a34105
Migrate notification setting from members table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Dmitriy Zaporozhets
31b0e53015
Introduce NotificationSetting model
...
It will hold notification setting per group or per project. It will
allow get rid of notification level stored in Member model
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-03-30 10:44:20 +02:00
Robert Speicher
47a539dfd7
Use raw SQL instead of Rails models in migrations where appropriate
...
Closes #14694 .
2016-03-28 18:03:29 -04:00
Rubén Dávila
cbdbbcbc4f
Check if index exists before adding it. [ci skip]
...
* I got an error when updating GDK because it already exists.
2016-03-21 21:17:23 -05:00
Douwe Maan
503244eb96
Fix specs
2016-03-22 00:23:58 +01:00
Douwe Maan
31266c5be4
Address feedback
2016-03-22 00:09:20 +01:00
Douwe Maan
ae7b2ef62c
Merge branch 'master' into issue_12658
...
# Conflicts:
# app/models/issue.rb
# app/views/projects/_home_panel.html.haml
# app/views/shared/projects/_project.html.haml
# db/schema.rb
# spec/models/project_spec.rb
2016-03-21 23:22:21 +01:00
Felipe Artur
8d544645f0
Add specs and add visibility level to admin groups
2016-03-21 19:11:24 -03:00
Zeger-Jan van de Weg
6e5461c6ee
Merge branch 'master' into 2489-soft-delete-issues
2016-03-21 19:32:37 +01:00
Zeger-Jan van de Weg
3b088fc5b5
Minor improvements on IssuableActions
2016-03-21 16:59:35 +01:00
Douwe Maan
19aa20d528
Fix more specs
2016-03-20 23:09:33 +01:00
Douwe Maan
7c51d5efec
Fix some specs
2016-03-20 22:55:08 +01:00
Douwe Maan
8db1292139
Tweaks, refactoring, and specs
2016-03-20 21:04:07 +01:00
Douwe Maan
2eb19ea3ea
Merge branch 'master' into issue_12658
2016-03-20 14:57:25 +01:00
Zeger-Jan van de Weg
67043ec53b
Hide delete botton on edit page
2016-03-19 21:23:03 +01:00
Zeger-Jan van de Weg
212e83bab3
Soft delete issuables
2016-03-19 21:23:03 +01:00
Grzegorz Bizon
0115ad66d2
Merge branch 'master' into feature/issue-move
...
* master: (121 commits)
Dedupe labels in labels selector in Dashboard pages
Refactor colors and lists
Add a safeguard in MergeRequest#compute_diverged_commits_count
Fix an issue when the target branch of a MR had been deleted
Add avatar to issue and MR pages header
Cleanup somce css colors
Re-group scss variables
Refactor `Todo#target`
Fixes issue with filter label missing on labels & milestones
Rename `Todo#to_reference` to `Todo#target_reference`
Fixed failing tests
Updated controller with before_action Fixed other issues based on feedback
Fixes issue on dashboard issues
Full labels data in JSON
Fixed issue with labels dropdown getting wrong labels
Update CHANGELOG
Use `Note#for_project_snippet?` to skip notes on project snippet
Use `Commit#short_id` instead of `Commit.truncate_sha`
Reuse `for_commit?` on conditional validations
Update schema info comment on todo related files
...
Conflicts:
app/models/issue.rb
db/schema.rb
spec/models/issue_spec.rb
2016-03-19 18:50:15 +01:00
Grzegorz Bizon
9b13ce0b7a
Improvements in issue move feaure (refactoring)
...
According to endbosses' suggestions.
2016-03-19 18:46:01 +01:00
Douglas Barbosa Alexandre
1e76245d4e
Add commit_id to todos
2016-03-18 11:00:53 -03:00
Douglas Barbosa Alexandre
42834095bc
Change target_id to null on todos
2016-03-18 11:00:53 -03:00
Douglas Barbosa Alexandre
abb77d0f6c
Add a confidential flag to issues
2016-03-17 20:55:38 -03:00
Felipe Artur
0a7f716119
Code fixes
2016-03-17 19:42:46 -03:00
Douwe Maan
21af7459ab
Merge branch '4009-external-users' into 'master'
...
External Users
The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects.
Partially fix for both #4009 and #13938 (except the LDAP sync or a pattern to detect external users)

See merge request !3171
2016-03-17 14:15:38 +00:00
Grzegorz Bizon
dda7f9635f
Add field that references issue this issue has been moved to
2016-03-17 10:31:17 +01:00
Felipe Artur
a18ac62756
Block internal groups/projects visibility to external users
2016-03-16 21:23:59 -03:00
Felipe Artur
44c127447b
Merge 4009-external-users into issue_12658
2016-03-16 20:16:42 -03:00
Felipe Artur
ec20fdf366
Code improvements and add Create group service
2016-03-16 19:44:33 -03:00
Yorick Peterse
af4d5458a9
Added an index on ci_runners.token
...
On PostgreSQL the index is created concurrently.
Fixes gitlab-org/gitlab-ce#14325
2016-03-16 13:38:47 +01:00
Zeger-Jan van de Weg
59064aeeef
Merge branch 'master' into 4009-external-users
2016-03-15 19:16:16 +01:00
Douwe Maan
ea7d062fa6
Merge branch 'auto-gc' into 'master'
...
Run 'git gc' every 10 pushes
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14250
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12620
Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/254
Associated gitlab-shell MR:
https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/44
See merge request !3206
2016-03-15 10:51:38 +00:00
Zeger-Jan van de Weg
88f8d3a4d6
Merge branch 'master' into 4009-external-users
2016-03-14 20:08:02 +01:00
Dmitriy Zaporozhets
d324bf8434
Merge branch 'share-project-ce' into 'master'
...
Bring from EE: Share Project with Group
- [x] Models and migrations
- [x] Logic, UI
- [x] Tests
- [x] Documentation
- [x] Share with group lock
- [x] Api feature
- [x] Api docs
- [x] Api tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
For #12831
cc @DouweM @rspeicher @vsizov
See merge request !3186
2016-03-14 16:38:52 +00:00
Jacob Vosmaer
021d53c96d
Run 'git gc' every 10 pushes
2016-03-14 16:49:24 +01:00
Zeger-Jan van de Weg
42fcd3881f
External Users
...
The user has the rights of a public user execpt it can never create a project,
group, or team. Also it cant view internal projects.
2016-03-13 19:08:04 +01:00