- 30 Jul, 2015 8 commits
-
-
Jacob Vosmaer authored
Check that hooks directory exists before attempting to call realpath This MR checks that the hooks directories actually exist before attempting to resolve their `realpath`. Users who attempted to restore from source to an omnibus installation would get ugly errors when running `gitlab-rake gitlab:check`: ``` Errno::ENOENT: No such file or directory @ realpath_rec - /var/opt/gitlab/git-data/repositories/Wanda/www.git/hooks /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:488:in `realpath' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:488:in `block in check_repos_hooks_directory_is_link' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `block in find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:126:in `find_in_batches' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:51:in `find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/querying.rb:9:in `find_each' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:482:in `check_repos_hooks_directory_is_link' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:343:in `block (3 levels) in <top (required)>' Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check ``` Closes #2121 #2082 See merge request !1068
-
Stan Hu authored
Closes #2121
-
Douwe Maan authored
Fix network graph when branch name has single quotes ## Steps to reproduce 1. Create a branch with a single quote in the branch name: "`test`" 2. Look at Project's Network view Closes https://github.com/gitlabhq/gitlabhq/issues/9500 See merge request !1063
-
Job van der Voort authored
Switched the order of the SSH key form Now it looks like this: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/dca3353266e93cec9cfd9f2f16af8657/image.png) See merge request !1069
-
Marin Jankovski authored
Check that project was actually created rather than just validated in import:repos task Add gitlab-shell to error message to give user a clue that something may be wrong there. Ran into this in #2082. User was told that repositories were created when they were not due to `hooks` symlink being wrong. See merge request !1039
-
Stan Hu authored
Minor styling fixes - Link to rendered html instead of markdown source. - Removed typos See merge request !1044
-
Stan Hu authored
Closes https://github.com/gitlabhq/gitlabhq/issues/9500
-
Achilleas Pipinellis authored
Updated Twitter OmniAuth documentation See merge request !1071
-
- 29 Jul, 2015 15 commits
-
-
Raphaël Doursenaud authored
-
Darby authored
-
Stan Hu authored
Add gitlab-shell to error message to give user a clue that something may be wrong there. Ran into this in #2082. User was told that repositories were created when they were not due to hooks symlink being wrong.
-
Stan Hu authored
-
Stan Hu authored
Disabled autocapitalize and autocorrect on login field
-
Valery Sizov authored
Update chnagelog See merge request !1064
-
Valery Sizov authored
-
Valery Sizov authored
-
Valery Sizov authored
-
Douwe Maan authored
Experimental support for gitlab-git-http-server https://gitlab.com/gitlab-org/gitlab-git-http-server This change introduces the GITLAB_GRACK_AUTH_ONLY environment variable. When set, Grack requests to GitLab will only respond with the user's GL_ID (if the request is OK) or an error. This allows gitlab-git-http-server to use the main GitLab application as an authentication and authorization backend. If we like how this works we should drop the GITLAB_GRACK_AUTH_ONLY variable at some point in the future. See merge request !1915
-
Daryl Chan authored
- Updated CHANGELOG
-
Stan Hu authored
Switch back to rouge gem for synthax highlighting
-
Stefan Tatschner authored
Since gollum-lib blocks rouge from updating, let's bump the version manually. The fix has already been accepted upstream: https://github.com/gollum/gollum-lib/commit/9c042ea0914a7714abbda9d89e234c8a79fba893
-
Stefan Tatschner authored
This custom formatter for rouge is needed to generate HTML output specifically for gitlab. Since its usecase is mostly suitable for gitlab it had been rejected upstream: https://github.com/jneen/rouge/pull/268 Thanks a lot to @stanhu, @jneen and @tsigo for review!
-
Stefan Tatschner authored
I have mainly created the rugments fork for the purpose of improving gitlab's highlighting. Nowadays IMO it works way better than the old highlight.js solution. But the development is stuck on my side because of a couple of personal reasons: * I have finished my studies; last months I was writing my master thesis. So there was a huge time problem. I am sorry for that. * I had to move to Munich due to getting a (paid) job. Searching a flat here is horrible... :) * Last but not least, maintaining the same code base in two seperate projects is a mess. I have decided to switch back to rouge due to several reasons: * In the beginning I was quite motivated, but since I start working on my new job next week, the best solution IMO is switching back to upstream rouge. * Rouge is continously improving: https://github.com/jneen/rouge/blob/master/CHANGELOG.md http://rouge.jneen.net/ * There should be absolutely no regressions with this change. Most likely this pull request will almost fix some minor bugs. * One less gem in gitlab is a good thing. since Gitlab is quite a huge bundle of gems. Reducing complexity should be a major milestone. Thanks a lot to @stanhu and @jneen for the review!
-
- 28 Jul, 2015 17 commits
-
-
Robert Speicher authored
Make `hr`s more visible in note bodies Closes #2107 See merge request !1054
-
Robert Speicher authored
Fix bug causing Bitbucket importer to crash when OAuth application had been removed. Fixes gitlab-com/support-forum#241. See merge request !1057
-
Stan Hu authored
-
Stan Hu authored
Change before(:all) -> let! to avoid leaking data across tests Closes https://github.com/gitlabhq/gitlabhq/issues/9495 See merge request !1061
-
Stan Hu authored
Closes https://github.com/gitlabhq/gitlabhq/issues/9495
-
Stan Hu authored
Upgrade gitlab_git to version 7.2.6 to fix 500 Error when creating network graphs See merge request !1060
-
Stan Hu authored
Closes #745
-
GitLab authored
To make Rubocop and Douwe happy
-
GitLab authored
-
Job van der Voort authored
Added a timestamp to the wikis page just below the title Now it looks like this: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/813f85496db915cf14ee223c8b15478f/image.png) See merge request !1055
-
Job van der Voort authored
New document in GitLab Basics about adding new files See merge request !1913
-
Job van der Voort authored
Added info about repo size Because of tweet https://twitter.com/s_hulard/status/624160758335672320 See merge request !1912
-
Douwe Maan authored
-
GitLab authored
-
Jacob Vosmaer authored
https://gitlab.com/gitlab-org/gitlab-git-http-server This change introduces the GITLAB_GRACK_AUTH_ONLY environment variable. When set, Grack requests to GitLab will only respond with the user's GL_ID (if the request is OK) or an error. This allows gitlab-git-http-server to use the main GitLab application as an authentication and authorization backend. If we like how this works we should drop the GITLAB_GRACK_AUTH_ONLY variable at some point in the future.
-
Douwe Maan authored
Return comments in created order in merge request API Closes #1832 See merge request !985
-
Douwe Maan authored
Fix commit data retrieval when branch name has single quotes Quotes in ref names need to be escaped properly in JavaScript. Closes #1724 See merge request !1046
-