Commit Graph

194 Commits

Author SHA1 Message Date
John Preston
19cacd0efb New layout of service messages (complex shape of a bubble). 2016-06-09 14:51:24 +03:00
John Preston
1859b83e8d Dialog styles moved from basic.style to dialogs.style.
Many minor design improvements in the new profiles.
New drafts design in the dialogs list: no icon, red badge.
Verified checkbox added to the new profile implementation.
Drafts saving to cloud is delayed for 1 second when switching chats.
Before quitting the app makes an attempt to save drafts (timeout 1.5s).
2016-06-07 22:59:39 +03:00
John Preston
520260f207 Merge branch 'profile' into drafts
Conflicts:
	Telegram/SourceFiles/app.cpp
	Telegram/SourceFiles/codegen/style/processor.cpp
	Telegram/SourceFiles/history.cpp
	Telegram/SourceFiles/historywidget.cpp
	Telegram/SourceFiles/mainwidget.cpp
	Telegram/SourceFiles/mainwidget.h
	Telegram/SourceFiles/profilewidget.cpp
	Telegram/SourceFiles/profilewidget.h
	Telegram/Telegram.vcxproj
	Telegram/Telegram.vcxproj.filters
2016-06-06 18:16:52 +03:00
John Preston
91d516f18c Notify::peerUpdatedSendDelayed() now is always called from the event loop. 2016-06-02 16:57:49 +03:00
John Preston
3fc7cc3453 Actions block done for the new profile implementation.
User block status moved to private data.
Notify::PeerUpdateFlag[s] moved to Notify::PeerUpdate::Flag[s].
2016-06-01 23:05:37 +03:00
John Preston
916068447a Cloud stored drafts started. 2016-05-31 12:46:31 +03:00
John Preston
7f353d9b1a Removed all code related to channel comments. 2016-05-27 19:47:46 +03:00
John Preston
533a955dda Unread outgoing messages in supergroups supported.
Looking through the history of group avatar photos added.
Messages about some contact joined Telegram are never unread.
2016-05-20 19:35:16 +03:00
John Preston
92c720ddc3 Returned animation type to the old one.
Fixed new profile display in single column layout.
2016-05-19 15:38:09 +03:00
John Preston
1d42144c95 Profile done as a new generic Window::SectionWidget.
Slide animation reimplemented.
2016-05-19 15:03:51 +03:00
John Preston
6e2dea7030 Merge branch 'master' into profile
Conflicts:
	Telegram/Telegram.vcxproj.filters
2016-05-16 18:47:44 +03:00
John Preston
bf8a98a13b Side shadow moved to MainWidget. Testing slide animation with 3s duration.
New profile widget has fixed top bar outside of scroll area.
2016-05-14 19:57:06 +03:00
John Preston
0b2401132e Message edit warning timer (up to 15 minutes).
Displaying "edited" info in messages.
2016-05-09 15:03:06 +03:00
John Preston
705358993d New style::icon class added, colorized icons by codegen_style.
Moved style_core to /ui/style/, Xcode and QtCreator builds are broken.
2016-04-21 20:57:29 +03:00
John Preston
bb70a76b9c Several crashes fixed. 2016-04-14 22:24:42 +03:00
John Preston
5a3fea05ac ClickHandler, TopBarWidget and Overview layouts moved to separate files.
Xcode and QtCreator builds are currently broken.
2016-04-13 00:31:28 +03:00
John Preston
e8c675d3b2 Langs updated with changelog. 2016-04-11 20:03:50 +03:00
John Preston
576239166d Removed RefPair struct. Beta 9040128. 2016-04-11 15:14:54 +04:00
John Preston
e0d6a68554 Encapsulated unreadCount and mute fields in History.
Support for hiding all muted chats from the list.
2016-04-11 14:59:01 +04:00
John Preston
460e2ec0ac UniquePointer > std_::unique_ptr, MakeUnique > std_::make_unique. 2016-04-10 23:20:48 +04:00
John Preston
7bba52fb7e Refactored dialogs structs.
Moved DialogRow, FakeDialogRow, DialogsList and DialogsIndexed
from history module to dialogs/ folder, for all struct -> class.
2016-04-09 22:45:55 +04:00
John Preston
8e89486fbc Error handling changed, 'auto' keyword used for MTP types.
All errors that lead to MTP request resending by default
error handler now can be handled differently. For example
inline bot requests are not being resent on 5XX error codes.
+ extensive use of auto keyword in MTP types handling.
2016-04-08 14:44:35 +04:00
John Preston
04f8d4dd37 Build fixed for renamed sources folder SourceFiles/{gui->ui}/ 2016-04-07 22:05:28 +04:00
John Preston
35785efa50 Inline bot video and sticker layout and sending done. 2016-04-03 13:11:41 +04:00
John Preston
2ef8c44445 all MTP flags made strictly typed by scoped enums, in-message date display added for non-service messages 2016-03-19 19:55:15 +03:00
John Preston
baf1e31b76 circled profile images 2016-03-18 13:18:30 +03:00
John Preston
621052645c fixed searchInPeer when some search was active already 2016-03-13 16:34:27 +03:00
John Preston
17aaa5ceab fixed double fclose of crash dump file, removed block user context menu item for App::self() 2016-03-11 23:07:13 +03:00
John Preston
08072346fd fixed crash in next/previous_chat(), MTP::dld/upl -> functions, download and upload sessions count reduced to 2 2016-02-29 14:34:44 +03:00
John Preston
798f800913 History::dialogs and Histories::unread are private now, counting only chats from dialogs list to the badge 2016-02-28 14:58:30 +03:00
John Preston
2b6e30bcb5 silent broadcast done 2016-02-25 19:19:54 +03:00
John Preston
57b771c879 some possible crashes fixed, showing maps app on os x 2016-02-17 20:14:09 +03:00
John Preston
80455492b0 a couple of crashes fixed, version 0.9.24 stable 2016-02-16 16:14:19 +03:00
John Preston
f83644cec0 Merge branch 'dev' 2016-02-14 21:29:36 +03:00
John Preston
e492b1e93d some crashes fixed 2016-02-14 18:58:39 +03:00
John Preston
2e60f23733 icons fixed for megagroups in username search results and notifications 2016-02-12 21:21:03 +03:00
John Preston
80ba0259dd some namespaces reorganized, author photo display added to wide mode (where messages are centered), version 0.9.20.dev 2016-02-08 17:54:55 +03:00
John Preston
0b8523d58e added year 2016 to copyright 2016-02-08 13:56:18 +03:00
John Preston
cb2df51af6 remembering last used inline bots, showing them in mentions dropdown, 9015006 beta 2016-01-01 22:48:32 +08:00
John Preston
73a4d3510d removed itemReplaced 2015-12-23 15:55:32 +03:00
John Preston
f6fec9a619 showPeerHistory moved to Ui namespace 2015-12-13 14:36:08 +03:00
John Preston
6ec61d4ad6 redrawHistoryItem moved to Ui, shared contact updates when is_contact changes 2015-12-13 14:17:15 +03:00
John Preston
0b96dd5362 animations refactored 2015-12-08 15:33:37 +03:00
John Preston
6222876ac4 refactored layer methods 2015-12-07 21:09:05 +03:00
John Preston
128cbefe0c improved langs for stickers, fixed confirmed actions from chats context menu, changed AppUserModelId for beta version 2015-12-06 18:50:02 +03:00
John Preston
ed3601f883 sticker packs management done, conversations list context menu added 2015-12-02 20:17:53 +03:00
John Preston
e5c82fad21 icon in search in supergroup fixed, edit button for supergroup admins added, crash fix in cached image loading 2015-11-23 19:05:30 +03:00
John Preston
b05e1a8899 supergroups done 2015-11-20 21:24:44 +03:00
John Preston
ecc49f9cd4 support of bots added to megagroups 2015-11-20 16:34:37 +03:00
John Preston
84a47d3be7 participants handled good in supergroups: auto-load in profiles, outdate when something changes 2015-11-19 18:56:29 +03:00
John Preston
583c0e5904 fixed delete chat where you are not participant / deactivated chat, scheme updated 2015-11-19 14:28:17 +03:00
John Preston
1fa4fd269e new messages.getDialogs() is used for all dialog types (chats, groups, channels, supergroups) 2015-11-18 17:59:17 +03:00
John Preston
37de0904af merged overview, merged search and searchGlobal done (supergroups) 2015-11-18 16:11:56 +03:00
John Preston
497602f47e merged supergroup with migrated group history, loading messages by 3 (temp! testing) 2015-11-13 18:14:33 +03:00
John Preston
ede2065c26 megagroups started 2015-11-02 17:33:57 -05:00
John Preston
59abcc2986 verified check display for users added 2015-10-29 11:52:39 -04:00
John Preston
4b8a33de1c moved to 40 layer 2015-10-28 20:16:52 -04:00
John Preston
e2f83e1662 new photo / file sending, photo always can be sent with caption 2015-10-27 22:41:13 -04:00
John Preston
3df66a7ed3 tilde fix in 100%, dialogs repaint fix, markdown (bold, italic, code, pre support) added 2015-10-23 18:06:56 +02:00
John Preston
775607c24f fixed new animations for retina display 2015-10-19 01:01:18 +02:00
John Preston
9327473ee8 share support added 2015-10-18 14:49:34 +02:00
John Preston
e211268158 new slide animations 2015-10-17 16:52:26 +02:00
John Preston
5c3d030b9a moved shadows to widgets where they are displayed 2015-10-17 10:31:48 +02:00
John Preston
48756111a9 boxes animations pause mtp 2015-10-15 13:51:10 +02:00
John Preston
f12f21b16b pausing of mtp while animating, fixed message field while animating 2015-10-15 12:18:24 +02:00
John Preston
8172b82ed4 boxes finished 2015-10-14 13:51:37 +02:00
John Preston
542d9435d8 almost all boxes done 2015-10-11 10:37:24 +02:00
John Preston
13f6eedcb2 half of all boxes redesigned 2015-10-06 22:49:23 +03:00
John Preston
015e9356ab license header updated 2015-10-03 16:16:42 +03:00
John Preston
605b18aa27 added some checks 2015-10-03 14:33:51 +03:00
John Preston
e3e774176e new flat boxes started 2015-10-03 13:09:09 +03:00
John Preston
fe8567e909 fast dialogs, emoji pan etc done 2015-10-01 17:05:05 +03:00
John Preston
58de461c19 other thread loads local images 2015-09-29 21:44:31 +03:00
John Preston
94fe669c6e dialogs optimizations, qt 5.5.0 xcode 7 build 2015-09-29 16:24:39 +03:00
John Preston
51fbec0c50 0.9.1 stable version with fixes 2015-09-24 19:05:06 +03:00
John Preston
9154edc217 channels members and admins management done 2015-09-23 20:43:08 +03:00
John Preston
38e3399b1d added Add Members to channel from profile for creator 2015-09-22 12:58:40 +03:00
John Preston
72d0271e4d channel edit, report spam, etc done 2015-09-21 23:57:42 +03:00
John Preston
ac971dafe7 messages and comments almost done in channels, sending broadcast toggle done, short poll + updates handle 2015-09-20 11:55:41 +03:00
John Preston
56a63a5b10 comments show-hide in channels 2015-09-19 12:13:21 +03:00
John Preston
ab7a745a49 channel creation done 2015-09-17 00:15:13 +03:00
John Preston
41e7ce11a0 channel creation almost done 2015-09-16 16:04:08 +03:00
John Preston
77a92c62f7 channel icon added, views count display done 2015-09-15 11:50:54 +03:00
John Preston
eaacc1b7e2 search channel by username 2015-09-13 22:15:45 +03:00
John Preston
ae6bc3852a pts handled for channels now 2015-09-13 11:41:27 +03:00
John Preston
e41e68b8b3 enabled forwarding from/to channel, replies and webpages loading in channels, scheme updated 2015-09-12 14:59:50 +03:00
John Preston
659c52347c merged with master spam report buttons, 40 layer not compiling! 2015-09-11 13:29:21 +03:00
John Preston
c45d9e9860 fixed crash in showNextNotify, started reportspam button 2015-09-07 18:53:46 +03:00
John Preston
54d5b6dd71 forward/delete for channels, prepared load unread by offset_id, not done yet! 2015-09-07 10:52:37 +03:00
John Preston
b53e35e046 broadcast channels support started 2015-09-06 13:17:09 +03:00
John Preston
95ff7821a3 channels improved, getImportantHistory call added, channel profiles fixed 2015-09-04 16:01:31 +03:00
John Preston
f1457186c7 merged inputfield, requesting channeldialogs 2015-09-03 16:15:07 +03:00
John Preston
f24b5fc35b merged to master 2015-09-03 14:31:22 +03:00
John Preston
04e1da81f3 added channels scheme, made Channel peers and composite ChannelId,MsgId message ids 2015-09-03 13:48:40 +03:00
John Preston
4d7e90f7e9 fixed adding contacts from shared contacts 2015-09-02 13:20:33 +03:00
John Preston
9a51e2c7e3 fixed mail links in Win10, include muted chats in the unread badge setting, shared links overview and search, version 0.8.53.dev 2015-08-28 18:15:56 +03:00
John Preston
86f0216447 merged master 2015-08-18 19:10:01 +03:00
John Preston
6a05924dcf version 0.8.51 prepared, with win7 and winxp fix 2015-08-16 19:37:56 +03:00
John Preston
5dd8eab606 version 0.8.47.dev - search in conversation, clear history, delete conversation, saving cleared conversations locally, removed contacts from left column 2015-08-07 15:11:50 +03:00
John Preston
aabf136690 search in conversation, clear history and delete conversation for all chats 2015-08-04 18:01:47 +03:00