slapos.core.git
4 years agoPROJECT MOVED -> https://lab.nexedi.cn/nexedi/slapos.core master
Kirill Smelkov [Wed, 19 Aug 2015 18:29:54 +0000 (21:29 +0300)]
PROJECT MOVED -> https://lab.nexedi.cn/nexedi/slapos.core

4 years agoslapos_web: Improve the display of service list and hosting subscription (short title...
Alain Takoudjou [Mon, 17 Aug 2015 11:40:26 +0000 (11:40 +0000)]
slapos_web: Improve the display of service list and hosting subscription (short title and description)

4 years agoslapos_web: fix for rename destroy hosting_subscription ui
Alain Takoudjou [Thu, 13 Aug 2015 16:20:51 +0000 (16:20 +0000)]
slapos_web: fix for rename destroy hosting_subscription ui

4 years agoslapos_web: warn before destroying hosting subscription
Alain Takoudjou [Wed, 29 Apr 2015 15:00:27 +0000 (15:00 +0000)]
slapos_web: warn before destroying hosting subscription

4 years agoslapos_web: allow to edit displayed hosting_subscription title and to add description
Alain Takoudjou [Wed, 29 Apr 2015 13:24:58 +0000 (13:24 +0000)]
slapos_web: allow to edit displayed hosting_subscription title and to add description

4 years agocollect: use newer psutil API
Jérome Perrin [Thu, 16 Jul 2015 13:39:51 +0000 (15:39 +0200)]
collect: use newer psutil API

https://github.com/giampaolo/psutil/issues/451
( and other deprecated API were removed )

4 years agotests: sleep for shorter intervals
Jérome Perrin [Fri, 17 Jul 2015 08:19:52 +0000 (10:19 +0200)]
tests: sleep for shorter intervals

4 years agotests: remove copy pasted docstring
Jérome Perrin [Fri, 17 Jul 2015 08:18:49 +0000 (10:18 +0200)]
tests: remove copy pasted docstring

4 years agofixup! [slapos.collect] Collect temperature and report consumption
Jérome Perrin [Thu, 16 Jul 2015 13:37:41 +0000 (15:37 +0200)]
fixup! [slapos.collect] Collect temperature and report consumption

4 years agoslapproxy: Add a no-op computerBang method for compatibility with recent slapos
Jérome Perrin [Thu, 16 Jul 2015 13:34:18 +0000 (15:34 +0200)]
slapproxy: Add a no-op computerBang method for compatibility with recent slapos

4 years agoRemove old signatures and prevent upload cache from certain repositories at lab.nexedi.cn
Rafael Monnerat [Thu, 2 Jul 2015 15:00:30 +0000 (17:00 +0200)]
Remove old signatures and prevent upload cache from certain repositories at lab.nexedi.cn

4 years ago[erp5_web] Improve parameter_editor
Rafael Monnerat [Fri, 29 May 2015 15:18:43 +0000 (15:18 +0000)]
[erp5_web] Improve parameter_editor

- Bug fix for firefox
- Load selected values on promises
-  Added support to items.

4 years agoslap: fixed a typo
Sebastien Robin [Mon, 11 May 2015 12:16:55 +0000 (14:16 +0200)]
slap: fixed a typo

4 years agoStart develop 1.3.11-dev0
Rafael Monnerat [Tue, 28 Apr 2015 15:07:42 +0000 (17:07 +0200)]
Start develop 1.3.11-dev0

4 years agoRelease 1.3.10 1.3.10
Rafael Monnerat [Tue, 28 Apr 2015 15:05:44 +0000 (17:05 +0200)]
Release 1.3.10

4 years agoslapgrid: define global-ipv4-network parameter useful when configuring cluster of VM
Alain Takoudjou [Fri, 24 Apr 2015 13:06:12 +0000 (15:06 +0200)]
slapgrid: define global-ipv4-network parameter useful when configuring cluster of VM

4 years agoslapos format: drop limit of 4 data storage directory
Alain Takoudjou [Wed, 22 Apr 2015 13:03:15 +0000 (15:03 +0200)]
slapos format: drop limit of 4 data storage directory

4 years agoslapproxy: always return empty list of partition full_address_list
Alain Takoudjou [Wed, 25 Mar 2015 15:37:42 +0000 (16:37 +0100)]
slapproxy: always return empty list of partition full_address_list

4 years agodo not load tap ip information from xml if the option is disabled
Alain Takoudjou [Wed, 25 Mar 2015 15:36:06 +0000 (16:36 +0100)]
do not load tap ip information from xml if the option is disabled

4 years agoslapos_web: set default values on selection boxes and comment debug logs.
Rafael Monnerat [Wed, 8 Apr 2015 07:51:59 +0000 (07:51 +0000)]
slapos_web: set default values on selection boxes and comment debug logs.

4 years agoslapos_web: Include failover and more css friendly tags on gadget rendering
Rafael Monnerat [Mon, 6 Apr 2015 23:20:48 +0000 (23:20 +0000)]
slapos_web: Include failover and more css friendly tags on gadget rendering

4 years agoslapos_web: Include a bit of style for the parameter rendering.
Rafael Monnerat [Mon, 6 Apr 2015 23:12:19 +0000 (23:12 +0000)]
slapos_web: Include a bit of style for the parameter rendering.

4 years agoslapos_web: Include relative URL when generate RSS.
Rafael Monnerat [Thu, 26 Mar 2015 18:38:22 +0000 (18:38 +0000)]
slapos_web: Include relative URL when generate RSS.

4 years agoslapos_web (rss): Include rss feeds for Hosting Subscription and Computers
Rafael Monnerat [Thu, 26 Mar 2015 18:14:59 +0000 (18:14 +0000)]
slapos_web (rss): Include rss feeds for Hosting Subscription and Computers

For now, it only generate entries for tickets.

4 years agoslapos_web (rss): Get date from latest event and not from support request.
Rafael Monnerat [Thu, 26 Mar 2015 18:12:58 +0000 (18:12 +0000)]
slapos_web (rss): Get date from latest event and not from support request.

4 years agoslapos_web (rss): Remove useless field.
Rafael Monnerat [Thu, 26 Mar 2015 18:09:39 +0000 (18:09 +0000)]
slapos_web (rss): Remove useless field.

4 years agoslapos_web: Accept software type from parameters editor while request.
Rafael Monnerat [Thu, 26 Mar 2015 16:55:22 +0000 (16:55 +0000)]
slapos_web: Accept software type from parameters editor while request.

4 years agoslapos_web: Include ticket support to hosting subscription and computers
Rafael Monnerat [Thu, 26 Mar 2015 16:52:04 +0000 (16:52 +0000)]
slapos_web: Include ticket support to hosting subscription and computers

List Ticket which are related to the Hosting Subscription and Computers (at web view)
Added a button to open a Ticket from Hosting Subscription and Computers (at web view)
Include RSS link generator (not exactly working yet)

4 years agoslapos_web: Add section for request intent
Rafael Monnerat [Thu, 26 Mar 2015 16:27:56 +0000 (16:27 +0000)]
slapos_web: Add section for request intent

This url allows us build easily a link (url) in order to request an instance from some external website.

4 years agoslapos_web: input can be null also
Rafael Monnerat [Thu, 26 Mar 2015 16:16:33 +0000 (16:16 +0000)]
slapos_web: input can be null also

4 years agoslapos_web: invoke form validation during service phase.
Rafael Monnerat [Wed, 25 Mar 2015 09:33:12 +0000 (09:33 +0000)]
slapos_web: invoke form validation during service phase.

this will expose default values which are wrongly inputed.

4 years agoslapos_web: Added support to json-in-xml parameters type
Rafael Monnerat [Tue, 24 Mar 2015 23:36:30 +0000 (23:36 +0000)]
slapos_web: Added support to json-in-xml parameters type

4 years agofix test testSlapOSSlapTool (full_ip_list)
Alain Takoudjou [Fri, 20 Mar 2015 17:51:31 +0000 (18:51 +0100)]
fix test testSlapOSSlapTool (full_ip_list)

4 years agoslapos_web: throw a nice error if software type is not part of the software json.
Rafael Monnerat [Fri, 20 Mar 2015 16:36:14 +0000 (16:36 +0000)]
slapos_web: throw a nice error if software type is not part of the software json.

Failover should be render a textarea explaining the error.

4 years agoslapos_web: Replace textarea by a gadget field
Rafael Monnerat [Fri, 20 Mar 2015 16:34:13 +0000 (16:34 +0000)]
slapos_web: Replace textarea by a gadget field

This will enable edition of parameter using a JS editor.

4 years agoUpdate CHANGES.txt
Alain Takoudjou [Fri, 20 Mar 2015 16:00:25 +0000 (17:00 +0100)]
Update CHANGES.txt

4 years agoslapos_web: Small style change (not important)
Rafael Monnerat [Thu, 19 Mar 2015 10:05:38 +0000 (10:05 +0000)]
slapos_web: Small style change (not important)

4 years agoslapos_web: use a newer version of renderjs on the project context.
Rafael Monnerat [Thu, 19 Mar 2015 10:03:32 +0000 (10:03 +0000)]
slapos_web: use a newer version of renderjs on the project context.

This is a workarround to use the same version for gadgetfield at slapos website and the gadgets. There is probably a more clever way to do it after.

4 years agoslapos_web: Catch failures from while getContent
Rafael Monnerat [Thu, 19 Mar 2015 09:54:34 +0000 (09:54 +0000)]
slapos_web: Catch failures from while getContent

This is had to be be reviewed in future in order to handle network temporary problems.

4 years agoslapos_web: Reimplement using declareService for setup loopEventListener
Rafael Monnerat [Wed, 18 Mar 2015 20:04:40 +0000 (20:04 +0000)]
slapos_web: Reimplement using declareService for setup loopEventListener

- Reorganise the code to be renderjs and gadget field friendly

4 years agoslapos_web: Also trigger submit.
Rafael Monnerat [Wed, 18 Mar 2015 09:56:49 +0000 (09:56 +0000)]
slapos_web: Also trigger submit.

4 years agoslapos_web: Remove service-shortcut from the website
Rafael Monnerat [Tue, 17 Mar 2015 13:19:42 +0000 (13:19 +0000)]
slapos_web: Remove service-shortcut from the website

It was not used anymore.

4 years agoslapos_web: Simplify implementation approach to request the instance
Rafael Monnerat [Tue, 17 Mar 2015 13:15:58 +0000 (13:15 +0000)]
slapos_web: Simplify implementation approach to request the instance

Instead use portal_sessions and selection, use links on listbox and forms rendered by context. This provides more flexibility on provide links on others locations and sites.

4 years agoslapos_web: Update missing paths
Rafael Monnerat [Tue, 17 Mar 2015 13:08:34 +0000 (13:08 +0000)]
slapos_web: Update missing paths

4 years agoslapos_web: expand json schema before use it for validation.
Rafael Monnerat [Tue, 17 Mar 2015 13:07:25 +0000 (13:07 +0000)]
slapos_web: expand json schema before use it for validation.

4 years agoslapos_web: Improvement for the Proof of concept
Rafael Monnerat [Mon, 16 Mar 2015 17:19:21 +0000 (17:19 +0000)]
slapos_web: Improvement for the Proof of concept

- Code Reorganisation
- More integrations with ERP5 Gadget
- Handle failure smoothly
- Resolve relative URL inside json based on JSON base url.

4 years agoslapos_erp5: Adjust RJS skin entries.
Rafael Monnerat [Mon, 16 Mar 2015 09:25:16 +0000 (09:25 +0000)]
slapos_erp5: Adjust RJS skin entries.

4 years agoslapos_erp5: RJS skin was included
Rafael Monnerat [Sun, 15 Mar 2015 22:34:44 +0000 (22:34 +0000)]
slapos_erp5: RJS skin was included

After the instalation of erp5_web_renderjs_ui a new skin was introduced.

4 years agoslapos_web: Include render_js_ui on view in order to enable JSLint calls on UI.
Rafael Monnerat [Sun, 15 Mar 2015 22:33:39 +0000 (22:33 +0000)]
slapos_web: Include render_js_ui on view in order to enable JSLint calls on UI.

4 years agoslapos_web: Include new dependence to renderjs
Rafael Monnerat [Sun, 15 Mar 2015 21:18:07 +0000 (21:18 +0000)]
slapos_web: Include new dependence to renderjs

4 years agoslapos_web: Drop script on vifib_web
Rafael Monnerat [Fri, 13 Mar 2015 15:48:25 +0000 (15:48 +0000)]
slapos_web: Drop script on vifib_web

This is a legacy script, it is not required to keep a script only for a single getUid.

4 years agoslapos_web: Direct show login page for annonymous and tickets for logged users
Rafael Monnerat [Fri, 13 Mar 2015 15:18:14 +0000 (15:18 +0000)]
slapos_web: Direct show login page for annonymous and tickets for logged users

- Move Ticket list to myspace, as it is the most usefull communication channel.
- hosting site is used as back end shop (like a cloud manager ui), so we directly show login page.

4 years agoslapos_web: Drop useless unused code
Rafael Monnerat [Fri, 13 Mar 2015 15:14:14 +0000 (15:14 +0000)]
slapos_web: Drop useless unused code

Simply drop all the parts which are not used anymore for a very long time. It is not usefull to keep it as reference neither (we can use git for that.)

4 years agoslapos_web: Drop disabled field
Rafael Monnerat [Fri, 13 Mar 2015 10:51:23 +0000 (10:51 +0000)]
slapos_web: Drop disabled field

The direct edition of the Software Instance by the user is unwanted and dangerous, this commit only removes already disabled code.

4 years agoslapos_web: Proof of concept of parameter rendering using renderjs (WiP)
Rafael Monnerat [Tue, 10 Mar 2015 18:45:28 +0000 (18:45 +0000)]
slapos_web: Proof of concept of parameter rendering using renderjs (WiP)

4 years agobetter display of instances connection parameters
Alain Takoudjou [Thu, 12 Mar 2015 12:56:24 +0000 (12:56 +0000)]
better display of instances connection parameters

4 years agoDo not recreate upgrade decision for the same sr if it was rejected
Alain Takoudjou [Tue, 10 Mar 2015 15:29:36 +0000 (15:29 +0000)]
Do not recreate upgrade decision for the same sr if it was rejected

4 years agoStart 1.3.10 development
Rafael Monnerat [Fri, 20 Mar 2015 14:41:20 +0000 (14:41 +0000)]
Start 1.3.10 development

4 years agoRelease 1.3.9 1.3.9
Rafael Monnerat [Fri, 20 Mar 2015 14:24:30 +0000 (14:24 +0000)]
Release 1.3.9

4 years agotap network information should not cause incompatibility with old SR
Alain Takoudjou [Fri, 20 Mar 2015 10:14:16 +0000 (11:14 +0100)]
tap network information should not cause incompatibility with old SR

4 years agoMerge branch 'tap-nobridge' to master
Alain Takoudjou [Thu, 19 Mar 2015 15:38:58 +0000 (16:38 +0100)]
Merge branch 'tap-nobridge' to master

Conflicts:
master/bt5/slapos_pdm/SkinTemplateItem/portal_skins/slapos_pdm/SoftwareProduct_getSortedSoftwareReleaseList.xml

4 years agoDo not regenerate tap ip address it exists in slapos.xml
Alain Takoudjou [Thu, 19 Mar 2015 10:27:07 +0000 (11:27 +0100)]
Do not regenerate tap ip address it exists in slapos.xml

4 years agoallow to format and configure external data storage folder
Alain Takoudjou [Fri, 13 Mar 2015 17:04:01 +0000 (18:04 +0100)]
allow to format and configure external data storage folder

4 years agoUpdate computer from dict: Save network information of tap interface (without bridge)
Alain Takoudjou [Tue, 10 Mar 2015 16:44:19 +0000 (16:44 +0000)]
Update computer from dict: Save network information of tap interface (without bridge)

4 years agoIntroduce slapos format with create tap but without bridge
Alain Takoudjou [Wed, 4 Mar 2015 09:50:27 +0000 (10:50 +0100)]
Introduce slapos format with create tap but without bridge

If user set create_tap to True then specify an interface (tap_gateway_interface) to use as gateway for
guest vm connected to tap interface, slapformat will configure route
to reache each guest from host: "route add -host tap_ip dev slaptapXX",
where tap_ip belong to the same network as the ip on tap_gateway_interface.
slapformat will also create network information for each tap
who will be used to configure network in guest vm.

This is a begining to create cluster of vm which are connected to
each other using tap interface, without bridge.

4 years agoslapos_web: Cache icon images.
Rafael Monnerat [Tue, 10 Mar 2015 18:39:50 +0000 (18:39 +0000)]
slapos_web: Cache icon images.

4 years agoslapos_cloud: fix test to follow up changes on bt5
Rafael Monnerat [Tue, 10 Mar 2015 01:55:02 +0000 (01:55 +0000)]
slapos_cloud: fix test to follow up changes on bt5

4 years agoslapos_pdm: Fix testSlapOSPDMSkins
Rafael Monnerat [Mon, 9 Mar 2015 21:27:20 +0000 (21:27 +0000)]
slapos_pdm: Fix testSlapOSPDMSkins

This commit includes several pure syntax fixing.

4 years agoslapos_pdm: Fix portal_catalog query
Rafael Monnerat [Mon, 9 Mar 2015 21:25:54 +0000 (21:25 +0000)]
slapos_pdm: Fix portal_catalog query

4 years agoslapos_pdm: Ignore context if URL is passed.
Rafael Monnerat [Mon, 9 Mar 2015 21:24:48 +0000 (21:24 +0000)]
slapos_pdm: Ignore context if URL is passed.

4 years agoAdd newer ticket in the listbox if it still not indexed yet
Alain Takoudjou [Fri, 6 Mar 2015 17:30:24 +0000 (17:30 +0000)]
Add newer ticket in the listbox if it still not indexed yet

4 years agoslapos_jio: Make slapos_jio depens on latest erp5_hal_json_style
Rafael Monnerat [Tue, 10 Feb 2015 20:58:04 +0000 (20:58 +0000)]
slapos_jio: Make slapos_jio depens on latest erp5_hal_json_style

This commits aims to fix collision by using 2 diferent portal_skins folders for slapos_jio and erp5_hal_json_style, allowing us let both coexist on production.

4 years agoslapos_cloud: Drop Non Allocated sooner (3 days)
Rafael Monnerat [Tue, 10 Feb 2015 14:36:16 +0000 (14:36 +0000)]
slapos_cloud: Drop Non Allocated sooner (3 days)

4 years agoslapos_contract: Include creation date at listbox.
Rafael Monnerat [Tue, 10 Feb 2015 14:31:06 +0000 (14:31 +0000)]
slapos_contract: Include creation date at listbox.

4 years agoslapos_web: Update website/websections xml diff
Rafael Monnerat [Tue, 10 Feb 2015 13:45:38 +0000 (13:45 +0000)]
slapos_web: Update website/websections xml diff

4 years agoslapos_web: Round representation
Rafael Monnerat [Tue, 10 Feb 2015 12:50:42 +0000 (12:50 +0000)]
slapos_web: Round representation

Otherwise some prices are displayed with too many numbers after the dot.

4 years agoslapos_web: set missing httpcache
Rafael Monnerat [Tue, 10 Feb 2015 12:10:56 +0000 (12:10 +0000)]
slapos_web: set missing httpcache

4 years agoslapos_pdm: Set date and skip if product reference is not set.
Rafael Monnerat [Tue, 10 Feb 2015 11:52:57 +0000 (11:52 +0000)]
slapos_pdm: Set date and skip if product reference is not set.

4 years agoslapos_pdm: Added State on Upgrade Decision listbox
Rafael Monnerat [Tue, 10 Feb 2015 11:32:27 +0000 (11:32 +0000)]
slapos_pdm: Added State on Upgrade Decision listbox

4 years agoslapos_pdm: Fix script.
Rafael Monnerat [Tue, 10 Feb 2015 11:29:06 +0000 (11:29 +0000)]
slapos_pdm: Fix script.

4 years agoslapos_pdm: enable upgrade alarms by default
Rafael Monnerat [Tue, 10 Feb 2015 11:27:03 +0000 (11:27 +0000)]
slapos_pdm: enable upgrade alarms by default

4 years agoslapos_pdm: Accept published_alive as a valid state.
Rafael Monnerat [Tue, 10 Feb 2015 11:15:41 +0000 (11:15 +0000)]
slapos_pdm: Accept published_alive as a valid state.

Minor optimisations included.

4 years agoslapos_pdm: Enable upgrade alarms by default
Rafael Monnerat [Tue, 10 Feb 2015 11:09:32 +0000 (11:09 +0000)]
slapos_pdm: Enable upgrade alarms by default

4 years agoslapos_pdm: Update state titles to follow up same terms used by Support Requests.
Rafael Monnerat [Tue, 10 Feb 2015 11:05:00 +0000 (11:05 +0000)]
slapos_pdm: Update state titles to follow up same terms used by Support Requests.

4 years agoslapos_accounting: Minor XML Changes.
Rafael Monnerat [Tue, 10 Feb 2015 09:17:09 +0000 (09:17 +0000)]
slapos_accounting: Minor XML Changes.

4 years agoslapos_accounting: Enable alarm by default.
Rafael Monnerat [Tue, 10 Feb 2015 09:16:24 +0000 (09:16 +0000)]
slapos_accounting: Enable alarm by default.

4 years agoslapos_erp5: missing entry.
Rafael Monnerat [Tue, 10 Feb 2015 07:16:14 +0000 (07:16 +0000)]
slapos_erp5: missing entry.

4 years agoslapos_erp5: Missing comma
Rafael Monnerat [Tue, 10 Feb 2015 07:13:45 +0000 (07:13 +0000)]
slapos_erp5: Missing comma

4 years agoslapos_administration: Include alarm to clean up business templates.
Rafael Monnerat [Tue, 10 Feb 2015 02:24:16 +0000 (02:24 +0000)]
slapos_administration: Include alarm to clean up business templates.

This alarm is focus on keep only the minimal and usable set of bt5 installed, this helps on quick upgrades.

4 years agoMy Services: sort services by name (untested)
Jérome Perrin [Fri, 2 Jan 2015 08:47:11 +0000 (09:47 +0100)]
My Services: sort services by name (untested)

4 years agoslapos_erp5: Include XHTML test.
Rafael Monnerat [Fri, 6 Feb 2015 21:23:50 +0000 (21:23 +0000)]
slapos_erp5: Include XHTML test.

4 years agoslapos_erp5: Include missing files and remove legacy files on bt folder
Rafael Monnerat [Fri, 6 Feb 2015 21:23:03 +0000 (21:23 +0000)]
slapos_erp5: Include missing files and remove legacy files on bt folder

4 years agoslap lib: disable 'Unverified HTTPS request is being made' messages.
Cédric de Saint Martin [Tue, 17 Feb 2015 09:02:10 +0000 (10:02 +0100)]
slap lib: disable 'Unverified HTTPS request is being made' messages.

4 years agoslapos_jio: Make slapos_jio depens on latest erp5_hal_json_style
Rafael Monnerat [Tue, 10 Feb 2015 20:58:04 +0000 (20:58 +0000)]
slapos_jio: Make slapos_jio depens on latest erp5_hal_json_style

This commits aims to fix collision by using 2 diferent portal_skins folders for slapos_jio and erp5_hal_json_style, allowing us let both coexist on production.

4 years agoslapos_cloud: Drop Non Allocated sooner (3 days)
Rafael Monnerat [Tue, 10 Feb 2015 14:36:16 +0000 (14:36 +0000)]
slapos_cloud: Drop Non Allocated sooner (3 days)

4 years agoslapos_contract: Include creation date at listbox.
Rafael Monnerat [Tue, 10 Feb 2015 14:31:06 +0000 (14:31 +0000)]
slapos_contract: Include creation date at listbox.

4 years agoslapos_web: Update website/websections xml diff
Rafael Monnerat [Tue, 10 Feb 2015 13:45:38 +0000 (13:45 +0000)]
slapos_web: Update website/websections xml diff

4 years agoslapos_web: Round representation
Rafael Monnerat [Tue, 10 Feb 2015 12:50:42 +0000 (12:50 +0000)]
slapos_web: Round representation

Otherwise some prices are displayed with too many numbers after the dot.

4 years agoslapos_web: set missing httpcache
Rafael Monnerat [Tue, 10 Feb 2015 12:10:56 +0000 (12:10 +0000)]
slapos_web: set missing httpcache

4 years agoslapos_pdm: Set date and skip if product reference is not set.
Rafael Monnerat [Tue, 10 Feb 2015 11:52:57 +0000 (11:52 +0000)]
slapos_pdm: Set date and skip if product reference is not set.