- 11 Feb, 2016 40 commits
-
-
Tristan Cavelier authored
-
iv authored
-
iv authored
-
Kazuhiko Shiozaki authored
because it is a generic tool and access restriction should be done by API.
-
Nicolas Wavrant authored
-
Georgios Dagkakis authored
test.erp5.testUpgrader.py: update the bt5list in afterSetUp(). Otherwise the user has to invoke genbt5list manually before runnning the test. It was also confusing, because the same test would pass in the server but not locally
-
Kazuhiko Shiozaki authored
-
Aurel authored
-
Sebastien Robin authored
Solve divergence dialog was raising unauthorized error when new solver process was created by this script (when called with someone who was not manager). Therefore use proxy role and protect call with "View" permission. View is used instead of modify portal content since we could imagine cases where user might need to solve divergence even though is has no right to modify delivery.
-
Kazuhiko Shiozaki authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ivan Tyagov authored
Improve form. Add a property sheet for NoteBook line.
-
Ivan Tyagov authored
Improve UI (sorting).
-
Ayush Tiwari authored
erp5_data_notebook: Refactor test because mime_type for an invalid image shouldn't be dependent on the filename only
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook: Add dependency as erp5_base as we would be using portal_type 'Image' in various places
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook bt5: Rename Base_savePlot to Base_saveImage and add kwargs in parameters for the external function
-
Ayush Tiwari authored
-
Ivan Tyagov authored
-
Ayush Tiwari authored
erp5_data_notebook bt5: Close plot object and after every call to Base_dispalyImage with matplotlib object
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_dat_notebook bt5: Add External method base_savePlot and use Image module as context while creating new Image Object in base_savePlot
-
Ayush Tiwari authored
erp5_dat_notebook bt5: Add Base_savePlot to JupyterCompile extension which would help creating an ERP5 Image object from matplotlib plots
-
Ayush Tiwari authored
erp5_data_notebook bt5: Rename Base_displayMatplotlibImage to Base_displayImage so as to make it sound more generic
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
mime_type for results for executed jupyter_code from JupyterCompile extension has also been defined on the server side itself. This would help server to have more command over what Content-Type would be displayed to jupyter frontend.
-
Ayush Tiwari authored
erp5_data_notebook bt5: Use dictionary to save module imports instead of saving it as list of strings. Using dictinary its easier to update modules frequently. For example, executing code: ''' import numpy as np import numpy ''' would result as : local_variable_dict['imports'] = {'numpy': 'numpy', 'np': 'numpy'} which is what we expect to be saved in globals() also.
-
Ayush Tiwari authored
-
Ayush Tiwari authored
Problem: Module objects are not picklable, thus, trying them to save in local_variable_dict which is further saved in ZODB via ActiveResult object of CMFActivity was giving error. So, its better to save the module objects as code_strings in local_variable_dict. As for now, for example: local_variable_dict = {'imports': ['import numpy as np', 'import matplotlib as mpl'], 'variables': {'a':1, 'b:2'}} for jupyter_code = """ import numpy as np import matplotlib as mlp a= 1; b=2; print a+b """
-
Ayush Tiwari authored
erp5_data_notebook bt5: Update Listbox containing Data Notebook Lines to maximum of 20 lines per page
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook bt5: Refactor test to use reference while searching through portal_catalog instead of notebook_code which was incorrect as there was no key as such in SQL_catalog for erp5
-
Ayush Tiwari authored
erp5_data_notebook bt5: Make notebook_code and notebook_code_result field uneditable for Data Notebook Line object
-
Ayush Tiwari authored
-