ERP5 Jupyter kernel improvements and integration of PivotTableJs
Douglas authored
Please, review this: @Tyagov, @kirr and @tatuya. 

## Kernel improvements: 

* Automatically render last-returning objects as HTML through "processors" 
  - These so called "processors" are classes responsible for rendering certain objects as HTML depending on their type 
  - The user can add his own customized processors, either by editing the JupyterCompile extension itself or using the variable `_processor_list` in the code cells

## ERP5 Jupyter kernel integration with [PivotTableJs](https://github.com/nicolaskruchten/pivottable)

* Implemented as an external method that receives a Pandas.DataFrame as parameter, along with the url of the ERP5 instance (is there a way to detect this instead of hardcoding all the time?)
* Works through an IPython.lib.display.IFrame object, that is added to the result of the code cell. Inside this IFrame the pivot table will be rendered with data from the DataFrame
* The IFrame is stored/hosted in the (volatile, for now) memcached sever of the instance, using his own HTML representation as key and accessed through a Script (Python) object

## Notes

There's more detailed information about the implementation in the commit messages and a little bit more in comments inside the JupyterCompile extension, where the kernel lives.

The demo web page included in the bt5 will only work if the Wendelin software release is installed, as it depends partially on things from the ERP5 repository and part from things on the following merge request to Wendelin: nexedi/wendelin!10 . Should I move it there or keep it here?

~~I'm still refactoring to completely remove those global variables from the code. Will add the commit here ASAP.~~ 

Global variables completely removed!


/reviewed-on nexedi/erp5!63
316e1147
Name Last commit Last update
cloudooo_data All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
cloudooo_web All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_access_token erp5_access_token: use hmac.compare_digest instead of string comparison
erp5_accounting fixup! AccountingTransactionModule_getAccountingTransactionList: Workaround poor column mapping for reference filtering.
erp5_accounting_l10n_br_extend All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_br_sme All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_cn_basic cleanup category relations in Category.
erp5_accounting_l10n_de_skr04 erp5_accounting_l10n_de_skr04: added missing dependency
erp5_accounting_l10n_fr All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_fr_m14 cleanup category relations in Category.
erp5_accounting_l10n_fr_m4 Remove all bt/revision files
erp5_accounting_l10n_fr_pca cleanup: remove 'NO-BREAK SPACE' (U+00A0)
erp5_accounting_l10n_ifrs Remove all bt/revision files
erp5_accounting_l10n_in All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_lu Remove all bt/revision files
erp5_accounting_l10n_mt Remove all bt/revision files
erp5_accounting_l10n_pl All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_pl_default_gap All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_l10n_ru Remove all bt/revision files
erp5_accounting_l10n_sn cleanup category relations in Category.
erp5_accounting_simulation_legacy All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_accounting_ui_test erp5_accounting_ui_test: add test dependencies
erp5_ace_editor All business templates migrated to new format with files like Python Scripts, Web Pages, Web Scripts etc. separate to xml
erp5_administration extension.erp5.pprofile: Update fr pprofile 1.8.3 .
erp5_advanced_invoicing All workflow_chain_type.xml files of generic ERP5
erp5_apparel
erp5_archive
erp5_authentication_policy
erp5_autocompletion_ui
erp5_bank_reconciliation
erp5_banking_cash
erp5_banking_check
erp5_banking_core
erp5_banking_inventory
erp5_barcode
erp5_base
erp5_bearer_token
erp5_bespin
erp5_big_file
erp5_budget
erp5_calendar
erp5_certificate_authority
erp5_code_mirror
erp5_commerce
erp5_computer_immobilisation
erp5_configurator
erp5_configurator_ebusiness_lotse
erp5_configurator_maxma_demo
erp5_configurator_run_my_doc
erp5_configurator_standard
erp5_configurator_standard_accounting_template
erp5_configurator_standard_categories
erp5_configurator_standard_invoicing_template
erp5_configurator_standard_solver
erp5_configurator_standard_trade_template
erp5_configurator_standard_ui_test
erp5_configurator_ung
erp5_consulting
erp5_content_translation
erp5_core_proxy_field_legacy
erp5_credential
erp5_credential_oauth2
erp5_crm
erp5_crm_knowledge_pad
erp5_csv_style
erp5_data_notebook
erp5_data_protection
erp5_data_set
erp5_datepicker_ui
erp5_deferred_style
erp5_demo_maxma_rule
erp5_demo_maxma_sample
erp5_demo_smb
erp5_demo_ung
erp5_development_wizard
erp5_dhtml_style
erp5_dhtml_ui_test
erp5_direct_debit_payment
erp5_discount_resource
erp5_discussion
erp5_dms
erp5_dms_conversion_catalog
erp5_dms_ui_test
erp5_dummy_movement
erp5_egov
erp5_egov_l10n_fr
erp5_egov_mysql_innodb_catalog
erp5_email_reader
erp5_external_account
erp5_forge
erp5_forum_tutorial
erp5_free_subscription
erp5_full_text_mroonga_catalog
erp5_full_text_myisam_catalog
erp5_full_text_sphinxse_catalog
erp5_gadget_interface_validator
erp5_gadget_interface_validator_ui_test
erp5_graph_editor
erp5_hal_json_style
erp5_hr
EXTERNALS.TXT