summaryrefslogtreecommitdiff
path: root/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
* | Doc typoRobert Speicher2015-04-301-1/+1
| |
* | Update the Gitlab::Markdown docsRobert Speicher2015-04-301-25/+1
| |
* | Add Gitlab::Markdown::SanitizationFilterRobert Speicher2015-04-302-31/+41
| | | | | | | | | | This just extends the HTML::Pipeline::SanitizationFilter with our custom whitelist.
* | Add Gitlab::Markdown::AutolinkFilterRobert Speicher2015-04-302-1/+98
| |
* | Add Gitlab::Markdown::TableOfContentsFilterRobert Speicher2015-04-302-0/+67
| | | | | | | | Removes header and table of contents processing from Redcarpet renderer.
* | Show incompatible projects in Google Code import statusStan Hu2015-04-301-0/+4
|/ | | | | | | | 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
* Fix (project_)name_regex to accept non-ASCII letters and dashJakub Jirutka2015-04-271-4/+4
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-04-2711-197/+148
|\
| * Merge branch 'fix-gitorious-importer' into 'master'Dmitriy Zaporozhets2015-04-271-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | Get Gitorious importer to work again. Fixes #1504. See merge request !576
| | * Get Gitorious importer to work again.fix-gitorious-importerDouwe Maan2015-04-241-1/+1
| | |
| * | Merge branch 'rs-minor-styles' into 'master'Dmitriy Zaporozhets2015-04-271-14/+25
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor design change grab-bag :tada: I started with one simple change and found a few more, so here they are. ### Simplify icon style selectors All FontAwesome icons have an `fa` class, so just use that. ### Don't override color of code blocks in notes This was a pet peeve of mine. | Before | After | |:------:|:-----:| | ![Screen_Shot_2015-04-23_at_4.14.23_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/c77cb0816bf0f05cb8c4105cdd8b3ec6/Screen_Shot_2015-04-23_at_4.14.23_PM.png) | ![Screen_Shot_2015-04-23_at_4.15.44_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/463c1d2052e12444563f5e2c102ac51e/Screen_Shot_2015-04-23_at_4.15.44_PM.png) | ### Items with tooltips don't need a 'data-original-title' attribute This attribute gets added dynamically by Bootstrap's tooltip JS based on the `title` attribute ### Fix Profile > Design live-updating `ui_blue` wasn't added to the list of classes to remove, so if a user changed to that theme, any subsequent changes wouldn't be live-updated. This change refactors Gitlab::Theme a bit to make it harder for this to happen in the future with new themes. ### Remove the `has_bottom_tooltip` class Bootstrap's tooltip JS can read the placement from a `data-placement` attribute. Further, when we supply the `selector` option to `tooltip`, tooltips will be added to any dynamically-added elements matching the selector, without us having to re-call the `tooltip` method. See merge request !569
| | * | Fix Profile > Design live-updatingRobert Speicher2015-04-251-14/+25
| | |/ | | | | | | | | | | | | | | | | | | | | | `ui_blue` wasn't added to the list of classes to remove, so if a user changed to that theme, any subsequent changes wouldn't be live-updated. This change refactors Gitlab::Theme a bit to make it harder for this to happen in the future with new themes.
| * | Convert UserReferenceFilter#link_to_group to use a guard clauseRobert Speicher2015-04-251-7/+5
| | |
| * | Refactor `UserReferenceFilter#user_link_filter`Robert Speicher2015-04-251-35/+43
| | |
| * | Fix docs for `push_result`Robert Speicher2015-04-251-2/+2
| | | | | | | | | | | | [ci skip]
| * | Fix NotificationService specRobert Speicher2015-04-252-5/+5
| | |
| * | Add CommitRange directly to results HashRobert Speicher2015-04-251-1/+1
| | |
| * | DRY up ReferenceExtractorRobert Speicher2015-04-251-9/+11
| | |
| * | Don't allow nil references to get added to resultsRobert Speicher2015-04-251-0/+2
| | |
| * | Update CommitRangeReferenceFilter to use CommitRange classRobert Speicher2015-04-251-33/+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-1/+1
| | | | | | | | | | | | | | | | | | 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-119/+36
| | |
| * | Add results to reference filtersRobert Speicher2015-04-257-2/+22
| | |
| * | Initialize the references result Hash in ReferenceFilterRobert Speicher2015-04-251-0/+16
| |/
* | Merge pull request #9186 from Senorsen/patch-1Dmitriy Zaporozhets2015-04-271-1/+1
|\ \ | |/ |/| Fix contributions calendar empty problem under mysql
| * Fix contributions calendar empty problem under mysqlZhang Sen2015-04-251-1/+1
| | | | | | | | | | | | | | When using MySQL as database backend in GitLab, ``date`` in ``date(created_at), count(id) as total_amount`` won't return the ``date`` column (should be ``date(created_at)``), as a result, there's no contribution in the user profile page. Adding an ``as date`` can solve this problem.
* | Revert "Rename namespace_regex to namespace_path_regex."Douwe Maan2015-04-244-7/+7
| | | | | | | | This reverts commit c0116926c743818b2593474946abb40b56d8fefa.
* | Rename namespace_regex to namespace_path_regex.Douwe Maan2015-04-244-7/+7
| |
* | Revert "Revert disallowing usernames to end in period."Douwe Maan2015-04-241-2/+2
| | | | | | | | This reverts commit c75c6b840ba9ed82bb01eca52e968c2b0ec985e6.
* | Fix errors.Douwe Maan2015-04-241-1/+0
| |
* | No longer needed to pass project argument to commit methods.Douwe Maan2015-04-242-3/+2
| |
* | Use project.commit convenience method.Douwe Maan2015-04-244-4/+4
|/
* Provide autoload paths for filters to prevent circular dependencyRobert Speicher2015-04-232-4/+15
|
* Merge branch 'issue-body-code-mentions' into 'master'Dmitriy Zaporozhets2015-04-231-2/+2
|\ | | | | | | | | | | | | | | Fix bug causing at-username inside code blocks to sometimes be picked up as a user mention. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2254. See merge request !553
| * Fix bug causing `@whatever` inside code blocks to sometimes be picked up as ↵issue-body-code-mentionsDouwe Maan2015-04-211-2/+2
| | | | | | | | a user mention.
* | Use `search_text_nodes` helper in our custom filtersrs-search_text_nodesRobert Speicher2015-04-222-2/+2
| | | | | | | | Closes #1477
* | Update Gitlab::Markdown to use the :new: EmojiFilter :sparkles:Robert Speicher2015-04-211-12/+16
| | | | | | | | Removes emoji-centric tests from GFM specs :boom:
* | Add Gitlab::Markdown::EmojiFilterRobert Speicher2015-04-211-0/+79
| |
* | Merge branch 'rs-reference-filters' into 'master'Dmitriy Zaporozhets2015-04-2112-285/+874
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Tweak single-word label regex to fix pending spec.Douwe Maan2015-04-201-1/+1
| | |
| * | project_from_ref returns nil when reference doesn't exist.Douwe Maan2015-04-201-9/+6
| | |
| * | project_from_ref returns nil when reference can't be accessedRobert Speicher2015-04-206-9/+14
| | | | | | | | | | | | | | | Prior it would return the project from the current context, which wasn't the intended behavior.
| * | Better commit lookup for CommitRangeReferenceFilterRobert Speicher2015-04-201-3/+15
| | |
| * | Remove extraneous IGNORE_PARENTS from filterRobert Speicher2015-04-201-4/+0
| | |
| * | Fix `user_can_reference_project?` checkRobert Speicher2015-04-201-1/+1
| | |
| * | Escape title attributes in referencesRobert Speicher2015-04-206-5/+10
| | |
| * | Better guard against nil projects in ReferenceFilterRobert Speicher2015-04-202-2/+7
| | |
| * | Minor doc fixRobert Speicher2015-04-201-1/+1
| | | | | | | | | | | | [ci skip]
| * | Fix Issue and ExternalIssue reference specsRobert Speicher2015-04-201-0/+4
| | |
| * | DRY up reference filters using ReferenceFilter base classRobert Speicher2015-04-2010-320/+55
| | |