Commit Graph

92 Commits

Author SHA1 Message Date
Philippe Loriaux
eaa2450be7 Improve the Obj-C Generated Interface Header Name definition 2021-10-26 17:42:33 +02:00
ismailgulek
1ec3817d43 Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-19 14:01:32 +03:00
ismailgulek
23f81ade18 Refactor cell data arrays 2021-10-12 21:25:15 +03:00
ismailgulek
f84a9dff55 Remove old code piece 2021-10-08 16:52:09 +03:00
ismailgulek
0dff280edf Adapt api changes 2021-10-08 14:43:19 +03:00
Gil Eluard
f9ae4f8efe [Spaces] M10.4.1 Home space data filtering #4570
- Added settings menu for Home space
2021-10-07 15:37:20 +02:00
ismailgulek
51f63b46ab Merge branch 'develop' into ismail/4384_room_summary_store 2021-10-05 13:48:25 +03:00
ismailgulek
82c8f5b186 Architecture update 2021-10-04 17:28:21 +03:00
ismailgulek
4ff95116a1 Create suggested rooms fetcher 2021-10-02 02:10:13 +03:00
manuroe
ba122a93e4 RecentsDataSource: Memory leak in [RecentsDataSource dataSource:didStateChange:] 2021-10-01 11:34:39 +01:00
ismailgulek
56703c272a Fix merge conflict 2021-09-30 12:43:49 +03:00
ismailgulek
6761404d2d Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-30 12:35:46 +03:00
Stefan Ceriu
7b75dec011 vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
ismailgulek
b31cd38e00 Add spaces option 2021-09-29 15:10:41 +03:00
ismailgulek
f76f778e0b Merge branch 'develop' into ismail/4384_room_summary_store 2021-09-28 17:30:39 +03:00
ismailgulek
e3e713ab1c Refactor recents data source to use new room list data fetchers 2021-09-24 18:50:41 +03:00
Gil Eluard
5c127d1303 Suggested Spaces appear as suggested rooms #4903
- Fixed
2021-09-24 14:31:35 +02:00
Gil Eluard
53c3cd7fc6 [Spaces] M10.6 Space preview bottom sheet #4497 2021-09-06 07:46:43 +03:00
Gil Eluard
a6c838df81 [Spaces] Show suggested in room lists #4501
- Update after code review
2021-08-16 07:57:30 +02:00
Gil Eluard
358cd642bb Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 22:07:45 +02:00
Gil Eluard
c49fa993f3 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-08-03 21:22:43 +02:00
Gil Eluard
3985f079ef [Spaces] Show suggested in room lists #4501
- Preview suggested rooms
2021-08-03 13:45:22 +02:00
Gil Eluard
b50ff1b290 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists 2021-08-02 14:40:17 +02:00
Gil Eluard
20b199c14e [Spaces] Show spaces in left panel #4509
- update after review
2021-08-02 09:57:30 +02:00
Gil Eluard
4833be9452 [Spaces] Show spaces in left panel #4509
- moved space filtering to MatrixKit
2021-07-30 06:56:37 +02:00
Gil Eluard
2a558bd240 [Spaces] Show suggested in room lists #4501
- Show suggested rooms section in home screen (no actions)
- Show suggested rooms section in rooms screen (no actions)
2021-07-29 23:24:34 +02:00
Gil Eluard
9c4c3ec892 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists
# Conflicts:
#	Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
2021-07-27 20:14:53 +02:00
Gil Eluard
20fe74f9f9 [Spaces] Show spaces in left panel #4509
- filter rooms using `MXSpaceService` new API
2021-07-27 19:53:41 +02:00
Gil Eluard
5dac1ec090 [Spaces] Show spaces in left panel #4509
- filter rooms using `MXSpaceService` new API
- Added logs
2021-07-27 19:50:36 +02:00
Gil Eluard
b42d4bd3f8 Merge branch 'gil/4494_space_menu' into gil/4501_show_suggested_in_room_lists 2021-07-26 12:03:49 +02:00
Gil Eluard
18a8bd088e Merge branch 'element_4509' into gil/4509_show_spaces_in_left_panel 2021-07-26 12:03:04 +02:00
SBiOSoftWhare
a75ee5e354 RecentsDataSource: Factorize section reset management and do not make it in refreshRoomsSection method. 2021-07-23 10:42:08 +02:00
Gil Eluard
b90247543a [Spaces] Show suggested in room lists #4501
- Request space suggested rooms in `RecentsDataSource`
2021-07-22 22:35:15 +02:00
Gil Eluard
ca20af2bd2 [Spaces] Show spaces in left panel #4509
- Display the none hierarchical list of spaces in the left panel
- Space switching when new space selected
- Refresh space list and recents data after sync
2021-07-15 14:10:01 +02:00
Doug
990da54907 Remove uninitialised header views. 2021-07-07 15:05:40 +01:00
Doug
9bcbeffc50 Remove custom section header for room directory from RecentsDataSource. 2021-07-07 14:31:52 +01:00
Doug
1123d356b7 Don't include directorySection in RecentsDataSource when in RecentsDataSourceModeRooms mode. 2021-07-07 11:48:23 +01:00
ismailgulek
143773d334 Hide invited rooms in recents if auto-accept option enabled 2021-06-21 14:51:09 +03:00
manuroe
2e80d6dcc4 Update Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2021-06-18 16:34:38 +02:00
manuroe
e3475d1f3d Room lists: Avoid app freezes by building them on a separated thread
#3777
2021-06-18 15:49:20 +02:00
Stefan Ceriu
a8b0e8700e 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
06d3b265dd RecentsDataSource: Present the secure backup banner only if key backup is disabled. 2021-05-18 11:05:19 +02:00
SBiOSoftWhare
2131e10abb RecentsDataSource: Do not display secure backup banner when keys upload is in process. 2021-05-17 15:44:29 +02:00
SBiOSoftWhare
438725c64a RecentsDataSource: Hide spaces from home and room list but keep space invites. 2021-04-29 16:38:45 +02:00
Johannes Marbach
f1a6ab4278 Fix memory leak in [RecentsDataSource dataSource:didStateChange:]
The block passed into `[MXSession listenToEventsOfTypes:onEvent:]` is stored with a strong
reference in the `listenerBlock` property of `MXSessionEventListener`. The method also
returns the listener and it is then stored into the `roomTagsListenerByUserId` dictionary
on `self`. Since a strong reference to `self` is captured in the block that means the block
retains `self` (via the capture) and `self` retains the block (via `roomTagsListenerByUserId`)
so there is a memory leak.

The bug is most easily reproduced during testing #4168 which involves closing the current
and creating a new session.

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-04-08 20:54:03 +02:00
Gil Eluard
ddaa68fc1f Retrying & deleting failed messages
- Added unsent notice to tab bar room items
2021-03-11 09:01:44 +01:00
Gil Eluard
120425389f Retrying & deleting failed messages
- Update after code review
2021-03-10 22:19:04 +01:00
Gil Eluard
c9f5e6cf0d Update Riot/Modules/Common/Recents/DataSources/RecentsDataSource.m
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-03-10 21:31:24 +01:00
Gil Eluard
4a8bcbec1f Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
SBiOSoftWhare
7a94aa4213 Update PublicRoomsDirectoryDataSource with RiotSettings.shared.showNSFWPublicRooms value where needed. 2021-03-03 16:33:11 +01:00