Commit Graph

121 Commits

Author SHA1 Message Date
David Langley
756b1c3d1d Split MXKAccount from Data so just data can be loaded from disk without side effects. Also change force reload of accounts to stop double load on init. 2022-01-06 20:35:37 +00:00
SBiOSoftWhare
e8d4af46d2 Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
Philippe Loriaux
216924165d Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Stefan Ceriu
9ee68cb7d8 vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
Stefan Ceriu
8b80b3f4c7 vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug
885d8e3928 Remove the observer in destroy. 2021-07-26 15:16:27 +01:00
Doug
c94ca89a90 Fix crash from potentially calling removeObserver multiple times.
Let the system remove it for us.
2021-07-26 15:01:55 +01:00
Doug
c2cce13730 Move authenticationActivityIndicator into a container.
Observe the indicator's hidden property to show and hide the container.
2021-06-30 12:33:43 +01:00
Doug
93a046fb90 Merge remote-tracking branch 'origin/develop' into element_4485 2021-06-29 10:32:19 +01:00
Doug
83cd179101 Ensure authenticationActivityIndicator is in front of the input fields. 2021-06-29 09:45:07 +01:00
Doug
d36e40c7aa Use secondary colour from the theme for authenticationActivityIndicator.
This allows the indicator to be seen when using a dark theme.
2021-06-28 16:38:54 +01:00
SBiOSoftWhare
8cdb019fc4 AuthenticationVC: Show an error alert on SSO authentication failure. 2021-06-28 16:45:20 +02:00
Stefan Ceriu
43f6c44c78 Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
SBiOSoftWhare
9eb08d1c05 MXSession: Remove vc_isE2EByDefaultEnabledByHSAdmin method and expose vc_homeserverConfiguration. 2021-04-29 12:37:57 +02:00
SBiOSoftWhare
65d279cb32 AuthVC: Setup cross-signing without authentication parameters in case if a grace period is enabled. 2021-02-05 18:32:36 +01:00
Gil Eluard
bc6f29b3f5 Update after review 2021-02-01 09:53:17 +01:00
Gil Eluard
92199f8833 Merge branch 'develop' into element_3969 2021-01-29 11:32:22 +01:00
Gil Eluard
c4cde52e71 Avoid megolm share requests if the device is not verified 2021-01-26 17:33:05 +01:00
SBiOSoftWhare
55ae3089d9 AuthVC: Fix social login layout issue. 2021-01-22 11:13:25 +01:00
SBiOSoftWhare
e3ecc33f37 AuthVC: Fix recaptcha view cropping. 2021-01-15 17:05:45 +01:00
SBiOSoftWhare
27cb7948b0 AuthVC: Do use fallback page when using SSO without idp. 2021-01-07 16:01:17 +01:00
SBiOSoftWhare
86b1f8d10a SSO: Handle transaction id in AuthVC and SSOAuthenticationPresenter. 2021-01-07 14:38:27 +01:00
SBiOSoftWhare
21afba6256 AuthVC: Handle SSO authentication. 2020-12-18 18:44:08 +01:00
SBiOSoftWhare
bf54ba30c0 AuthVC: Support both password and social login display. 2020-12-18 18:44:08 +01:00
ismailgulek
014e5ff4cc Specify set pin view mode after auth 2020-09-17 20:42:49 +03:00
manuroe
c6c5b4234b * Loading animation: Fix the bug where, after authentication, the animation disappeared too early and made auth screen flashed. 2020-09-15 16:48:35 +02:00
manuroe
33a4cf0b25 AuthVC: Make force PIN working for registration as well 2020-09-15 16:47:13 +02:00
manuroe
c8e8d76873 AuthVC: Fix PIN setup that broke cross-signing bootstrap 2020-09-15 16:43:29 +02:00
manuroe
bf1877cb0b AuthVC: Make sure the initial sync is done before checking cross-signing state 2020-09-15 16:42:34 +02:00
SBiOSoftWhare
0c00f932a8 Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare
7ccc184e97 Remove deprecated -[UIApplication openURL] usage. 2020-09-01 12:20:44 +02:00
SBiOSoftWhare
1f6743f612 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
SBiOSoftWhare
d396f355de AuthenticationVC: Fix show forgot password conditions. 2020-08-20 10:47:52 +02:00
SBiOSoftWhare
4375ccd374 AuthenticationVC: Handle forgot button display customization with BuildSettings. 2020-08-19 17:32:35 +02:00
ismailgulek
e86f33119d Move scroll method to an extension 2020-08-05 15:22:27 +03:00
ismailgulek
41eff4ebb6 Move scroll logic to KeyboardAvoider 2020-08-05 14:49:37 +03:00
ismailgulek
112b421834 Use KeyboardAvoider instead of keyboard height 2020-08-04 17:01:26 +03:00
ismailgulek
c18db89aed Auto scroll to the custom server textfield 2020-08-04 13:08:44 +03:00
ismailgulek
2cd03433da Adjust scrollView scrollIndicatorInsets 2020-08-04 13:06:44 +03:00
ismailgulek
38a8e82140 Fix contentSize when custom servers option hidden 2020-08-04 13:03:44 +03:00
manuroe
3d2949d244 BuildSettings: Integrate default HS and IS URLs
We still have them in user defaults but default values are defined in BuildSettings
2020-07-31 12:47:28 +02:00
manuroe
25a93251c6 AuthenticationVC: Make custom server options and register button configurable 2020-07-30 18:07:16 +02:00
ismailgulek
0fe6d7078d Merge branch 'develop' into element_3436 2020-07-21 19:38:24 +03:00
ismailgulek
ee64956681 Go to pin setter screen only if forced at login 2020-07-21 16:14:46 +03:00
manuroe
8cca27c070 Registration: Do not display the skip button if email is mandatory
#3417
2020-07-21 08:06:37 +02:00
ismailgulek
f2d3204b82 Present set pin module after successful login 2020-07-17 19:03:00 +03:00
SBiOSoftWhare
3fac400b29 Checkboxes: Use theme tint color. 2020-07-09 18:58:44 +02:00
SBiOSoftWhare
da8da98fc8 AuthenticationVC: Update logo. 2020-07-08 19:08:27 +02:00
SBiOSoftWhare
a717fd7e96 Bot: Disable bot creation for the moment. 2020-07-08 17:34:50 +02:00
ismailgulek
31c89bf4f8 Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Gemfile.lock
#	Riot.xcodeproj/project.pbxproj
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2020-07-01 09:59:29 +03:00