John Preston
352839337d
Add SCAM badge for users and channels.
2019-06-23 14:18:33 +02:00
John Preston
88b7387a40
Closed alpha version 1.7.8.1: Fix build for Xcode.
2019-06-22 22:42:30 +02:00
John Preston
edcd09c29f
Remove LangKey.
2019-06-21 11:06:51 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
2162aa8df0
Rename Text to Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
e9677779b8
Show phone number only in the chat top bar.
2019-06-21 11:06:46 +02:00
John Preston
984f19b1e9
Implement adaptive ContactStatus buttons.
2019-06-21 11:06:45 +02:00
John Preston
5e3734d7bf
ReportSpamPanel -> HistoryView::ContactStatus.
2019-06-21 11:06:45 +02:00
John Preston
0868a9f7b9
Use Controller::account in MainWindow.
2019-06-06 14:59:00 +03:00
John Preston
eb438e35ee
Remove old download priority arguments.
2019-06-04 14:30:43 +03:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04:00
John Preston
eb1825defd
Add revoking of full history.
2019-03-24 12:12:44 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
23rd
0f3ec47074
Begin of EditPeerBox redesigning.
...
- Moved buttons from ManageGroupBox to EditPeerBox.
- Added counting of permissions.
2019-03-22 13:40:21 +04:00
23rd
2aecd1035e
Removed "Export history" from context menu for empty chats.
2019-03-22 13:38:09 +04:00
John Preston
13a9b967e9
Use user phrases for support accounts.
2019-03-12 14:38:59 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
22f1ffc72b
Use different phrases for default restrictions.
2019-01-17 12:21:30 +04:00
John Preston
9728ddeaf9
Handle migration to supergroups in boxes.
2019-01-17 12:21:30 +04:00
John Preston
3c44bdb6b7
Support auto-migrate to supergroups.
2019-01-17 12:21:30 +04:00
John Preston
9a60e744d3
Unify permissions checks in participants boxes.
2019-01-17 12:21:30 +04:00
John Preston
18c6be0d3b
Unify legacy and megagroups information edit.
2019-01-17 12:21:29 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
0ce4d66601
Rename restrictionReason to unavailableReason.
2019-01-17 12:21:28 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
John Preston
78da810114
Extend pinned messages support.
...
Support them in saved messages and normal groups.
2018-11-16 20:17:58 +04:00
John Preston
8850d974a2
Pass correct FileOrigin for userpics.
2018-11-04 15:51:40 +04:00
John Preston
595134cab5
Move image-related modules to ui/image/.
2018-11-04 15:51:37 +04:00
John Preston
113f665295
Move Image and derived to ui/image.
2018-11-04 15:51:36 +04:00
John Preston
2e5a0e056c
Move to std::optional.
2018-09-21 19:28:46 +03:00
John Preston
839885910c
Pass FileOrigin in all file downloads.
2018-08-20 17:26:28 +03:00
John Preston
b697824540
When following a post link push reply-return.
...
Fixes #4856 .
2018-07-11 17:56:06 +03:00
John Preston
734c410879
New notifications API, defaults for users/chats.
2018-05-30 18:44:46 +03:00
John Preston
8bacc74d8b
Request dialog list entries when needed.
...
Also save the original server-side int32 date in HistoryItems.
2018-02-08 12:20:54 +03:00
John Preston
4527c03c0d
Use "Feed" name for chats list index and search.
2018-02-08 12:20:51 +03:00
John Preston
724fe65d72
Start feeds support.
2018-02-08 12:20:45 +03:00
John Preston
46612ef128
Remove Notify::userIsContactChanged().
...
Replace with Notify::peerUpdatedDelayed().
2018-02-08 12:20:45 +03:00
John Preston
ea7441ae77
Use single LEGAL file with license and copyright.
2018-01-03 13:23:14 +03:00
John Preston
05e3ddce0c
Fix userpic removing.
...
Regression was introduced in 68009b6fba
.
Fixes #4152 .
2017-12-12 18:56:37 +04:00
John Preston
5eeb8143b6
Move EmptyUserpic from data_peer to empty_userpic.
2017-12-05 12:44:27 +04:00
John Preston
68009b6fba
Refactor userpic storage and access in PeerData.
2017-12-05 11:58:18 +04:00
John Preston
62568daffe
Refactor NotifySettings in PeerData.
2017-12-04 21:48:45 +04:00
John Preston
f3c8da4819
Request all admins when first opening a supergroup.
2017-12-03 20:43:42 +04:00
John Preston
85b3d3f64d
Display admin badges in supergroups.
...
Also prefer std containers to Qt and OrderedSet in data_peer.
2017-12-01 22:38:44 +04:00
John Preston
3bdce06e19
Use peer colors uniformly with mobile apps.
2017-12-01 14:21:40 +04:00
John Preston
542ba89f25
Edit pre-history visibility in megagroups.
2017-11-22 12:04:45 +04:00
John Preston
75d8d01b17
Allow pinned messages in channels.
2017-11-21 18:27:48 +04:00
John Preston
6ca105a290
Minimal layer 72 support.
2017-11-20 23:54:05 +04:00
John Preston
1871425b2d
Add 'X' and admin star in group info members.
2017-11-16 07:59:10 +04:00
John Preston
b51f865c54
Save info members list state to memento.
2017-11-16 07:59:08 +04:00
John Preston
fddcdf359b
Use not type-erased producers in code.
2017-11-16 07:59:05 +04:00
John Preston
1a0e524b49
Optimize third column (create it only once).
...
Before historyPeer and historyPeerCanWrite were independent, so we
created a new Info section for both of them changing.
Now we use Data::CanWriteValue(peer) and rpl::flatten_latest().
2017-11-16 07:59:04 +04:00
John Preston
ffc20e4492
Divide structs into several data/ modules.
2017-11-16 07:59:04 +04:00