Commit graph

58 commits

Author SHA1 Message Date
csoler
6775a64ed5 factored the collection of latest channel post versions and added a proper counting for new/unread posts 2023-05-15 21:54:27 +02:00
csoler
35e08e3b66 fixed keeping post sizes when selelecting unread posts 2023-04-25 11:33:37 +02:00
csoler
3e35ce4ddd improved the logic to make the channel layout update faster 2023-04-22 18:16:04 +02:00
csoler
a7b2091bb8 added a waiting cursor when loading a channel 2023-04-13 21:51:37 +02:00
csoler
7299ace57a re-enabled channel debug output 2023-04-08 18:04:22 +02:00
csoler
c81bdd9932 fixed merge 2023-03-31 16:16:13 +02:00
csoler
cc93a6da1a using orange color for unread comment bubble in channel post widget, and fixed the color update when new comment arrives 2023-03-29 20:46:41 +02:00
csoler
48c959c858 fixed bug in setting msg as read 2023-03-27 21:27:07 +02:00
csoler
09e66cbde4 code cleaning/disabled debug output 2023-03-26 23:03:09 +02:00
csoler
e63ff4d7db made setAllMsgAsRead faster in channels, avoiding to reload all posts 2023-03-26 22:49:08 +02:00
csoler
191d7ac96e improved debug output 2023-03-26 16:29:12 +02:00
csoler
e4910cf8fd fixed update of comment/unread comment count when a new version of a msg arrives 2023-03-24 13:48:48 +01:00
csoler
141ee0b7e0 fixed bug in updating filtered posts 2023-03-23 21:13:38 +01:00
csoler
aba0ffa581 finished the system to perform lighter updates of channels 2023-03-23 17:04:22 +01:00
csoler
a37ee4673f half-implemented the system to perform lighter updates of channels 2023-03-22 09:08:27 +01:00
csoler
548ef00960 enabled channel post model debug 2023-03-21 21:08:30 +01:00
csoler
3b9886a747 fixed channel mode debug output 2023-03-12 17:43:09 +01:00
csoler
97265dddab updated algorithm for sorting channel posts with debug info and collection of all post versions 2023-03-02 22:55:58 +01:00
csoler
9d575ddca1 implemented new algorithm for sorting channel posts 2023-03-02 09:46:16 +01:00
csoler
c06da99757 attempt at not reloading full channel data at every change 2023-02-09 23:27:43 +01:00
csoler
ac4b9b2971 removed token system from GxsCommentDialog 2022-07-09 22:33:42 +02:00
csoler
eef16461d6 async markRead in channels to make it faster 2021-01-24 22:33:23 +01:00
csoler
537957a2ea added missing acknowledge token in channels and fasten up markAllRead by using async on each post 2021-01-24 22:17:02 +01:00
Phenom
24ab1d6929 Fix for running with Self-Built Qt
beginRemoveRows(QModelIndex(),0,-1);
Failed because:
void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int
first, int last)
{
    Q_ASSERT(first >= 0);
    Q_ASSERT(last >= first);
    Q_ASSERT(last < rowCount(parent));

Last assert is important too.
So prefer use beginResetModel().
2021-01-19 14:25:35 +01:00
csoler
af696639cc fixed channel UI so that comment label is only shown when a new comment is here 2021-01-12 22:31:59 +01:00
csoler
c32f90f84d added security check to avoid crash in counting comments, when a comment refers to no post (due to sync limits) 2020-11-13 23:28:49 +01:00
csoler
9a2749dbe5 added flags to invite system to unify the different variables and made sure the HomePage contains at least current IP (not fully tested) 2020-11-09 22:42:28 +01:00
csoler
d2bd947252 fixed bug due to passing shared_ptr to RsThread::async() without making an explicit copy before 2020-11-08 18:25:20 +01:00
csoler
0a6e15c524 clear comments when switching channels 2020-11-08 15:38:37 +01:00
csoler
d472053960 fixed missing call to update comments in GxsChannelPostsModel 2020-11-08 14:57:17 +01:00
csoler
08e2987154 added icon over posts with comments in channels 2020-11-07 20:52:50 +01:00
csoler
f1d98913d1 fixed disabling of channel post comment box on resize and comment 2020-10-21 22:07:45 +02:00
csoler
138cff6547 fixed async inconsistency causing markAllAsRead to fail when switching channels 2020-09-10 21:02:06 +02:00
csoler
d74c113e92 removed some debug output and some compiler warnings 2020-09-10 20:16:10 +02:00
csoler
8d6bd1a0b8 added menu entry to switch single post as unread, and fixed the setAllMsgAsRead function 2020-09-10 20:07:13 +02:00
csoler
e234cb933d added color marker for selection 2020-09-09 21:31:08 +02:00
csoler
ca49232ff1 only switch read/unread status when necessary 2020-08-29 18:40:13 +02:00
csoler
89444537b1 added show unread only button. Merged list/grid buttons 2020-08-29 17:31:48 +02:00
csoler
3ba9a1eb5d auto clear of search field and fixed bug causing some lines not to update 2020-08-29 14:46:35 +02:00
csoler
03ac2eb53c fixed update of sizes in channel list view 2020-08-28 14:07:32 +02:00
csoler
e7ece78673 fixed sizes 2020-08-27 22:07:23 +02:00
csoler
38f1df2b36 added switch between grid and list views in channels. 2020-08-27 22:07:23 +02:00
csoler
8c845d7419 fixed marking all msgs as read/unread in channels 2020-08-17 21:47:27 +02:00
csoler
97ad766863
fixed selection of current item from link in channels 2020-06-23 00:44:09 +02:00
csoler
3df54bde53
cleaned up unused code 2020-06-18 18:35:02 +02:00
csoler
3354246805
added publish time column in general channel posts files 2020-06-18 18:31:17 +02:00
csoler
f8deebfc5a
fixed updating of data after read status change 2020-06-13 14:31:39 +02:00
csoler
f40d7a75b3
fixed a few UI bugs in channel posts 2020-06-12 11:00:51 +02:00
csoler
67e8b87750
attempt to fix UI bug that automatically deselected after setting msg as read 2020-06-11 22:17:33 +02:00
csoler
2faaccbb7a
fixed a few cosmetic details in channels model and UI 2020-06-11 21:55:52 +02:00