1. 15 Feb, 2017 3 commits
    • Xiaowu Zhang's avatar
    • Xiaowu Zhang's avatar
    • Iliya Manolov's avatar
      Fixed multiple import errors in Jupyter · 99b525a1
      Iliya Manolov authored
      Copypasta from the other MR [here](nexedi/erp5!230 (comment 22890)). I found a problem and tried again from scratch. I will close that Merge Request once this one has been approved...
      
      
      
      @Tyagov
      Currently, when running a Jupyter notebook using some types of imports leads to errors. With this fix the following ways to import things are working:
      ```python
      import string                  # worked before fix
      import string as s             # worked before fix
      from string import ascii_lowercase             # worked before fix
      from string import ascii_lowercase, ascii_uppercase, digits           # fixed - used to import only the first thing
      from string import ascii_lowercase as a, ascii_uppercase as b         # fixed - used to give "Error at Server Side"
      from string import *                                                  # fixed - used to give "Error at Server Side"
      from string import Template                                           # works
      ```
      This was happening because after executing every cell the code would move between SlapOS nodes and lose the imported modules/classes/stuff. This was partially fixed before, but this fix should cover all use cases. I have also added tests for these cases in testExecuteJupyter...
      
      /reviewed-on nexedi/erp5!233
      99b525a1
  2. 10 Feb, 2017 1 commit
  3. 06 Feb, 2017 2 commits
  4. 03 Feb, 2017 1 commit
  5. 02 Feb, 2017 5 commits
    • Gabriel Monnerat's avatar
      Fix property type validity consistency · e1c9d477
      Gabriel Monnerat authored
      Fix inconsistencies from gadgets
      
      /cc @jerome 
      
      /reviewed-on nexedi/erp5!225
      e1c9d477
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 5bb901df
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_maps gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      5bb901df
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 51907bce
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_calendar gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      51907bce
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 6f85d5ac
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_search gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      6f85d5ac
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_width and preferred_height in clock gadget · 363c0c71
      Gabriel Monnerat authored
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      363c0c71
  6. 01 Feb, 2017 1 commit
  7. 27 Jan, 2017 1 commit
  8. 25 Jan, 2017 26 commits