Marin Jankovski
5e985a7eed
Use emoji assets on autocomplete.
2014-03-24 14:22:11 +01:00
Dmitry Medvinsky
fefab47456
Fix /:username.keys response content type
...
Currently this method responds with `text/html`. It is kind of unusable
if you open it in a browser. The browser thinks it is HTML and renders
it as HTML, meaning new lines are dropped. So it's very hard to
distinguish where the key starts and where it ends.
This commit changes the content type header to `text/plain`.
2014-03-20 19:09:14 +04:00
Marin Jankovski
a740e2d6d1
Do not allow password reset for ldap user.
2014-03-18 12:25:49 +01:00
Ciro Santillli
548f070f0e
Show link to public projects for new users.
2014-03-17 13:02:04 +01:00
Dmitriy Zaporozhets
a39eeba1dc
Render 404 instead of 500 if trying to see snippets of unexisting user
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-14 15:55:41 +02:00
Dmitriy Zaporozhets
e07b2f527f
Fix global search
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-14 14:41:28 +02:00
Dmitriy Zaporozhets
1ec106b853
Merge branch 'ldap_connections'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-03-14 12:58:43 +02:00
Dmitriy Zaporozhets
0d7986a8c7
Merge branch 'import-timeout' of https://dev.gitlab.org/dzaporozhets/gitlabhq into dzaporozhets/gitlabhq-import-timeout
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
db/schema.rb
2014-03-14 12:00:21 +02:00
Jacob Vosmaer
48e9054056
Open/close LDAP in ApplicationController
...
By opening the LDAP connection at the controller level we can reuse it
for all LDAP queries during the request.
2014-03-14 09:03:49 +01:00
Dmitriy Zaporozhets
65cb88f3ba
Correct BackgroundJobs page for both OSX and linux
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-13 23:15:33 +02:00
Dmitriy Zaporozhets
aaff356655
Redirect to import page from show when import in progress
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-13 10:27:05 +02:00
Dmitriy Zaporozhets
37db76a31b
Project import and retry import scaffold
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-12 19:25:48 +02:00
Dmitriy Zaporozhets
c6d39a14d6
Add User#requires_ldap_check? method
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-11 10:24:07 +02:00
Dmitriy Zaporozhets
e57e1e04e3
Remove non-exist method from ldap security check
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-11 09:15:04 +02:00
Dmitriy Zaporozhets
b1ff8e31b1
Add ldap check in application_controller and internal api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-10 17:10:23 +02:00
Dmitriy Zaporozhets
8634d0d5c1
Sort projects by activity at group show page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-06 18:31:08 +02:00
Robert Speicher
1688a29023
Add GFM autocompletion for MergeRequests
...
Requested
[here](http://feedback.gitlab.com/forums/176466-general/suggestions/5507440-auto-complete-merge-requests-in-gitlab-markdown ).
2014-03-05 23:24:03 -05:00
Dmitriy Zaporozhets
f1d8efb770
Merge branch 'shell_new_style' into 'master'
...
Use new style shell commands
2014-03-05 10:45:46 +00:00
Jacob Vosmaer
2b816075dc
Replace backticks with Gitlab::Popen
2014-03-03 08:40:29 +01:00
Dmitriy Zaporozhets
36b065e634
Feature: reopen closed merge request
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-28 22:43:16 +02:00
Dmitriy Zaporozhets
a9280de11f
Better redirect for edit blod from MergeRequest
...
If you cancel edit you will be redirected back to merge request
If you submit changes you will be redirected back to merge request
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-26 14:06:31 +02:00
Dmitriy Zaporozhets
5d6e4bd2d8
Fix gitlab ci widget for forks
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-26 13:18:27 +02:00
Dmitriy Zaporozhets
1ff1b6d816
Merge pull request #5719 from jacob-carlborg/mr_target
...
By default, target original repository if it's a fork when creating new MR.
2014-02-26 12:33:48 +02:00
Dmitriy Zaporozhets
645e8d4705
Move services for collecting items to Finders
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 19:15:08 +02:00
Dmitriy Zaporozhets
0f47367492
Fix mr preload assoc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 18:15:11 +02:00
Dmitriy Zaporozhets
8eeebf0de6
Generate labels set from issues page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 17:47:29 +02:00
Dmitriy Zaporozhets
a1b9b1d83f
Use rails preload for Dashboard issues, mr
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 17:42:22 +02:00
Dmitriy Zaporozhets
2171bbcd6e
Update rack profiler
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 17:41:56 +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
4401382798
Fix 500 error when try to update own profile in admin area
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-25 10:15:43 +02:00
Jacob Carlborg and Jacob Carlborg
9439cb5526
By default, target original repository if fork when creating new MR.
2014-02-24 22:06:25 +01: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
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
Dmitriy Zaporozhets
e39f0de8ee
Add edit button to MergeRequest diff
...
It will redirect you to file edit page.
After submit changes you will be redirected back to merge request.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-20 16:39:13 +02:00
Dmitriy Zaporozhets
1c61ac1c64
Refactor MR code reload
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-18 20:17:26 +02:00
Dmitriy Zaporozhets
702128892b
Allow change assignee/milestone from MergeRequest show page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-18 16:24:27 +02:00
Dmitriy Zaporozhets
6f0126385d
Merge pull request #6313 from jvanbaarsen/fix-6207-msi-mimetype
...
Fixes #6207 Allow raw download of *.msi files
2014-02-18 11:25:34 +02:00
Dmitriy Zaporozhets
f745c6e5b5
Merge branch 'improve_large_groups' into 'master'
...
Improve for large groupsImprove for large groups
This merge request is a set of patched to improve application for large groups with more then 100 people.
Pages to be improved:
✅ Group#members page
✅ Project#issues page
✅ Project#merge_requests page
✅ Project#new_issue page
✅ Project#new_mr page
✅ Project#members page
2014-02-14 13:13:42 +00:00
Jason Hollingsworth
29cfd33d94
Add email aliases for users
...
Emails are used to associate commits with users. The emails
are not verified and don't have to be valid email addresses. They
are assigned on a first come, first serve basis.
Notifications are sent when an email is added.
2014-02-13 22:59:39 -06:00
Jeroen van Baarsen
aaad7fd973
Fixes #6207 Allow raw download of *.msi files
...
This PR also allows for download of [exe,rar,r0n,7z,7zip,zip]
Fix was originaly proposed by @MensSana
2014-02-13 20:09:11 +01:00
Dmitriy Zaporozhets
abb3121308
Show only people who have assigned merge requests in assignee dropdown
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-13 13:59:07 +02:00
Dmitriy Zaporozhets
13ecbb04bc
Show only people who have assigned issues in assignee dropdown
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-13 13:57:11 +02:00
Dmitriy Zaporozhets
af9d7fafa9
Adopt Group#members page for large groups (> 100 users)
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-13 11:00:44 +02:00
Ciro Santillli
439a61783d
User can leave group from group page.
2014-02-12 15:52:53 +01:00
Dmitriy Zaporozhets
0bcabdaf83
Use gitlab_git 5.4.0 without BROKEN_DIFF constant
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-12 12:54:49 +02:00
Dmitriy Zaporozhets
1bcf0aa2e6
Merge pull request #6297 from jojosch/user-public-ssh-keys-newline
...
Split the user ssh keys by newline, not the characters "\n"
2014-02-11 21:07:52 +02:00
Dmitriy Zaporozhets
6e47fbf5d9
Merge branch 'bug/gravatr_select2' into 'master'
...
Dont use gravatars for user select if gravatar is disabled
Fixes #836
2014-02-11 18:28:21 +00:00
Johannes Schleifenbaum
f10153818b
Split the user ssh keys by newline, not the characters "\n"
...
before:
GET /user.keys
ssh-rsa ...\nssh-rsa ...\nssh-rsa ...
after:
GET /user.keys
ssh-rsa ...
ssh-rsa ...
sha-rsa ...
2014-02-11 19:24:23 +01:00
Dmitriy Zaporozhets
39aeac71b3
Merge pull request #6177 from cirosantilli/public-user-pages
...
User pages are public
2014-02-11 18:43:03 +02:00
Dmitriy Zaporozhets
aef782888f
Merge pull request #5261 from devaroop/retrieve_ssh_keys_by_ssh
...
ssh keys publically available for sysadmins via http, the github way
2014-02-11 18:41:10 +02:00