1. 05 Feb, 2019 3 commits
    • 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 !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
  2. 31 Jan, 2019 2 commits
  3. 25 Jan, 2019 6 commits
  4. 23 Jan, 2019 4 commits
  5. 18 Jan, 2019 2 commits
  6. 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 nexedi/slapos.core!89
      f324043a
  7. 15 Jan, 2019 2 commits
  8. 14 Jan, 2019 3 commits
  9. 08 Jan, 2019 1 commit
  10. 07 Jan, 2019 1 commit
  11. 03 Jan, 2019 3 commits
  12. 02 Jan, 2019 5 commits
  13. 28 Dec, 2018 7 commits