Dmitriy Zaporozhets
a4e98f0ec9
Merge branch 'fork-to-group' into 'master'
...
Fork to group
Fixes #1592
* project can be forked into group
* fork link always lead to fork page where you select namespace where to fork
See merge request !1253
2014-11-18 10:44:15 +00:00
Dmitriy Zaporozhets
e08e405ac4
Select namespace where to fork project
...
Now you can fork project into group or personal namespace.
Also I moved fork logic from ProjectsController to own fork resource
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-13 22:06:19 +02:00
Marin Jankovski
334fe86574
Sanitize branch name and ref name
2014-11-13 16:20:43 +01:00
Dmitriy Zaporozhets
c3e83d4771
Merge branch 'auth_duplication' into 'master'
...
Remove unnecessary authorisations
Because we already check read_project ability in `before_filter :project`
See merge request !1240
2014-11-05 15:23:26 +00:00
Valeriy Sizov
f9814bf288
Merge pull request #8094 from cirosantilli/rm-unused-authenticate_user
...
Remove unused authenticate_user from project#show
2014-11-05 16:31:11 +02:00
Valery Sizov
6f34d40436
remove auth duplication
2014-11-05 11:04:08 +02:00
Dmitriy Zaporozhets
961a6bfcc2
API delete branch: render branch name json instead of true
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-30 17:28:59 +02:00
Drew Blessing
776bca07cd
Add Atlassian Bamboo service
2014-10-28 05:20:36 -05:00
Dmitriy Zaporozhets
beabf5db8c
Merge pull request #8091 from cirosantilli/factor-ability-abilities
...
Factor abilities methods
2014-10-28 12:09:55 +02:00
Dmitriy Zaporozhets
f4178f9601
Merge pull request #8005 from cirosantilli/settings-to-gitlab-config
...
Use Gitlab.config instead of Settings everywhere
2014-10-27 19:18:48 +02:00
Valery Sizov
40c8f159a2
Fix raw view for public snippets
2014-10-27 11:51:31 +02:00
Valery Sizov
705652d625
fix for public snippet
2014-10-24 11:52:52 +03:00
Dmitriy Zaporozhets
6c8d3bd658
Merge pull request #8093 from cirosantilli/rm-duplicate-derived-admin-repository-method
...
Remove unused admin/projects#repository method
2014-10-21 13:01:07 +03:00
Dmitriy Zaporozhets
c36a9e4cbf
Merge pull request #8029 from cirosantilli/rm-projects-controller-filter
...
Remove unused filter from ProjectsController
2014-10-21 11:58:08 +03:00
Ciro Santilli
2c98584a9c
Remove unused admin/projects#repository method
...
Already defined on the ApplicationController base class.
2014-10-21 10:56:11 +02:00
Dmitriy Zaporozhets
1657750a6a
Merge pull request #8028 from cirosantilli/rm-dev-tools
...
Remove unused dev_tools helper.
2014-10-21 11:55:36 +03:00
Dmitriy Zaporozhets
8ad9a75f88
Merge pull request #8030 from cirosantilli/factor-authorize
...
Factor authorize_push! and authorize_code_access!
2014-10-21 11:43:12 +03:00
Dmitriy Zaporozhets
5ce9f89c7b
Merge pull request #8102 from cirosantilli/use-memoized-project
...
Use @project on controllers, don't call method
2014-10-21 11:41:03 +03:00
Dmitriy Zaporozhets
456de99b9b
Merge pull request #8101 from cirosantilli/rm-project-id-admin-project-controller
...
Remove param[:project_id] at admin controller
2014-10-21 11:40:46 +03:00
Dmitriy Zaporozhets
72abe9f679
Merge branch 'fix-group-member-remove' into 'master'
...
Fix group member remove
Fixes https://github.com/gitlabhq/gitlabhq/issues/8090 .
See merge request !1196
2014-10-20 12:44:07 +00:00
Dmitriy Zaporozhets
2064a14724
Add tests for remove group member feature in admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-20 13:18:07 +03:00
Dmitriy Zaporozhets
d4bc125581
Merge pull request #7856 from cirosantilli/error-to-msg
...
Fix missing flash on file edit error from web UI.
2014-10-20 12:52:17 +03:00
Ciro Santilli
9e1b97ad99
Use @project on controllers, don't call method
...
Also memoize the method to ensure that other methods in
ApplicationController that rely on it can call it efficiently.
2014-10-19 23:36:23 +02:00
Ciro Santilli
6a73b76c5f
Remove param[:project_id] at admin controller
...
The route never passes that parameter to the helpers.
2014-10-19 23:02:19 +02:00
Ciro Santilli
b011052ce7
Remove unused authenticate_user from project#show
...
Redundant with the authorize_read_project! filter
2014-10-19 11:46:57 +02:00
Ciro Santilli
b66a152735
Factor abilities methods
...
in app controller, user model and services.
2014-10-19 11:12:39 +02:00
Dmitriy Zaporozhets
966f68b33e
Refactor error message a bit
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-17 13:15:59 +03:00
Jan-Willem van der Meer
d9bfebc0e8
Add regressiontest to verify allow_single_sign_on setting
...
verification for #1677
Since testing omniauth_callback_controller.rb is very difficult, the logic
is moved to the models
2014-10-16 20:08:30 +02:00
Jan-Willem van der Meer
92c184a57f
Disallow new users from Oauth signup if allow_single_sign_on is disabled
...
Because devise will trigger a save, allowing unsaved users to login, behaviour had changed.
The current implementation returns a pre-build user, which can be saved without errors.
Reported in #1677
2014-10-16 11:46:40 +02:00
Ciro Santilli
39c66c822e
Use Gitlab.config instead of Settings everywhere
2014-10-15 23:01:31 +02:00
Jan-Willem van der Meer
6ce65a3e95
Use Hash syntax for LDAP server declaration
2014-10-14 13:13:59 +02:00
Jan-Willem van der Meer
fc5bfd1dc1
Move dynamic omniauth declarations to initializer
2014-10-14 09:31:06 +02:00
Ciro Santilli
4d0d5e79ba
Factor authorize_push! and authorize_code_access!
...
with existing method_missing. Pattern already used extensively,
so let's be consistent and use it everywhere.
2014-10-13 21:31:49 +02:00
Ciro Santilli
a22d4cebb0
Remove unused filter from ProjectsController
...
Neither controller nor any of it's descendants have those actions.
2014-10-13 21:24:42 +02:00
Ciro Santilli
c278520f9b
Remove unused dev_tools helper.
2014-10-13 21:21:58 +02:00
Ciro Santilli
2d23522107
Use :message key, not :error for File::Service.
2014-10-13 20:55:09 +02:00
Jan-Willem van der Meer
6c0994a3b3
Merge remote-tracking branch 'origin/master' into feature-multiple-ldap-servers
...
Conflicts:
app/controllers/omniauth_callbacks_controller.rb
2014-10-13 17:07:53 +02:00
Dmitriy Zaporozhets
05fca6bfc2
Merge branch 'sorting-users-in-admin' into 'master'
...
Sorting users in admin
See merge request !1170
2014-10-13 13:59:17 +00:00
Valery Sizov
4e0da2325b
Admin: user sorting
2014-10-13 16:07:57 +03:00
Jan-Willem van der Meer
a7e071e982
Add refactoring for multiple LDAP server support
...
These changes are ported from EE to CE. Apply changes for app directory
2014-10-13 13:39:54 +02:00
Jan-Willem van der Meer
d059f50d4c
Refactor OAuth refactorings to CE
2014-10-10 12:03:32 +02:00
Valery Sizov
47f539f5a6
Snippets: public/internal/private
2014-10-09 17:09:53 +03:00
Robert Schilling
e95a8e1500
Merge pull request #7985 from cirosantilli/outdated-comment
...
Remove outdated comment from commits_controller
2014-10-07 19:02:52 +02:00
Ciro Santilli
ceaebe233c
Remove outdated comment from commits_controller
2014-10-07 18:52:16 +02:00
Valery Sizov
fd8d1d9b62
Snippets: rename public to internal
2014-10-07 11:54:00 +03:00
Dmitriy Zaporozhets
70004f4ef6
Merge branch 'slack_integration' into 'master'
...
Slack integration
See merge request !1151
2014-10-06 16:14:48 +00:00
Marin Jankovski
0fed1b5876
Merge pull request #7964 from mr-vinn/task-lists
...
Add task lists to issues and merge requests
2014-10-06 17:29:06 +02:00
Dmitriy Zaporozhets
f815115de6
Protect from forgery with exception
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-06 16:18:25 +03:00
Marin Jankovski
1db8d3104c
Add missing comma.
2014-10-06 11:51:15 +02:00
Marin Jankovski
2017977214
Use only webhook for slack service integration.
2014-10-06 10:44:01 +02:00