Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't reload ActiveRecord objects when building note URLs | Sean McGivern | 2017-07-11 | 1 | -5/+3 |
| | | | | | | | | | | When we build a note URL, and we have the note loaded already, there are two cases: 1. The `noteable` is already loaded. In that case, this is faster as it doesn't build a new AR object from the query. 2. The `noteable` is not already loaded. In that case, this change is no worse than the previous code. | ||||
* | Include new URL helpers retroactively into includers of Gitlab::Routingdm-fix-project-path-helpers-production | Douwe Maan | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | Create and use project path helpers that only need a project, no namespace | Douwe Maan | 2017-07-05 | 1 | -4/+4 |
| | |||||
* | Added more actions and report as abuse to all notes | Luke "Jared" Bennett | 2017-06-07 | 1 | -1/+6 |
| | |||||
* | API: Endpoint to expose personal snippets as /snippets | Guyzmo | 2016-12-01 | 1 | -0/+2 |
| | | | | | | | | | | Adding the necessary API for the new /snippets Restful resource added with this commit. Added a new Grape class `Snippets`, as well as a `PersonalSnippet` entity. Issue: #20042 Merge-Request: !6373 Signed-off-by: Guyzmo <guyzmo+gitlab+pub@m0g.net> | ||||
* | url_builder: handle project snippets | Ben Boeckel | 2016-08-24 | 1 | -0/+2 |
| | |||||
* | Use the relative url prefix for links in Wiki | Artem Sidorenko | 2016-05-13 | 1 | -1/+1 |
| | |||||
* | Revert "Merge branch 'wiki-fix' into 'master' " | Rémy Coutable | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | This reverts commit 4cc85a58e8ca00f5a4ecbd2bca40a0cad867b817, reversing changes made to 90ae445ba930068d04adc5a009dbdeabe4cb3e34. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use the proper GitLab URL for links in Wiki | Artem Sidorenko | 2016-05-09 | 1 | -1/+1 |
| | |||||
* | add wiki_page helper to url_builder | Sebastian Klier | 2016-04-20 | 1 | -0/+6 |
| | |||||
* | Refactor and expose only Gitlab::UrlBuilder.build(record)simplify-gitlab-url_builder-15202 | Rémy Coutable | 2016-04-13 | 1 | -33/+41 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch 'routing' into 'master' | Robert Speicher | 2016-04-01 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Added & use Gitlab::Routing for URL helpers Extracted from !3389 See merge request !3486 | ||||
| * | Added & use Gitlab::Routing for URL helpersrouting | Yorick Peterse | 2016-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Fix view of notes in search results when noteable is a snippetsnippets-with-comments-cause-a-500-when-they-show-up-in-search-results-14764 | Rémy Coutable | 2016-03-31 | 1 | -7/+5 |
| | | | | | | | | | | | | Also, streamline the view. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | | Rename Note#for_project_snippet? to #for_snippet? | Rémy Coutable | 2016-03-31 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g | Dmitriy Zaporozhets | 2015-09-09 | 1 | -6/+2 |
|\ | |||||
| * | Fix URL construction for merge requests, issues, notes, and commits for ↵ | Stan Hu | 2015-09-04 | 1 | -6/+2 |
| | | | | | | | | | | | | relative URL config Closes https://github.com/gitlabhq/gitlabhq/issues/9605 | ||||
* | | Move helpers back to original directory | Dmitriy Zaporozhets | 2015-09-09 | 1 | -1/+1 |
| | | |||||
* | | Groundwork for merging CI into CE | Douwe Maan | 2015-08-25 | 1 | -2/+2 |
|/ | |||||
* | Enforce restricted visibilities for snippets | Vinnie Okada | 2015-03-08 | 1 | -3/+3 |
| | | | | | | Add new service classes to create and update project and personal snippets. These classes are responsible for enforcing restricted visibility settings for non-admin users. | ||||
* | Added comment notification events to HipChat and Slack services. | Stan Hu | 2015-03-06 | 1 | -0/+29 |
| | | | | | | | | | Supports four different event types all bundled under the "note" event type: - comments on a commit - comments on an issue - comments on a merge request - comments on a code snippet | ||||
* | Fix URL builder to use GitlabRoutingHelper | Stan Hu | 2015-03-03 | 1 | -11/+7 |
| | |||||
* | Fix merge request URL passed to Webhooks. | Stan Hu | 2015-02-24 | 1 | -0/+9 |
| | | | | Previously the symbol "url" in the object_attributes hash would always be nil. | ||||
* | Upgrade to Rails 4.1.9 | Vinnie Okada | 2015-02-14 | 1 | -3/+4 |
| | | | | | | 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. | ||||
* | Use Gitlab.config instead of Settings everywhere | Ciro Santilli | 2014-10-15 | 1 | -1/+1 |
| | |||||
* | Added an UrlBuilder for building rails named routes | Jeroen van Baarsen | 2014-06-13 | 1 | -0/+25 |
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> |