- 12 Jul, 2017 1 commit
-
-
Hadrien De Sousa authored
This commit fixes accounts loading at launch that displayed the smartlist even if there was no accounts Change-Id: I87e3aeffa9e780d7a1ff43f4511a331a0d5d987f
-
- 07 Jul, 2017 2 commits
-
-
Thibault Wittemberg authored
Change-Id: Ib67ca26dff08fa4b73c2bd75b0b2b8ce3cde0937
-
Thibault Wittemberg authored
This commit: - adapts code to a more Swifty way of coding - uses previously added frameworks to make the code "type safer" Change-Id: I5332e2843e82cac4f4f9af79714993863ef5963d
-
- 06 Jul, 2017 4 commits
-
-
Thibault Wittemberg authored
SwiftyBeaver improves log readability and allows to use different logging levels and different kinds of outputs. Way better than simples "print()" Change-Id: Iaa3087952095d4344b3cd85314892c4fcd25251c
-
Thibault Wittemberg authored
this framework will be used to: - instantiate in a more "type safety" way UI components - to split storyboards into atomic VCs Change-Id: I1fec0a87a9e2c4b838174139ce57f9097bb4d4c7
-
Thibault Wittemberg authored
This commit adds the SwiftGen build phase. This phase launches the swiftgen.sh script that uses SwiftGen tool to produce Swift Code that make Strings, Assets and Storyboards usage a lot safer Change-Id: I78471f5603864608e25bbad36f0459103d6bdded
-
Thibault Wittemberg authored
This commit: - adds swiftlint analysis as custom build phase - to install, see: https://github.com/realm/SwiftLint - fix almost every error/warning messages detected by swiftlint Change-Id: I0d15cecaa33c4f79dcd1417a2169f1e66fd2e551
-
- 05 Jul, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Add Editing mode and swipe gesture on the smartlist to delete conversations using RxDatasources itemDeleted and Realm delete. Change-Id: I8c171d4da0c5ed3fc5bb61231501ef786d14c89b
-
- 04 Jul, 2017 2 commits
-
-
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
-
Thibault Wittemberg authored
Change-Id: I9861df936e208b40e5cc09e14304a284bc447cc7
-
- 28 Jun, 2017 1 commit
-
-
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
-
- 27 Jun, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Add the search bar on the top of the smartlist and the list of found results. Add an other list for search results. This list is splited in 2 sections for filered and found results. Add "No Conversations" label if there is no conversations If the contact is not found locally, a new conversation is created Change-Id: I7985f0644f97063875bfb02159d44dd1aa8b731e
-
- 21 Jun, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Add MVVM, services and adpater to receive and reply to messages This allows to read received messages from other users and reply to them. The messages screen uses a TableView that scroll automatically to the bottom if the user a new message is received. Messages bubbles are made with simple cells with a label that move to the right or the left. Change-Id: I1b6bd6fd36b88daab9d39cb5745d1ed953868ead
-
- 20 Jun, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Change-Id: I09f77c6fda83a1d24063fc4e1e4e9110b65e37d9
-
- 19 Jun, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Add adapter and service for messages (send, receive and statuses) Add the smartlist to see the users that sent messages Add lookup address into NameService to get the user name from the RingId Change-Id: I512bfafc7d3e77888a3560a183a085434220337b
-
- 09 Jun, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Change-Id: I29c3862d0a732c276583a9f6c6561aca825923da
-
- 02 Jun, 2017 2 commits
-
-
Silbino Goncalves Matado authored
Move cells from Walkthrough.stroyboard file to separate .xib files to reuse them into other scenes. Change-Id: I91f92b26da79f733cb6c62c6097b1bb906634fb5
-
Silbino Goncalves Matado authored
Add progress views and alerts popups for success and error to indicate the status of account creation to the user. Refactored CreateAccountViewModel callbacks for Rx Subjects Progress views are made by PKHUD Carthage package Change-Id: I8d7c83374cf672b61be89462e4d7ba3dd9aef9e8 Reviewed-by:
Hadrien De Sousa <hadrien.desousa@savoirfairelinux.com>
-
- 01 Jun, 2017 1 commit
-
-
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
-
- 26 May, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Add some bindings from the CreateRingAccountViewController to the CreateRingAccountViewModel to validate the following user inputs : - username (optional) - password (must be 6 characters min.) - repeat password (must be equal to the password) If conditions are not verified. The Create Account button is disabled. Bindings are made with Variabes and Observers into the ViewModel. Tuleap: #1400 Change-Id: Ib03797e365972aefafbc75c5a8b798e8ba659cfc
-
- 24 Apr, 2017 1 commit
-
-
Silbino Goncalves Matado authored
Change superclass from UIViewController to UITableViewController Add username and password fields UITableViewController allows to automatically scroll to cells while editing UITextField Also added new cells : - TextCell - SwitchCell - TextFieldCell Using a simple UIViewController with a UITableView as subview does not automatically scroll to the cells Tuleap: #1400 Change-Id: I0837e30f006fdfd03aaa5e4914a15aa4f417b7f1 Reviewed-by:
Alexandre Lision <alexandre.lision@savoirfairelinux.com>
-
- 06 Apr, 2017 1 commit
-
-
Romain Bertozzi authored
This patch adds all the mechanism to add a Ring account thanks to the daemon. The AccountService now sees a lot more methods speaking to the daemon itself. The account addition is still in console only. This feature and its callbacks must be improved next. Tuleap: #1454 Change-Id: I72d2c8ce8daf38c0822beb55b6a42f2c76aeb761 Reviewed-by:
Silbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
-
- 04 Apr, 2017 1 commit
-
-
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:
Silbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
-
- 30 Mar, 2017 5 commits
-
-
Romain Bertozzi authored
This patch adds a new utility method to convert C++ data containers to Objective-C ones. Here, std::vector of std::map containers are translated to NSArray of NSDictionary. Issue: #1391 Change-Id: I61f7a57d2801949eac5685ffb0d734f26eeab87c Reviewed-by:
Silbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
-
Silbino Goncalves Matado authored
Add Walkthrough.strings file for string localization Add LocalizedStringTableNames struct for NSLocalizedStrings table names constants Not created a .string file associated to the storyboard to avoid switching between multiple files if some strings are defined into code and others into the storyboard. Tuleap: #1399 Change-Id: Ie1e88a4413a773daef3be2eb95571d1b842274d0 Reviewed-by:
Romain Bertozzi <romain.bertozzi@savoirfairelinux.com>
-
Romain Bertozzi authored
This patchs adds the system adapter files. They are meant to make the bridge between the daemon and the app concerning system related communications. It also registers handles to daemon callbacks. Tuleap: #1550 Change-Id: Ib07c391afb1ddb0ec1207cc36c4b2a05675fe41b Reviewed-by:
Silbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
-
Romain Bertozzi authored
This patch adds tests for the accountModelHelper. It will help to verify continuously the correct behaviour of this helper class. Tuleap: #1542 Change-Id: I3e7413ad756632334de3ef35515b24a24033f798 Reviewed-by:
Silbino Gonçalves Matado <silbino.gmatado@savoirfairelinux.com>
-
Silbino Goncalves Matado authored
Add WelcomeViewController.swift class into the project. Add UILabels and UIImage into the WalkthroughStoryboard and their IBOutlets. Design improvements : Change background and button colors, make button width equals, reduce logo width and add content edge insets to the RoundedButton. Navigation bar is hidden and the status bar is white on the welcome screen. Tuleap: #1399 Change-Id: Id5a373f966d0a70522764c0773e6105f32481754 Reviewed-by:
Romain Bertozzi <romain.bertozzi@savoirfairelinux.com>
-
- 22 Mar, 2017 1 commit
-
-
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
-
- 21 Mar, 2017 1 commit
-
-
Romain Bertozzi authored
This patch adds the unit tests concerning the ServiceEvent class. Tuleap: #1377 Change-Id: Id4e41d23d3bd69124a1f04f5059bb12354ab44f7
-
- 20 Mar, 2017 2 commits
-
-
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
-
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
-
- 10 Feb, 2017 1 commit
-
-
Alexandre Lision authored
It is defined by the daemon Change-Id: I4ee88a4a35d68f1bfe7b5e002356d4df2a5e9433
-
- 09 Jan, 2017 1 commit
-
-
Romain Bertozzi authored
This patch adds the support of an NPROC environment variable in the compile script. Change-Id: I6339349cd30f50a8fb265fa802a1c649a61ba661 Reviewed-by:
Alexandre Lision <alexandre.lision@savoirfairelinux.com>
-
- 04 Jan, 2017 2 commits
-
-
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
-
Romain Bertozzi authored
This patch builds the skeleton of the wizard: all the necessary scene and their script. Tuleap: #1337 Change-Id: Id33e2de2de23564f70b392dbeede3e11f2e489ad
-
- 03 Jan, 2017 4 commits
-
-
Romain Bertozzi authored
This patchs ensures that the dringadapter uses the application's main thread to make the calls to the daemon. This is necessary because of the conception of the daemon. It captures and registers the thread that initializes and starts it and considers it as its main thread. pjsip then also uses it. It does not tolerate any other threads than the ones that it had already registered. Using the app main thread guarantees that is remains the same during the whole lifecyle. Tuleap: #1423 Change-Id: Id03933f3f1a4c0428899af3593b35fc92a873e35
-
Romain Bertozzi authored
This patch adopts the recommended configuration from Xcode. What it does: - warn infinite recursion and suspicious move - optimize swift whole level Change-Id: I19dd00ff8709679f50b0f03ab518db1a70fe31ec Tuleap: #1377
-
Romain Bertozzi authored
This patch updates the .gitignore file to ignore the folder where Carthage builds the frameworks. Change-Id: I0273e312469acaeadb440459c8560d1ec8f92fc6 Tuleap: #1377
-
Romain Bertozzi authored
This library is added by Carthage in a dedicated build folder that is contained in the Carthage folder. The Cartfile.resolved file is tracked by Git, so a Carthage bootstrap will be needed to download the frameworks. Tuleap: #1377 Change-Id: I8df4efdd6488cd73201df80b327b5f00f2b2a21f
-