Dmitriy Zaporozhets
b4bef5e646
Add Gitlab::GitAccess class to resolve auth issues during pull/push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-19 21:05:21 +02: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
a7ac57a1a3
Merge pull request #6534 from dlorch/master
...
JIRA project identifiers may also contain dashes '-'
2014-03-17 13:28:39 +02:00
Dmitriy Zaporozhets
39f80884db
Improve developer seeds
...
Return execution of observers in seeds.
Mute email sending to letter opening in you browser.
Added `rake dev` task to reset db and add seeds.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-15 11:39:35 +02:00
Daniel Lorch
686128cd68
JIRA project identifiers may also contain dashes '-'
2014-03-14 18:08:05 +01:00
Jacob Vosmaer
779fa4a7b7
Use batch_add_keys in rake gitlab:shell:setup
2014-03-14 15:49:11 +01:00
Jacob Vosmaer
823f89ed40
Pass LDAP adapter to finders in update_permissions
2014-03-14 11:21:50 +01:00
Jacob Vosmaer
2f1a59d391
Add Gitlab::LDAP::Access.open
...
This new method wraps Gitlab::LDAP::Adapter.open to enable connection
reuse.
2014-03-14 11:01:28 +01:00
Jacob Vosmaer
d8ca6ed216
Add Gitlab::LDAP::Adapter.open
...
This new method is based on Net::LDAP.open, which reuses a single LDAP
connection.
2014-03-14 11:01:28 +01:00
Jacob Vosmaer
f41d277d61
Allow passing an adapter to Gitlab::LDAP::Person
2014-03-14 11:01:27 +01:00
Jacob Vosmaer
56df3dbff2
Add Gitlab::LDAP::Access.open
...
This new method wraps Gitlab::LDAP::Adapter.open to enable connection
reuse.
2014-03-14 08:55:50 +01:00
Jacob Vosmaer
af53aa9072
Add Gitlab::LDAP::Adapter.open
...
This new method is based on Net::LDAP.open, which reuses a single LDAP
connection.
2014-03-14 08:53:46 +01:00
Jacob Vosmaer
5a616649b5
Allow passing an adapter to Gitlab::LDAP::Person
2014-03-14 08:52:57 +01:00
Dmitriy Zaporozhets
f16de8ac8c
Merge branch 'master' of github.com:gitlabhq/gitlabhq
2014-03-11 11:29:18 +02:00
Dmitriy Zaporozhets
0fdab6a747
Remove copyright
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-10 17:09:45 +02:00
Dmitriy Zaporozhets
daa7f077db
Port LDAP code from EE
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-10 14:48:08 +02:00
mk
61a72bc2e2
Allow underscore as the first char for project names.
...
Not sure if the default_regex really has to be expanded for this special use case. We tried to extend only the project_name_regex first, but that didn't help.
2014-03-06 14:08:40 +01:00
Jacob Vosmaer
d6b0ac96f7
Invoke Kernel#system with separate arguments
2014-03-03 08:40:30 +01:00
Jacob Vosmaer
2b816075dc
Replace backticks with Gitlab::Popen
2014-03-03 08:40:29 +01:00
Jacob Vosmaer
36c2c354fc
Adapt use of Gitlab::Popen to new style
2014-02-25 12:00:33 +01:00
Jacob Vosmaer
38f4b61a58
Make it possible to call Gitlab::Popen.popen
2014-02-25 11:58:58 +01:00
Jacob Vosmaer
8016cefafe
Make the Gitlab::Popen path argument optional
2014-02-25 11:58:22 +01:00
Jacob Vosmaer
0432bdf19e
Change Gitlab::Popen to use arrays for commands
2014-02-25 11:57:42 +01:00
Jacob Vosmaer
0bfc45d518
Dump LDAP objects into the log for debugging
2014-02-12 15:51:30 +01:00
Dmitriy Zaporozhets
903726c846
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into upstream-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
Gemfile
VERSION
app/models/group.rb
app/views/groups/edit.html.haml
db/schema.rb
doc/install/installation.md
doc/update/5.4-to-6.0.md
2014-02-11 10:15:13 +02:00
Dmitriy Zaporozhets
da34e008c3
Merge pull request #5294 from dalehamel/master
...
Ensure directory exists before changing in popen
2014-02-04 07:21:35 -08:00
Dmitriy Zaporozhets
5221dbfee7
Merge branch 'fix/routing' of /mnt/ebs/repositories/jhworth.developer/gitlab-ce
2014-01-27 07:57:36 +00:00
Corobi
17f7da3d97
improve upgrader "latest version" message
2014-01-25 23:33:55 +00:00
Jason Hollingsworth
71c157e43b
Add files to path blacklist.
...
Remove empty ErrorsController
2014-01-24 20:06:44 -06:00
Dmitriy Zaporozhets
2df9a76042
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into 6_5_ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
VERSION
app/assets/stylesheets/generic/common.scss
app/views/projects/edit.html.haml
config.ru
db/schema.rb
doc/install/installation.md
doc/update/6.0-to-6.1.md
doc/update/6.1-to-6.2.md
lib/gitlab/upgrader.rb
2014-01-21 18:15:49 +02:00
skv
a3f645ef51
Remove deprecated finders
2014-01-19 23:39:56 +04:00
Dmitriy Zaporozhets
21bc41c6ee
Add support of base64 encoded content
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-16 18:02:09 +02:00
Dmitriy Zaporozhets
38d8d749d7
Merge branch 'feature/merge_commit_message' of /home/git/repositories/gitlab/gitlabhq
2014-01-15 10:36:12 +00:00
Jeroen van Baarsen
cc1f7ea2de
Allow . files to be created
...
Fixes: https://github.com/gitlabhq/gitlabhq/issues/5770
2014-01-14 18:26:01 +01:00
Dmitriy Zaporozhets
d84b0fa6b5
Add merge_commit_message argument for Satellite::MergeAction#merge
2014-01-13 16:49:35 +02:00
Dmitriy Zaporozhets
6a80083294
Use same code for diff and patch inside MergeAction
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-13 16:16:45 +02:00
Dmitriy Zaporozhets
7c6287c878
Add support of custom message to merge action of satellite
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-13 13:17:38 +02:00
Dmitriy Zaporozhets
515ed7755e
Respect default theme settings. Fixed sign-in button on publica page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-01-10 13:58:52 +02:00
Dmitriy Zaporozhets
1ad2a93678
Merge pull request #5760 from dermoth/master
...
Fix HTTP push to public repos
2014-01-07 02:47:56 -08:00
Jason Hollingsworth
7cc2520541
Add support for various archive formats.
...
Used mime-types gem instead of hardcoding content types.
Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
Change content disposition from infile(?) to attachment for api.
Fixed api would return “archive” instead of {project}-{hash}.{ext}
2014-01-02 10:18:56 -06:00
Jason Hollingsworth
405492e90c
Fixed issue with bundle exec rake routes not running.
...
Wrap regex comments in (?#comment) construct.
2013-12-23 20:01:38 -06:00
Dmitriy Zaporozhets
71b1202505
Merge branch '6-4-stable' of dev.gitlab.org:gitlab/gitlabhq into 6-4-from-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
VERSION
lib/gitlab/upgrader.rb
2013-12-23 18:18:26 +02:00
Dmitriy Zaporozhets
58472180b3
Fix upgrader
...
It created branch based on current branch which is an old version
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-23 18:05:31 +02:00
Dmitriy Zaporozhets
088f0602b9
Fix upgrader
...
It created branch based on current branch which is an old version
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-23 18:01:51 +02:00
Dmitriy Zaporozhets
581f466335
Fix upgrader
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-23 13:49:21 +02:00
Dmitriy Zaporozhets
1f43fa20d3
Merge branch '6-4-stable' of dev.gitlab.org:gitlab/gitlabhq into 6-4-from-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile
Gemfile.lock
VERSION
app/controllers/application_controller.rb
db/schema.rb
doc/install/installation.md
doc/update/6.2-to-6.3.md
2013-12-23 12:57:22 +02:00
Thomas Guyot-Sionnest
843548cc76
Fix HTTP push to public repos
...
When doing an HTTP push, git (as of v1.7.9) first do an info/refs
request, and only if this request requires authentication it asks the
user for its password and authenticates further requests.
The initial request normally clears without auth on public repos as it
doesn't update any ref. This patch forces every git-receive-pack
requests to provide authentication.
2013-12-16 12:39:54 -05:00
Dmitriy Zaporozhets
d476ac7d41
Remove colored gem from upgrader script. pt2
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-14 14:11:31 +02:00
Dmitriy Zaporozhets
5e73a3b124
Remove colored gem from upgrader script
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-14 14:10:24 +02:00
Dmitriy Zaporozhets
d3844662ec
Respect existing group permissions during sync with LDAP group
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-14 13:22:51 +02:00