- 11 Feb, 2016 31 commits
-
-
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
-
Ayush Tiwari authored
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook: Refactor jupyter_compile to only return the local variables which are added after code execution
-
Ayush Tiwari authored
-
Ayush Tiwari authored
erp5_data_notebook: Add dict to convert string to Boolean in Base_executeJupyter python script for getting all the data notebooks
-
Ayush Tiwari authored
erp5_data_notebook bt5: Updated extension JupyterCompile to use globals variable while running exec command
-
Ayush Tiwari authored
This BT is used to interact ERP5 with Jupyter and execute the python code. 1. External method `Base_executeJupyter` to interact between code from Jupyter and ERP5 backend. 2. Module - Data Notebooks 3. Unittest `JupyterCompile` to test external method and extensions.
-
- 29 Jan, 2016 6 commits
-
-
Sebastien Robin authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
So that we can have enough permissions in subobjects of solving Solver Process.
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Jérome Perrin authored
-
- 28 Jan, 2016 3 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-