Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
7f33eb39
Commit
7f33eb39
authored
Mar 12, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix xml.updated field in rss/atom feeds
parent
9ed3db91
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
5 deletions
+9
-5
app/views/dashboard/issues.atom.builder
app/views/dashboard/issues.atom.builder
+1
-1
app/views/events/_event.atom.builder
app/views/events/_event.atom.builder
+1
-1
app/views/groups/issues.atom.builder
app/views/groups/issues.atom.builder
+1
-1
app/views/issues/_issue.atom.builder
app/views/issues/_issue.atom.builder
+1
-1
app/views/projects/issues/index.atom.builder
app/views/projects/issues/index.atom.builder
+1
-1
changelogs/unreleased/fix_updated_field_in_issues-atom.yml
changelogs/unreleased/fix_updated_field_in_issues-atom.yml
+4
-0
No files found.
app/views/dashboard/issues.atom.builder
View file @
7f33eb39
...
...
@@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.link href: url_for(params), rel: "self", type: "application/atom+xml"
xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html"
xml.id issues_dashboard_url
xml.updated @issues.first.
cre
ated_at.xmlschema if @issues.reorder(nil).any?
xml.updated @issues.first.
upd
ated_at.xmlschema if @issues.reorder(nil).any?
xml << render(partial: 'issues/issue', collection: @issues) if @issues.reorder(nil).any?
end
app/views/events/_event.atom.builder
View file @
7f33eb39
...
...
@@ -4,7 +4,7 @@ xml.entry do
xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}"
xml.link href: event_feed_url(event)
xml.title truncate(event_feed_title(event), length: 80)
xml.updated event.
cre
ated_at.xmlschema
xml.updated event.
upd
ated_at.xmlschema
xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(event.author_email))
xml.author do
...
...
app/views/groups/issues.atom.builder
View file @
7f33eb39
...
...
@@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.link href: url_for(params), rel: "self", type: "application/atom+xml"
xml.link href: issues_group_url, rel: "alternate", type: "text/html"
xml.id issues_group_url
xml.updated @issues.first.
cre
ated_at.xmlschema if @issues.reorder(nil).any?
xml.updated @issues.first.
upd
ated_at.xmlschema if @issues.reorder(nil).any?
xml << render(partial: 'issues/issue', collection: @issues) if @issues.reorder(nil).any?
end
app/views/issues/_issue.atom.builder
View file @
7f33eb39
...
...
@@ -2,7 +2,7 @@ xml.entry do
xml.id namespace_project_issue_url(issue.project.namespace, issue.project, issue)
xml.link href: namespace_project_issue_url(issue.project.namespace, issue.project, issue)
xml.title truncate(issue.title, length: 80)
xml.updated issue.
cre
ated_at.xmlschema
xml.updated issue.
upd
ated_at.xmlschema
xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(issue.author_email))
xml.author do
...
...
app/views/projects/issues/index.atom.builder
View file @
7f33eb39
...
...
@@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.link href: url_for(params), rel: "self", type: "application/atom+xml"
xml.link href: namespace_project_issues_url(@project.namespace, @project), rel: "alternate", type: "text/html"
xml.id namespace_project_issues_url(@project.namespace, @project)
xml.updated @issues.first.
cre
ated_at.xmlschema if @issues.reorder(nil).any?
xml.updated @issues.first.
upd
ated_at.xmlschema if @issues.reorder(nil).any?
xml << render(partial: 'issues/issue', collection: @issues) if @issues.reorder(nil).any?
end
changelogs/unreleased/fix_updated_field_in_issues-atom.yml
0 → 100644
View file @
7f33eb39
---
title
:
Fix xml.updated field in rss/atom feeds
merge_request
:
9889
author
:
blackst0ne
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment