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/spec
AgeCommit message (Collapse)Author
2015-09-14Merge branch 'public_profiles' into 'master'Dmitriy Zaporozhets
Make all group public https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1219# Internal issue - https://dev.gitlab.org/gitlab/gitlabhq/issues/1361 See merge request !1247
2015-09-14Merge branch 'forked-repo-creation-async' into 'master'Dmitriy Zaporozhets
Import forked repositories asynchronously to prevent large repositories from timing out Preserve synchronous mode of adding a repository since some tasks (e.g. restore/check) require the former. One side bug fix is that the `ProjectCacheWorker` is also run, updating the repository size and commit numbers properly. Previously all the values were set to 0 when a project were forked. * Closes #2388 * Closes #2400 See merge request !1231
2015-09-14Fix tests and improve wordingDmitriy Zaporozhets
2015-09-14Fix tests for group accessDmitriy Zaporozhets
2015-09-11Merge branch 'dashboard-titles' into 'master'Dmitriy Zaporozhets
Clean up overlap between dashboard and explore - Clean up overlap between dashboard and explore. ... 5d785457 - Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not. - Consistently case `Back to X` links. 260fcd45 - Link to help from signin page bottom. d92696d3 - Make Help accessible for guests. c258e977 cc @dzaporozhets See merge request !1260
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-11Import forked repositories asynchronously to prevent large repositories from ↵Stan Hu
timing out Use import_status to track async import status and give feedback to the user Closes #2388 Closes #2400
2015-09-11Add comments and clean up test for !1274Stan Hu
2015-09-10Add specs for syntax_highlight JSRobert Speicher
Also makes it work when given a parent element containing a `.js-syntax-highlight` element so for dynamically-added things like notes or Markdown previews, we can more accurately target just the element we care about.
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-10Merge branch 'master' into dashboard-titlesDouwe Maan
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-09Fix help access specDouwe Maan
2015-09-09Merge branch 'global_labels' into 'master'Dmitriy Zaporozhets
Global labels https://dev.gitlab.org/gitlab/gitlabhq/issues/2353 See merge request !1240
2015-09-09Make all group publicValery Sizov
2015-09-09FogBugz project importJared Szechy
2015-09-08Use new routing helperDouwe Maan
2015-09-08Move partial to right place and fix tests.Douwe Maan
2015-09-07Merge branch 'annotate-models' into 'master'Dmitriy Zaporozhets
Re-annotate models See merge request !1253
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-06Re-annotate modelsStan Hu
2015-09-05Remove style attribute from textarea during ZenMode activationRobert Speicher
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2466
2015-09-04add Content-Type header of raw image filepilsner
Add Content-Type header to fix a bug which IE can't show image in markdown when the image is from raw. modified: CHANGELOG modified: app/controllers/projects/raw_controller.rb modified: spec/controllers/projects/raw_controller_spec.rb
2015-09-03added spinach for glabal labelsValery Sizov
2015-09-03Add API method for get user by ID of an SSH keyArtem V. Navrotskiy
2015-09-02Merge branch 'fix-raw-controller-disposition' into 'master'Dmitriy Zaporozhets
Remove the filename argument from Content-Disposition header This MR removes the filename argument from the `Content-Disposition` header to avoid RFC 5987 and RFC 6266 encoding issues. Some browsers (e.g. Internet Explorer) do not properly decode a Unicode string properly, and this can lead to odd filenames in the raw file download. This change allows the browser to determine the filename based on the URL. For example, if I have a file called `한글한글.pptx` and click to download it with the "Raw" button in the Files section, IE11 will ask: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/fdb688282c0d4564872deadb44c58b2c/image.png) If you look at the `Content-Disposition` field, you see this: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/2b342b83ae1ec61fd31937163ace8ec5/image.png) Chrome, Firefox, and Safari seem to be able to handle UTF-8 encoded filenames, even though this is not standard. See: http://greenbytes.de/tech/tc2231/ Closes https://github.com/gitlabhq/gitlabhq/issues/9595 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/1829 I've also submitted a pull request to Rails to support RFC 6266: https://github.com/rails/rails/pull/21461 See merge request !1235
2015-09-02Remove the filename argument from Content-Disposition header to avoidStan Hu
RFC 5987 and RFC 6266 encoding issues. This change allows the browser to determine the filename based on the URL. See: http://greenbytes.de/tech/tc2231/ Closes https://github.com/gitlabhq/gitlabhq/issues/9595 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/1829
2015-09-02Drone CI serviceKirilll Zaitsev
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-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-01Merge branch 'fix-branches-cache-after-merge' into 'master'Valery Sizov
Expire cache when merge request source branch was removed Re-implement !1160 for 8.0. Also we have tests for MergeWorker now! Yay :sparkles: Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1224
2015-09-01Make sure the `gfm` helper passes the required optionsRobert Speicher
This adds some duplication, but this helper is temporary.
2015-08-31Remove invalid spec for GitlabMarkdownHelperRobert Speicher
2015-08-31Merge branch 'dont-notify-users-without-project-access' into 'master'Robert Speicher
Don't notify users without access to the project when they are (accidentally) mentioned in a note. Addresses #2366. See merge request !1216
2015-08-29Merge branch 'master' into joelkoglin/gitlab-ce-feature_fix_ldap_auth_issue_993Douwe Maan
2015-08-28Expire cache when merge request source branch was removedDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-28Reference filters no longer take a custom class context optionRobert Speicher
2015-08-28Restore the forwarded HTML options in link_to_gfmRobert 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).
2015-08-27Merge branch 'rs-remove-user-color-scheme-class' into 'master'Douwe Maan
Apply syntax highlighting to fenced code blocks client-side Instead of applying the syntax highlighting scheme class to these blocks server-side, we use Javascript and Gon to apply the user's color scheme (or the default) client-side. This will make it easier to cache these blocks in the future because they're no longer state-dependent. See merge request !1203
2015-08-27Don't notify users without access to the project when they are ↵Douwe Maan
(accidentally) mentioned in a note.
2015-08-26Re-add user_color_scheme helperRobert Speicher
Update PreferencesHelper specs
2015-08-26Fix two more failing specsRobert Speicher
2015-08-26Fix failing specRobert Speicher
2015-08-26Remove user_color_scheme_classRobert Speicher
Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent.
2015-08-26Add Gitlab::ColorSchemes moduleRobert Speicher
Very similar to Gitlab::Theme, this contains all of the definitions for our syntax highlighting schemes.
2015-08-25Merge branch 'rs-re-enable-user-reference-spec' into 'master'Douwe Maan
Re-enable the "links with adjacent text" UserReferenceFilter spec See merge request !1194