slapos.core:b5772299ea8fc3c5b0181a4fa46e0bd4fc779df5 commitshttps://lab.nexedi.com/nexedi/slapos.core/-/commits/b5772299ea8fc3c5b0181a4fa46e0bd4fc779df52019-12-24T11:04:55+01:00https://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.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/d3fadd5222853e72812c350608b4b560a1c4c65eslapos_cloud; Update Mixin to support Wechat in same way as Payzen2019-12-12T18:19:56+01:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/040f769e4561fa43b174b42dfb579e794d805b48Add slapo_wechat BT to the list of tested BT2019-12-12T18:03:03+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/f75f72a4a074b2c5a19b3ceef7fa99f2faae2582slapos_subscription_request: support Wechat payment2019-12-12T18:03:03+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/11fc37c350ac6c207af23b23aa6317fdab134478slapos_wechat: add module to pay with Wechat2019-12-12T18:03:03+01:00Thomas Gambierthomas.gambier@nexedi.com
mostly copied from slapos_payzenhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/0be2065d8995d43545a58ffe4bcc238b4043e08fslapos_web: get json schema with basic authentication if credentials are set ...2019-12-09T18:18:55+01:00Alain Takoudjoualain.takoudjou@nexedi.com
In Gitlab, if URL is like <a href="https://USERNAME:PASSWORD@somedomain.com" rel="nofollow noreferrer noopener" target="_blank">https://USERNAME:PASSWORD@somedomain.com</a> then gitlab will return 401 and ask for basic Authentication.
For this kind of URL, we simply extract username and password and send ajax request with Basic Auth.
/reviewed-on <a href="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/163" data-original="https://lab.nexedi.com/nexedi/slapos.core/merge_requests/163" data-link="false" data-link-reference="true" data-project="77" data-merge-request="3455" data-project-path="nexedi/slapos.core" data-iid="163" data-mr-title="slapos_web: get json schema with basic authentication if credentials are set in URL" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/slapos.core!163</a>https://lab.nexedi.com/nexedi/slapos.core/-/commit/b8c1ca76e547fa55aeff145331a9ad0091545dd5slapos_web_deploy: add support for Raspbian 102019-12-04T18:23:19+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/c0710b657b841661028b322c93186e2c90c311fbslapos.core: comment shared_part_list in slapos.cfg.example2019-12-04T09:50:51+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/a3e60fb529cdffe2507a29d1d1e37ce8d3818d8cWebSection_newCredentialRequest: fix english2019-11-29T11:31:03+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/2f3273022cb157be196bc1b021056f87f95b9539Release 1.5.42019-11-28T18:39:39+01:00Thomas Gambierthomas.gambier@nexedi.comhttps://lab.nexedi.com/nexedi/slapos.core/-/commit/7ed9848e9cb9317a0a7f5462a302bc2e6c1471d2format: support newer versions of netifaces2019-11-28T18:27:59+01:00Thomas Gambierthomas.gambier@nexedi.com
follow up of <a href="/Daetalus/slapos.core/-/commit/f2798c253d8fb63772171da69a7b8da58dd0ddcf" data-original="f2798c253d8fb63772171da69a7b8da58dd0ddcf" data-link="false" data-link-reference="false" data-project="1053" data-commit="f2798c253d8fb63772171da69a7b8da58dd0ddcf" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="format: support newer versions of netifaces" class="gfm gfm-commit has-tooltip">f2798c25</a>
it was still crashing when "create_tap = True"https://lab.nexedi.com/nexedi/slapos.core/-/commit/126c08e199313e832c93f788e21d33e4980f6b45testSlapOSMixin: add erp5-doc repository to the list of BT5 repositories2019-11-27T12:08:54+01:00Thomas Gambierthomas.gambier@nexedi.com