1. 16 Oct, 2017 2 commits
    • Jérome Perrin's avatar
      Do not index "useless" rows in predicate table · a5a916c1
      Jérome Perrin authored
      To make predicate lookup a bit faster by keeping `predicate` and `predicate_category` small, do not index the documents we do not need in these table. This is done for `Assignment`, `Career`, `Payment Condition`, `Delivery Cells`, `Budget Line` and `Budget Cells`.
      
      /cc @vpelletier @kazuhiko  @tiwariayush 
      
      /reviewed-on nexedi/erp5!257
      a5a916c1
    • Jérome Perrin's avatar
      Enable codemirror diff view for web pages · f5060164
      Jérome Perrin authored
      ERP5's Code mirror supports viewing history of editions using codemirror's merge mode ( http://codemirror.net/demo/merge.html ).
      
      This was enabled for portal_components, but not for web pages.
      
      This moves the methods used by the components in a mixin class and make `TextDocument` class use this mixin.
      
      This way, we can benefit from diff view on web pages as well:
      
      ![ERP5-history-on-web-pages](/uploads/2bd381948266da46225ae26fd807bd51/ERP5-history-on-web-pages.png)
      
      @romain @vincentB @katomaso unless this interfere with your work of making codemirror works in renderjs ui, I think we can enable this. It does not include any change to codemirror code, just enable everywhere what was available only on components.
      
      @klaus I did not check, but we probably want this enabled for PyData Script as well.
      
      /reviewed-on nexedi/erp5!449
      f5060164
  2. 13 Oct, 2017 14 commits
  3. 12 Oct, 2017 10 commits
  4. 10 Oct, 2017 14 commits