Commit Graph

6401 Commits

Author SHA1 Message Date
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
G10h4ck
032f1307ff
Merge pull request #1416 from pedro-nonfree/patch-1
remove unnecessary warning
2018-11-27 18:55:40 +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
pedrolab
d3d3148c82 substitute friend to trusted node in statusbar 2018-11-27 03:18:19 +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
pedrolab
28b83117e3 remove unnecessary warning
according to G10h4ck the warning to stay under 40 trusted nodes (friends) is no longer needed because this was useful when multiple system calls reached gpg tools; but not now that a c++ pgp library is used
2018-11-23 14:45:16 +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
8c8ce53e4b
Merge pull request #1385 from G10h4ck/safer_api
0.6.5 Safer rsGxsChannel API
2018-11-20 21:44:40 +01:00
Gioacchino Mazzurco
9eef7735f3
retroshare-gui open distant chat when double clicking on people 2018-11-20 15:56:21 +01:00
Gioacchino Mazzurco
53f8307bee
Disable broadcast chat by default at compile time 2018-11-20 15:54:24 +01:00
Gioacchino Mazzurco
cf94037c10
Do not show nodes in mail composer 2018-11-20 12:13:16 +01:00
Gioacchino Mazzurco
1699a6a25a
Disable node chat by default at compile-time 2018-11-20 11:32:00 +01:00
csoler
f8c25fd967
fixed bug in TransfersDialog model got sizeHintRole() 2018-11-19 22:14:34 +01:00
csoler
8075eec288
fixed licenses in PhotoShare, Posted, profile, people and Network 2018-11-17 14:10:08 +01:00
csoler
ac2dacf515
fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +01:00
csoler
05bb002c70
fixed licenses in gxs/ 2018-11-14 21:14:40 +01:00
csoler
eb1909e8bc
fixed licenses in FileTransfer 2018-11-14 20:54:37 +01:00
csoler
a506c80d80
fixed licenses in elastic+feeds 2018-11-13 22:02:26 +01:00
csoler
630609c11c
fixed retroshare.project email in licenses 2018-11-11 20:42:48 +01:00
csoler
c4ae4c21b1
fixed licenses in gui/common/ 2018-11-11 20:41:06 +01:00
csoler
b57aacb6bb
partially added/fixed licenses in gui/common 2018-11-11 16:57:05 +01:00
csoler
5f86ac1e3c
updated licenses in gui/Circles. partly changed licenses in gui/common. 2018-11-11 14:24:47 +01:00
hunbernd
4dce4002f0
Removed outdated instructions from readme 2018-11-11 14:24:45 +01:00
hunbernd
41d942c144
Updated links in readme 2018-11-11 14:24:45 +01:00
hunbernd
7742e0ca39
Removed version.html 2018-11-11 14:24:45 +01:00
hunbernd
3e3adf7337
Removed some old build scripts 2018-11-11 14:24:44 +01:00
csoler
ca80161bfb
fixed wrongly removed line 2018-11-11 14:24:44 +01:00
csoler
cd9a2db4e3
fixed license in retroshare-gui/src/chat/ and main files 2018-11-11 14:24:44 +01:00
sehraf
54df09c4b3
add missing DEFINE, fix small bugs 2018-11-10 20:34:03 +01:00
Gioacchino Mazzurco
7aaf29c3de
Fix compilation with Qt older then 5.7 2018-11-09 12:41:09 +01:00
Gioacchino Mazzurco
367c5182cf
Fix compilation with Qt older then 5.10 2018-11-09 12:41:08 +01:00
Gioacchino Mazzurco
ea86fe2615
Safer RsGxsChannel API
Deprecated old method which exposed interna async mechanism to the API
  users, making their and out life difficult
Things that really need to be async like turtle search/requests now accept
  callbacks, so the caller can be notified everytime some result is got
  back
Implement RsThread::async commodity wrapper to execute blocking API
  calls without blocking the caller, this could be optimized
  trasparently using a thread pool if necessary
Added hints into some retroshare-gui files on how to use RsThread::async
  thoghether with QMetaObject::invokeMethod and blocking RetroShare API
  to simplyfy interaction between GUI and libretroshare
2018-11-09 12:41:08 +01:00
Gioacchino Mazzurco
c0ca1a5aad
Print stack trace on crash 2018-11-05 00:19:45 +01:00
csoler
d711e09b68
fixed bug causing IdChooser to reset the current id 2018-11-03 20:25:32 +01:00
csoler
1f8ecc024d
Merge pull request #1378 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2018-11-02 20:30:30 +01:00
csoler
af86b29f2b
moved initialization to initializer list in HomePage 2018-11-02 20:26:49 +01:00
csoler
84aedb8ac7
removed uninitialized memory read in updateOwnCert() 2018-11-01 20:28:09 +01:00
Phenom
89082f3420 Fix warnings in RetroShareLink
/retroshare-gui/src/gui/RetroShareLink.cpp:1556: warning: this statement
may fall through [-Wimplicit-fallthrough=]
/retroshare-gui/src/gui/RetroShareLink.cpp:400: warning: implicit
conversion loses integer precision: 'qulonglong' (aka 'unsigned long
long') to 'uint32_t' (aka 'unsigned int')
/retroshare-gui/src/gui/RetroShareLink.cpp:736: warning: use of old-
style cast
/retroshare-gui/src/gui/RetroShareLink.cpp:733: warning: unannotated
fall-through between switch labels
/retroshare-gui/src/gui/RetroShareLink.cpp:1175: warning: implicit
conversion changes signedness: 'char' to 'unsigned char'
/retroshare-gui/src/gui/RetroShareLink.cpp:1193: warning: implicit
conversion changes signedness: 'char' to 'unsigned char'
/retroshare-gui/src/gui/RetroShareLink.cpp:1208: warning: implicit
conversion changes signedness: 'char' to 'unsigned char'
/retroshare-gui/src/gui/RetroShareLink.cpp:1228: warning: implicit
conversion changes signedness: 'char' to 'unsigned char'
/retroshare-gui/src/gui/RetroShareLink.cpp:1261: warning: implicit
conversion changes signedness: 'int' to 'unsigned int'
/retroshare-gui/src/gui/RetroShareLink.cpp:1507: warning: zero as null
pointer constant
/retroshare-gui/src/gui/RetroShareLink.cpp:1621: warning: zero as null
pointer constant
/retroshare-gui/src/gui/RetroShareLink.cpp:1696: warning: zero as null
pointer constant
/retroshare-gui/src/gui/RetroShareLink.cpp:1698: warning: zero as null
pointer constant
/retroshare-gui/src/gui/RetroShareLink.cpp:1742: warning: zero as null
pointer constant
/retroshare-gui/src/gui/RetroShareLink.cpp:1775: warning: implicit
conversion changes signedness: 'int' to 'unsigned int'
/retroshare-gui/src/gui/RetroShareLink.cpp:1779: warning: implicit
conversion changes signedness: 'int' to 'unsigned int'
/retroshare-gui/src/gui/RetroShareLink.cpp:1559: warning: unannotated
fall-through between switch labels
2018-10-23 17:43:01 +02:00
Phenom
358f27be06 Fix warnings in MessagePage.cpp
/retroshare-gui/src/gui/settings/MessagePage.cpp:62:19: warning:
deleting object of polymorphic class type 'Rs::Msgs::MsgTagType' which
has non-virtual destructor might cause undefined behavior [-Wdelete-non-
virtual-dtor]
/retroshare-gui/src/gui/settings/MessagePage.cpp:62: warning: delete
called on non-final 'Rs::Msgs::MsgTagType' that has virtual functions
but non-virtual destructor
/retroshare-gui/src/gui/settings/MessagePage.cpp:86: warning: use of
old-style cast
/retroshare-gui/src/gui/settings/MessagePage.cpp:172: warning: zero as
null pointer constant
/retroshare-gui/src/gui/settings/MessagePage.cpp:176: warning: implicit
conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int')
/retroshare-gui/src/gui/settings/MessagePage.cpp:203: warning: zero as
null pointer constant
/retroshare-gui/src/gui/settings/MessagePage.cpp:207: warning: implicit
conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int')
/retroshare-gui/src/gui/settings/MessagePage.cpp:261: warning: implicit
conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int')

/libretroshare/src/retroshare/rsmsgs.h:168: warning:
'Rs::Msgs::MessageInfo' has virtual functions but non-virtual destructor
/libretroshare/src/retroshare/rsmsgs.h:168: warning: 'MessageInfo' has
no out-of-line virtual method definitions; its vtable will be emitted in
every translation unit
/libretroshare/src/retroshare/rsmsgs.h:234: warning:
'Rs::Msgs::MsgInfoSummary' has virtual functions but non-virtual
destructor
/libretroshare/src/retroshare/rsmsgs.h:234: warning: 'MsgInfoSummary'
has no out-of-line virtual method definitions; its vtable will be
emitted in every translation unit
/libretroshare/src/retroshare/rsmsgs.h:261: warning:
'Rs::Msgs::MsgTagInfo' has virtual functions but non-virtual destructor
/libretroshare/src/retroshare/rsmsgs.h:328: warning: 'ChatId' has
virtual functions but non-virtual destructor
/libretroshare/src/retroshare/rsmsgs.h:400: warning: 'ChatLobbyInvite'
has virtual functions but non-virtual destructor
/libretroshare/src/retroshare/rsmsgs.h:420: warning:
'VisibleChatLobbyRecord' has virtual functions but non-virtual
destructor
/libretroshare/src/retroshare/rsmsgs.h:420: warning:
'VisibleChatLobbyRecord' has no out-of-line virtual method definitions;
its vtable will be emitted in every translation unit
/libretroshare/src/retroshare/rsmsgs.h:449: warning: 'ChatLobbyInfo' has
virtual functions but non-virtual destructor
/libretroshare/src/retroshare/rsmsgs.h:486: warning: 'RsMsgs' has no
out-of-line virtual method definitions; its vtable will be emitted in
every translation unit

About vtable:
https://stackoverflow.com/questions/23746941/what-is-the-meaning-of-
clangs-wweak-vtables
https://stackoverflow.com/questions/50463374/avoid-weak-vtable-warnings-
for-classes-only-defined-in-a-source-file
2018-10-23 17:43:01 +02:00
Phenom
a30e2c3400 Fix Warnings in MouseEventFilter.cpp
/retroshare-gui/src/util/MouseEventFilter.cpp:56: warning: catching
polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
/retroshare-gui/src/util/MouseEventFilter.cpp:77: warning: catching
polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
2018-10-23 17:37:19 +02:00
csoler
7d21e74b29
added explicit options to including IP history and removed iP history from RS Links as it leaks information without users consent 2018-10-20 17:48:36 +02:00
csoler
259264897e
changed lobby for "chat rooms" in settings 2018-10-20 17:34:57 +02:00
csoler
d97551aa3b
added option to not include external IPs in preferences->node->certificate 2018-10-20 17:31:52 +02:00
csoler
abcd687416
Merge pull request #1374 from csoler/v0.6-ImprovedGUI
patch from sss to fix deadlocks on forum fill thread. To be tested
2018-10-19 22:05:29 +02:00
csoler
21a92d69b4
merged upstream/master 2018-10-16 20:51:10 +02:00
G10h4ck
03cdd6c7b6
Merge pull request #1363 from G10h4ck/jsonapi
New cross-platform target retroshare-service
2018-10-16 16:06:09 +02:00
csoler
37c515bcb5
patch from sss to fix deadlocks on forum fill thread. To be tested 2018-10-15 20:57:21 +02:00
thunder2
c7563f1efd Fixed Windows compile with MSYS2 2018-10-14 15:28:41 +02:00
G10h4ck
047ae7f723
Merge branch 'master' into jsonapi 2018-10-10 22:23:28 +02:00
csoler
18eee374f1
Merge pull request #1361 from sehraf/pr_jsonfy-rsMsg
[jsonapi] add most remaining functions of rsMsg
2018-10-10 22:04:32 +02:00
Gioacchino Mazzurco
406822b5ec
Expose JSON API for file filtering 2018-10-09 11:34:56 +02:00
Gioacchino Mazzurco
6db23267c3
retroshare-gui fix windows compilation error due to time_t usage 2018-10-07 15:51:02 +02:00
Gioacchino Mazzurco
c6ca3c5669
Fix compilation due to RsPeers::GetRetroshareInvite 2018-10-06 02:46:09 +02:00
sehraf
150af40e09
jsonapi: convert and add getMessageCount 2018-10-04 22:43:12 +02:00
csoler
6c4d1c34e3
fixed removal of "share on channel"/"share on forum" menu entries in own files 2018-10-04 18:50:11 +02:00
csoler
81fc3b7921
select GxsIds as default list to chose msg destination from 2018-10-03 15:25:53 +02:00
csoler
83a987936d
when replying to a msg, always select an ID to author the msg that was in the destination list 2018-10-03 15:02:37 +02:00
csoler
79a8b2183f
Merge pull request #1353 from csoler/v0.6-FileLists
V0.6 file lists
2018-09-30 13:31:26 +02:00
csoler
3d0ad54f12
Merge pull request #1352 from PhenomRetroShare/Fix_Warnings
Fix warnings
2018-09-29 20:33:32 +02:00
csoler
443dbdfbef
fixed small bug breaking display of flat mode in files 2018-09-29 19:04:23 +02:00