Commit Graph

417 Commits

Author SHA1 Message Date
csoler
7c248dc035
attempt to fix pb on 32bits systems 2018-12-08 21:43:14 +01:00
csoler
a0b6962bec
fixed bug in read/unread with children menu items 2018-12-07 22:09:55 +01:00
csoler
42aab55961
fixed changing of read status using button in forum model 2018-12-07 21:45:15 +01:00
csoler
1163d00ae9
small check to avoid re-loading already loaded msg 2018-12-06 23:49:14 +01:00
csoler
49ea154490
fixed restoring of current item 2018-12-06 23:18:56 +01:00
csoler
5b8a64b677
fixed a number of bugs in the update/display of forum model 2018-12-06 23:04:53 +01:00
csoler
600a3d8e16
fixed saving/restoring of expanded items in forum model 2018-12-05 20:28:58 +01:00
csoler
11b4981bd4
keep current selection when updating a forum. Still need to keep the expand/collapse property 2018-12-04 23:36:07 +01:00
csoler
6fae40d417
trying new notification system using begin/end remove/insert rows to avoid crash 2018-12-04 23:10:24 +01:00
csoler
b63544e856
suppressed 2 uninitialized memory read in ForumModel 2018-12-04 22:14:54 +01:00
csoler
fb962c4b5b
attempt to fix crash when threads collide in forum model 2018-12-04 09:36:06 +01:00
csoler
ec0bb5347e
added missing emit of layoutAboutToBeChanged() in forum model 2018-12-03 21:56:11 +01:00
csoler
4423600073
update posts when navigating with arrows 2018-12-03 21:28:00 +01:00
csoler
55022432ef
added proper update of threads when new msg is poste or received 2018-12-03 17:30:46 +01:00
csoler
60e5595618
fixed bug in post pinning 2018-12-02 22:41:48 +01:00
csoler
24896bc596
further cleaning of ForumModel code 2018-12-02 16:49:14 +01:00
csoler
8736380bfe
added license, removed debug info 2018-12-02 16:45:16 +01:00
csoler
73c06006da
removed old code 2018-12-02 16:39:33 +01:00
csoler
91321725e6
added sorting based on most recent TS from children 2018-12-02 16:34:43 +01:00
csoler
37f721f305
added reset to avoid crash when switching from flat to tree views 2018-12-02 16:07:28 +01:00
csoler
1fced4a1c3
added flat mode to ForumModel 2018-12-02 12:02:25 +01:00
csoler
917695e832
fixed filtering of messages in new forum Model 2018-12-01 23:14:08 +01:00
csoler
a51eba1db2
added filtering mechanism in ForumModel 2018-12-01 16:09:35 +01:00
csoler
b7b9f335f9
fixed fonts for unread msgs in Forum Model 2018-11-30 18:01:51 +01:00
csoler
f56e932fb7
fixed sorting problem in new model due to missing call to sortRole() 2018-11-30 17:24:43 +01:00
csoler
dce660357a
fixed Travis compilation 2018-11-29 22:15:12 +01:00
csoler
c078510909
removed line that breaks compilation 2018-11-29 18:34:47 +01:00
csoler
09ffffe88e
removed some more old code from forum thread widget 2018-11-29 00:01:35 +01:00
csoler
9c840baf2e
added missing signal causing crach in new model when changing forums 2018-11-28 23:50:38 +01:00
csoler
ccdfc3cbf3
cleaned up removed code in Forum Model 2018-11-27 22:24:18 +01:00
csoler
ed68d720aa
fixed post versionning 2018-11-27 20:43:09 +01:00
csoler
23302ea469
partly resurrected post versions 2018-11-27 19:21:49 +01:00
csoler
561db00255
resurrected sorting for pinned posts using a proxy model 2018-11-27 15:15:54 +01:00
csoler
02c6a92f48
fixed resizing+CPU bug due to inconsistent return in eventFilter() 2018-11-27 10:13:03 +01:00
csoler
c0e87dbb3b
attempt at fixing column resize 2018-11-27 09:37:34 +01:00
csoler
73e285805e
simplified comment in GxsIdDetails and hid columns in new ForumModel 2018-11-26 23:07:05 +01:00
csoler
b179cb5796
fixed next/prev item and next unread selection 2018-11-26 22:48:47 +01:00
csoler
3a76f25152
resurrected prev/next buttons 2018-11-26 22:07:10 +01:00
csoler
581e892d94
create an index iterator in ForumModel 2018-11-26 21:18:28 +01:00
csoler
6bb8e3ffd0
saving work for next unread msg in forum model 2018-11-25 22:07:59 +01:00
csoler
65f2d26651
fixed author tooltip in ForumModel 2018-11-25 21:12:26 +01:00
csoler
114a11af75
fixed bug in read status update in new ForumModel 2018-11-25 17:44:56 +01:00
csoler
dc913e37c9
fixed update of threads in new model 2018-11-25 17:40:48 +01:00
csoler
419bd2157a
factored all methods that apply to msg data using pointer to member function trick 2018-11-25 17:11:08 +01:00
csoler
0b0e58bd3d
fixed bug in coloring of read/unread property 2018-11-24 22:25:23 +01:00
csoler
7384015850
fixed update of QTreeView when something changes in Forum model using dataChanged() signal 2018-11-24 22:06:34 +01:00
csoler
6f83bb520e
fixed mark as read/unread and display of read status in forum model 2018-11-24 20:50:09 +01:00
csoler
9cec56f1ec
added info for read/unread status and resurrected context menu in new forum model 2018-11-24 17:57:19 +01:00
csoler
c2686d1a94
fixed display of author in new ForumModel 2018-11-24 16:11:40 +01:00
csoler
52a5aeb1f8
added item delegate for author in new model 2018-11-23 23:17:12 +01:00
csoler
543a7f280d
fixed display of current post in new Forum Model 2018-11-22 22:52:27 +01:00
csoler
20b8bca801
worked on display of posts and selection in new forum model 2018-11-22 22:07:58 +01:00
csoler
3edd1dd0dd
fixed missing case entries in ForumModel 2018-11-22 11:24:05 +01:00
csoler
59220b5c85
fixed layout of internal data in ForumModel 2018-11-22 10:44:06 +01:00
csoler
b28a76e35b
fixed update of posts list in new ForumModel 2018-11-22 09:47:58 +01:00
csoler
e01de33e1a
fixed compilation in new ForumModel 2018-11-22 09:28:07 +01:00
csoler
d3565c2ee4
implemented update of posts for new model. Unfinished yet. 2018-11-21 23:18:08 +01:00
csoler
2066248b3b
started updating ForumFillThread to new model 2018-11-20 23:28:07 +01:00
csoler
d8f9559b0e
fixed memory corruption bug in GxsForumModel 2018-11-20 23:18:45 +01:00
csoler
dbeb97c0e9
fixed bug in sizeHintRole() 2018-11-20 23:17:21 +01:00
csoler
a532b68b8e
improvements of the Forum Model 2018-11-20 23:17:11 +01:00
csoler
9d49ca0e4c
initial attempt at creating an ItemModel for forums 2018-11-20 23:17:00 +01:00
csoler
ac2dacf515
fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
csoler
37c515bcb5
patch from sss to fix deadlocks on forum fill thread. To be tested 2018-10-15 20:57:21 +02:00
csoler
428c2670fc
fixed sorting for posts with children using a more appropriate flag for pinned posts 2018-09-10 20:29:48 +02:00
csoler
06fdaa403c
fixed sorting of pinned posts in "Lastest post in thread" mode 2018-09-09 09:55:34 +02:00
csoler
59b3754771
fixed new position of pinned post, and forbid pinning up non top level posts 2018-09-06 10:47:05 +02:00
csoler
59887124ac
fixed transmission of pinned posts when a forum is edited 2018-09-06 10:17:50 +02:00
csoler
1392c7c6fe
prevent editing of pinned posts 2018-09-04 20:21:42 +02:00
csoler
d856566c69
added comment in the post sorting code 2018-09-03 22:02:32 +02:00
csoler
69c6860d8d
removed debug output 2018-09-03 21:58:31 +02:00
csoler
37b53033db
fixed sorting with pinned posts 2018-09-03 21:55:26 +02:00
csoler
59535eac8a
added a flag for moderating messages to help removign them when the author is not a moderator anymore 2018-09-02 17:07:40 +02:00
csoler
e7d721b3de
ensure pinned posts always stay grouped together 2018-09-01 18:40:28 +02:00
csoler
5c2f714ada
merged with upstream/master 2018-08-30 14:50:16 +02:00
csoler
380ebf2a5c
added UI to pin up posts 2018-08-30 14:07:14 +02:00
csoler
e5f65e950c
added login to pin up posts 2018-08-30 11:48:37 +02:00
csoler
65e3684c46
added missing update of selected admin ids list 2018-08-16 16:25:04 +02:00
csoler
a1a5b80779
fixed using moderator id to edit msg 2018-08-12 16:29:36 +02:00
csoler
5b1c150acb
added background for post pinning and logic to edit others posts 2018-08-12 15:30:07 +02:00
csoler
ded9c21617
added selection boxes to add forum moderators 2018-08-09 21:18:37 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi 2018-07-23 13:44:01 +02:00
csoler
b20bd0a454
added admin list to forum group data 2018-07-15 10:13:04 +02:00
csoler
a5d1a154a4
remove channel/posted/forum info when no group is selected 2018-06-25 23:08:10 +02:00
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
csoler
84699db744
changed std::vector into std::set in notification system, hence removing lots of std::find(std::vector::begin(),std::vector::end(),T), causing quadratic costs in multiple places. 2018-06-21 15:46:59 +02:00
Phenom
8710761ad4 Change Add Channel/Forum post by Add.png 2018-02-18 19:15:14 +01:00
csoler
9ad635a665 added post into forum menu entry in SharedFilesDialog 2017-10-29 20:33:56 +01:00
hunbernd
4e16042b75 Part of the forum title is not displayed when it is enclosed in < > 2017-10-22 19:11:52 +02:00
RetroPooh
749a34d815 add text labels to post buttons in forums and channels; fix version selector placement 2017-10-22 15:55:08 +03:00
Phenom
3a22c6d302 Fix warning: comparison between signed and unsigned integer expressions
/retroshare-gui/src/gui/gxsforums/GxsForumsFillThread.cpp:286: warning:
comparison between signed and unsigned integer expressions [-Wsign-
compare]
         for(uint32_t i=1;i<(*it).size();++i)
2017-07-16 20:57:19 +02:00
Phenom
82addce867 Change RetroShareLink creation methodes as static
And remove this warning:
2017-07-16 13:12:07 +02:00
csoler
52a0aea0dc fixed bug causing edited posts to turn into missing messages when they have submessages 2017-05-09 21:33:02 +02:00
csoler
9a0df3f757 Merge pull request #804 from PhenomRetroShare/Fix_Warnings
Fix warnings
2017-05-08 22:21:28 +02:00
Phenom
79bbe0e5bb Fix Commit #77adc82
Fix Missing messages when mark all as read.
2017-05-08 14:54:25 +02:00
Phenom
5022ef00d4 Fix Warnings: this ‘if’ clause does not guard...
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(!mPosterId.isNull())
     ^~
2017-05-08 12:26:37 +02:00
Phenom
77adc82aa2 Fix Missing messages when mark all as read.
If message get olders versions, these ones was not marked as read. So it
left unread messages on thread despite nothing appears on tree view.
2017-04-29 17:32:23 +02:00
defnax
0e087db807 Fixed to use right icons for context menu actions 2017-04-22 17:32:59 +02:00
Phenom
0bbd1499d4 Fix Clang warnings: comparison of integers of different signs
warning: comparison of integers of different signs: 'uint32_t' (aka
'unsigned int') and 'int' [-Wsign-compare]
        for(uint32_t i=0;i<(*it).size();++i)
                         ~^~~~~~~~~~~~~
2017-04-17 21:54:49 +02:00
csoler
ca0521cb2d allowed to edit subject hen editing forum posts. Only the latest subject is visible 2017-03-16 21:01:27 +01:00
csoler
44f297156e Merge pull request #682 from csoler/v0.6-EditPosts
V0.6 edit posts
2017-03-14 20:04:22 +01:00
RetroPooh
d36096896e forum post dialog - hide obsolete sign option 2017-03-03 16:59:18 +03:00
csoler
e081567fbc fixed empty names in header drop menu 2017-03-01 19:08:20 +01:00
csoler
bd8189ccdf added test to prevent msgs with a different name to be used as different version 2017-02-28 18:05:44 +01:00
csoler
22f2edb5ad removed debug info and added comment 2017-02-11 10:45:30 +01:00
csoler
5bf8376dd1 fixed a few more bugs in post version UI 2017-02-09 21:49:24 +01:00
csoler
8deeec61c5 fixed UI for post versions 2017-02-09 18:45:55 +01:00
csoler
b93130ac77 fixed a few bugs in post version collecting 2017-02-09 16:15:35 +01:00
csoler
f8056e5751 added collection of older posts versions. 2017-02-09 14:49:43 +01:00
csoler
6681985634 merged upstream/master 2017-02-08 20:40:47 +01:00
csoler
90594bc9a6 Merge pull request #679 from csoler/v0.6-QtOptim
rewrote forum loading method with the proper logarithmic containers
2017-02-06 23:59:17 +01:00
csoler
6a9b697e42 made RsReputation::overallReputationLevel() to also return the identity ownership flags so that we dont need to rely on async calls to p3IdService to get them 2017-02-06 23:46:01 +01:00
csoler
013eb93f70 rewrote forum loading method with the proper logarithmic containers 2017-02-06 00:11:26 +01:00
hunbernd
d1328f4467 Fix spaces between emoticons in message composer and forum 2017-02-05 22:09:39 +01:00
csoler
dfcb66db8c added spinbox to show older versions 2017-02-03 13:02:53 +01:00
csoler
777a73e528 added GUI for editing forum messages 2017-02-03 12:48:51 +01:00
Phenom
aa05d60894 Fix all warnings in UnitTest 2017-01-21 16:31:45 +01:00
csoler
34962c343a added a checkbox to load emoticons in forums as an option, so as to avoid crazy loading times. Disabled by default until we fix the RsHtml code 2017-01-18 21:22:38 +01:00
csoler
d5936a56e7 removed debug msg 2017-01-16 20:49:52 +01:00
RetroPooh
ed4de4ecda Merge branch 'master' of https://github.com/RetroShare/RetroShare 2017-01-15 11:48:35 +03:00
csoler
dd408773c7 removed debug info 2017-01-14 19:08:14 +01:00
csoler
318a3720c6 fixed reloading of distribution icons when opinion is changed over an ID in forums. Improved efficiency of forum loading in general. 2017-01-14 19:04:14 +01:00
csoler
25680d586c removed quadratic cost in forum thread fill 2017-01-14 17:29:37 +01:00
csoler
57f22e9764 removed costly size() call in QList 2017-01-14 10:51:14 +01:00
csoler
df94de9142 disallow to ban your own identity in forums, and make opinions show up as a function ofwhat the ID opinion already is 2017-01-13 18:31:50 +01:00
RetroPooh
36dbdee409 show in people - enabled for yourself; Votes in tooltip; lastpost 1970 to Never 2017-01-11 22:44:27 +03:00
csoler
a810ae9a74 use rsReputations instead of rsIdentity for reputation calls. Suspended reputation vetting code which is not needed anymore 2017-01-10 21:44:37 +01:00
unknown
a954b19d8e groups tree tooltips and info panels - add last post date info 2017-01-10 01:18:35 +03:00
unknown
8365ac2647 Revert "groups tree tooltips and info panels - add last post date info"
This reverts commit 2bb7c8d010.
2017-01-10 00:46:29 +03:00
unknown
2bb7c8d010 groups tree tooltips and info panels - add last post date info 2017-01-10 00:31:32 +03:00
defnax
0ba28a206d Removed Column text for Votes, Distribution replaced by icon.
Set column header to "ResizeToContents" to not use much space
Added new Bio hazard icons to look same like other ones
2017-01-03 01:37:16 +01:00
Phenom
41386c64b7 Fix some new warnings 2016-12-31 15:17:51 +01:00
csoler
da881e1f5b fixed setting of author reputation from forum thread menu 2016-12-27 21:13:37 +01:00
csoler
3a92124aac added method to show a given post author into the people tab 2016-12-27 20:42:47 +01:00
csoler
64737827a1 added an icon for when information is missing for an ID in forum distribution 2016-12-27 17:17:23 +01:00
csoler
5ed879c035 added small debug output in GxsForumThreadWidget 2016-12-26 17:00:21 +01:00
csoler
742a7648a4 added display of warning for non forwarded posts 2016-12-26 15:59:53 +01:00
csoler
811d084dfa only show distribution column if anti-spam is enabled 2016-12-25 23:43:29 +01:00
csoler
b34ab447da added menu entries to vote for/against a forum poster 2016-12-24 17:29:53 +01:00
csoler
d423745064 added column to show distribution data and moved ReputationItemDelegate to GxsIdDetails 2016-12-24 15:04:08 +01:00
csoler
873c0e60df added display of reputation in forums 2016-12-24 14:13:02 +01:00
csoler
72fb8f17a9 changed the reputation system to output a level that differentiate your own opinion to your friends opinion 2016-12-23 17:52:02 +01:00
csoler
12023397ee Merge pull request #592 from csoler/v0.6-GXS-LimitedSync2
V0.6 gxs limited sync2
2016-12-14 00:09:54 +01:00
csoler
fca8d6fc4e added display of storage/sync in forum summary 2016-12-13 21:52:11 +01:00
Phenom
803d1b62ef Fix RSElidedItemDelegate text color. 2016-12-10 19:52:46 +01:00
csoler
7afb91d1db added machinery to allow to set/get sync and store periods for GXS groups 2016-12-05 22:14:48 +01:00
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
Phenom
d4c3372dec Add RSElidedItemDelegate.
This works like ElidedLabel.
2016-11-25 22:14:17 +01:00
Phenom
fdfd2e9248 Add context menu to show hidden image on lobby.
A tooltip show hidden image too.
The RSImageBlockWidget is removed.
2016-10-05 12:27:31 +02:00
defnax
5e22ddc93e updating icons more flat replacement
improving people page layout
2016-08-24 03:28:57 +02:00