Commit graph

511 commits

Author SHA1 Message Date
David Langley
4effc7e2a0 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5292_refresh_tokens 2022-01-06 22:43:20 +00:00
Stefan Ceriu
eead770633 vector-im/element-ios/issues/5298 - Various tweaks following code review. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
2c6b286718 vector-im/element-ios/issues/5298 - Added build setting + ui and unit tests. 2022-01-04 17:33:32 +02:00
Stefan Ceriu
6a46c42cfd vector-im/element-ios/issues/5298 - Implemented location sharing from the input toolbar action menu. 2022-01-04 17:33:32 +02:00
Doug
8e38a5fc12 Move Analytics from Managers to Modules. 2021-12-16 17:01:23 +00:00
Doug
919fd0ee3a Add an AnalyticsService to handle account data. 2021-12-16 17:01:23 +00:00
Doug
1df8514fcd Fix mutability on AnalyticsSettings. 2021-12-16 17:01:23 +00:00
Doug
a5abff7eee Address most PR comments.
Update Podfile.lock
2021-12-16 17:01:23 +00:00
Doug
b57e537b4b Leave analytics client running on sign out.
Only identify with a running session.
2021-12-16 17:01:22 +00:00
Doug
1ff7170f98 Add tap/click event. Improve Swift/ObjC bridging. 2021-12-16 17:01:22 +00:00
Doug
59486c824a Add accessibility labels/hints. Fix tests. Show analytics prompt to everyone. 2021-12-16 17:01:22 +00:00
Doug
a2aa01f06c Move string formatting to Tools.
Revert contacts tracking from MatrixKit.
Final tweaks before PR.
2021-12-16 17:01:22 +00:00
Doug
9d4a1d96d6 Migrate doug/5035_posthog from MatrixKit. 2021-12-16 17:01:22 +00:00
Doug
932eca82cc Support link/html in analytics prompt strings.
Show the new prompt to everyone, even if they previously opted out.
Add docs to Analytics.
2021-12-16 17:01:22 +00:00
Doug
e2bae8893b Abstract PostHog out of the Analytics client. 2021-12-16 16:59:45 +00:00
Doug
3a9d35a50b Add AnalyticsScreenTimer and track more screens.
Update Analytics with new methods in MXAnalyticsDelegate.
2021-12-16 16:59:45 +00:00
Doug
1ce3387429 Use custom generated Swift events.
Add analytics PerformanceTimer event.
2021-12-16 16:59:45 +00:00
Doug
3e0e357384 Update MXAnalyticsDelegate 2021-12-16 16:59:45 +00:00
Doug
7bdc146b82 Use matrix-analytics-events generated stubs (locally for now).
Track screens, removing any that aren't part of the schema.
2021-12-16 16:59:45 +00:00
Doug
46d264477d Remove cocoapods-keys. Use UUID for analytics.
Make configuration optional.
2021-12-16 16:59:45 +00:00
Doug
23555b00fd Add specific methods to track analytics and test generated event types. 2021-12-16 16:59:45 +00:00
Doug
50dea9843b Update to PostHog 1.4.4 2021-12-16 16:59:45 +00:00
Doug
63e9dcde55 Add missed MXLogger calls in Analytics. 2021-12-16 16:59:45 +00:00
Doug
2b80c0437a Don't read analytics opt in status from account data.
Update PostHog to 1.4.3.

Add tests for prompt type.
2021-12-16 16:59:45 +00:00
Doug
6f94303cdc Begin migration from Matomo to PostHog
Add CocoaPods-Keys.
2021-12-16 16:59:26 +00:00
David Langley
2fbd129456 Add first refresh token implementation pass. Account credential persistence and NotificationService handling. 2021-12-09 17:28:56 +00:00
Stefan Ceriu
d5982e813b vector-im/element-ios/issues/5114 - Polls in the timeline. 2021-12-09 09:37:02 +02:00
SBiOSoftWhare
3d0c77ef30 Merge develop into steve/5020_matrixkit_merge 2021-11-30 16:16:52 +01:00
SBiOSoftWhare
4081da3ebc Update all Objective-C MatrixKit imports to handle new location. 2021-11-30 16:09:53 +01:00
SBiOSoftWhare
3e6df9749c Remove MatrixKit import from Swift files. 2021-11-29 17:50:30 +01:00
SBiOSoftWhare
867158f905 Remove unnecessary MatrixKit imports. 2021-11-29 17:45:35 +01:00
David Langley
7317f4c760
Update Riot/Managers/PushNotification/PushNotificationService.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-11-26 14:57:58 +00:00
David Langley
002601d767 Restore the pushkit token after login/logout when configuring PushKit 2021-11-26 12:52:40 +00:00
Doug
e324767d7d Merge branch 'master' into develop
# Conflicts:
#	Podfile.lock
#	Riot/Modules/Room/RoomViewController.m
2021-11-17 17:36:44 +00:00
Stefan Ceriu
30ff8a65fb vector-im/element-ios/issues/5114 - Poll creation screen
- added input toolbar poll creation action.
- reordered input toolbar actions as per designs.
- added multiline text field and extracted common components.
2021-11-11 11:24:28 +02:00
Phl-Pro
8246dc93e0
Merge branch 'develop' into phlpro/4722_objc_headers 2021-11-05 14:41:36 +01:00
SBiOSoftWhare
39c94682a9 Merge branch 'hotfix/1.6.7' into hotfix/1.6.7_2 2021-11-03 17:22:21 +01:00
Gil Eluard
30fad9e3ca Set Show All Rooms to true by default #5076 2021-11-02 07:00:12 +01:00
SBiOSoftWhare
41eca48408 Weakify strong reference delegates. 2021-10-29 12:23:06 +02:00
Philippe Loriaux
c6c3eaaec1 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
Doug
a7395dbf25 Address Steve's comments. 2021-10-20 19:29:23 +01:00
Doug
7a096a7df5 Use footers for app and discovery information.
Remove Invite Friends button from settings.
Reorganise Advanced and Other settings.
Rename Other to About.
2021-10-20 17:40:39 +01:00
ismailgulek
61ce79e50a
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 16:40:34 +03:00
ismailgulek
a65a946c17
Introduce RiotSettings.showAllRoomsInHomeSpace and adapt changes in filter options 2021-10-19 16:36:43 +03:00
Stefan Ceriu
b6514349fb vector-im/element-ios/issues/5009 - Refactored share extension and started using the shared code directly in the main application. 2021-10-18 16:40:48 +03:00
ismailgulek
ef764ef3a8
Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-15 12:07:21 +03:00
Doug
d565800f72 Re-enable link detection in clearStore instead of via NotificationCenter. 2021-10-14 14:24:01 +01:00
Doug
d9217a053d Add observer to re-enable link detection when signing out of an account. 2021-10-13 16:01:19 +01:00
Doug
60b31a8cbe Use MXError and MXHTTPOperation where possible. 2021-10-13 14:51:50 +01:00
Doug
842125469d Stop requesting URL previews if the feature has been disabled on the homeserver. 2021-10-13 12:51:15 +01:00