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
AgeCommit message (Collapse)Author
2016-12-01use wiki pages index for sidebar overflow and limit sidebar list to 15 pagesMike Greiling
2016-08-11Rename `markdown_preview` routes to `preview_markdown`Christopher Bartz
2016-07-01Enable Style/EmptyLines cop, remove redundant onesGrzegorz Bizon
2016-06-14Forbid scripting for wiki filesSean McGivern
Wiki files (not pages - files in the repo) are just sent to the browser with whatever content-type the mime_types gem assigns to them based on their extension. As this is from the same domain as the GitLab application, this is an XSS vulnerability. Set a CSP forbidding all sources for scripting, CSS, XHR, etc. on these files.
2016-06-09Hook up the updated `WikiLinkFilter` to the wiki controllers.Timothy Andrew
- Need to pass in a `page_slug` to the filter, so it can rewrite based on the current page (all links are rewritten to the level of the app root). - The earlier `markdown_preview` endpoint was at the level of the wiki. We need to know the current page (for rewriting, as above), so this commit moves the endpoint to the level of a wiki page. - Fix all tests
2016-05-26Split Markdown rendering & reference gatheringYorick Peterse
This splits the Markdown rendering and reference extraction phases into two distinct code bases. The reference extraction phase no longer relies on the html-pipeline Gem (and any related code) and allows for extracting of references from multiple HTML nodes in a single pass. This means that if you want to extract user references from 200 comments you no longer need to run 200 times N number of queries, instead only a handful of queries may be needed.
2016-04-29Fix error when trying to create a wiki pageRémy Coutable
Closes #15527. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-20improve check if wiki page is persistedSebastian Klier
2016-04-20remove unnecessary methodsSebastian Klier
2016-04-20add slack notifications for wiki pagesSebastian Klier
update changelog
2016-03-30Add specific markdown_preview route for WikisGabriel Mazetto
2016-03-20Use the configured Kaminari "per page" defaultRobert Speicher
2015-10-03Fix rubocop warnings in appGuilherme Garnier
2015-09-02Fix broken Wiki Page HistoryStan Hu
Closes #2104 Closes #1751 Closes #1592 Closes https://github.com/gitlabhq/gitlabhq/issues/9399
2015-06-26Update controller filtersDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26Rename abilities to correspond contoller/model action namesDmitriy Zaporozhets
write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-20Fixed the Rails/ActionFilter copJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-07Fix bug where Wiki pages that include a '/' were no longer accessibleStan Hu
Closes #1363
2015-03-13Use same constant for amount of items per pageDmitriy Zaporozhets
2015-03-03Add brakeman rake task and improve code securityDmitriy Zaporozhets
2015-02-14Upgrade to Rails 4.1.9Vinnie Okada
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
2015-02-03Rubocop: indentation fixes Yay!!!Dmitriy Zaporozhets
2014-06-07Added ability to serve files in wiki repositoryLoic Nageleisen
From #6168.
2014-05-05Fix styling issues.Marin Jankovski
2014-04-24Serve a file if in wiki.Marin Jankovski
2014-04-11Speed up loading and add pagination to wiki pages page.Marin Jankovski
2014-04-09Rename wiki variablesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-06-23Move projects controllers/views in Projects moduleDmitriy Zaporozhets