csoler
af0161054f
fixed shifting bug in forums when setting a post as read, caused by wrong calculation of parent index
2019-10-14 22:24:36 +02:00
csoler
77d56916a0
fixed display in forum flat view
2019-10-14 20:27:53 +02:00
csoler
4abdd3165b
Merge pull request #1668 from defnax/some-changes-for-the-feed-items
...
Some changes for the feed items
2019-10-12 23:48:59 +02:00
defnax
32718c673f
Changed the toolbar icons & hide hashing groupbox by default
...
* Changed the toolbar icons
* Hide the hashing group box when there is no file attached
* Show the warning text color in red when the size is too big
2019-10-12 22:32:14 +02:00
defnax
2df4a1a3e8
changed icons on othe feeds too
...
* changed the icons on other feeds too
* Show on Forum Message Feed the Avatars
2019-10-09 18:06:30 +02:00
csoler
398c943f40
fixed bug causing crash when forum being displayed is deleted
2019-10-06 00:12:28 +02:00
defnax
25e966d039
added atach picture button to forum post
2019-09-29 17:32:14 +02:00
Phenom
5cb5954882
Fix clang warning for
...
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
1266:13: warning: function 'recursPrintModel' is not needed and will not
be emitted [-Wunneeded-internal-declaration]
static void recursPrintModel(const std::vector<ForumModelPostEntry>&
entries,ForumModelIndex index,int depth)
^
2019-04-04 21:20:25 +02:00
Phenom
d96b9b054b
Fix clang warnings for
...
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
106:53: warning: unused parameter 'parent' [-Wunused-parameter]
int RsGxsForumModel::columnCount(const QModelIndex &parent) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:245:3:
warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
248:12: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
if(row >= mPosts[entry].mChildren.size())
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
299:67: warning: unused parameter 'orientation' [-Wunused-parameter]
QVariant RsGxsForumModel::headerData(int section, Qt::Orientation
orientation, int role) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
398:77: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::textColorRole(const ForumModelPostEntry&
fmpe,int column) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
419:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::filterRole(const ForumModelPostEntry& fmpe,int
column) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
498:75: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::missingRole(const ForumModelPostEntry&
fmpe,int column) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
540:74: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::pinnedRole(const ForumModelPostEntry& fmpe,int
column) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
548:78: warning: unused parameter 'column' [-Wunused-parameter]
QVariant RsGxsForumModel::backgroundRole(const ForumModelPostEntry&
fmpe,int column) const
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
806:111: warning: unused parameter 'useChildTS' [-Wunused-parameter]
void RsGxsForumModel::convertMsgToPostEntry(const RsGxsForumGroup&
mForumGroup,const RsMsgMetaData& msg, bool useChildTS,
ForumModelPostEntry& fentry)
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:828:7:
warning: unused variable 'redacted' [-Wunused-variable]
bool redacted = false;
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:880:6:
warning: unused variable 'pos' [-Wunused-variable]
int pos = 0;
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:879:6:
warning: unused variable 'count' [-Wunused-variable]
int count = msgs.size();
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:882:6:
warning: unused variable 'step' [-Wunused-variable]
int step = 0;
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
949:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
for(int32_t i=0;i<v.size();++i)
~^~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
959:23: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
for(int32_t j=0;j<it2-
>second.size();++j)
~^~~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
991:26: warning: comparison of integers of different signs: 'int32_t'
(aka 'int') and 'std::vector::size_type' (aka 'unsigned long') [-Wsign-
compare]
for(int32_t i=1;i<it->second.size();++i)
~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.cpp:
1005:22: warning: comparison of integers of different signs: 'int' and
'std::vector::size_type' (aka 'unsigned long') [-Wsign-compare]
for(int i=1;i<it->second.size();++i)
~^~~~~~~~~~~~~~~~~~
../../../trunk/retroshare-gui/src/gui/gxsforums/
GxsForumThreadWidget.cpp:1038:13: warning: unused function
'cleanupItems' [-Wunused-function]
static void cleanupItems (QList<QTreeWidgetItem *> &items)
^
2019-04-04 21:20:25 +02:00
Phenom
9310be075d
Fix clang warning for
...
../../../trunk/retroshare-gui/src/gui/Posted/PostedDialog.cpp:99:10:
warning: enumeration value 'ICON_SEARCH' not handled in switch [-
Wswitch]
switch (type) {
^
2019-04-04 21:20:25 +02:00
G10h4ck
f4e13975b0
Merge pull request #1478 from G10h4ck/jsonapi
...
extend JSON API to identities, circles and reputation
2019-03-23 09:11:05 -03:00
csoler
431fbf4124
fixed bug causing ipossibility to pin/unpin forum posts
2019-03-20 23:23:13 +01:00
csoler
450fcbb0e7
Merge pull request #1459 from defnax/master
...
Improved Posted Links & Subscribe button look like Youtube/Reddit style
2019-03-19 23:44:14 +01:00
Gioacchino Mazzurco
5ff4ebbd12
Fix retroshare-gui compilation after RsReputations refactoring
2019-02-16 11:42:22 -03:00
Phenom
bb01198772
Fix Warnings for 'ForumModelPostEntry' defined as a struct here but
...
previously declared as a class
In file included from ../../../trunk/retroshare-gui/src/gui/gxsforums/
GxsForumThreadWidget.cpp:31:
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumModel.h:34:1:
warning: 'ForumModelPostEntry' defined as a struct here but previously
declared as a class [-Wmismatched-tags]
struct ForumModelPostEntry
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.h:
39:1: note: did you mean struct here?
class ForumModelPostEntry;
^~~~~
struct
2019-02-15 00:04:00 +01:00
Phenom
a9962c1d2c
Fix Warnings for class 'RsGxsForumMsg' was previously declared as a
...
struct
In file included from ../../../trunk/retroshare-gui/src/gui/gxsforums/
GxsForumsDialog.cpp:23:
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.h:
33:1: warning: class 'RsGxsForumMsg' was previously declared as a struct
[-Wmismatched-tags]
class RsGxsForumMsg;
^
../../../trunk/libretroshare/src/retroshare/rsgxsforums.h:83:8: note:
previous use is here
struct RsGxsForumMsg : RsSerializable
^
../../../trunk/retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.h:
33:1: note: did you mean struct here?
class RsGxsForumMsg;
^~~~~
struct
2019-02-15 00:02:12 +01:00
Phenom
b80d7cb5ae
Fix Warnings for class 'RsGxsForumGroup' was previously declared as a
...
struct
../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:40:1:
warning: class 'RsGxsForumGroup' was previously declared as a struct [-
Wmismatched-tags]
class RsGxsForumGroup;
^
../../../trunk/libretroshare/src/retroshare/rsgxsforums.h:55:8: note:
previous use is here
struct RsGxsForumGroup : RsSerializable
^
../../../trunk/retroshare-gui/src/gui/msgs/MessageComposer.h:40:1: note:
did you mean struct here?
class RsGxsForumGroup;
^~~~~
struct
2019-02-14 23:15:54 +01:00
defnax
405535750a
Merge pull request #6 from RetroShare/master
...
merge with master
2019-01-28 12:09:17 +01:00
csoler
b401026914
removed debug info from forum thread handling
2019-01-27 20:34:22 +01:00
csoler
0816c44d10
fixed bug causing link to forum post not to load the post on click if another forum is currently loaed
2019-01-27 20:03:23 +01:00
defnax
ef451b9b92
Merge pull request #5 from RetroShare/master
...
update to latest master
2019-01-23 15:28:26 +01:00
csoler
9c24f5c718
Revert "removed HeaderFrame where it's not needed"
2019-01-19 22:36:19 +01:00
defnax
36022edbc1
Merge pull request #4 from RetroShare/master
...
update fork
2019-01-19 17:19:34 +01:00
zapek
bb038ab3e0
removed HeaderFrame where it's not needed; changed the font of top
...
tooltips to be the same
2019-01-18 23:30:52 +01:00
defnax
c25d222d86
fixed stylsheet and spacing
2019-01-15 21:26:50 +01:00
csoler
d143f761cf
Merge pull request #1462 from csoler/v0.6-ImprovedGUI
...
fixed not working setAsReadOnActivate preferences/forum button
2019-01-14 23:53:04 +01:00
csoler
104e122102
fixed not working setAsReadOnActivate preferences/forum button
2019-01-14 23:51:53 +01:00
csoler
05313a5364
Merge pull request #1460 from csoler/v0.6-ImprovedGUI
...
V0.6 improved gui
2019-01-13 23:24:28 +01:00
csoler
c04821d91c
fixed ghost unread forum posts problems by setting read status of all versions of the same post at once. WARNING: this will not remove ghost posts that are already here unless the user reads them again
2019-01-13 15:19:07 +01:00
defnax
6c0c42c8ad
Improved Subscribe Button look and feel
...
* Improved Subscribe Button look and feel with stylsheet
* Removed icons from Subscribe button
* Subcribe button hided on posted too when subscribed
2019-01-12 22:20:00 +01:00
defnax
2d096e3179
Improved Create comment dialog for channel/posted comments replies
...
*Improved Create comment dialog for channel/posted comment replies
*Update forum icons use the new flat one green/black
*Changed the context menu icon for Pin post
*Fixed for "new thread" dialog the title icon
*Added new circle icons for later to use
2019-01-10 00:12:38 +01:00
csoler
e09b416674
automatically add moderator rights to the owner of a forum
2018-12-24 11:47:33 +01:00
Gioacchino Mazzurco
5e4006b7e6
Merge branch 'v0.6.5'
2018-12-23 11:48:35 +01:00
csoler
bc7249e4b9
Merge pull request #1435 from defnax/master
...
Added new flat icons for the forums & posted group tree
2018-12-22 21:44:54 +01:00
defnax
f63ae7efbb
Added new flat icons for the forums & posted group tree
...
Added new icons for the forums & posted group tree
2018-12-20 18:42:51 +01:00
Gioacchino Mazzurco
d19531cfcc
Fix compilation of forum API
2018-12-16 17:40:47 +01:00
csoler
117c19b104
fixed a few problems in jumping to next unread post
2018-12-14 22:09:02 +01:00
csoler
348f88b6ec
partially fixed async navigate action in forums
2018-12-13 21:02:32 +01:00
csoler
39b7bc818b
added more debug info to figure out why some posts are not displayed
2018-12-12 21:31:54 +01:00
csoler
a114856b77
changed code to create msg data map using MsgMeta instead of full Msg and added the handles to request MsgMeta data in forums
2018-12-12 11:33:38 +01:00
csoler
8f9c9295b2
added proper timeout of 5 secs to all forum async-ed interactions
2018-12-11 22:06:45 +01:00
csoler
b38c635649
restored display of forum summary when browsing forums
2018-12-10 22:51:09 +01:00
csoler
1dda7c5b34
removed mUpdating variable which was used for a safety test that is not relevant anymore and caused problems
2018-12-09 23:25:59 +01:00
csoler
34f51fff9c
made next unread post arrow also work when no post is selected
2018-12-09 23:18:50 +01:00
csoler
983ac7dda9
improved icons in forums and removed - button because it is not useful
2018-12-09 21:22:18 +01:00
csoler
27264cea0a
fixed icons and buttons in forums
2018-12-09 17:35:31 +01:00
csoler
a6ed2b26ec
fixed author name placement and icon size when loading ID data in forums
2018-12-09 16:34:43 +01:00
csoler
d7b5c9766c
fixed missing filterAcceptsRow() in forum proxy model
2018-12-09 13:54:30 +01:00
csoler
d5928ca84e
fixed message loading bug due to currentIndex() not being ready when insertMessage() is called
2018-12-08 22:19:39 +01:00
csoler
459c04a23e
re-enabled debug output
2018-12-08 22:01:05 +01:00
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