Commit Graph

6698 Commits

Author SHA1 Message Date
csoler
15e43dce01
proper handling of peer connections notifications 2019-08-21 22:39:07 +02:00
csoler
98e41ad075
made messenger an optional component of the UI 2019-08-21 15:23:25 +02:00
csoler
30708c9518
removed FriendList from compilation 2019-08-20 21:31:09 +02:00
csoler
a75a4945ec
added update every 5 mins to account for changes when sleeping 2019-08-20 21:27:59 +02:00
csoler
6a62227dba
cleanup up the code in FriendList, and fixed bug causing own locations not to show 2019-08-20 14:57:44 +02:00
csoler
b26be4db08
added more checks against inconsistencies 2019-08-19 22:56:49 +02:00
csoler
e0681828ee
fixed bug causing SEGV 2019-08-17 15:25:32 +02:00
csoler
70680fae47
proper on/off switch for status show 2019-08-15 19:43:41 +02:00
csoler
038a0ae4c7
fixed display of custom state string 2019-08-15 19:05:42 +02:00
csoler
74b8ed0633
bypass useless avatar dialog when choosing own avatar 2019-08-15 18:11:57 +02:00
csoler
6e7a86058d
fixed saving of sortByState option 2019-08-15 16:16:01 +02:00
csoler
9d696f56bc
fixed removal of profiles from groupless list when the profile is in a group 2019-08-15 15:54:16 +02:00
csoler
9686fc5546
fixed sorting by state and cleaned up column show/hide menu 2019-08-15 15:49:20 +02:00
csoler
13f1343ae5
only show avatars in column 0 2019-08-12 14:17:00 +02:00
csoler
d3928049e1
display node avatars with proper size 2019-08-12 13:43:45 +02:00
csoler
e1556e4fd5
fixed sorting and filtering 2019-08-12 12:49:04 +02:00
csoler
0f4db73b0f
fixed sorting 2019-08-12 11:20:53 +02:00
csoler
e6a70691f7
added count of online nodes 2019-08-11 14:44:58 +02:00
csoler
ebed027cba
fixed show/hide groups option 2019-08-11 11:46:49 +02:00
csoler
9df1101bdf
fixed coloring/bold based on status 2019-08-07 22:35:57 +02:00
Gioacchino Mazzurco
e6c3a6f732
RetroShare-gui doesn't need to link to uitools 2019-08-07 14:21:50 +02:00
csoler
a4481b80f2
added sorting/filtering to FriendListModel 2019-08-06 22:52:07 +02:00
csoler
6c534360f1
fixed coloring in FriendListModel 2019-08-06 19:41:18 +02:00
csoler
fb174f0131
added bold for connection state 2019-08-03 23:22:48 +02:00
csoler
ee678889a3
fixed hide/show column 2019-08-03 21:07:48 +02:00
csoler
47bee5198c
removed TOP_LEVEL type for model indices 2019-08-02 15:40:11 +02:00
csoler
3ed7cf4c45
fixed several problems in model 2019-08-01 23:55:42 +02:00
csoler
625514bb87
changed model so that the entire hierarchy in encapsulated in the index 2019-08-01 16:53:59 +02:00
Gioacchino Mazzurco
08604774d3
Add rsidentity API call to request specific identity to the network 2019-07-29 10:46:38 +02:00
csoler
951b7f93fb
fixed model internals. Seems to work now. 2019-07-28 09:12:55 +02:00
csoler
ca442a7113
added debug output to FriendListModel and fixed a few errors 2019-07-27 23:42:39 +02:00
hunbernd
73574ff2ad Fixed infinite loop issue 2019-07-04 19:07:02 +02:00
hunbernd
a3801c579a Cache the tooltips 2019-07-01 01:54:15 +02:00
hunbernd
5b0438a10f Show sticker preview in tooltip 2019-07-01 01:21:15 +02:00
hunbernd
86182a607b Added sticker support 2019-06-30 23:20:25 +02:00
csoler
49c450890e
fixed hierarchical info 2019-06-29 23:55:38 +02:00
csoler
88ce3e4274
added hierarchy information in FriendList Model 2019-06-29 17:50:13 +02:00
csoler
833661fc24
improved FriendList Model 2019-06-29 00:14:27 +02:00
csoler
7ccb05b77a
fixed initialization of UI in NewFriendList 2019-06-28 22:36:19 +02:00
csoler
10eeb818c8
Merge pull request #1583 from csoler/v0.6-DistantChat
automaticall save/restore subscribed chat rooms. The advantage is tha…
2019-06-28 21:10:33 +02:00
csoler
5e118e0e27
fixed compilation 2019-06-28 16:20:26 +02:00
csoler
1c123d6df9
added missing NewFriendList.ui 2019-06-28 11:27:19 +02:00
csoler
a4f6d89575
first version of item model for new friend list 2019-06-28 11:12:44 +02:00
csoler
081a3a7023
switched to new (unifinished) friendlist code 2019-06-25 23:11:12 +02:00
csoler
38f6657c2f
added new friendlist class with unfinished model. 2019-06-25 23:08:31 +02:00
csoler
4030887232
fixed bug due to old map entry deletion that wasnt moved 2019-06-25 21:07:05 +02:00
csoler
daec6b33c7
arranged to show PGP id for friends from short invite. Name not available yet 2019-06-22 22:07:23 +02:00
csoler
a52451b72c
moved SSL part of friend list into a separate function 2019-06-22 18:44:32 +02:00
csoler
9312d0cb3a
converted short invites to compact PGP format for increased robustness 2019-06-21 23:30:06 +02:00
csoler
e132ce7072
attempt to add SSL-only friends in FriendList - does not work yet 2019-06-20 23:09:40 +02:00
csoler
6114d97c36
removed CIRCLES-related dead code from friendlist 2019-06-20 22:07:08 +02:00
csoler
5139c023ab
fixed some bugs in auto-activating saved chat rooms 2019-06-15 22:44:59 +02:00
csoler
c72b49c296
automaticall save/restore subscribed chat rooms. The advantage is that auto-subscribed is not needed anymore and chat rooms will survive automatically 2019-06-15 13:54:34 +02:00
csoler
57a548531c
fixed adding friend with short invite 2019-06-10 15:15:15 +02:00
csoler
38434f2d55
removed unused Cert page from ConnectFriendWizard 2019-06-10 00:38:11 +02:00
csoler
1f56ef310a
removed unused Cert page from ConnectFriendWizard 2019-06-10 00:37:13 +02:00
csoler
a04079daa0
removed unused Cert page from ConnectFriendWizard 2019-06-10 00:36:40 +02:00
csoler
a55e8241ed
removed unused FriendRequest page from ConnectFriendWizard 2019-06-10 00:29:22 +02:00
csoler
c0436b781c
removed unused Email page from ConnectFriendWizard 2019-06-10 00:22:57 +02:00
csoler
0c510a55e9
removed unused RsId and Fof pages from ConnectFriendWizard 2019-06-10 00:20:01 +02:00
csoler
6294aefc6d
removed unused intro page from ConnectFriendWizard 2019-06-10 00:12:20 +02:00
csoler
a7141cbf69
removed unused startWizard and loadCert code in HomePage 2019-06-10 00:03:07 +02:00
csoler
fb52f6717c
fixed up addign friend from short invite 2019-06-09 23:49:31 +02:00
csoler
4bd5aaa9b2
added parsing of short invites in connect friend wizard (not working yet) 2019-06-09 15:03:48 +02:00
csoler
3b57099708 fixed deadlock caused by using the same mutex for two different purposes in GxsIdDetails 2019-06-07 15:03:48 +02:00
csoler
3a799bae37
added optional display of short invites in places with certificates 2019-06-06 21:41:38 +02:00
csoler
d9b0fa6c61 added missing mutex to protect Icon Cache 2019-06-06 14:21:19 +02:00
csoler
2720022163
removed debug times in GxsIdDetails cache cleaning 2019-06-05 19:47:06 +02:00
csoler
b6b840a673
added missing explicit sizes for some pixmaps 2019-06-04 13:41:51 +02:00
csoler
90d26e7323
suspended unused code 2019-06-04 13:41:34 +02:00
csoler
9bc552aea4
added more debug output in icon loading system 2019-06-04 13:01:35 +02:00
csoler
94cbe65142
added various sizes in icons cache so that we do not always allocate the largest sizes 2019-06-04 11:49:26 +02:00
csoler
e66fb923fb
attempt to use a cache for user-defined avatars. Should reduce memory footprint. to be tested 2019-06-03 23:52:29 +02:00
defnax
37c117cb9e
Merge pull request #1566 from defnax/darkstyle-v2
added new qdarkstyle version 2.6.8

new additional dark stylsheet for RetroShare.
2019-05-18 22:16:57 +02:00
defnax
7e6dd9aed7 added new qdarkstyle version 2.6.8
added new version of qdarkstyle to retroshare
2019-05-16 23:55:49 +02:00
csoler
6a18e242bb
added compile option to use sanitizer and already fixed a few misalignment errors with it 2019-05-11 22:25:02 +02:00
defnax
eade6a8886
Merge pull request #1551 from defnax/country-emojis
Added country emojis
2019-05-06 17:14:35 +02:00
defnax
3457f6e2f1 Added country emojis 2019-05-01 16:12:43 +02:00
Phenom
bdce8e6d31 Fix Relative URL in QSS files.
As qss files are read and added as plaintext, url() cannot find relative
path.
Using "url(%THISPATH%/" will be replaced by current file path.
2019-04-26 19:26:49 +02:00
csoler
a4d7b0299b
Merge pull request #1542 from defnax/darkstylesheet-fixes
Darkstylesheet fixes
2019-04-25 20:36:12 +02:00
defnax
dcc2cd5cfa added changes for the subscribe button 2019-04-24 21:28:42 +02:00
defnax
036f741beb darkstyle fixes, some urls to images was wrong 2019-04-24 21:17:10 +02:00
G10h4ck
9102a698e4
Merge branch 'master' into Fix_ClangWarnings 2019-04-23 12:45:33 +02:00
csoler
bc8adb74c4
Merge pull request #1502 from defnax/added-group-icons-for-posted-links
Added group icons for posted links
2019-04-18 21:56:07 +02:00
defnax
7c534d50ea removed posted links related font-size from qss file
removed posted links related font-size from qss file
2019-04-16 19:38:13 +02:00
csoler
0bcbe14b2c
fixed wrong display of trash messages in inbox 2019-04-14 16:25:26 +02:00
csoler
64fecf42f4
moved MessagesDialog.* to msgs/ 2019-04-14 15:50:25 +02:00
zapek
e9f341908a Moved the 'Mark as bad' entry in the search result files context menu
further down away from 'Download' to avoid accidental clicks
2019-04-11 11:27:43 +02:00
G10h4ck
276328dd91
Merge pull request #1512 from G10h4ck/csoler-jsonapi-channel
Improve GxsChannels API
2019-04-11 10:13:52 +02:00
csoler
43a5312194
Merge pull request #1509 from RetroPooh/trafcount
display session traffic
2019-04-10 21:04:53 +02:00
csoler
b128407159 fixed rare bug in chat notify that appeared when your nickname is happenned at the end of the text 2019-04-08 14:33:14 +02:00
csoler
61aeae67ea
disable auto-ban identities for own IDs 2019-04-04 22:52:25 +02:00
csoler
db9d202ab7
fixed missign read-only flag on identity info display 2019-04-04 22:41:02 +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
07a31ee5f5 Fix clang warning for
../../../trunk/retroshare-gui/src/gui/People/IdentityWidget.cpp:111:10:
warning: explicitly assigning value of variable of type 'QImage' to
itself [-Wself-assign-overloaded]
                        image = image;
                        ~~~~~ ^ ~~~~~
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
Phenom
e2d64c912e Fix clang warning for
../../../trunk/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:
1104:9: warning: enumeration value 'DownloadTab' not handled in switch
[-Wswitch]
        switch(page)
               ^
2019-04-04 21:20:25 +02:00
Phenom
4bf5bc1274 Fix clang warnings for
../../../trunk/libretroshare/src/services/autoproxy/
rsautoproxymonitor.cc:263:24: warning: pragma diagnostic pop could not
pop, no matching push [-Wunknown-pragmas]
                       ^
../../../trunk/libretroshare/src/services/autoproxy/
rsautoproxymonitor.cc:295:24: warning: pragma diagnostic pop could not
pop, no matching push [-Wunknown-pragmas]
                       ^
./../../trunk/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:
723: warning: pragma diagnostic pop could not pop, no matching push [-
Wunknown-pragmas]
                       ^
2019-04-04 21:06:01 +02:00
RetroPooh
7504964899 display session traffic 2019-04-03 17:29:13 +03:00