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
2016-04-07refactored create_or_update_import_dataJames Lopez
2016-04-07refactored a few things based on MR feedbackJames Lopez
2016-04-07Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez
fix/project-import_url
2016-04-07Merge branch 'api-filter-milestone' into 'master' Rémy Coutable
API: Ability to filter milestones by state Ability to filter milestones by `active` and `closed` state. * Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14931 See merge request !3566
2016-04-07Merge branch 'feature/expose-builds-badge' into 'master' Rémy Coutable
Expose badges This MR exposes badge somewhere in visible place. ![expose_badges](/uploads/d2e290d3013d1ef2b1bdeebbbe2c5d8b/expose_badges.png) Closes #13801 See merge request !3326
2016-04-07Merge branch 'master' of github.com:gitlabhq/gitlabhqRobert Schilling
2016-04-07Merge branch 'saml-external-groups' into 'master' Robert Speicher
Allow SAML to identify external users and set them as such Related to #4009 Fixes #14577 This allows SAML to retrieve group information form the `SAML Response` and match that to a setting that will flag all matching users as external. See merge request !3530
2016-04-07Merge branch 'patch/fix-markdown-preview-wikis' into 'master' Robert Speicher
Wiki preview URL converting problem [via Markdown] Current implementation when rendering the preview, thinks relative links are for project repository files. We are creating a new preview route that will define correct context data to render for wikis instead. Fixes #2380, #1184 See merge request !3461
2016-04-07Implemented suggested fixesPatricio Cano
2016-04-07little refactor and improvements on specsGabriel Mazetto
2016-04-07Merge branch 'patch/fix-ldap-unblock-user-logic' into 'master' Robert Speicher
Unblocks user when active_directory is disabled and it can be found We implemented a specific block state to handle user blocking that originates from LDAP filtering rules / directory state in !2242. That introduced a regression in LDAP authentication when Active Directory support was disabled. You could have a scenario where the user would not be temporarily found (like a filtering rule), that would mark the user as `ldap_blocked`, but will never unblock it automatically when that state changed. Fixes #14253, #13179, #13259, #13959 See merge request !3550
2016-04-07Added CHANGELOG itemPatricio Cano
2016-04-07Merge branch 'fix-markdown-rendering' into 'master' Douwe Maan
Fix header link rendering when containing numbers This fixes the problem where Markdown such as: ### 31st Would get rendered as a link tag pointing to issue number 31 inside a header tag. See gitlab-org/gitlab-ce#14936 for more information. cc @rspeicher See merge request !3568
2016-04-07Fix error that was causing only one group to be returned and corrected specs ↵Patricio Cano
to use the proper attribute type
2016-04-06Revert "API: Ability to retrieve a single tag"Robert Schilling
This reverts commit 7f287c9136d5d1cdda8df170c6e772ca82aad1e9.
2016-04-06Improve coding and doc styleRobert Schilling
2016-04-06API: Ability to filter milestones by stateRobert Schilling
2016-04-06Extend build status badge, add html/markdown methodsGrzegorz Bizon
2016-04-06Merge branch 'metrics-measure-block' into 'master' Robert Speicher
Support for measuring Ruby blocks using GitLab performance monitoring This adds support for measuring timings of arbitrary Ruby blocks. Fixes #14710 See merge request !3515
2016-04-06Expose user location in APIRobert Schilling
2016-04-06Measure Ruby blocks using Gitlab::MetricsYorick Peterse
This allows measuring of timings of arbitrary Ruby blocks, this allows for more fine grained performance monitoring. Custom values and tags can also be attached to a block.
2016-04-06Fix header link rendering when containing numbersYorick Peterse
This fixes the problem where Markdown such as: ### 31st Would get rendered as a link tag pointing to issue number 31 inside a header tag. See gitlab-org/gitlab-ce#14936 for more information.
2016-04-06API: Ability to retrieve a single tagRobert Schilling
2016-04-06Changed the argument of not_found for 'unprotect'Yasser Hussain
not_found appends string "Not Found" to the argument causing the resulting message to be "Branch does not exist Not Found" which is an incorrect error message. Changed the argument of not_found! for 'unprotect' command to "Branch" from "Branch does not exist". This makes the final error message to appear as "Branch Not Found" which is correct and same as error messages for other commands like 'protect'.
2016-04-06fix some issues with credentialsJames Lopez
2016-04-06Ensure correct filter order to validate with our markdown specGabriel Mazetto
2016-04-06Fix a few edited references from WikiLinkFilter and specsGabriel Mazetto
2016-04-06Fixed WikiPipeline and specsGabriel Mazetto
2016-04-06Changed config syntax and improved how chaanges in group memberships are ↵Patricio Cano
handled when external groups is set up
2016-04-05Unblocks user when active_directory is disabled and it can be foundGabriel Mazetto
2016-04-05some refactoring to symbolise keys across importers and left a TODOJames Lopez
2016-04-05Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez
fix/project-import_url
2016-04-05Wrap images in discussions and wikis with a link to the image source using ↵connorshea
ImageLinkFilter. Resolves #14411. See merge request !3464
2016-04-05Prepare SAML for group retrievalPatricio Cano
2016-04-04Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez
fix/project-import_url # Conflicts: # db/schema.rb
2016-04-04Cleaned up caching in AbstractReferenceFilterYorick Peterse
Cleaning this up any further is a bit tricky as the caches in question should only be evaluated if RequestStore is actually enabled.
2016-04-04Cache default_issues_tracker? in BanzaiYorick Peterse
Every object processed by ExternalIssueReferenceFilter can return a different Project instance when calling "project". For example, every note processed will have it's own associated Project. If we were to cache Project#default_issues_tracker? on Project level this would have no impact on Markdown rendering timings as the cache would have to be built for every Project instance without it ever being re-used. To work around this we cache Project#default_issues_tracker? in Banzai::Filter::ExternalIssueReferenceFilter using the project's _id_ instead of the whole object. This setup allows re-using of the cached data even when the Project instances used are different, as long as the actual project IDs are the same.
2016-04-04Memoize object class titlesYorick Peterse
For an issue with around 200 notes this cuts down timings by around 150 milliseconds.
2016-04-04Cache Banzai class methods returning static dataYorick Peterse
These methods always return the same data for every class so there's no point in computing their values on every call.
2016-04-04Refactor processing of various Banzai filtersYorick Peterse
These filters now use a single iteration over all the document nodes instead of multiple ones. This in turn allows variables to be re-used (e.g. links only have to be unescaped once). Combined with some other refactoring this can drastically reduce render timings.
2016-04-04Cache Banzai projects/objects using RequestStoreYorick Peterse
This was originally suggested by @ayufan and modified to be a bit cleaner and use RequestStore instead of a regular Hash. By caching the output of the two methods involved the number of queries is reduced significantly. For example, for an issue with 200 notes (of which 100 reference a number of merge requests) this cuts down the amount of queries from around 6300 to around 3300.
2016-04-04corrected a couple of based on MR reviewJames Lopez
2016-04-03Merge branch 'add-ability-to-archive-a-project-via-api-14296' into 'master' Douwe Maan
Add endpoints for archiving and unarchiving Closes #14296 See merge request !3372
2016-04-01Merge branch 'routing' into 'master' Robert Speicher
Added & use Gitlab::Routing for URL helpers Extracted from !3389 See merge request !3486
2016-04-01Merge branch 'fix/fogbugz-import' into 'master' Robert Speicher
spec and fix for fogbugz lonely user problem Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14766 I encountered this issue while manually testing all import types for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3066 This is really due to a horrible API ``` { 'people' => { 'person' => array_of_people_or_single_person_as_hash } } ``` See merge request !3457
2016-04-01remove useless varJames Lopez
2016-04-01fixes after more import testingJames Lopez
2016-04-01fix github import issuesJames Lopez
2016-04-01fix fogbugz importJames Lopez
2016-04-01Added & use Gitlab::Routing for URL helpersYorick Peterse
Rails' "url_helpers" method creates an anonymous Module (which a bunch of methods) on every call. By caching the output of this method in a dedicated method we can shave off about 10 seconds of loading time for an issue with around 200 comments.