Dmitriy Zaporozhets
d9bc57d18e
Merge branch 'branches_with_no_parent' into 'master'
...
Branches with no parent cannot be merged
Solves `undefined method 'reduce' for false:FalseClass`
Fixes #1415
See merge request !967
2014-07-14 11:51:58 +00:00
Jacob Vosmaer
99e1f4888a
Remove thread-unsafe Dir.chdir from Satellite#lock
...
This is made possible by changes in gitlab-grit 2.6.10.
2014-07-14 12:16:57 +02:00
Marin Jankovski
207bc8a0e7
Branches without parent commit cannot be merged.
2014-07-14 11:06:14 +02:00
Dmitriy Zaporozhets
6a0cb25096
Dont allow ? in project path
...
Because it causes 500 error on every page where link to such project
exists
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-08 18:15:23 +03:00
Dmitriy Zaporozhets
85a15b0e22
Merge pull request #7152 from bhuisgen/master
...
Fix LDAP TLS authentication
2014-07-08 09:44:29 +03:00
Dmitriy Zaporozhets
d390219c6f
Dont show 'Remove source brnach' checkbox for fork
...
Remove source button checkbox always try to remove branch in target
project. For fork source & target projects are differents - so we hide
checkbox from UI. After MR accepted you can easily remove branch with
'Remove branch' button that do remove branch call to valid project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-04 09:22:46 +03:00
Dmitriy Zaporozhets
8031be73fe
Merge branch 'contributors-api' into 'master'
...
Contributors api
Fixes #1266
See merge request !934
2014-07-03 07:28:02 +00:00
Dmitriy Zaporozhets
767bd78081
Use Contributor class instead of hash
2014-07-02 15:09:06 +03:00
Dmitriy Zaporozhets
5a88873e5c
Move API contributors logic to repository model
2014-07-02 14:43:23 +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
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
Marin Jankovski and Dmitriy Zaporozhets
f40e87a03b
Return better error when account exists when attempting oauth account create.
2014-06-24 15:30:29 +03:00
Dmitriy Zaporozhets
aadef92f1d
Merge pull request #7013 from jvanbaarsen/better-webhook-information
...
Return a little more information in Issue webhook
2014-06-24 10:37:15 +03:00
Marin Jankovski
4c575b72d5
Move checking of recepients to a service.
2014-06-23 15:44:49 +02:00
Marin Jankovski
63c1cdce42
Show @all in autocomplete list.
2014-06-23 11:54:58 +02:00
Boris HUISGEN
bac7d17c7b
Fix LDAP TLS authentication
2014-06-19 10:41:23 +02:00
Andrew Kumanyaev
45f9d15c0e
Fix mistake in reference_jira_issue method
...
Use local variable instead global
2014-06-18 11:11:09 +04:00
Jacob Vosmaer
3f1ece2690
Detect closing issues in Merge Request description
2014-06-13 17:25:44 +02:00
Jeroen van Baarsen
87760a290e
Added an UrlBuilder for building rails named routes
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2014-06-13 12:34:15 +02:00
Dmitriy Zaporozhets
9fd6c3d591
Merge branch 'huge-repo-improve' into 'master'
...
Better support for huge repositories
This MR contains next improvements to GitLab:
* You can see repo commits count even if it is > 100k commits
* Prevent 500 for commit page for large repos
* Add notice about huge push over http to unicorn config
* File action in satellites uses default 30 seconds timeout instead of old 10 seconds one
* Show spinner when loading data for network graph
2014-06-11 21:09:23 +00:00
Dmitriy Zaporozhets
56f0f6aba3
Use same 30 seconds satellite timeout for all actions
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-11 23:37:21 +03:00
Marin Jankovski
314e4736e4
Strip apostrophe from email generated usernames.
2014-06-11 17:06:28 +02:00
Dmitriy Zaporozhets
f881e43677
Merge pull request #7024 from skv-headless/linkto_issues_on_main_dashboard
...
links to issues on main dashboard
2014-06-11 15:02:48 +03:00
Dmitriy Zaporozhets
a7be3dfa30
Remove set of thread variables
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-10 17:51:49 +03:00
Dmitriy Zaporozhets
d8c7efa626
Dont allow git tag rewrite/removal unless you are master
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-30 16:26:45 +03:00
skv and GitLab
9c046fea67
links to issues on main dashboard
2014-05-26 13:24:21 +00:00
Dmitriy Zaporozhets
36cac35b24
Dont allow remove of protected branch
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-22 15:38:47 +03: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