1. 23 Oct, 2017 1 commit
  2. 20 Oct, 2017 2 commits
  3. 19 Oct, 2017 1 commit
  4. 11 Oct, 2017 1 commit
  5. 02 Oct, 2017 1 commit
  6. 27 Sep, 2017 3 commits
  7. 22 Sep, 2017 1 commit
  8. 21 Sep, 2017 1 commit
  9. 24 Aug, 2017 1 commit
    • Kateryna Kostiuk's avatar
      navigation: apply the Coordinator pattern · a44b205d
      Kateryna Kostiuk authored
      this commit is about:
      - split the storyboards into reusable components
      - use the coordinator pattern the handle the navigation
      - ease the dependancy injection
      - refactor folders structure to match a "Features" pattern
      - refactor the walkthrough UI
      
      Change-Id: Idf67e8e7cee7ca7487d58073409fded654f4dc0d
      a44b205d
  10. 01 Aug, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      ContactRequests: add Contact requests screen · 0fdb5691
      Silbino Goncalves Matado authored
      ConversationModel: replaced Contact by ringId
      Remove realm from Contact and Account (managed by daemon)
      Pass reference to account list and current account to ContactsService
      Add Invitations screen with Accept, Discard and Ban buttons
      Add vCard load and save support
      
      Change-Id: Ied42ef310af5e4849f4aef389584145a80e79888
      0fdb5691
  11. 12 Jul, 2017 1 commit
    • Hadrien De Sousa's avatar
      launch: fix account loading · 799a4cad
      Hadrien De Sousa authored
      This commit fixes accounts loading at launch that displayed the 
      smartlist even if there was no accounts
      
      Change-Id: I87e3aeffa9e780d7a1ff43f4511a331a0d5d987f
      799a4cad
  12. 07 Jul, 2017 1 commit
  13. 06 Jul, 2017 2 commits
  14. 05 Jul, 2017 1 commit
  15. 04 Jul, 2017 1 commit
    • Thibault Wittemberg's avatar
      Project: organize folders · 67e34610
      Thibault Wittemberg authored
      Organize project folders according to groups hierarchy.
      It is not mandatory but the project directory is easier to read this way
      
      Also move WelcomeViewController to Walkthrough folder and renamed
      ViewControllers folder to Settings
      
      Change-Id: Ica7b39ff57492435811d49ee9b6e0132dc597beb
      67e34610
  16. 28 Jun, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      Smartlist: Add conversations persistence with Realm · 748f3f4a
      Silbino Goncalves Matado authored
      Add conversations persistence to save the history of messages using
      Realm and RxRealm libraries
      
      Refactor models to work with Realm :
      - Change properties declaration as dynamic vars
      - Change Arrays to List
      - Change Dictionaries to Objects
      - Add default values for non-optionals
      - Changed initializers for convenience initializers
      - Fixed Tests compilation using @testable import (classes linked twice
      exception throwed by Realm)
      - Bumped RxSwift version and fixed deprecated methods warning
      
      Change-Id: Ife98e48430740f80ffef9420d857f1ae6e4819d4
      748f3f4a
  17. 02 Jun, 2017 1 commit
  18. 01 Jun, 2017 1 commit
    • Silbino Goncalves Matado's avatar
      Lookup and register name: add services and adapters · 0de52659
      Silbino Goncalves Matado authored
      Add NameService and NameRegistrationAdapter to :
      
      - Verify if the username is valid and available to create a new user
      - Register a new username into the blockchain.
      
      Add RegistrationState observation from the daemon to verify if the
      account is properly created.
      
      Change-Id: I5a66dde2576391b5ec2dc242fb544dc4fe680d9e
      0de52659
  19. 06 Apr, 2017 1 commit
  20. 04 Apr, 2017 1 commit
    • Romain Bertozzi's avatar
      arch: remove singleton and add DI · 59f7ea31
      Romain Bertozzi authored
      This patch removes the singleton of the AccountService and
      AccountAdapter.
      
      These elements are still instantiated and kept once in the application
      thanks to the AppDelegate.
      They are then injected by initializers to the rest of the app.
      
      In order to achieve this, we had to change the delegate connection
      between the AccountAdapter and its Service. Indeed, we do not have a
      singleton pattern anymore and we can not keep a "self" reference
      because of the exportable_callback behaviour.
      So, we set the delegate to a static delegate.
      
      Tuleap: #1391
      Change-Id: I56d6e79f7d3c09d6ac3166643fa293cf6df67555
      Reviewed-by: default avatarSilbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
      59f7ea31
  21. 22 Mar, 2017 1 commit
    • Romain Bertozzi's avatar
      accountModel: create model stack · 4361db30
      Romain Bertozzi authored
      This patch creates the stack of models that the AccountModel will need
      to exist.
      
      It also makes a little refactor to make the AccountModel very simple:
      variables and init methods.
      Some of these elements that have been moved are now gathered in a
      dedicated helper that exposes some getters and setters.
      
      Finally, some code is now commented in the high layers to allow code
      compilation. This code refers to parts that are not designed or
      written yet.
      
      Tuleap: #1542
      Change-Id: Ie52075c9f06d6efaa824caac457d30b859c17658
      4361db30
  22. 20 Mar, 2017 2 commits
    • Romain Bertozzi's avatar
      services: create serviceEvent structure · 2202e6d1
      Romain Bertozzi authored
      This patch creates the serviceEvent structure.
      
      This structure will be sent in the services' response streams. They
      will contain all the needed data gathered from the deamon by the
      services.
      
      Tuleap: #1377
      Change-Id: Ia1e76be8550b9155c80a22f78df71f8e60898f10
      2202e6d1
    • Romain Bertozzi's avatar
      wizard: complete add account pipe · 72a1b8d8
      Romain Bertozzi authored
      This patch completes the pipe of creating a dummy account using
      RxSwift and MVVM.
      
      The AccountsService now exposes a public shared responseStream that
      observers can listen to.
      Callers will call this service's methods directly and wait for any
      interesting response on the stream.
      
      Tuleap: #1391
      Change-Id: I2eb5abac9eb012892a806ee2fb73df8730edba87
      72a1b8d8
  23. 04 Jan, 2017 1 commit
    • Romain Bertozzi's avatar
      wizard: bind V to VM for create Ring account · bb76bf35
      Romain Bertozzi authored
      This patch creates a basic binding between the view and the modelview
      of the add account screen.
      
      It is done by using RxSwift.
      
      For the moment, the unique button of the screen is bound. The action
      between the VM and the AccountService is still strongly link. This
      will be changed in a next patch to use Rx instead.
      
      Change-Id: Iebc4f49edd0de4a0ec1db70af854d0d6f98f336e
      Tuleap: #1400
      bb76bf35
  24. 03 Jan, 2017 2 commits
    • Romain Bertozzi's avatar
      bridge: replace nsnotification by delegation · 8164698a
      Romain Bertozzi authored
      This patch takes care of replacing the NSNotification events fired
      from the AccountConfigurationManagerAdaptator by a delegation pattern.
      
      Indeed, we only want the AccountsService to be notified of callbacks
      coming from the daemon. NSNotifications fired from the NSNotification
      default center are broadcasted events. We want to avoid them as much
      as possible.
      
      In order to achieve this, a protocol is declared on the Swift part of
      the application.
      Then, the Ring-Swift.h generated file will take care of exposing it to
      the objective-c source code (thanks to the @objc annotation).
      
      We need the pch file to be present to resolve UIKit and Foundation in
      the generated Ring-Swift file.
      
      The accountsService now registers itself to the
      AccountConfigurationManagerAdaptator as the reveiver of its callbacks.
      
      Because notifications are not used anymore at this time, we remove
      the related files factorizing the notifications names.
      
      Tuleap: #1405
      Change-Id: I25c906ef6bcfd019cfb331047768883b39755275
      8164698a
    • Romain Bertozzi's avatar
      account service: modify bridging · 8d90d9ed
      Romain Bertozzi authored
      This patch reorganizes the structure of the bridging between the Swift
      client and the Daemon.
      
      It isolates the code related to the account service. That's why there
      is a renaming of the ConfigurationManagerAdaptor.
      We want it to be specialized in what the account service can do.
      
      The files meant to make the bridge between the client and the daemon
      are now stored in a dedicated file in the project structure.
      
      The broadcast by NSNotification posts is still used here.
      
      Tuleap: #1405
      Change-Id: I2d8f0d361ed9394c98a30b0703ad3d49b18cde4a
      8d90d9ed
  25. 22 Dec, 2016 2 commits
    • Romain Bertozzi's avatar
      daemonservice: introduce service · f31aa1da
      Romain Bertozzi authored
      This patch adds the deamon service to the project.
      
      This service will handle the main capabilities of the Ring Daemon,
      such as starting and stopping it.
      
      For the moment, there is no callback, notifications, or observers to
      that service. This let us the flexibility to implement it with
      whatever we want in the future (Rx-like, NSNotifications etc...).
      
      Tuleap: #1378
      Change-Id: Ib560977f9fd1dacd45e2afc63613870a3d60630f
      f31aa1da
    • Romain Bertozzi's avatar
      project: reorganize structure, begin mvvm · 966233f8
      Romain Bertozzi authored
      This patch reorganizes the project structure to separate entities in
      specific groups.
      It also renames some files.
      
      This is done to improve the separation of concerns of the components
      of the project.
      The renaming operation reflects the MVVM architecture that we will try
      to implement.
      
      Tuleap: #1327
      Change-Id: I46109e82c87510e134f57d551946499b11334c44
      966233f8