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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
slapos.core
Commits
4ccb205e
Commit
4ccb205e
authored
Jul 22, 2011
by
Lucas Carvalho
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote branch 'origin/master' into networkcache_signature
parents
4211c7c6
a3361773
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
32 deletions
+52
-32
CHANGES.txt
CHANGES.txt
+3
-3
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/login_form.xml
...emplateItem/portal_skins/vifib_jauks_theme/login_form.xml
+7
-24
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+33
-0
setup.py
setup.py
+1
-1
slapos/console.py
slapos/console.py
+2
-2
slapos/format.py
slapos/format.py
+5
-1
No files found.
CHANGES.txt
View file @
4ccb205e
0.1
1 (unreleased
)
0.1
2 (2011-07-15
)
================
*
No changes yet
.
*
Include modifications that should have been included in 0.11
.
0.11 (2011-07-15)
================
* Bug fix : slapconsole : shorthand methods request and supply now correctly
return an object
return an object
. [Cedric de Saint Martin]
0.10 (2011-07-13)
=================
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/login_form.xml
View file @
4ccb205e
...
...
@@ -91,31 +91,14 @@
<div
class=
"field forgotten_password"
>
\n
<label>
</label>
\n
<div
class=
"field nolabel validate widthAuto"
title=
""
>
\n
\n
<label>
\n
Join\n
\n
\n
</label>
\n
<div
class=
"input"
><input
class=
"nolabel validate widthAuto"
src=
""
name=
"ERP5Site_viewCredentialRequestForm:method"
value=
"Join"
type=
"submit"
/></div>
\n
\n
\n
\n
</div>
\n
</div>
\n
<div
class=
"field nolabel cancel widthAuto"
title=
""
>
\n
\n
\n
<label>
\n
Lost password?\n
\n
\n
</label>
\n
<div
class=
"input"
><input
class=
"nolabel cancel widthAuto"
src=
""
name=
"ERP5Site_viewCredentialRecoveryLoginDialog:method"
value=
"Lost password?"
type=
"submit"
/></div>
\n
\n
\n
\n
<label>
Join
</label>
\n
<a
href=
"ERP5Site_viewCredentialRequestForm"
>
Join
</a>
\n
</div>
\n
<div
class=
"field nolabel cancel widthAuto"
title=
""
>
\n
<label>
Lost password?
</label>
\n
<a
href=
"ERP5Site_viewCredentialRecoveryLoginDialog"
>
Lost password?
</a>
\n
</div>
\n
</div>
\n
</fieldset>
\n
<script
type=
"text/javascript"
>
setFocus()
</script>
\n
<p
i18n:translate=
""
i18n:domain=
"ui"
>
Having trouble logging in? Make sure to enable cookies in your web browser.
</p>
\n
...
...
master/bt5/vifib_web/bt/revision
View file @
4ccb205e
297
\ No newline at end of file
298
\ No newline at end of file
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
4ccb205e
...
...
@@ -7590,6 +7590,39 @@ class TestVifibSlapWebService(testVifibMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
stepArchiveSoftwareRelease
(
self
,
sequence
,
**
kw
):
"""
Submit the software release document.
"""
software_release_uid
=
sequence
[
"software_release_uid"
]
software_release
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
software_release_uid
)
software_release
.
portal_workflow
.
doActionFor
(
software_release
,
'archive_action'
)
def
test_bug_archived_software_release_access
(
self
):
"""Checks that Computer has access to archived Software Release"""
sequence_string
=
self
.
\
prepare_start_requested_computer_partition_sequence_string
+
\
"""
LoginTestVifibDeveloper
ArchiveSoftwareRelease
Tic
Logout
SlapLoginCurrentComputer
SoftwareInstanceStarted
Tic
SlapLogout
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStarted
Logout
"""
sequence_list
=
SequenceList
()
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
########################################
# Other tests
########################################
...
...
setup.py
View file @
4ccb205e
...
...
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import
glob
import
os
version
=
'0.12
-dev
'
version
=
'0.12'
name
=
'slapos.core'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
slapos/console.py
View file @
4ccb205e
...
...
@@ -137,10 +137,10 @@ def init(config):
def
shorthandRequest
(
software_release
,
partition_reference
,
partition_parameter_kw
=
None
,
software_type
=
None
,
filter_kw
=
None
,
state
=
None
):
slap
.
registerOpenOrder
().
request
(
software_release
,
partition_reference
,
return
slap
.
registerOpenOrder
().
request
(
software_release
,
partition_reference
,
partition_parameter_kw
,
software_type
,
filter_kw
,
state
)
def
shorthandSupply
(
software_release
,
computer_guid
=
None
):
slap
.
registerSupply
().
supply
(
software_release
,
computer_guid
)
return
slap
.
registerSupply
().
supply
(
software_release
,
computer_guid
)
local
[
'request'
]
=
shorthandRequest
local
[
'supply'
]
=
shorthandSupply
...
...
slapos/format.py
View file @
4ccb205e
...
...
@@ -209,7 +209,11 @@ class Computer:
if
address_dict
[
'addr'
]
not
in
computer_partition_address_list
:
return
address_dict
return
None
# all addresses on interface are for partition, so lets add new one
computer_tap
=
Tap
(
'compdummy'
)
computer_tap
.
createWithOwner
(
'root'
,
attach_to_tap
=
True
)
self
.
bridge
.
addTap
(
computer_tap
)
return
self
.
bridge
.
addAddr
()
def
send
(
self
,
config
):
"""
...
...
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