Dmitriy Zaporozhets
a74b66cdee
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into upstream-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/models/group.rb
app/models/project.rb
features/steps/shared/project.rb
2014-07-10 23:43:42 +03:00
Dmitriy Zaporozhets
d8f4c363d6
Merge pull request #7175 from jvanbaarsen/always-call-hooks
...
Call every service, even if one fails
2014-07-04 17:09:00 +03:00
Dmitriy Zaporozhets
d35a99e6cb
Merge pull request #7204 from cirosantilli/user-validation-msg
...
Fix username validation message to match regexp.
2014-07-02 09:57:14 +03:00
Dmitriy Zaporozhets
f3b31c4c5b
Merge pull request #6629 from sykano/fix-project-limit-for-groups
...
fix for project creation: group projects don't count towards user's project limit
2014-07-02 09:56:24 +03:00
Dmitriy Zaporozhets
4967c08786
Fix signup and project visibility
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-30 16:43:32 +03:00
Dmitriy Zaporozhets
8fee5a0572
Make app works with strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:24:17 +03:00
Ciro Santilli
b1c40e8151
Fix username validation message to match regexp.
...
Also used for project, group and web ui new file names.
2014-06-26 13:31:34 +02:00
Dmitriy Zaporozhets
1dab15940d
Remove protected_atrributes gem and start moving to strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 14:30:07 +03:00
Jeroen van Baarsen
e364a852af
Call every service, even if one fails
...
When one service fails, we dont want to have all of them failing. This
fixes this problem by catching all the errors, and writing them to the
error log.
Fixes : #5803
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2014-06-22 14:48:31 +02:00
Dmitriy Zaporozhets
b165b097f5
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-7-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
LICENSE
VERSION
app/controllers/omniauth_callbacks_controller.rb
app/helpers/application_helper.rb
app/helpers/merge_requests_helper.rb
app/models/group.rb
app/models/project.rb
app/models/project_team.rb
app/views/admin/groups/edit.html.haml
app/views/groups/_projects.html.haml
app/views/groups/edit.html.haml
db/schema.rb
doc/install/installation.md
doc/integration/README.md
lib/gitlab/git_access.rb
lib/gitlab/markdown.rb
spec/helpers/merge_requests_helper.rb
spec/models/merge_request_spec.rb
2014-06-17 10:53:44 +03:00
Dmitriy Zaporozhets
d74bf464d3
Postgres requires not-null value for boolean field
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-15 09:40:24 +03:00
Dmitriy Zaporozhets
1355ede49d
Wipe wall notes feature
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 14:24:54 +03:00
Dmitriy Zaporozhets
0fdce4a52b
Refactor some search scopes to prevent wierd behaviour and PG::Error issues
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-05 20:37:35 +03:00
Daniel Aquino
be85d1d2b2
project: ci_service should only catch ci services
...
ci_service should return true if a ci service is enabled. Currently
it's checking for any service being enabled instead of only services in
the ci category.
2014-06-03 11:46:47 -04:00
Dmitriy Zaporozhets
aea79b8035
Add ability rule for creating project in namespace
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:03:01 +03:00
Dmitriy Zaporozhets
a18ae13e98
Backport CI service refactoring from EE
...
It allows easier contribution of different CI services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 11:35:43 +03:00
Marin Jankovski
95ef8f9756
Merge remote-tracking branch 'ce/master'
...
Conflicts:
VERSION
doc/install/installation.md
doc/integration/README.md
doc/integration/external-issue-tracker.md
lib/gitlab/markdown.rb
spec/lib/gitlab/ldap/ldap_access_spec.rb
2014-05-21 13:10:37 +02:00
Dmitriy Zaporozhets
afe1ff413d
Specify project URL for Jenkins service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 11:20:25 +03:00
Dmitriy Zaporozhets
b16d77c3e0
Make it easier to add CI services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 11:14:43 +03:00
Dmitriy Zaporozhets
e6d2c02e67
Dirty implementastion of MR build status for Jenkins
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 10:34:35 +03:00
Dmitriy Zaporozhets
84b355077f
Add Jenkins CI service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-14 16:57:31 +03:00
Marin Jankovski
7478ece8b4
Add template for merge request descriptions to projects.
2014-05-14 15:24:14 +02:00
Drew Blessing
5f25cdfe19
Implement Merge Request Labels
2014-05-13 06:41:36 -05:00
Marin Jankovski
e3f736d258
Add Jira service.
2014-05-13 12:12:16 +02:00
Dmitriy Zaporozhets
556ca35274
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ce-6-9
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
VERSION
app/assets/stylesheets/application.scss
app/views/layouts/devise.html.haml
2014-05-12 12:39:51 +03:00
Dmitriy Zaporozhets
c608a5dcea
Add sort dropdown for admin projects page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-02 17:02:57 +03:00
Dmitriy Zaporozhets
d10b34a685
Save repository size to projects table
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-02 16:05:08 +03:00
Dmitriy Zaporozhets
fae2e540b6
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into upstream-ce-6-8
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
Gemfile.lock
README.md
VERSION
app/assets/javascripts/application.js
db/schema.rb
doc/install/installation.md
doc/update/4.2-to-5.0.md
doc/update/5.0-to-5.1.md
doc/update/5.1-to-5.2.md
doc/update/5.2-to-5.3.md
doc/update/5.4-to-6.0.md
doc/update/6.0-to-6.1.md
doc/update/6.0-to-6.7.md
lib/gitlab/git_access.rb
2014-04-10 13:34:56 +03:00
Dmitriy Zaporozhets
9f6a8ff4b5
Modify project default values
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 20:55:09 +03:00
Steffen Knoth
55cf6243a4
fix for project creation: group projects don't count towards user's project limit
2014-04-09 17:46:22 +02:00
Dmitriy Zaporozhets
466f0fb762
Fix default value for project model
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:40 +03:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:03 +03:00
Dmitriy Zaporozhets
c5cdd07899
Add values to default fields to prevent 500 error when migrate from MySQL to Postgres
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 13:36:25 +03:00
Josh Frye
89c942908c
Fix project limit reached grammer.
2014-04-04 16:17:21 -04:00
Dmitriy Zaporozhets
9ee697dd68
Use MergeRequest services in API and controllers
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-02 21:51:53 +03:00
Dmitriy Zaporozhets
3fa2dd1107
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-6-7-rc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile.lock
VERSION
lib/gitlab/git_access.rb
2014-03-21 12:22:43 +02:00
Dmitriy Zaporozhets
f6c20b7bb1
GitHook model
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-20 14:08:06 +02:00
Federico Ravasio
e3fc01b3ea
Added Slack service integration.
2014-03-18 18:54:30 +01:00
Dmitriy Zaporozhets
e502d785f9
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into code-from-ce-6-7
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
VERSION
app/controllers/application_controller.rb
app/models/user.rb
app/views/groups/members.html.haml
app/views/groups/show.html.haml
config/gitlab.yml.example
db/schema.rb
features/steps/project/project_browse_branches.rb
lib/api/projects.rb
lib/gitlab/ldap/access.rb
lib/gitlab/ldap/adapter.rb
lib/gitlab/ldap/person.rb
lib/gitlab/upgrader.rb
2014-03-18 11:15:01 +02:00
Dmitriy Zaporozhets
25f68a71d6
Project must have namespace for Project#find_with_namespace
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-14 15:58:10 +02:00
Dmitriy Zaporozhets
b5d81174fb
Fix mr process order on push.
...
First close merge requests that being merged. Then update code of open
mr. This fixes bug when MR merged via command line lose their diff
because code reload was before MR close.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-14 13:02:55 +02:00
Dmitriy Zaporozhets
d1bee5e374
Remove default value for Project#imported
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-13 20:35:11 +02:00
Dmitriy Zaporozhets
b47646ef13
Add retry feature to project import
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-12 19:26:09 +02:00
Dmitriy Zaporozhets
1436433c7b
Add project import state machine
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-12 17:15:03 +02:00
Dmitriy Zaporozhets
3dcfae7524
Add default value for Project#archived
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-28 09:57:19 +02:00
Dmitriy Zaporozhets
0de7a7cfcd
Add default value for Project#imported boolean
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-27 15:55:22 +02:00
Dmitriy Zaporozhets
75eed4eb83
Implement project collection service
...
Main purpose is move big amount of methods from user, group, project
models and place filtering logic in one place.
It also fixes 500 error on group page for PostgreSQL
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 14:36:36 +02:00
Dmitriy Zaporozhets
79dd7beebd
Merge branch 'feature/public_groups' into 'master'
...
Public Groups
This is the initial work (meaning no tests) for making groups public if they have a public project (or internal for logged in users). This allows issues and merge requests to be viewed, but _not_ group membership. As part of this I have also added back the link in the public project title section (it was removed as it didn't make sense before).
This addesses the following suggestions/issues:
http://feedback.gitlab.com/forums/176466-general/suggestions/5314461-groups-containing-one-or-more-public-projects-shou
Issue #32
https://github.com/gitlabhq/gitlabhq/issues/5203
as well as a few closed issues.
This also changes the public user page to only show groups that are accessible to the user in some manner.
2014-02-24 19:37:13 +00:00
Binsztock Rémy and Olivier Gonzalez
e7382de108
Add Gemnasium Service for Gitlab
...
Conflicts:
db/schema.rb
2014-02-21 16:25:22 +01:00
Jason Hollingsworth
2f69213e3f
Allow access to groups with public projects.
...
Fixed Group avatars to only display when user has read
permissions to at least one project in the group.
2014-02-20 09:26:38 -06:00