Commit Graph

6663 Commits

Author SHA1 Message Date
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
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
3b57099708 fixed deadlock caused by using the same mutex for two different purposes in GxsIdDetails 2019-06-07 15:03:48 +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
csoler
e0af46eb85
added new method to create a channel with more explicit parameters and JSon API for it 2019-03-30 22:53:14 +01:00
csoler
ef1755d97f
Merge pull request #1493 from csoler/v0.6-Messaging
V0.6 messaging
2019-03-29 22:27:27 +01:00
csoler
5ee86262aa fixed compilation 2019-03-29 09:17:32 +01:00
defnax
a1ca31afa0 fixes from cyril & removed stylesheets from some buttons
fixed size of thumbnail on all screens
fixed aspect ratio
removede the stylsheet for comments,share, notes
2019-03-29 02:00:13 +01:00
csoler
031a717de0
moved column resize after procesSettings() 2019-03-28 20:06:32 +01:00
csoler
da57f80095
Merge pull request #1506 from defnax/subscribe-button-with-count
Count subscribers on the channels subscribe button like Youtube
2019-03-28 20:04:52 +01:00
csoler
8b3f3fe717
Merge pull request #1487 from defnax2k/People-V2-improvements
Added more actions to People V2 Thumbed View
2019-03-28 19:59:59 +01:00
defnax
94997bd0d3 Added infoframe for Posted List Widget
* Added infoframe for Posted List Widget
* Fixed channels infoframe look both same
2019-03-28 02:00:42 +01:00
defnax
c2ebd10aa6 Count subscribers on the channels subscribe button like Youtube 2019-03-27 19:33:10 +01:00
defnax
b658839214 Removed the dummy buttons & added sorting the comments treewidget via combobox 2019-03-26 18:35:10 +01:00
csoler
f404962b51
fixed notification display for msgs 2019-03-26 11:47:11 +01:00
csoler
1d4934b71e
fixed QuickView filtering 2019-03-26 11:32:43 +01:00
csoler
5820364b0d
fixed sorting 2019-03-26 11:21:31 +01:00
csoler
90995f16ce
fixed filter/sort by author name 2019-03-26 10:25:54 +01:00
csoler
d38ad97911
changed order of operation between init and processSettngs because it was messing up the msg list 2019-03-26 10:05:54 +01:00
defnax
1f6589e68e attempting to fix layout isssues
Attempting to fix issues, layout and spacing
2019-03-26 00:01:52 +01:00
csoler
d2c15c2d9e
fixed merge upstream/master 2019-03-24 20:59:23 +01:00
csoler
c7e65a0111
Merge pull request #1504 from csoler/v0.6-ImprovedGUI
removed explicit size on channel feed buttons that causes unbalanced …
2019-03-24 20:42:11 +01:00
csoler
e76ad99f3b
removed explicit size on channel feed buttons that causes unbalanced items in high DPI screens 2019-03-24 19:59:43 +01:00
csoler
ec66ad5b80
Merge pull request #1501 from csoler/v0.6-ImprovedGUI
created a cache for default icons to avoid allocating them everytime …
2019-03-24 19:49:36 +01:00
csoler
2ad641d908
added a test for QImage::isDetached() in cache to solve the problem of whether a cache image is still used or not 2019-03-23 22:59:37 +01: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
defnax
8ee86ea0da Fixed stylesheet color when its a new posted message 2019-03-22 22:31:06 +01:00
defnax
b6c7afe989 Added for posted links group icons 2019-03-22 11:13:07 +01:00
csoler
ae3f81a0c3
created a cache for default icons to avoid allocating them everytime we need them. Should save a lot of memory 2019-03-21 23:36:18 +01:00
csoler
b4ab766da9
factored some duplicate code in MessagesDialog.cpp 2019-03-21 22:39:32 +01:00
csoler
dc24bb6f03
added save/restore current selection 2019-03-21 10:14:50 +01:00
csoler
431fbf4124
fixed bug causing ipossibility to pin/unpin forum posts 2019-03-20 23:23:13 +01:00
defnax
2233af4702
Merge branch 'Attach-picture-for-Posted-links' into master 2019-03-20 11:01:21 +01:00
defnax
f12491cc89 attempting to fix stlysheet file 2019-03-20 00:49:38 +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
csoler
3419b44ec1
fixed a few bugs in msg model and cleaned up dead code 2019-03-19 10:22:20 +01:00
csoler
258c544a75
fixed navigation with arrows in MessagesDialog 2019-03-18 22:00:15 +01:00
csoler
f355abe025
removed sorting sensitivity and some dead code 2019-03-18 21:35:55 +01:00
csoler
c4f951fe5e
Merge pull request #1480 from chelovechishko/rspmw
rspermissionmatrixwidget fixes
2019-03-18 20:57:17 +01:00