Douglas Barbosa Alexandre
70c9ceb7b1
Fix datetime format when migrating new notification settings on MySQL
2016-04-14 18:46:18 -03:00
Jacob Vosmaer
f07316f27c
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck
2016-04-13 17:38:59 +02:00
Jacob Vosmaer
bf31b4495e
Schema improvements suggested by Yorick
2016-04-13 17:07:12 +02:00
Jacob Vosmaer
7b1bb0f4db
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck
2016-04-12 17:44:02 +02:00
Jacob Vosmaer
b37d3b9423
Add repository_checks_enabled setting
2016-04-12 16:21:23 +02:00
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
Jacob Vosmaer
5cf56e5647
Rename almost all the things
2016-04-06 13:47:05 +02:00
Jacob Vosmaer
bf9526739b
Rebase repo check MR
2016-04-04 17:23:43 +02: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