Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
link
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
link
Commits
2b28a0329472
Commit
2b28a0329472
authored
15 years ago
by
Sylvain Thénault
Browse files
Options
Downloads
Plain Diff
default is stable
parents
1f30a20357d5
49ce29444355
No related branches found
Branches containing commit
Tags
cubicweb-link-centos-version-1.7.0-1
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
__pkginfo__.py
+2
-2
2 additions, 2 deletions
__pkginfo__.py
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/control
+1
-1
1 addition, 1 deletion
debian/control
schema.py
+2
-2
2 additions, 2 deletions
schema.py
test/unittest_link.py
+2
-11
2 additions, 11 deletions
test/unittest_link.py
with
13 additions
and
16 deletions
__pkginfo__.py
+
2
−
2
View file @
2b28a032
...
...
@@ -4,7 +4,7 @@
modname
=
'
link
'
distname
=
"
cubicweb-%s
"
%
modname
numversion
=
(
1
,
4
,
0
)
numversion
=
(
1
,
4
,
1
)
version
=
'
.
'
.
join
(
str
(
num
)
for
num
in
numversion
)
license
=
'
LGPL
'
...
...
@@ -31,7 +31,7 @@
# dependencies
__depends_cubes__
=
{}
__depends__
=
{
'
cubicweb
'
:
'
>= 3.6.
0
'
}
__depends__
=
{
'
cubicweb
'
:
'
>= 3.6.
1
'
}
__use__
=
tuple
(
__depends_cubes__
)
# packaging
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
6
−
0
View file @
2b28a032
cubicweb-link (1.4.1-1) unstable; urgency=low
* new upstream release
-- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 24 Feb 2010 15:53:48 +0100
cubicweb-link (1.4.0-1) unstable; urgency=low
* new upstream release
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
1
−
1
View file @
2b28a032
...
...
@@ -11,7 +11,7 @@
Architecture: all
Conflicts: erudi-link, erudi-link-server, erudi-link-client, erudi-link-comp
Replaces: erudi-link, erudi-link-server, erudi-link-client, erudi-link-comp
Depends: cubicweb-common (>= 3.6.
0
)
Depends: cubicweb-common (>= 3.6.
1
)
Description: link component for the CubicWeb framework
This CubicWeb component provides links (a URL with a description).
.
...
...
This diff is collapsed.
Click to expand it.
schema.py
+
2
−
2
View file @
2b28a032
...
...
@@ -13,5 +13,5 @@
class
embed
(
RelationType
):
__permissions__
=
{
'
read
'
:
(
'
managers
'
,
'
users
'
,
'
guests
'
),
'
dele
te
'
:
(
'
managers
'
,),
'
add
'
:
(
'
managers
'
,)
}
'
upda
te
'
:
(
'
managers
'
,),
}
This diff is collapsed.
Click to expand it.
test/unittest_link.py
+
2
−
11
View file @
2b28a032
...
...
@@ -27,12 +27,7 @@
return
[(
rschema
.
type
,
x
)
for
rschema
,
tschemas
,
x
in
iterable
]
e
=
self
.
vreg
[
"
etypes
"
].
etype_class
(
'
Link
'
)(
self
.
request
())
# we should only see embed when we are in the managers group
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
add
'
)),
[(
'
title
'
,
'
subject
'
),
(
'
url
'
,
'
subject
'
),
(
'
embed
'
,
'
subject
'
),
(
'
description
'
,
'
subject
'
),
(
'
eid
'
,
'
subject
'
)])
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
delete
'
)),
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
update
'
)),
[(
'
title
'
,
'
subject
'
),
(
'
url
'
,
'
subject
'
),
(
'
embed
'
,
'
subject
'
),
(
'
description
'
,
'
subject
'
),
...
...
@@ -41,11 +36,7 @@
self
.
login
(
'
toto
'
)
# create a new instance with the new connection
e
=
self
.
vreg
[
"
etypes
"
].
etype_class
(
'
Link
'
)(
self
.
request
())
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
add
'
)),
[(
'
title
'
,
'
subject
'
),
(
'
url
'
,
'
subject
'
),
(
'
description
'
,
'
subject
'
),
(
'
eid
'
,
'
subject
'
)])
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
delete
'
)),
self
.
assertEquals
(
rbc
(
afs
.
relations_by_section
(
e
,
'
main
'
,
'
attributes
'
,
'
update
'
)),
[(
'
title
'
,
'
subject
'
),
(
'
url
'
,
'
subject
'
),
(
'
description
'
,
'
subject
'
),
(
'
eid
'
,
'
subject
'
)])
...
...
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