1. 29 May, 2020 2 commits
    • Rafael Monnerat's avatar
      slapos_jio: On add erp5 login form, handle errors using JIO API · a0abff34
      Rafael Monnerat authored
      It relies on using jIO.util.readBlobAsText rather them Blob.text() to recover the result.
      a0abff34
    • Rafael Monnerat's avatar
      slapos_jio: Introduce annotated helper gadget · 390b318a
      Rafael Monnerat authored
      This gadget aims to centralise entire "helper" test on various contexts, in this way translate becomes easy and update information is quite simple.
      
      In order to use the gadget, you should include a template on rjs_gadget_slapos_annotated_helper_html:
      
      <script id="add-new-example-header-text" type="text/x-handlebars-template">
      Some text or <details> <summary>Some test<summary> <p>Content...</p></details>
      </script>
      
      and include the gadget on the target HTML:
      
      <div data-gadget-url="gadget_slapos_annotated_helper.html"
      data-gadget-scope="annotated_helper"
      data-template-id="add-new-example-header-text"
      data-gadget-sandbox="public">
      </div>
      
      This is also supposed to be compatible with GadgetField or usable from getDeclaredGadget(...)
      390b318a
  2. 28 May, 2020 7 commits
  3. 27 May, 2020 3 commits
  4. 26 May, 2020 7 commits
  5. 25 May, 2020 7 commits
  6. 22 May, 2020 1 commit
    • Jérome Perrin's avatar
      Proxy: Forward requests as partition and use it in standalone · e0b4339e
      Jérome Perrin authored
      The idea is to make it possible while embedding SlapOS in an existing partition to configure that some requests are forwarded to the master of the partition and to make these requests as the partition - so that when this partition is destroyed all other partitions from the embedded partitions are destroyed.
      
      A bit more integration in slapos is still needed, but is intended to be used in theia (and why not webrunner):
      
      At the beginning theia's instance  looks like this:
      
      ![screenshot of theia hosting subscription on slapos master, with the default 3 partitions](/uploads/9a297dbbae49996fb7ee69e89ea75da1/image.png)
      
      after an ERP5 instance is requested in theia's embedded slapos, the partition requests are forwarded as this partition and appear here, as requested by theia:
      
      ![screenshot of theia hosting subscription on slapos master, frontend partitions requested by ERP5 appears as requested by theia](/uploads/37b8b30ca117a1251fc2bd099a5dac82/image.png)
      
      This can also allow transparent integration, because the partition credentials are known by the partition, unlike the user credentials.
      
      See merge request !218
      e0b4339e
  7. 20 May, 2020 8 commits
  8. 19 May, 2020 1 commit
  9. 18 May, 2020 1 commit
  10. 15 May, 2020 3 commits