summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| | |
| * | Fix tests.Douwe Maan2015-04-032-4/+2
| | |
| * | Allow projects to be imported from Google Code.Douwe Maan2015-04-034-0/+127
| | |
* | | Merge branch 'ldap_migration'Dmitriy Zaporozhets2015-04-131-14/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: db/schema.rb
| * | | Remove test for 'ldap' provider special caseJacob Vosmaer2015-04-131-14/+0
| | | |
* | | | Merge branch 'reference-access-control' into 'master'Dmitriy Zaporozhets2015-04-132-112/+113
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Only allow users to reference groups, projects, issues, MRs, commits they have access to. Addresses https://dev.gitlab.org/gitlab/gitlabhq/issues/2183. See merge request !1742
| * | | Update tests.Douwe Maan2015-04-032-48/+54
| | | |
| * | | Fix errors.Douwe Maan2015-04-021-79/+74
| | | |
* | | | Move lib/gitlab/oauth to lib/gitlab/o_authRobert Speicher2015-04-092-0/+0
| |/ / |/| | | | | | | | Lets Rails autoload these files by name
* | | Merge branch 'configurable-attachment-size' into 'master'Douwe Maan2015-04-031-0/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support configurable attachment size in Application Settings page ### What does this MR do? This MR provides the ability to configure the maximum size of an attachment inside a note. A parameter has been added to the Application Settings page. ### Are there points in the code the reviewer needs to double check? What should be done with the legacy note attachment validation? I added code to make the validation work with the configurable setting. I could see an issue where an admin lowers the limit from 10 megabytes to 5 megabytes, which could cause an existing model to be invalid. ### Why was this MR needed? We often have attachments that exceed 10 MB, and it would be nice to be able to override the defaults. ### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)? See Issue #1258 ### Screenshots Before: ![Screen_Shot_2015-03-29_at_3.06.53_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6013a1dbc8cf61a63e93744149937fa0/Screen_Shot_2015-03-29_at_3.06.53_PM.png) After: ![Screen_Shot_2015-03-29_at_3.12.34_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/f3518af7e8653ba40f0a3579456da6ad/Screen_Shot_2015-03-29_at_3.12.34_PM.png) See merge request !407
| * | | Support configurable attachment size via Application SettingsStan Hu2015-04-021-0/+43
| |/ / | | | | | | | | | | | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258