1. 18 Feb, 2019 2 commits
  2. 15 Feb, 2019 1 commit
  3. 08 Feb, 2019 2 commits
  4. 07 Feb, 2019 1 commit
  5. 06 Feb, 2019 3 commits
  6. 05 Feb, 2019 4 commits
    • Alain Takoudjou's avatar
      Release slapos.core 1.4.17 · 3a9b84c1
      Alain Takoudjou authored
      3a9b84c1
    • Alain Takoudjou's avatar
      grid.promise: add support for promise without test or anomaly · 0b71623f
      Alain Takoudjou authored
      
      Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase.
      
      by default, test and anomaly are enabled, `__is_tested = True` and `__is_anomaly_detected = True`. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed.
      
      Call `self.setTestLess()` in `__init__.py` of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`.
      
      
          def __init__(self, config):
              GenericPromise.__init__(self, config)
              # Skip test check on this promise
              self.setTestLess()
      
      If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
      
      /reviewed-on nexedi/slapos.core!93
      0b71623f
    • Alain Takoudjou's avatar
      1213a413
    • Alain Takoudjou's avatar
      grid.promise: add support for promise without test or anomaly · 1dba7a89
      Alain Takoudjou authored
      Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase.
      
      by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed.
      
      Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`.
      
      If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
      1dba7a89
  7. 31 Jan, 2019 2 commits
  8. 25 Jan, 2019 6 commits
  9. 23 Jan, 2019 4 commits
  10. 18 Jan, 2019 2 commits
  11. 17 Jan, 2019 1 commit
    • Guillaume Hervier's avatar
      Add/Fix URL columns on some views · f324043a
      Guillaume Hervier authored
      I added and fixed some URL columns on some views:
      - `slapos_cloud/ComputerUsage_view`
      - `slapos_cloud/HostingSubscription_view`
      
      The goal is to make the process to look for the needed informations faster by reducing clicks between views on listbox objects, by making some changes such as clicking on an object name on a column should redirect to the object view page instead of the row's object view page.
      
      Additionally, these changes are made to be compatible with the RenderJS UI.
      
      As this is not the default behaviour in ERP5, it may sound counter-intuitive, but this special behaviour is made to improve efficiency/productivity over intuitivity.
      
      Personally, I wondered about having some "compromise" which is having the "Plane" icon on these columns beside the content to clearly indicate that this icon will redirect to the object's view (as the current "Plane icon" behaviour in ERP5)
      
      /reviewed-on !89
      f324043a
  12. 15 Jan, 2019 2 commits
  13. 14 Jan, 2019 3 commits
  14. 08 Jan, 2019 1 commit
  15. 07 Jan, 2019 1 commit
  16. 03 Jan, 2019 3 commits
  17. 02 Jan, 2019 2 commits
    • Thomas Gambier's avatar
      Make IPv6 on tap optionnal and put only 1 IPv6 address on the tap itself. · 40ee3280
      Thomas Gambier authored
      tap_ipv6 option let you chose if you want IPv6 on the taps or not. Some
      customers may decide to have only IPv4 inside their VMs.
      
      We put only 1 address on the tap itself (e.g.
      2001:67c:1254:e:89:69b0:ffff:ffff/128 instead of
      2001:67c:1254:e:89:69b0:ffff:ffff/96) otherwise, when we assign the
      address 2001:67c:1254:e:89:69b0::/96 inside the VM, the address has
      "dadfailed" status (dad = "Duplicate Address Detection"). The problem
      appears only with address "0" (ending in ::) but not with others
      addresses. We had 2 solutions:
       * put only one address on the tap (the solution we choose)
       * forbid address "0" inside the VM
      
      The chosen solution has the advantage that the host machine won't
      answer the ping on behalf of the VM since the tap has only 1 address
      (its own).
      
      /cc @alain.takoudjou
      
      /reviewed-on nexedi/slapos.core!86
      40ee3280
    • Rafael Monnerat's avatar
      slapos_accounting: Index with specific tag and set tag on the request · 765c89f8
      Rafael Monnerat authored
      This indicates on the transaction and on indexation that a payment was created for the invoice. This allow us to avoid duplicated creation due race conditions on activities.
      765c89f8