summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #8756 from zaburt/force_utf8_on_oauth_propertiesDmitriy Zaporozhets2015-05-031-28/+83
|\ | | | | add common method to force utf8 and force oauth properties to be utf8
| * add common method to force utf8 and force oauth properties to be utf8Onur Küçük2015-05-031-28/+83
| |
* | Add Project#get_issueRobert Speicher2015-04-301-4/+4
| |
* | Autolink short URLsRobert Speicher2015-04-301-0/+8
| |
* | Add jira_project project factoryRobert Speicher2015-04-301-18/+1
| |
* | Add Gitlab::Markdown::SanitizationFilterRobert Speicher2015-04-301-0/+81
| | | | | | | | | | This just extends the HTML::Pipeline::SanitizationFilter with our custom whitelist.
* | Add Gitlab::Markdown::AutolinkFilterRobert Speicher2015-04-301-0/+98
| |
* | Add Gitlab::Markdown::TableOfContentsFilterRobert Speicher2015-04-301-0/+101
| | | | | | | | Removes header and table of contents processing from Redcarpet renderer.
* | Show incompatible projects in Google Code import statusStan Hu2015-04-301-0/+1
|/ | | | | | | | Importing a JSON file with only one Subversion project lead to confusion over whether the system was working. Provide status why these projects could not be imported directly. Closes #1531
* Merge branch 'fix-commit-data-url-generation' into 'master'Douwe Maan2015-04-281-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug where commit data would not appear in some subdirectories Fix issue where commit data would not show up in some subdirectories due to escaped slashes. For example: https://gitlab.common-lisp.net/ecl/ecl/tree/develop/src/gc (now patched with fix) The upgrade from Rails v4.1.2 to v4.1.9 (76aad9b76ed) caused slashes in a tree to be escaped automatically. Using a wildcard glob in the route prevents this behavior. * Closes #1478, #1459 * Closes https://github.com/gitlabhq/gitlabhq/issues/9037 See merge request !581
| * Fix bug where commit data would not appear in some subdirectoriesStan Hu2015-04-261-0/+16
| | | | | | | | | | | | | | The upgrade from Rails v4.1.2 to v4.1.9 (76aad9b76ed) caused slashes in a tree to be escaped automatically. Using wildcard globs prevents this behavior. Closes #1478, #1459
* | Fix (project_)name_regex to accept non-ASCII letters and dashJakub Jirutka2015-04-271-0/+3
| |
* | Fix NotificationService specRobert Speicher2015-04-251-2/+2
| |
* | Add CommitRange directly to results HashRobert Speicher2015-04-251-4/+4
| |
* | Update CommitRangeReferenceFilter to use CommitRange classRobert Speicher2015-04-251-4/+10
| | | | | | | | | | Also matches CommitReferenceFilter's new behavior of always using short SHAs in the link text.
* | Always use short SHAs as commit reference link textRobert Speicher2015-04-251-4/+14
| | | | | | | | | | | | Now when a user pastes a full SHA like `d7f61affaf845f44b4cc995e34eb1606c47c8eff`, its link text will only show `d7f61aff` for brevity.
* | Refactor ReferenceExtractor to use pipeline filtersRobert Speicher2015-04-251-74/+0
| |
* | Add results to reference filtersRobert Speicher2015-04-257-16/+107
|/
* Use project.commit convenience method.Douwe Maan2015-04-245-11/+11
|
* Add Gitlab::Markdown::EmojiFilterRobert Speicher2015-04-211-0/+97
|
* Merge branch 'rs-reference-filters' into 'master'Dmitriy Zaporozhets2015-04-2110-1/+1026
|\ | | | | | | | | | | | | | | | | | | | | Convert GFM reference handling to html-pipeline filters - `Gitlab::Markdown` is now much cleaner - Better separation of concerns - Cleaner, less brittle, more maintainable specs for each reference type. - Label references actually work! See merge request !1753
| * Skip failing test until usernames can't end in periods againRobert Speicher2015-04-201-0/+1
| |
| * Tweak single-word label regex to fix pending spec.Douwe Maan2015-04-201-1/+0
| |
| * project_from_ref returns nil when reference doesn't exist.Douwe Maan2015-04-201-2/+8
| |
| * project_from_ref returns nil when reference can't be accessedRobert Speicher2015-04-201-2/+2
| | | | | | | | | | Prior it would return the project from the current context, which wasn't the intended behavior.
| * Add more tests for cross-project referencesRobert Speicher2015-04-205-84/+129
| |
| * Escape title attributes in referencesRobert Speicher2015-04-205-0/+36
| |
| * Add spec for ReferenceExtractor#labelsRobert Speicher2015-04-201-0/+9
| |
| * Fix Issue and ExternalIssue reference specsRobert Speicher2015-04-201-7/+15
| |
| * Fix cross-project reference specs for new permission checkRobert Speicher2015-04-205-0/+25
| | | | | | | | | | For simplicity's sake, since we're testing the actual referencing, we just force the permission check to always be allowed.
| * Check for project read permissions in cross-referencesRobert Speicher2015-04-201-9/+36
| |
| * Add permission checking to UserReferenceFilterRobert Speicher2015-04-201-4/+14
| |
| * Add name-based referencing to LabelReferenceFilterRobert Speicher2015-04-201-18/+95
| |
| * Fix ReferenceExtractor specRobert Speicher2015-04-201-1/+1
| |
| * Make CommitRange and Snippets cross-referableRobert Speicher2015-04-203-55/+82
| |
| * Fix GitlabMarkdownHelper specRobert Speicher2015-04-201-0/+8
| |
| * Reference filters :sparkles:Robert Speicher2015-04-209-0/+747
| | | | | | | | | | Commit ranges, commits, external issues, issues, labels, merge requests, snippets, users.
* | Update Google Code importer test.google-code-fixesDouwe Maan2015-04-211-3/+4
|/
* Move import data out of project so it doesn't take ages to load.Douwe Maan2015-04-171-1/+5
|
* Make sure user has access to namespace in import tests.Douwe Maan2015-04-155-5/+25
|
* Merge branch 'sstanovnik-openssh_fix' into 'master'Dmitriy Zaporozhets2015-04-151-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | Fix generating SSH key fingerprints with OpenSSH 6.8. Replaces https://github.com/gitlabhq/gitlabhq/pull/9008. Fixes gitlab-org/gitlab-ce#1289. cc @jacobvosmaer See merge request !519
| * Refactor key fingerprint generation.Douwe Maan2015-04-141-0/+12
| |
* | Merge branch 'ldap-block_auto_created_users' into 'master'Dmitriy Zaporozhets2015-04-151-7/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | Add config var to block auto-created LDAP users. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2110. See merge request !522
| * | Add config var to block auto-created LDAP users.Douwe Maan2015-04-141-7/+60
| | |
* | | Merge branch 'google-code-import' into 'master'Douwe Maan2015-04-154-2/+138
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import projects from Google Code. Resolves #1257. Issue import logic almost entirely taken from https://gitlab.com/o9000/google-code-to-gitlab ( :hearts: @o9000). ### To do - [x] List projects from Google Takeout file - [x] Import Git repository - [x] Import issues - [x] Link to correct attachment URL (https://code.google.com/p/support-tools/issues/detail?id=50) - [x] Handle deleted attachments - [x] Handle blockedOn attribute - [x] Add directions on how to get data from Google Takeout ### Import instructions ![Screen_Shot_2015-04-03_at_16.02.21](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4a87038035fbad9441cf613b8cdcc690/Screen_Shot_2015-04-03_at_16.02.21.png) ### Imported issue ![Screen_Shot_2015-04-03_at_16.25.49](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b2c2eaf5ecfcf57b3c48511eb5d26db4/Screen_Shot_2015-04-03_at_16.25.49.png) See merge request !471
| * | Import Google Code issue assignee when mapped.google-code-importDouwe Maan2015-04-141-3/+7
| | |
| * | Allow user map to be specified.Douwe Maan2015-04-141-2/+9
| | |
| * | Add comment number to imported Google Code comments.Douwe Maan2015-04-141-0/+1
| | |
| * | Remove author link since all code.google.com links will be shut down.Douwe Maan2015-04-141-2/+0
| | |
| * | Show Google Code image attachments inline.Douwe Maan2015-04-041-1/+2
| | |