Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
974c16d3
Commit
974c16d3
authored
Oct 20, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Minor bug fixes for rss feeds
See merge request
nexedi/slapos.core!433
parents
8086cd4a
984569a5
Pipeline
#24344
passed with stage
in 0 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Base_getEventList.py
...teItem/portal_skins/slapos_rss_style/Base_getEventList.py
+4
-3
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
...ns/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
+1
-1
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
...apos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
+1
-1
No files found.
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Base_getEventList.py
View file @
974c16d3
...
@@ -36,7 +36,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(
...
@@ -36,7 +36,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(
security_query
=
portal
.
portal_catalog
.
getSecurityQuery
(),
security_query
=
portal
.
portal_catalog
.
getSecurityQuery
(),
# Limit only to listable portal types
# Limit only to listable portal types
portal_type
=
[
'Web Message'
,
'Mail Nessage'
],
portal_type
=
[
'Web Message'
,
'Mail Nessage'
],
follow_up_simulation_state
=
[
'validated'
,
'submitted'
,
'suspended'
,
'invalidated'
,
follow_up_simulation_state
=
[
'validated'
,
'submitted'
,
'suspended'
,
'invalidated'
,
# Unfortunally Upgrade decision uses diferent states.
# Unfortunally Upgrade decision uses diferent states.
'confirmed'
,
'started'
,
'stopped'
,
'delivered'
],
'confirmed'
,
'started'
,
'stopped'
,
'delivered'
],
only_accountable
=
False
,
only_accountable
=
False
,
...
@@ -48,6 +48,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(
...
@@ -48,6 +48,7 @@ for brain in portal.portal_simulation.getMovementHistoryList(
(
'uid'
,
'desc'
)),
(
'uid'
,
'desc'
)),
**
context_kw
):
**
context_kw
):
event
=
brain
.
getObject
()
event
=
brain
.
getObject
()
(
ticket_title
,
(
ticket_title
,
ticket_category
,
ticket_category
,
ticket_link
)
=
getTicketInfo
(
event
)
ticket_link
)
=
getTicketInfo
(
event
)
...
@@ -56,10 +57,10 @@ for brain in portal.portal_simulation.getMovementHistoryList(
...
@@ -56,10 +57,10 @@ for brain in portal.portal_simulation.getMovementHistoryList(
Object
(
**
{
Object
(
**
{
'title'
:
ticket_title
,
'title'
:
ticket_title
,
'category'
:
ticket_category
,
'category'
:
ticket_category
,
'author'
:
brain
.
node_title
,
'author'
:
event
.
getSourceTitle
(
checked_permission
=
"View"
)
,
'link'
:
ticket_link
,
'link'
:
ticket_link
,
'description'
:
event
.
getTextContent
(),
'description'
:
event
.
getTextContent
(),
'pubDate'
:
brain
.
date
,
'pubDate'
:
event
.
getStartDate
()
,
'guid'
:
'{}-{}'
.
format
(
'guid'
:
'{}-{}'
.
format
(
event
.
getFollowUp
(),
event
.
getFollowUp
(),
event
.
getRelativeUrl
()),
event
.
getRelativeUrl
()),
...
...
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/Folder_viewOpenTicketList/listbox.xml
View file @
974c16d3
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
</tuple>
</tuple>
<tuple>
<tuple>
<string>
description
</string>
<string>
description
</string>
<string>
summary
</string>
<string>
description
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
link
</string>
<string>
link
</string>
...
...
master/bt5/slapos_rss_style/SkinTemplateItem/portal_skins/slapos_rss_style/WebSection_viewTicketListAsRSS/listbox.xml
View file @
974c16d3
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</tuple>
</tuple>
<tuple>
<tuple>
<string>
description
</string>
<string>
description
</string>
<string>
D
escription
</string>
<string>
d
escription
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
link
</string>
<string>
link
</string>
...
...
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