Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2015-09-11Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-11Remove network from CIDmitriy Zaporozhets
2015-09-11Merge branch 'rs-fix-highlighting' into 'master'Douwe Maan
Syntax highlighting improvements On the server side: During development I would occasionally see SanitizationFilter sanitizing the result of SyntaxHighlightFilter, even though its attributes were whitelisted. This updates the `clean_spans` transformer to return the whitelisted node as [suggested by the Sanitize docs](http://git.io/vZR8i). On the client side: - Makes the syntax_highlight JS more flexible - Adds JS specs - Simplifies highlighting of new notes - Adds highlighting to Markdown preview See merge request !1278
2015-09-11Add comments and clean up test for !1274Stan Hu
2015-09-10RU-BO-COOOOOOOOPRobert Speicher
2015-09-10Prevent result of SyntaxHighlightFilter being sanitizedRobert Speicher
2015-09-10Merge branch 'rescue-syntax-highlighting-errors' into 'master'Robert Schilling
Gracefully handle errors in syntax highlighting by leaving the block unformatted A bug in Rouge caused an Exception: ```undefined method `sub' for :Literal:Symbol``` That caused https://gitlab.com/embeddable-common-lisp/ecl/issues/156 to hit Error 500 and fail to display. If a failure occurs, just render the text as preformatted. Closes #2433 See merge request !1274
2015-09-10Added service API endpoint to retrieve service parametersPetheo Bence
2015-09-10Gracefully handle errors in syntax highlighting by leaving the block unformattedStan Hu
Closes #2433
2015-09-09Merge branch 'fix-emojis-relative-url' into 'master'Douwe Maan
Fix emoji URLs in Markdown when relative_url_root is used Path/URL helpers (e.g. `asset_url_helper`) already include the relative_url_root, so there is no need to attach it twice. Also adds the ability to run rspecs with relative_url_defined on the enviornment. For example: RELATIVE_URL_ROOT=/gitlab rspec Closes #1728 See merge request !1254
2015-09-09integration with gitlab authValery Sizov
2015-09-09Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets
2015-09-09Move helpers back to original directoryDmitriy Zaporozhets
2015-09-09Shuffle config around a bitDouwe Maan
2015-09-09Merge branch 'nginx-git-http' into 'master'Dmitriy Zaporozhets
Do not let NGINX buffer Git HTTP requests Before this change NGINX would convert a chunked HTTP POST (e.g. git push) into a HTTP 1.0 single large POST. This creates an unnecessary delay, and it creates unnecessary memory pressure on gitlab-git-http-server. For the response ('proxy_buffering') I am less sure that NGINX 's buffering behavior is harmful, but it still makes more sense to me not to interfere with gitlab-git-http-server (and the Golang net/http server). See merge request !1256
2015-09-09FogBugz project importJared Szechy
2015-09-08Add attributes to LDAP::Config.Douwe Maan
2015-09-08Allow configuration of LDAP attributes GitLab will use for the new user account.Douwe Maan
2015-09-07The good stuff needs NGINX 1.7.11Jacob Vosmaer
2015-09-07Do not let NGINX buffer Git HTTP requestsJacob Vosmaer
Before this change NGINX would convert a chunked HTTP POST (e.g. git push) into a HTTP 1.0 single large POST. This creates an unnecessary delay, and it creates unnecessary memory pressure on gitlab-git-http-server. For the response ('proxy_buffering') I am less sure that NGINX 's buffering behavior is harmful, but it still makes more sense to me not to interfere with gitlab-git-http-server (and the Golang net/http server).
2015-09-07Merge branch 'url-builder-fix-for-relative-urls' into 'master'Dmitriy Zaporozhets
Fix URL construction for merge requests, issues, notes, and commits for relative URL config This MR fixes the constructor of URL links for systems using relative URLs in the application config. The `host` parameter was used improperly, supplying an extra path (e.g. https://mydomain.com/gitlab) and unnecessary scheme. We should be able to default to the URL options set in `8_default_url_options.rb` file. Closes https://github.com/gitlabhq/gitlabhq/issues/9605 See merge request !1250
2015-09-07Merge branch 'upgrade-redis-required-check' into 'master'Marin Jankovski
Upgrade Redis requirement check to 2.4.0 per https://github.com/mperham/sidekiq/pull/957 Closes #2222 Closes #2445 See merge request !1251
2015-09-06Fix emoji URLs in Markdown when relative_url_root is usedStan Hu
Also adds the ability to run rspecs with relative_url_defined on the enviornment. For example: RELATIVE_URL_ROOT=/gitlab rspec Closes #1728
2015-09-06Use File.join to prevent extra slash in help message from appearing. Before:Stan Hu
``` Try fixing it: sudo -u git -H /opt/gitlab/embedded/service/gitlab-shell//bin/create-hooks ```
2015-09-06Upgrade Redis requirement check to 2.4.0 per ↵Stan Hu
https://github.com/mperham/sidekiq/pull/957 Closes #2222 Closes #2445
2015-09-05Fix URL construction for merge requests, issues, notes, and commits for ↵Stan Hu
relative URL config Closes https://github.com/gitlabhq/gitlabhq/issues/9605
2015-09-03Fix `rake services:doc` generationStan Hu
[ci skip]
2015-09-03Add API method for get user by ID of an SSH keyArtem V. Navrotskiy
2015-09-02Merge branch 'grack-auth-new-instance' into 'master'Dmitriy Zaporozhets
Avoid instance variable re-use trouble This is the quickest/dumbest/safest way I could think of to prevent the instance variable reuse problems we have on dev.gitlab.org now. See merge request !1237
2015-09-02Avoid instance variable re-use troubleJacob Vosmaer
This is the quickest/dumbest/safest way I could think of to prevent the instance variable reuse problems we have on dev.gitlab.org now.
2015-09-02Drone CI serviceKirilll Zaitsev
2015-09-02Merge branch 'use_db_for_application_settings' into 'master'Marin Jankovski
Check if database connection exists when loading application settings !1217 broke omnibus-gitlab nightly builds. In omnibus-gitlab we precompile assets without a running database. See merge request !1230
2015-09-01Merge branch 'rs-cleanup-redcarpet-renderer' into 'master'Douwe Maan
Decouple Gitlab::Markdown from the GitlabMarkdownHelper This module is now the sole source of knowledge for *how* we render Markdown (and GFM). See merge request !1223
2015-09-01Merge branch 'fix-bitbucket-import-issue-order' into 'master'Douwe Maan
Import all Bitbucket issues and sort issues by creation date Previously only the first 15 Bitbucket issues would be imported. Other issues in the API return call also calls import errors. Tested by importing 400+ issues from this repo: https://bitbucket.org/ned/coveragepy API reference here: https://bitbucket.org/site/master/issues/3571/api-issues-sorting-bb-3518 Closes https://github.com/gitlabhq/gitlabhq/issues/9519 See merge request !1226
2015-09-01Require gitlab/markdown in ReferenceExtractorRobert Speicher
2015-09-01Fix bug where only the first 15 Bitbucket issues would be imported.Stan Hu
Also fix a number of issues where author/reporter names were not available.
2015-09-01Added USE_DB env var to allow loading fake settings without db running.Marin Jankovski
2015-09-01Sort issues by creation date in Bitbucket importerStan Hu
API reference here: https://bitbucket.org/site/master/issues/3571/api-issues-sorting-bb-3518 Closes https://github.com/gitlabhq/gitlabhq/issues/9519
2015-08-31Remove unnecessary `strip` from `reference_class` methodRobert Speicher
2015-08-31Move REDCARPET_OPTIONS to a private methodRobert Speicher
There wasn't really a reason to have them as a constant, and we were getting "already defined" warnings which are always annoying.
2015-08-31Be more defensive when running 'kill'Jacob Vosmaer
2015-08-31Merge remote-tracking branch 'gitlab.com/master' into gitlab-git-http-serverJacob Vosmaer
2015-08-31Replace grack with gitlab-git-http-serverJacob Vosmaer
2015-08-29Merge branch 'master' into joelkoglin/gitlab-ce-feature_fix_ldap_auth_issue_993Douwe Maan
2015-08-29Minor refactorDouwe Maan
2015-08-28Merge branch 'fix-session_expire_delay' into 'master'Stan Hu
read session_expire_delay from database if table & column exists; Previous code only ends up using the default value for session_expire_delay, not the value stored in the database, making the session always 1 week. See merge request !1217
2015-08-28fixed connection detection so settings can be read from the databaseEric Maziade
2015-08-28Make sure the main Gitlab::Markdown module gets loaded before filtersRobert Speicher
2015-08-28Reference filters no longer take a custom class context optionRobert Speicher
2015-08-28Decouple Gitlab::Markdown from the GitlabMarkdownHelperRobert Speicher
This module is now the sole source of knowledge for *how* we render Markdown (and GFM).