slapos.core:f479e62e9a768592bdffd97b008174829aeb60e6 commitshttps://lab.nexedi.com/nexedi/slapos.core/-/commits/f479e62e9a768592bdffd97b008174829aeb60e62020-01-02T18:11:38+00:00https://lab.nexedi.com/nexedi/slapos.core/-/commit/f479e62e9a768592bdffd97b008174829aeb60e6slapos_subscription_request: Extend subscription_request_workflow to handle n...2020-01-02T18:11:38+00:00Rafael Monneratrafael@nexedi.com
Include additional states to handle additional steps when handle a subscription requests.
started: Once Subscription is started, it means that instance is ready and user was notified
stopped: Once Subscription is stopped, it means that instance is destroyed but not all invoices were payed. Subscription is about to be Delivered (Closed).https://lab.nexedi.com/nexedi/slapos.core/-/commit/c0ab4e958513ebc555379dda5d203a637a3d18d4slapos_jio: Remove unfinished chinese translation2019-12-30T22:29:48+00:00Rafael Monneratrafael@nexedi.com
This prevents things get broken.https://lab.nexedi.com/nexedi/slapos.core/-/commit/fc3284987a0ee88aeb6d63a38c1c7b31485763c1slapos_erp5: Fix user security for Software/Slave Instance/Installation on sh...2019-12-27T22:47:47+00:00Rafael Monneratrafael@nexedi.com
Once the Computer/Hosting Subscription is transferred using Internal Packing List, the associated installation and instance should acquire security from the respective context.https://lab.nexedi.com/nexedi/slapos.core/-/commit/1c509f97bd226ff815d82731d5ab72fe4e8f944aslapos_erp5: Update wechat event roles when edit the document.2019-12-27T15:48:25-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/f721ab4406c9cdbd6155be3bce38cb25886f6883slapos_crm: Fix up test, alarm is only call for Support Request associated to...2019-12-27T15:48:24-02:00Rafael Monneratrafael@nexedi.comslapos_crm: Fix up test, alarm is only call for Support Request associated to a Hosting Subscription
https://lab.nexedi.com/nexedi/slapos.core/-/commit/7c493839205acb0b204565158975822c694143f6slapos_jio: Translate Payment Result page into Chinese.2019-12-27T15:48:24-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/7e808622568df515270327c08f010fb777a1d220slapos_crm: Do not suspend Support Requests2019-12-27T15:48:23-02:00Rafael Monneratrafael@nexedi.com
Tickets should be automatic suspended if they aren't supposed to be responded by the user.https://lab.nexedi.com/nexedi/slapos.core/-/commit/95eb074e87b0ab0427648fe0090ff6726a2c26ccslapos_wechat: Base_queryWechatOrderStatusByTradeNo uses shadow person2019-12-27T15:48:23-02:00Rafael Monneratrafael@nexedi.com
This API is used by anonymous so we convert the query for the rely on shadow person securityhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/3ba6dd46d891fd11ef0cbdbae4474cf22415012fslapos_wechat: Fixup security for anonymous access while verifing payment2019-12-27T15:48:22-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/179bcdaac6c9ddfe6b194975c7193e0ef234498fslapos_wechat: Images from wechat are published by default2019-12-27T15:48:21-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/5bd516bdb0bd66fd7fe7198ad760f94f860e05d4promise: Cleanup plugin folder on each run2019-12-27T14:14:30+01:00Łukasz Nowakluke@nexedi.com
Promise can appear and disappear, and pyc or pyo files can stay in the folder,
so try hard to remove those stale files.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/169" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/169" data-link="false" data-link-reference="true" data-project="77" data-merge-request="3514" data-project-path="nexedi/slapos.core" data-iid="169" data-mr-title="promise: Cleanup plugin folder on each run" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!169</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/b5772299ea8fc3c5b0181a4fa46e0bd4fc779df5testcase: Snapshot more interesting files2019-12-24T11:04:55+01:00Łukasz Nowakluke@nexedi.com
supervisor configuration is interesting to inspect in, the same for runners
in run and service directories.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/170" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/170" data-link="false" data-link-reference="true" data-project="77" data-merge-request="3521" data-project-path="nexedi/slapos.core" data-iid="170" data-mr-title="testcase: Snapshot more interesting files" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!170</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/d7bf6407c6dce0f776185babc96016349faf5b69slapos_jio_ui_test: Check user access improper subscription2019-12-20T14:33:52+01:00Boxiang Sunboxiang.sun@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/4b2f3583f0c14419b00b4ed7fbd3f33b76494406slapos_jio: Notify user they are trying to access document without correct pe...2019-12-20T14:33:52+01:00Boxiang Sunboxiang.sun@nexedi.com
And display a "logout" button in the page.
Instead display plain renderjs error messagehttps://lab.nexedi.com/nexedi/slapos.core/-/commit/38b047d5d085033193583c207e0e439fcbd82f68slapos_payzen: Support also subscriptions related invoices when create a Reve...2019-12-19T00:41:21-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/ae77b71d74b6a77883d6d31e120e78ec747b33e7slapos_wechat: Add test for ensure builder also works with wechat payments2019-12-19T00:41:20-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/4b0d079c30c38a7d662119de1b50b29e1950d169slapos_payzen: Make alarm compatible with wechat also2019-12-19T00:41:20-02:00Rafael Monneratrafael@nexedi.com
Probably this alarm should move into some other bt5 in future.https://lab.nexedi.com/nexedi/slapos.core/-/commit/f2207794a43634761342f2aacfe71f456cc855c2slapos_wechat: Add a test for alarm2019-12-19T00:41:19-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/26c4d8f18f1097a105eb22e2536a0df63a631bbfslapos_wechat: Price isn't a negative value2019-12-19T00:41:16-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/e725b1e76f0d2d88534ef80364a03aca986d4a07slapos_wechat: Fix tests and some scripts2019-12-19T00:40:05-02:00Rafael Monneratrafael@nexedi.com
Add a mock for absolute_url as the test requires a valid urlhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/2b88f935d4782ac074ee59e5b8575f938cc29147slap/standalone: Provide well known configuration file to supervisord2019-12-18T10:39:36+01:00Łukasz Nowakluke@nexedi.com
The supervisord binary in some environments (like webrunner), seems to not
follow the automatic way to find the configuration file, so instead of relying
on it, just explicitly provide the file.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/168" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/168" data-link="false" data-link-reference="true" data-project="77" data-merge-request="3501" data-project-path="nexedi/slapos.core" data-iid="168" data-mr-title="slap/standalone: Provide well known configuration file to supervisord" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!168</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/b9e4820b42d5080010c6af7ded6a6dcaf86ee773slapos_wechat: Fix up test2019-12-18T01:11:13-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/ade9c89165e7ed6af91cda4d65d90dd9dd457b29slapos_wechat: Fix tests and some scripts2019-12-18T01:11:08-02:00Rafael Monneratrafael@nexedi.com
Add a mock for absolute_url as the test requires a valid urlhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/27baf711aac17016bb0f427baf49bbf0f62e6c7dslapos_erp5: Export local roles from wechat test site integration2019-12-18T01:09:26-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/b48ecd2a1ac932f7e8e6e41b1a6009e55ae6751bslapos_wechat: Add Draft testSlapOSWechatWorkflow2019-12-18T01:09:25-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/7a4811b82c9490933d8a6f01807e8a728c5f444eslapos_erp5: Add TestWechatEvent on testSlapOSERP5GroupRoleSecurity2019-12-18T01:09:25-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/0fe81d86ba60bb92967d89d581d2c5d6a0730183slapos_category: Include payzen payment mode category2019-12-18T01:09:24-02:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/e6c0193ccaa25539b6955bd5c1f70f810ef92408slapos_cloud: Set wechat default preferences for testing purpose2019-12-18T01:09:24-02:00Rafael Monneratrafael@nexedi.com
Those values shouldn't be applied on productionhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/f512ad84c587702066c6a981885f039b16c31875slapos_payzen; Scripts moved to slapos_account in order to make it compatible...2019-12-18T01:09:24-02:00Rafael Monneratrafael@nexedi.comslapos_payzen; Scripts moved to slapos_account in order to make it compatible with multiple payment types
https://lab.nexedi.com/nexedi/slapos.core/-/commit/4a02fcbc5917a3ef19e8991598a630bd2ea0c5a0slapos_accouting: Scripts moved from slapos_payzen to make it compatible with...2019-12-18T01:09:23-02:00Rafael Monneratrafael@nexedi.comslapos_accouting: Scripts moved from slapos_payzen to make it compatible with multiple payment types
For now Payzen and Wechat
https://lab.nexedi.com/nexedi/slapos.core/-/commit/3dee88a53a37a274f7ada724732069297dd735f7Release 1.5.52019-12-17T13:58:50+01:00Łukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/affe90a0e8da818cb6f790bd01d7f38d138a9037format: Stabilise partition addresses2019-12-17T08:28:57+01:00Łukasz Nowakluke@nexedi.com
Depending on the netifaces version the netmask can come with or without
lenght prefix, so support both cases and consider netmask with prefix
as equal to without prefix.
The only result will be update of the netmask in the computer XML file.https://lab.nexedi.com/nexedi/slapos.core/-/commit/d3c516edf49865ab4f7b5afd82944c3a9265f588format: Try hard to keep the same computer address2019-12-17T08:28:57+01:00Łukasz Nowakluke@nexedi.com
self.interface.getGlobalScopeAddressList which uses netifaces can have
different sorting of the addresses depending of the version, so prefer the
already configured IPv6 address.https://lab.nexedi.com/nexedi/slapos.core/-/commit/36ad2fdf1db7cac53d75611e4ec50fbfd40a0136slapos_jio_ui_test: Add test to check user get redirected if without correct ...2019-12-13T19:32:55+01:00Boxiang Sunboxiang.sun@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/a6c1ef1ac5031941c4891feb710878fbb515a976slapos_jio: Force user to login if they don't have a correct setting2019-12-13T19:32:55+01:00Boxiang Sunboxiang.sun@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/5f58b930b2dc8f32140dca8b7cccd8889e601771slapos_jio_ui_test: Fix typo in the test testSlapOSJSServer2019-12-13T19:31:29+01:00Boxiang Sunboxiang.sun@nexedi.com
According to this [code](<a href="https://lab.nexedi.com/nexedi/slapos.core/blob/master/master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_view_js.js#L127">https://lab.nexedi.com/nexedi/slapos.core/blob/master/master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_erp5_page_slap_computer_view_js.js#L127</a>) . I believe the test `testSlapOSJSServer` currently failed due to a typo. There may have other failing in this test, but at least we can fix this one first.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/165" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/165" data-link="false" data-link-reference="true" data-project="77" data-merge-request="3484" data-project-path="nexedi/slapos.core" data-iid="165" data-mr-title="slapos_jio_ui_test: Fix typo in the test testSlapOSJSServer" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!165</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/6e04329a243564d8b865497f481756586a3270a7slapos_wechat: pay the correct amount with the correct currency2019-12-13T11:28:00+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/51ba4b9048b0bc8582102cb88cb0894c8c9d2639slapos_erp5: Add Wechat event security2019-12-12T18:19:56+01:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/982fbf1014d758bf8d04596a33b16aaae2d1229dslapos_payzen: Use wechat if the currency is CNY2019-12-12T18:19:56+01:00Rafael Monneratrafael@nexedi.com
This isn't the most suitable script for this anymore or some extra configurations can be used.https://lab.nexedi.com/nexedi/slapos.core/-/commit/cf909735878343033ac45bd9db4a5296f21736aeslapos_wechat: Script is mandatory to the redirect work2019-12-12T18:19:56+01:00Rafael Monneratrafael@nexedi.com