1. 25 May, 2018 2 commits
    • Daniel García Moreno's avatar
      stickers: Stickers popover and send · b6f81380
      Daniel García Moreno authored
      This patch adds a new button to the main window to show the stickers. A
      popover is shown when you click in this new button with all the stickers
      group.
      
      If you've purchased the stickers you'll view all the stickers there and
      you can click over one sticker to send it.
      
      Stickers not purchased are shown as a preview thumbnail and description
      and a button to add is there too but not working yet.
      b6f81380
    • Daniel García Moreno's avatar
      fe9cbe13
  2. 10 May, 2018 1 commit
    • Daniel García Moreno's avatar
      Fix EMPTY ROOM for 1:1 bug · 96248c1a
      Daniel García Moreno authored
      This patch fix the problem that causes the elimination of member events
      from the initial sync.
      
      To calculate 1:1 rooms we use the members in that rooms so if we don't
      have that information we should ask to the matrix server.
      
      I've just move some code to the fractal-gtk to calculate the room name
      when we receive the list of member in a room. Meantime we'll show a
      "..." that I suppose that any user will understand as "loading".
      
      This loading is done in the background so the initial sync works faster
      and if we've rooms without name we'll ask to the server about the
      members and then we'll change the room name according to the number of
      members.
      96248c1a
  3. 29 Apr, 2018 1 commit
  4. 18 Mar, 2018 1 commit
  5. 16 Mar, 2018 1 commit
  6. 20 Feb, 2018 1 commit
  7. 02 Feb, 2018 2 commits
  8. 19 Jan, 2018 1 commit
  9. 17 Jan, 2018 1 commit
  10. 16 Jan, 2018 1 commit
  11. 13 Jan, 2018 1 commit
  12. 11 Jan, 2018 1 commit
  13. 27 Dec, 2017 1 commit
  14. 22 Dec, 2017 1 commit
  15. 11 Dec, 2017 1 commit
  16. 09 Dec, 2017 1 commit
  17. 08 Dec, 2017 1 commit
    • Daniel García Moreno's avatar
      Split the backend into several modules · d38e966f
      Daniel García Moreno authored
      See #30
      
      I've split the backend file into several modules, by matrix.org API
      funcionality. Now each function receives the backend struct as first
      argument and this struct is clonable so we can try to send between
      threads. The backend.data is a Arc<Mutex>> so it's shared between calls
      and keep the shared information.
      
       * backend/types.rs: enums and structs, BKCommand, BKResponse and Backend
       * backend/mod.rs: Backend struct methods, new, run and command_recv
       * backend/register.rs: Login related API calls
       * backend/user.rs: User related API calls
       * backend/media.rs: Media related API calls
       * backend/directory.rs: Directory related API calls
       * backend/room.rs: Room related API calls
       * backend/sync.rs: Sync related API calls
      d38e966f