Oleg Elifantiev
dbefe90661
Fixed lint warnings
2014-06-12 13:51:09 +04:00
Oleg Elifantiev
fc69264f42
Improve GitTimeout error logging
2014-06-12 13:38:16 +04:00
Jacob Vosmaer
34fd557055
Move user access check to Gitlab::UserAccess
2014-05-15 10:22:59 +02:00
Jacob Vosmaer
be1120e968
Improve ad_disabled method name
2014-05-14 19:13:06 +02:00
Jacob Vosmaer
a966f72224
Document the Active Directory magic numbers
2014-05-14 19:08:42 +02:00
Jacob Vosmaer
797e807249
Use LDAP::Access.open to reuse the LDAP connection
2014-05-14 19:04:00 +02:00
Jacob Vosmaer
11dba4cee7
Fix syntax error in AD disabled user filter
2014-05-14 18:54:05 +02:00
Jacob Vosmaer
a6e4153878
Check for the AD disabled flag in Access#allowed?
2014-05-14 18:32:40 +02:00
Jacob Vosmaer
a754f0b220
Add LDAP::Person#ad_disabled?
...
Check the bit for disabled Active Directory users. The filter is based
on http://ctogonewild.com/2009/09/03/bitmask-searches-in-ldap/ .
2014-05-14 18:26:58 +02:00
Jacob Vosmaer
982d4d51e8
Backport Adapter#dn_matches_filter? from EE
2014-05-14 18:11:14 +02:00
Jacob Vosmaer
f4bca105d1
Backport Adapter#ldap_search from EE
2014-05-14 18:10:43 +02:00
Marin Jankovski and Dmitriy Zaporozhets
6b04a5f910
Add support for Jira ticket mentions in format JIRA-123.
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG-EE
2014-05-13 15:33:38 +03:00
Julien Pivotto
566badbaee
Use uid as username when creating user with LDAP
...
Without that commit, each user created by a LDAP login would have the
first part of their email address as nickname.
This is not useful for LDAP, where a uid attribute is already set.
2014-05-12 07:30:35 +02:00
C. Morgan Hamill
0456101117
Clean up conditional statement in name method.
...
Reverse the conditional order to avoid awkward `if !` construction.
2014-05-08 09:23:17 -04:00
C. Morgan Hamill
a45f7262f9
Clean up of name fallback code.
...
Don't use `unless` for the conditional.
Avoid double-quotes where possible.
2014-05-07 16:41:35 -04:00
C. Morgan Hamill
9e805b7754
Provide fallback for missing name value.
...
If `auth.info.name` is `nil`, then use `auth.info.first_name + auth.info.last_name`
as the value of `name`.
2014-05-07 16:33:54 -04:00
Dmitriy Zaporozhets
4fea8afc4b
Add CompareAction class for collecting commits and diffs using satellites
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-07 16:14:24 +03:00
Dmitriy Zaporozhets
cac916d974
Clean working directory in satellite
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-05 14:21:00 +03:00
Dmitriy Zaporozhets
c51ac0484f
Merge pull request #5962 from skv-headless/editing-preview
...
editing preview
2014-04-29 10:00:29 +03:00
Ben Bytheway
de794b6a77
Add scoping to ldap lookup when only dn given
2014-04-23 21:00:56 -06:00
skv-headless
d859d08094
Editing preview
2014-04-15 19:02:02 +04:00
Dmitriy Zaporozhets
448e5c133a
Merge branch 'satellite_exists_in_automerge_check' into 'master'
...
Satellite exists in automerge check
2014-04-14 13:21:49 +00:00
Dmitriy Zaporozhets
5f9592e4b0
Merge pull request #6405 from awiddersheim/fix_space_in_commit_message
...
Fix extra space added in beginning of commit message
2014-04-13 20:04:25 +03:00
Marin Jankovski
aa6426f46d
Satellite will exist when doing automerge_check.
2014-04-11 10:22:32 +02:00
Marin Jankovski
63ba983511
Dont raise an error with satellites, make sure it exists.
2014-04-09 17:13:44 +02:00
Dmitriy Zaporozhets
e6f58cb87d
Avoid false validation when create user
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-07 16:47:37 +03:00
Dmitriy Zaporozhets
5436d6afd6
Make oauth works for google oauth too
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-07 16:36:33 +03:00
Dmitriy Zaporozhets
a73df4f72d
Allow oauth signup without email
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-07 14:09:29 +03:00
Dmitriy Zaporozhets
5350492842
Fix support for force_push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-03 15:03:45 +03:00
Dmitriy Zaporozhets
207f34b890
Merge pull request #6190 from Popl7/add-better-branch-protection-against-history-rewrite-and-deletion
...
protect protected branched to force updates
2014-04-03 14:33:34 +03:00
Dmitriy Zaporozhets
fdeacf0ad1
Merge pull request #6317 from jirutka/fix-ldap-dn-case
...
Fix searching by extern_uid for LDAP to be case-insensitive
2014-03-29 14:08:31 +02:00
Jacob Vosmaer
2e6b537018
Use omniauth nickname as the username for LDAP
...
Before there was a bug in omniauth-ldap which prevented samaccountname
showing up as a possible username for new LDAP users. Thanks to upstream
fixes, we no longer need to work around this bug.
2014-03-28 13:57:52 +01:00
Steven Thonus
8b35b20837
first setup to protect protected branched to force updates
2014-03-25 22:33:14 +01:00
Marin Jankovski
9dd58c320a
Add to changelog.
2014-03-25 18:53:09 +01:00
Marin Jankovski
02850210b6
Allow referencing an existing user.
2014-03-25 18:53:09 +01:00
Robert Speicher
760f827ba0
Remove code that does nothing
...
ping @karlhungus
2014-03-22 15:40:42 -04:00
Robert Speicher
fa34059574
Default message for SatelliteNotExistError
2014-03-22 15:36:54 -04:00
Dmitriy Zaporozhets
ae1a314824
Fix upgrader
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-21 23:08:36 +02:00
Dmitriy Zaporozhets
5c038d949f
Fix gitlab-ci integration
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-21 23:04:57 +02:00
Dmitriy Zaporozhets
7dd18a3ec8
Fix http clone for public project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-21 14:52:30 +02:00
Marin Jankovski
5f595be4b8
Use new gems methods.
2014-03-20 13:33:16 +01:00
Dmitriy Zaporozhets
83e83b6617
Improve grack auth
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-20 10:53:03 +02:00
Dmitriy Zaporozhets
729b358ff2
push via http now served via /allowed API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-20 10:16:17 +02:00
Dmitriy Zaporozhets
19c28822ef
Add Gitlab::GitAccess class to resolve auth issues during pull/push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-20 10:16:17 +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
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