Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blog
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
blog
Commits
018653152bc1
Commit
018653152bc1
authored
15 years ago
by
sylvain thenault
Browse files
Options
Downloads
Plain Diff
merge
parents
bc483eb454ce
39542905b515
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
__pkginfo__.py
+1
-1
1 addition, 1 deletion
__pkginfo__.py
debian/changelog
+7
-2
7 additions, 2 deletions
debian/changelog
entities.py
+12
-12
12 additions, 12 deletions
entities.py
with
21 additions
and
15 deletions
.hgtags
+
1
−
0
View file @
01865315
e601c995d930d016802e0b9aa95a5b4625aa74e4 e601c995d930
e601c995d930d016802e0b9aa95a5b4625aa74e4 e601c995d930
254df3c3e18df7aca19e818e6907afaa045f8931 cubicweb-blog-version-1_5_0
254df3c3e18df7aca19e818e6907afaa045f8931 cubicweb-blog-version-1_5_0
0bc1f3ac26ca77221ab2a3dedb525341d2ab55b9 cubicweb-blog-debian-version-1_5_0-1
0bc1f3ac26ca77221ab2a3dedb525341d2ab55b9 cubicweb-blog-debian-version-1_5_0-1
de2fb8748325126a71d2e5fb7281d7d369671523 cubicweb-blog-version-1_5_1
This diff is collapsed.
Click to expand it.
__pkginfo__.py
+
1
−
1
View file @
01865315
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
distname
=
"
cubicweb-blog
"
distname
=
"
cubicweb-blog
"
modname
=
distname
.
split
(
'
-
'
,
1
)[
1
]
modname
=
distname
.
split
(
'
-
'
,
1
)[
1
]
numversion
=
(
1
,
5
,
0
)
numversion
=
(
1
,
5
,
1
)
version
=
'
.
'
.
join
(
str
(
num
)
for
num
in
numversion
)
version
=
'
.
'
.
join
(
str
(
num
)
for
num
in
numversion
)
license
=
'
LGPL
'
license
=
'
LGPL
'
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
7
−
2
View file @
01865315
cubicweb-blog (1.5.1-1) unstable; urgency=low
* new upstream release
-- Katia Saurfelt <katia.saurfelt@logilab.fr> Wed, 22 Apr 2009 10:02:35 +0200
cubicweb-blog (1.5.0-1) unstable; urgency=low
cubicweb-blog (1.5.0-1) unstable; urgency=low
...
@@ -1,7 +7,6 @@
...
@@ -1,7 +7,6 @@
cubicweb-blog (1.5.0-1) unstable; urgency=low
cubicweb-blog (1.5.0-1) unstable; urgency=low
* hide the blogs box when it's empty
* new upstream release
* blog entry to multiple blogs
-- Graziella Toutoungis <graziella.toutoungis@logilab.fr> Mon, 30 Mar 2009 14:33:03 +0100
-- Graziella Toutoungis <graziella.toutoungis@logilab.fr> Mon, 30 Mar 2009 14:33:03 +0100
...
...
This diff is collapsed.
Click to expand it.
entities.py
+
12
−
12
View file @
01865315
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
def
dc_title
(
self
):
def
dc_title
(
self
):
return
self
.
title
return
self
.
title
def
dc_description
(
self
):
def
dc_description
(
self
,
format
=
'
text/plain
'
):
return
self
.
printable_value
(
'
content
'
)
return
self
.
printable_value
(
'
content
'
,
format
=
format
)
## calendar interfaces ####################################################
## calendar interfaces ####################################################
@property
@property
def
start
(
self
):
def
start
(
self
):
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
@property
@property
def
stop
(
self
):
def
stop
(
self
):
return
self
.
creation_date
return
self
.
creation_date
def
matching_dates
(
self
,
begin
,
end
):
def
matching_dates
(
self
,
begin
,
end
):
"""
calendar views interface
"""
"""
calendar views interface
"""
mydate
=
self
.
creation_date
mydate
=
self
.
creation_date
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
def
isioc_container
(
self
):
def
isioc_container
(
self
):
rset
=
self
.
related
(
'
entry_of
'
)
rset
=
self
.
related
(
'
entry_of
'
)
entity
=
rset
.
get_entity
(
0
,
0
)
entity
=
rset
.
get_entity
(
0
,
0
)
return
entity
return
entity
def
isioc_type
(
self
):
def
isioc_type
(
self
):
return
'
BlogPost
'
return
'
BlogPost
'
...
@@ -54,6 +54,6 @@
...
@@ -54,6 +54,6 @@
return
entity
return
entity
def
isioc_type
(
self
):
def
isioc_type
(
self
):
return
'
BlogPost
'
return
'
BlogPost
'
def
isioc_replies
(
self
):
def
isioc_replies
(
self
):
...
@@ -59,5 +59,5 @@
...
@@ -59,5 +59,5 @@
def
isioc_replies
(
self
):
def
isioc_replies
(
self
):
return
[]
return
[]
def
isioc_topics
(
self
):
def
isioc_topics
(
self
):
return
[]
return
[]
...
@@ -61,9 +61,9 @@
...
@@ -61,9 +61,9 @@
def
isioc_topics
(
self
):
def
isioc_topics
(
self
):
return
[]
return
[]
class
Blog
(
AnyEntity
):
class
Blog
(
AnyEntity
):
"""
customized class for Blog entities
"""
"""
customized class for Blog entities
"""
id
=
'
Blog
'
id
=
'
Blog
'
__rtags__
=
{
'
entry_of
'
:
'
create
'
}
__rtags__
=
{
'
entry_of
'
:
'
create
'
}
...
@@ -65,10 +65,10 @@
...
@@ -65,10 +65,10 @@
class
Blog
(
AnyEntity
):
class
Blog
(
AnyEntity
):
"""
customized class for Blog entities
"""
"""
customized class for Blog entities
"""
id
=
'
Blog
'
id
=
'
Blog
'
__rtags__
=
{
'
entry_of
'
:
'
create
'
}
__rtags__
=
{
'
entry_of
'
:
'
create
'
}
__implements__
=
AnyEntity
.
__implements__
+
(
ISiocContainer
,)
__implements__
=
AnyEntity
.
__implements__
+
(
ISiocContainer
,)
def
rss_feed_url
(
self
):
def
rss_feed_url
(
self
):
if
self
.
rss_url
:
if
self
.
rss_url
:
...
@@ -82,5 +82,5 @@
...
@@ -82,5 +82,5 @@
def
isioc_items
(
self
):
def
isioc_items
(
self
):
return
self
.
reverse_entry_of
return
self
.
reverse_entry_of
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment