1. 16 Feb, 2017 1 commit
    • Eugene Shen's avatar
      Use replicate storage and request smaller bundles · f5c87f9c
      Eugene Shen authored
      Store all chats as Text Posts using ERP5 in a replicate storage.
      Synchronize divergent chats through a three-step process:
      1. send doubler (request a request from the host)
         receive request (get dict of host's last-seen messages)
      2. send archive (give all new messages to the host)
         receive doubler (get after host is fully updated)
      3. send request (give dict of your last-seen messages)
         receive archive (get all new messages from all peers)
      
      This means that Space Chat now synchronizes correctly even when
      peers disconnect from each other, and all chat messages will
      eventually be stored on ERP5 as soon as one peer reconnects.
      f5c87f9c
  2. 14 Feb, 2017 1 commit
    • Eugene Shen's avatar
      Allow authentication using ERP5 · bb0d31e5
      Eugene Shen authored
      Co-opt Webrtc Rooms module to directly store negotiations as attributes,
      integrate Space Chat with ERP5 and pass parameters through the URL,
      move Dropbox main login page, and make authentication more robust.
      bb0d31e5
  3. 10 Feb, 2017 1 commit
    • Eugene Shen's avatar
      Add miscellaneous chat functionality · 6cdfcbfa
      Eugene Shen authored
      Abstract WebRTC signalling to prepare for ERP5,
      detect client browser unloading and send message,
      directly display URLs of images as an actual <img>,
      add global "notifications" such as joining and /help,
      clean names to avoid OAuth2 state conflicts in the URL,
      make Dropbox authentication more robust against failures,
      and parse non-image URLs as <a> using a regular expression.
      6cdfcbfa
  4. 08 Feb, 2017 1 commit
    • Eugene Shen's avatar
      Initialize erp5_space_chat gadget · 6a2c3380
      Eugene Shen authored
      Add initial files for space chat project. Features include:
      - Real-time text-based communication system over WebRTC
      - Modular chat separation into 'folders' and 'rooms'
      - Multiple signalling options, including text or Dropbox
      - Configurable local storages like IndexedDB using jIO
      - Follows WebRTC best practices by using adapter.js shim
      - Adjustable polling behaviour for managing Dropbox offers
      - Powerful offline synchronization algorithms within rooms
      
      Actually none of the above are even features, this chat is very bad.
      
      The file list is:
      - adapter.js: shim for cross-browser WebRTC compatibility
      - fast_priority_queue.js: by adamhooper, for sorting messages
      - gadget_erp5_chat: main chat gadget, contains local storage and login
      - gadget_erp5_chat_login: gadget to get name, folder, and room from user
      - gadget_erp5_chat_webrtc: WebRTC signalling gadget to open communications
      - gadget_erp5_chat_panel: actual chat gadget, has all the chatting functions
      6a2c3380
  5. 06 Feb, 2017 2 commits
  6. 03 Feb, 2017 1 commit
  7. 02 Feb, 2017 5 commits
    • Gabriel Monnerat's avatar
      Fix property type validity consistency · e1c9d477
      Gabriel Monnerat authored
      Fix inconsistencies from gadgets
      
      /cc @jerome 
      
      /reviewed-on nexedi/erp5!225
      e1c9d477
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 5bb901df
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_maps gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_maps (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      5bb901df
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 51907bce
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_calendar gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_calendar (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      51907bce
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_height and... · 6f85d5ac
      Gabriel Monnerat authored
      erp5_knowledge_pad: Fix inconsistency with preferred_height and preferred_width in google_search gadget
      
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/google_search (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      6f85d5ac
    • Gabriel Monnerat's avatar
      erp5_knowledge_pad: Fix inconsistency with preferred_width and preferred_height in clock gadget · 363c0c71
      Gabriel Monnerat authored
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_width should be of type string but is of type <type 'int'>)
      ERP5Type.ConsistencyMessage for PropertyTypeValidity type_check on portal_gadgets/clock (message: Attribute preferred_height should be of type string but is of type <type 'int'>)
      363c0c71
  8. 01 Feb, 2017 1 commit
  9. 27 Jan, 2017 1 commit
  10. 25 Jan, 2017 26 commits