Commit Graph

468 Commits

Author SHA1 Message Date
csoler
5c71a46c52
fixed up the update of message count using a flag to only update when necessary, which limits drastically the calls to getGroupsStatistics() 2020-04-06 21:55:07 +02:00
csoler
25467dda9f
Merge pull request #1831 from drbob/thewire_fix_message_display
TheWire fixup up display of messages
2020-04-05 11:33:27 +02:00
csoler
5fd355f0f7
fixed compilation 2020-04-05 10:47:27 +02:00
drbob
1c20d75a03 Update photo/wire/wiki interfaces to support Blocking Group API.
Add blocking API Group Interfaces for photo,wire and wiki services.
Add service blocking API calls for createGroup/updateGroup/getGroupData.
Update GUI classes to match new GxsGroupDialog Interfaces.
2020-04-05 15:04:39 +10:00
csoler
28a21392ca
removed TokenQueue from UserNotify 2020-04-04 22:54:54 +02:00
csoler
72a22bcc88
removed more dead code 2020-04-03 10:54:06 +02:00
csoler
d9b74beb44
removed more dead code and fixed a bug in GxeMessageFramePostWidget 2020-03-31 22:51:53 +02:00
csoler
36b5f18579
removed more dead code 2020-03-31 22:27:26 +02:00
csoler
9b42940cd7
removed dead code 2020-03-31 22:21:14 +02:00
csoler
cf7a77e512
finished converting GxsMessageFrameWidget to blocking API 2020-03-31 20:21:16 +02:00
csoler
55c810f848
first pass for converting GxsMessageFrameWidget to blocking API 2020-03-29 23:21:48 +02:00
csoler
c18dfb39c3
added some more debug info and proper error output to GxsDb 2020-03-26 23:19:34 +01:00
csoler
8cf78b072b
added more info when loading forums 2020-03-26 17:10:29 +01:00
csoler
5dcbb978c3
improvement of autoloading of GxsGroupFrameDialog 2020-03-26 16:47:37 +01:00
csoler
6c1f09a53b
completely removed TokenQueue from GxsGroupDialog and GxsGroupFrameDialog 2020-03-22 21:47:14 +01:00
csoler
7ba83272cf
re-enabled GroupMetaCache in GxsGroupFrameDialog and only reload fully when needed 2020-03-22 02:33:51 +01:00
csoler
05afc40804
fixed a few bugs 2020-03-21 17:44:58 +01:00
csoler
2387150f64
1/4 convertion of GxsGroupFrameDialog to blocking API 2020-03-21 15:25:34 +01:00
defnax
ea214d18e6 Removed a unnecessary frame from WikiDialog & correcting indentations
* Removed a unnecessary frame from WikiDialog & correcting indentations
* Removed unused icons
2020-03-15 17:29:05 +01:00
csoler
4c4b7ce754
Merge pull request #1826 from csoler/v0.6-FT4
attempt to solve GXS data access problems in new blocking API
2020-03-13 14:37:53 +01:00
csoler
b8cab68885
Merge pull request #1821 from defnax/Cleanup-&-remove-old-with-new-icons
Cleanup & remove old with new icons
2020-03-10 19:04:04 +01:00
defnax
3cc0adab22 Added to count own groups too 2020-03-09 23:22:52 +01:00
csoler
dc3c3488df
added blocking API for createComment() in GxsCommentService and removed token queue from GxsCreateCommentDialog 2020-03-09 21:01:55 +01:00
defnax
991c07116b added missed icon 2020-03-06 16:16:32 +01:00
defnax
a1ca048082 cleanup & update some icons 2020-03-05 02:10:45 +01:00
drbob
70d1d65cbf enforce AuthorID requirement for Albums
Improve GxsGroupDialog to support required AuthorID.
Remove unused AlbumCreateDialog
Update Defaults for PhotoShare
2020-03-03 21:56:35 +11:00
csoler
737b846e23
Merge branch 'master' into v0.6-FT4 2020-02-22 21:11:00 +01:00
csoler
bb498c3dc0
Merge pull request #1803 from defnax/removed-old-unused-icons
Removed old unused icons
2020-02-22 17:47:32 +01:00
csoler
a89f572edf
Merge pull request #1796 from drbob/photos_switch_to_gxscomments
Switch PhotoService to use GxsComments
2020-02-22 17:09:09 +01:00
csoler
5faee5ebe2
Merge pull request #1799 from defnax/update-and-cleanup-the-wiki-icons
Update and cleanup the wiki icons & small improvements
2020-02-22 17:01:02 +01:00
defnax
bb22b03b62 removed old icons & restored few back 2020-02-22 15:41:34 +01:00
defnax
e19f97f820 more cleanup 2020-02-22 13:24:30 +01:00
defnax
87f64a1e2b removed old unused icons 2020-02-22 01:26:20 +01:00
defnax
a9f528ff33 changed color for the enterevent 2020-02-20 00:37:44 +01:00
defnax
e8caa56dc8 Maked Group Logo label click to set the icon & removed the add icon button
* Maked group logo label click able to set the icon & removed the add icon button
2020-02-19 23:14:19 +01:00
csoler
5645d71699
fixed connexion between posted items and async API, and removed dead code and debug info 2020-02-19 21:52:55 +01:00
csoler
7e08d24b64
removed most of the token queue system from GxsFeedItems 2020-02-18 20:15:23 +01:00
csoler
d1b26c9d36
removed dead code form GxsForumThreadWidget.cpp 2020-02-18 11:19:10 +01:00
csoler
61083ff77a
fixed elided label when size is too small to draw anything 2020-02-18 11:07:41 +01:00
csoler
09c5d93631
moved elided label paint method to static so that it can be used by other item delegates 2020-02-18 10:50:55 +01:00
csoler
e4dc72169c
switched from GxsIdRSTreeWidgetItem to GxsIdItemDelegate, so as to avoid the whole timer system to load ids in Circles list 2020-02-17 23:13:41 +01:00
defnax
cc4acc0c50 update & clean up the wiki icons 2020-02-17 20:01:08 +01:00
csoler
167380127b
merged upstream/master 2020-02-17 19:54:16 +01:00
drbob
fe62dc1345 Switch PhotoService to use GxsComments
WIP improvements to PhotoService:
 - switch p3photoservice to use gxcommentservice
 - clean out old RsPhotoComment classes
 - redesign PhotoDialog to use standard GxsCommentService classes
 - remove unneeded old Comment classes from GUI
 - fix indenting for PhotoDialog and p3photoservice.h
 - fix layout issue in Extra Widgets for GxsGroupDialog
2020-02-16 15:21:20 +11:00
csoler
93ee9bdd18
Merge pull request #1793 from drbob/fix_photo_group_creation
Update RsPhotoItems and switch Photos to use GxsGroupDialog
2020-02-15 14:39:55 +01:00
drbob
d04518fd55 Update RsPhotoItems and switch to GxsGroupDialog.
WIP improvements to PhotoService:
 - Switch from custom image to use RsGxsImage
 - Update classes for new Image class
 - fix serialiser for photos
 - switch group creation to use GxGroupDialog
 - tweak GxsGroupDialog to display extra Widgets
 - add AlbumExtra widget
2020-02-15 01:01:19 +11:00
csoler
dc0b8c491c
using GxsIdRSTreeWidgetItem to display circle members 2020-02-11 22:14:55 +01:00
csoler
372b87148c
fixed text in share publish perms 2020-02-09 22:29:36 +01:00
defnax
f12a36fcfb Rename Posted to Boards & cleanup remove old icons
Rename Posted to Boards & cleanup remove old icons
2020-02-08 17:29:50 +01:00
csoler
8e153b4acc
started removal of GxsBroadcastBase class 2020-02-06 19:57:23 +01:00
csoler
595df99310
fixed notifications for distant search results in channels 2020-02-03 21:39:05 +01:00
csoler
90bb6c0011
fixed notifications in forums, posted and channels 2020-01-27 21:38:57 +01:00
csoler
fb9282f588
moved UserNotify to MainPage level, and added RsEvent handling code in Posted 2020-01-26 23:19:20 +01:00
csoler
c552890459
attempt to sort out the mess in item deletion in FeedHolder widgets 2020-01-14 21:43:29 +01:00
csoler
1d9dc657fd
removed some debug info 2019-12-22 22:29:14 +01:00
defnax
fd04d386ce Added to display the created time to display & feed ui fixes 2019-12-03 23:59:40 +01: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
55d26b400b added Comment button to Comment Dialog
added comment button to CommentDialog
2019-10-09 19:26:43 +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
defnax
75dd928fbb Removed the default stylsheets from titlebar frames
Removed the default stylsheets from titlebar frames
2019-09-28 22:58:28 +02:00
csoler
4030887232
fixed bug due to old map entry deletion that wasnt moved 2019-06-25 21:07:05 +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
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
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
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
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
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
90995f16ce
fixed filter/sort by author name 2019-03-26 10:25:54 +01:00
csoler
d2c15c2d9e
fixed merge upstream/master 2019-03-24 20:59:23 +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
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
14d29a4490
fixed small bug in box initialization 2019-03-12 16:59:45 +01:00
csoler
a67a35624d
fixed re-loading of icons in author item delegate 2019-03-12 16:40:35 +01:00
Gioacchino Mazzurco
5ff4ebbd12
Fix retroshare-gui compilation after RsReputations refactoring 2019-02-16 11:42:22 -03:00
Phenom
3ddf59c5cb Fix Warnings for class 'RsGxsCommentService' was previously declared as
a struct

In file included from ../../../trunk/retroshare-gui/src/gui/
RetroShareLink.cpp:33:
In file included from ../../../trunk/retroshare-gui/src/gui/gxschannels/
GxsChannelDialog.h:24:
../../../trunk/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.h:44:1:
warning: class 'RsGxsCommentService' was previously declared as a struct
[-Wmismatched-tags]
class RsGxsCommentService;
^
../../../trunk/libretroshare/src/retroshare/rsgxscommon.h:161:8: note:
previous use is here
struct RsGxsCommentService
       ^
../../../trunk/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.h:44:1:
note: did you mean struct here?
class RsGxsCommentService;
^~~~~
struct
2019-02-14 23:45:08 +01:00
Phenom
a25f974473 Fix Warnings for 'RsGxsIfaceHelper' defined as a struct here but
previously declared as a class

In file included from ../../../trunk/retroshare-gui/src/main.cpp:66:
In file included from ../../../trunk/libretroshare/src/retroshare/
rsidentity.h:31:
../../../trunk/libretroshare/src/retroshare/rsgxsifacehelper.h:43:1:
warning: 'RsGxsIfaceHelper' defined as a struct here but previously
declared as a class [-Wmismatched-tags]
struct RsGxsIfaceHelper
^
../../../trunk/retroshare-gui/src/util/RsGxsUpdateBroadcast.h:28:1:
note: did you mean struct here?
class RsGxsIfaceHelper;
^~~~~
struct
2019-02-14 22:48:33 +01:00
Phenom
8806840989 Fix Warnings for 'RsGxsChannels::createComment' and
'RsGxsChannels::createVote' hides overloaded virtual function

In file included from temp/moc/moc_GxsChannelGroupItem.cpp:9:
In file included from temp/moc/../../../../../trunk/retroshare-gui/src/
gui/feeds/GxsChannelGroupItem.h:24:
../../../trunk/libretroshare/src/retroshare/rsgxschannels.h:116:15:
warning: 'RsGxsChannels::createComment' hides overloaded virtual
function [-Woverloaded-virtual]
        virtual bool createComment(RsGxsComment& comment) = 0;
                     ^
../../../trunk/libretroshare/src/retroshare/rsgxscommon.h:172:15: note:
hidden overloaded virtual function 'RsGxsCommentService::createComment'
declared here: different number of parameters (2 vs 1)
        virtual bool createComment(uint32_t &token, RsGxsComment
&comment) = 0;
                     ^
In file included from temp/moc/moc_GxsChannelGroupItem.cpp:9:
In file included from temp/moc/../../../../../trunk/retroshare-gui/src/
gui/feeds/GxsChannelGroupItem.h:24:
../../../trunk/libretroshare/src/retroshare/rsgxschannels.h:132:15:
warning: 'RsGxsChannels::createVote' hides overloaded virtual function
[-Woverloaded-virtual]
        virtual bool createVote(RsGxsVote& vote) = 0;
                     ^
../../../trunk/libretroshare/src/retroshare/rsgxscommon.h:173:15: note:
hidden overloaded virtual function 'RsGxsCommentService::createVote'
declared here: different number of parameters (2 vs 1)
        virtual bool createVote(uint32_t &token, RsGxsVote &vote) = 0;
                     ^
In file included from temp/moc/moc_GxsChannelPostItem.cpp:9:
In file included from temp/moc/../../../../../trunk/retroshare-gui/src/
gui/feeds/GxsChannelPostItem.h:26:
../../../trunk/libretroshare/src/retroshare/rsgxschannels.h:116:15:
warning: 'RsGxsChannels::createComment' hides overloaded virtual
function [-Woverloaded-virtual]
        virtual bool createComment(RsGxsComment& comment) = 0;
                     ^
../../../trunk/libretroshare/src/retroshare/rsgxscommon.h:172:15: note:
hidden overloaded virtual function 'RsGxsCommentService::createComment'
declared here: different number of parameters (2 vs 1)
        virtual bool createComment(uint32_t &token, RsGxsComment
&comment) = 0;
                     ^
In file included from temp/moc/moc_GxsChannelPostItem.cpp:9:
In file included from temp/moc/../../../../../trunk/retroshare-gui/src/
gui/feeds/GxsChannelPostItem.h:26:
../../../trunk/libretroshare/src/retroshare/rsgxschannels.h:132:15:
warning: 'RsGxsChannels::createVote' hides overloaded virtual function
[-Woverloaded-virtual]
        virtual bool createVote(RsGxsVote& vote) = 0;
                     ^
../../../trunk/libretroshare/src/retroshare/rsgxscommon.h:173:15: note:
hidden overloaded virtual function 'RsGxsCommentService::createVote'
declared here: different number of parameters (2 vs 1)
        virtual bool createVote(uint32_t &token, RsGxsVote &vote) = 0;
                     ^
2019-02-14 21:58:33 +01:00
csoler
b7c8c16e29
inserted the model into the widget 2019-02-08 15:41:20 +01:00
csoler
9c24f5c718
Revert "removed HeaderFrame where it's not needed" 2019-01-19 22:36:19 +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
csoler
05313a5364
Merge pull request #1460 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2019-01-13 23:24:28 +01:00
csoler
fd74123b45
fixed indentation 2019-01-13 15:28:03 +01:00
csoler
8721cb3ab1
Merge pull request #1456 from defnax/master
*Improved Create comment dialog for channel/posted comment replies
2019-01-12 15:05:43 +01:00
csoler
b3ecfe1504
Merge pull request #1458 from csoler/v0.6-ImprovedGUI
V0.6 improved gui
2019-01-12 15:02:06 +01:00
csoler
957435acc7
fixed inconsistent storage/sync values in GxsGroupDialog that caused 1y storage period to not show up 2019-01-12 14:59:58 +01:00
defnax
2fc0c643ef Improved again reply comment dialog
Added frame for better see reply field with white background
Set strings for "Reply as" and for window title
2019-01-12 14:08:31 +01:00
csoler
396d58da58
fixed auto-switching bug in GxsIdChooser 2019-01-11 22:13:48 +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
defnax
993f1e8ada
Merge pull request #1455 from defnax/master
*Improved Display of Moderator selection box on a useable place
*Restored back changes from circles & profile gen dialog
2019-01-09 23:41:09 +01:00
defnax
ef4a29d4d4 Improved Display of Moderator selection box on a useable place
* Improved Author & Moderator labels display as link
* Improved display of moderator selection box display on right side
* Added own tree item "My Circles" to see your own circles easyer then before when you are admin.
* Profile generation dialog moved node type box to advanced section.
2019-01-06 15:56:39 +01:00
csoler
9e63467aba
added some debug info to GxsIdChooser and fixed a typo (possibly causing a bug?) 2019-01-06 13:18:59 +01:00
csoler
e09b416674
automatically add moderator rights to the owner of a forum 2018-12-24 11:47:33 +01:00
csoler
5b8a64b677
fixed a number of bugs in the update/display of forum model 2018-12-06 23:04:53 +01:00