1. 11 May, 2016 3 commits
    • Douglas's avatar
      jupyter: uses portal_caches instead of portal_memcached to store iframe · e47f5607
      Douglas authored
      Jupyter now uses portal_caches instead of portal_memcached to store the
      temporary PivotTableJs iframe that will be served to the frontend. This provides
      another level of abstraction to how the iframe storage will work.
      e47f5607
    • Douglas's avatar
      erp5_data_notebook: PivotTableJS integration demo moved to page template · 3d9ecccb
      Douglas authored
      Now, instead of a web page object the demo integration of PivotTableJs inside
      ERP5 is a Page Template object.
      3d9ecccb
    • Douglas's avatar
      Jupyter: Added experimental integration between pivottablejs and Pandas.DataFrame · 5df56607
      Douglas authored
      pivottablejs is a very useful pivot table implementation in Javascript that
      alllows the user to create his own tables and charts. And also they had examples
      of integration with Pandas.DataFrame objects and Jupyter. So this is highly
      based on that.
      
      **ATTENTION**: this is an experimental integration and does not follow the ERP5
      Javascript standards. It will be refactored in the future to use RenderJS and
      JIO.
      
      The integration generates an HTML page template which starts the pivot table and
      have a placeholder for the data, that will be later replaced with a Data Frame
      data as CSV. After this replacement the page is stored in the memcached server
      and then served from there, through a Script (Python) object, inside an HTML
      iframe. The iframe is necessary because a lot of Javascript libraries that are
      not included in the Jupyter web page are loaded.
      
      A web page with id "PivotTableJs_getMovementHistoryList" was created to demo
      how pivottablejs can be integrated within ERP5, either using AJAX or not.
      
      In the process of this integration a simple external method to render
      iPython's display classes (Images, Video, Youtube, IFrame, etc) was created. It
      will be refactored and polished along with the kernel itself in the future.
      5df56607
  2. 28 Apr, 2016 6 commits
  3. 27 Apr, 2016 8 commits
  4. 26 Apr, 2016 5 commits
  5. 25 Apr, 2016 3 commits
  6. 22 Apr, 2016 6 commits
  7. 21 Apr, 2016 9 commits