- 11 Feb, 2016 40 commits
-
-
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
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook bt5: Changed name of portal type from Data Notebook Message to Data Notebook Line and changes in various scripts where it has been used
-
Ayush Tiwari authored
erp5_data_notebook bt5: Rename Notebook Cell Input and Notebook Cell Output in Data Notebook Message
-
Ayush Tiwari authored
erp5_data_notebook bt5: Use interactivity/mode and finally execute all code using exec to get rid of try:except
-
Ayush Tiwari authored
erp5-data-notebook bt5: Refactor testExecuteJupyter to new JupyterCompile where we are letting errors fails loudly in erp5
-
Ayush Tiwari authored
erp5-data-notebook bt5: Remove exception catching from Base_runJupyter external function and let the errors be raised loudly
-
Ayush Tiwari authored
erp5_data_notebook bt5: Add transaction abort and fail loudly in case of error in transaction script
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook: Check user permission for at entry point for Base_executeJupyter python script so that non-developer user cannot execute python code through script
-