Commit Graph

360 Commits

Author SHA1 Message Date
defnax
0cb0678dc5 Fixing margins & fix filter linedit to use LineEditClear class 2020-06-14 15:06:04 +02:00
csoler
3fcb2925a4
Merge pull request #9 from defnax/stylesheet-fix
fixing stylesheet for the subscribe button & splitter storing
2020-06-14 13:14:43 +02:00
csoler
ed23492762
Merge pull request #11 from defnax/fixing-channel-labels-stylesheet
Fixing default stylesheet for Channel label
2020-06-14 13:13:41 +02:00
csoler
cf1482b53a
Merge pull request #10 from defnax/open-file-feature
Added open file feature for file status widget
2020-06-14 13:11:28 +02:00
csoler
d1d977376d
improved scrolling and explicitly disabled horizontal scroll slider 2020-06-14 13:03:12 +02:00
csoler
fd85965e7d
added preview widget when creating pochannel posts 2020-06-13 16:14:15 +02:00
csoler
f1092b4a29
added post editing 2020-06-13 15:00:30 +02:00
csoler
f8deebfc5a
fixed updating of data after read status change 2020-06-13 14:31:39 +02:00
csoler
ebaf5e63c3
added star for new posts 2020-06-13 13:38:19 +02:00
csoler
f40d7a75b3
fixed a few UI bugs in channel posts 2020-06-12 11:00:51 +02:00
defnax
2b8d65b31f Fixing default stylesheet for Channel label 2020-06-11 22:48:21 +02:00
csoler
67e8b87750
attempt to fix UI bug that automatically deselected after setting msg as read 2020-06-11 22:17:33 +02:00
csoler
2faaccbb7a
fixed a few cosmetic details in channels model and UI 2020-06-11 21:55:52 +02:00
defnax
92379b3534 Added open file feature for file status widget
* Added open file feature for file status widget
2020-06-11 16:32:55 +02:00
csoler
ebbdc082c0
implemented sorting manually in channel files lists 2020-06-10 23:16:32 +02:00
csoler
8c3c973d02
changed filtering model to a hand-made solution 2020-06-10 22:04:34 +02:00
csoler
85ce2c0f33
fixed bug in files model 2020-06-10 20:08:23 +02:00
csoler
cbf4ce6670
fixed some errors in model 2020-06-10 19:05:41 +02:00
csoler
3412bb2a8f
fixed compilation 2020-06-10 18:30:43 +02:00
csoler
ba6269311d
minor changes to files view 2020-06-10 18:24:02 +02:00
defnax
2baa551348 added stretch factor for the splitter 2020-06-09 23:32:18 +02:00
csoler
c9019a7e99
added sorting and filtering for files using a QPSortFilterProxyModel but it doesnt work yet 2020-06-09 21:08:21 +02:00
defnax
dc61167733 store splitter position 2020-06-09 21:03:55 +02:00
csoler
32050af8da
fixed bug causing impossibility to display thumbnails with one post only 2020-06-08 21:26:48 +02:00
csoler
405fd2b5ca
removed some unused buttons 2020-06-08 21:09:23 +02:00
csoler
730a3be2e4
added filtering for posts 2020-06-08 20:56:59 +02:00
csoler
1cb6369cb6
added comments 2020-06-07 22:50:17 +02:00
csoler
944c5b3592
added list of files for the whole channel 2020-06-07 14:50:31 +02:00
csoler
591ffc2fa7
added display of selected item and empty widget for channel files 2020-06-06 22:37:44 +02:00
csoler
baf7b06e4c
fixed double click problem on files 2020-06-06 21:51:40 +02:00
csoler
fecd4369ec
fixed a few bugs in posts model 2020-06-06 21:32:06 +02:00
csoler
129ffdd6c5
fixed auto-layout of thumbnails 2020-06-06 19:07:03 +02:00
csoler
3106157ab0
fixed layout for thumbnails 2020-06-06 13:58:14 +02:00
csoler
89fc77ef8e
fixed bug causing crash when clicking on non channel entries 2020-06-05 22:47:29 +02:00
csoler
facad382cf
fixed a few UI glitches 2020-06-05 22:43:43 +02:00
csoler
d39c476131
fixed entering editing event. 2020-06-05 18:07:33 +02:00
csoler
b9c41b31d4
added QStyledItemDelegate based on ChannelFilesStatusWidget. Not working yet. 2020-06-05 17:34:56 +02:00
csoler
a5dd33e085
improved widgets. Added file list (with dump delegate), labels, etc 2020-06-04 21:50:27 +02:00
csoler
e0cf9768fc
improved layout 2020-06-04 19:50:34 +02:00
csoler
a38d5aba14
added missing files 2020-06-03 22:49:13 +02:00
csoler
da968379d6
improved design: moved channel details+posts into tabs, and added tabs for comments+post details 2020-06-03 21:06:37 +02:00
csoler
5a6c8de005
fixed abstract item model for channels. Display still missing 2020-06-02 22:22:36 +02:00
csoler
198733a763
started implementing an abstract item model for channels 2020-06-01 22:00:49 +02:00
Phenom
ee0cc25b13 Fix Channels Mark All as Un/Read. 2020-05-22 12:33:54 +02:00
csoler
2a5adddc3b
Merge pull request #1881 from PhenomRetroShare/Add_VotesOn_getPostData
Add Votes when calling getPostData.
2020-05-21 22:38:06 +02:00
Phenom
f6260a95ae Add Votes when calling getPostData. 2020-05-13 00:36:14 +02:00
csoler
ce6abe5d66
made GxsNotify for messages with more granularity. Removed RsGxsCircleMsg class that was not used. 2020-05-03 23:20:13 +02:00
csoler
f5af7dfeb3
fixed up top bar tooltips to display what the numbers actually mean 2020-04-27 21:56:43 +02:00
csoler
5120f693be
Merge pull request #1859 from csoler/v0.6-ImprovedGUI_4
Making channels faster to load
2020-04-21 19:30:49 +02:00
csoler
38e89d4055
fixed merge with upstream/master 2020-04-19 21:53:02 +02:00
csoler
2a046eacb3
have GxsChannelPostItem only keep a copy of the group meta data instead of the full group data to save memory 2020-04-18 13:45:55 +02:00
csoler
678bcf5830
improved efficiency of channel posts loading 2020-04-17 23:23:59 +02:00
csoler
fa8968797c
added some tests to insertGroupData() to avoid inconsistent calls 2020-04-16 21:35:57 +02:00
csoler
ac02b68b34
first step of partial channel loading: only load all posts from meta data 2020-04-15 21:55:16 +02:00
Gioacchino Mazzurco
4c0baa1ec3
Fix JSON API event handler registering behavior
As a bonus the behaviour is now homogeneous between C++ API and JSON API
Fix a bunch of compiler warning
RsEvents implementation is now safer
mHandlerMaps size is known at compile time, so use an std::array instead
  of vector
2020-04-14 12:24:57 +02:00
csoler
54f8ef1ffe
fixed small bug causing read/unread and new msgs to not update immediately 2020-04-12 23:07:42 +02:00
csoler
f74c65fcc0
created a specific GxsEvent for Group Statistics changes and handle it in the GUI for all friends at once every 2 min at most 2020-04-11 20:52:35 +02:00
csoler
b0e61376f1
removed calls to getServiceStatistics from GxsUserNotify and replaced by info collected by GxsGroupFrameDialog 2020-04-08 21:11:53 +02:00
csoler
c60f1d1331
fixed merge with upstream/master 2020-04-08 10:41:47 +02:00
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
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
4e3cb16535
removed token queue from CreateGxsChannelMsg 2020-03-31 22:10:11 +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
6c1f09a53b
completely removed TokenQueue from GxsGroupDialog and GxsGroupFrameDialog 2020-03-22 21:47:14 +01:00
csoler
05afc40804
fixed a few bugs 2020-03-21 17:44:58 +01:00
csoler
b8ec91aac5
fixed missing returns 2020-03-21 15:46:52 +01:00
csoler
2387150f64
1/4 convertion of GxsGroupFrameDialog to blocking API 2020-03-21 15:25:34 +01:00
defnax
15afbc32cf Removed unnecessary icons from main tree Channel & Forums
* Removed unnecessary icons from the main tree Channel & Forums
* Fixed to display the Flag icon for the Distribution column
2020-03-09 16:53:27 +01:00
defnax
54a0319f33 fixing missed icon 2020-02-26 22:26:07 +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
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
0cdce37af4
added proper unregister calls in destructors of classes that register a event handler 2020-01-31 22:37:21 +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
c75d372f24
merged upstream/master 2020-01-17 22:16:24 +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
2bd5bb5a3e
fixed merge with master 2020-01-11 00:08:36 +01:00
Gioacchino Mazzurco
37b5d8f307
Fix few glitches in Cyril PR 2020-01-07 00:54:49 +01:00
Gioacchino Mazzurco
c96223a2a8
Merge "Switched security items to new notification system #1735" csoler-v0.6-SecNotification 2020-01-06 15:09:06 +01:00
csoler
c544b1da7c
changed RsEvents so that it takes event types when registering handlers, which limits the number of handlers called for each event 2019-12-29 13:50:54 +01:00
defnax
824fc5049b update the licence & added the changes for Channel message composer 2019-12-23 21:26:54 +01:00
csoler
3d7ae59df7
changed enum to enum class and made names globally more consistent for RsEvents 2019-12-17 21:41:21 +01:00
csoler
c348366eef
added notifications for channel posts 2019-12-16 23:52:09 +01:00
csoler
a54cf981a6
fixed forum/channel subscribe notifications 2019-12-16 22:44:37 +01:00
defnax
d6b67bc41b updated authors & website links & on channel files view to move Download/Status button to the middle 2019-12-09 21:13:51 +01:00
defnax
fd04d386ce Added to display the created time to display & feed ui fixes 2019-12-03 23:59:40 +01:00
defnax
836a872fd6 Added for Channel Messages to checkt the length 2019-11-18 18:52:27 +01: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
b6b840a673
added missing explicit sizes for some pixmaps 2019-06-04 13:41:51 +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
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
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
Phenom
1e65089930 Fix Warnings for class 'RsGxsChannelPost' was previously declared as a
struct

In file included from ../../../trunk/retroshare-gui/src/gui/gxschannels/
GxsChannelPostsWidget.cpp:27:
In file included from temp/ui/ui_GxsChannelPostsWidget.h:31:
../../../trunk/retroshare-gui/src/gui/gxschannels/
GxsChannelFilesWidget.h:28:1: warning: class 'RsGxsChannelPost' was
previously declared as a struct [-Wmismatched-tags]
class RsGxsChannelPost;
^
../../../trunk/libretroshare/src/retroshare/rsgxschannels.h:65:8: note:
previous use is here
struct RsGxsChannelPost : RsSerializable
       ^
../../../trunk/retroshare-gui/src/gui/gxschannels/
GxsChannelFilesWidget.h:28:1: note: did you mean struct here?
class RsGxsChannelPost;
^~~~~
struct
2019-02-15 00:06:48 +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
97299347f0 Restored back the changes
Removed attach image button
2019-01-18 15:14:42 +01:00
defnax
c25d222d86 fixed stylsheet and spacing 2019-01-15 21:26:50 +01:00
defnax
c210a8d734 Fixed Subscriber count label when blank is selected 2019-01-13 18:12:30 +01:00
defnax
0f9ee609e2 Enabled back Subscribe button on Channels
*Enabled back Subscribe Button on Channels
*Set stylesheet for the Channel subscribe button too.
*Fixed spacing on PostedListwidget
2019-01-13 15:38:26 +01:00
defnax
6750e6140f Added for Channel Message composer a Image Attach button
Added for Channel Message composer a Image Attach button
Added a Combobox for Sort in Posted links easyer with new icons
Messengerwindow changed the button icons & display on status the status icon too.
2019-01-12 15:46:47 +01:00
defnax
e7085eeb75 Fexed Icon size of the group tree
* Fixed icon size of the group tree to display icon complete.
Added for channel adminstrator clickable  to contact easy.
* Format Channel Description when contains links or emote
* Added setting for disable Emoteicon
2018-12-25 19:14:48 +01:00
csoler
901a9af74a
Merge pull request #1430 from defnax/master
Added new home icon
2018-12-19 22:22:43 +01:00
defnax
d67462751b Added new Channel icons for the group tree
Added new Channel icons
2018-12-14 22:55:32 +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
csoler
ac2dacf515
fixed licenses in gxsforums, gxschannels, im_history, msgs 2018-11-15 21:49:12 +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
csoler
5c2f714ada
merged with upstream/master 2018-08-30 14:50:16 +02:00
csoler
ded9c21617
added selection boxes to add forum moderators 2018-08-09 21:18:37 +02:00
Gioacchino Mazzurco
130007b578
Merge branch 'master' into jsonapi 2018-07-23 13:44:01 +02:00
csoler
4a64ea5f1f
added optional use of dist sync in GroupFrameDialog 2018-07-05 14:00:04 +02:00
csoler
8ad454723a
added group data request when search items are selected 2018-07-04 21:42:09 +02:00
csoler
00dfa0f3c2
added fallback for GXS GroupMessage UI to look into cached distant group data 2018-06-26 22:20:02 +02:00
Gioacchino Mazzurco
15f39129f1
Complete GxsChannels JSON API with blocking methods
RsGxsIfaceHelper::requestStatus expose it to JSON API
Implemented RsGxsIfaceHelper::waitToken to wait for GXS operations
RsItem::serial_process fix doxygen warning as it's a comment not documentation
RsTypeSerializer add JSON conversion methods for double [de]serialization not
	implemented yet
RsTypeSerializer_PRIVATE_{FROM,TO}_JSON_ARRAY fix doxygen warning as it's a
	comment not documentation
make GxsChannels::ExtraFileHash a bit more reasonable
jsonapi-generator fix unused variable warning if there is no input or output
	paramethers
jsonapi-generator fix generation for inerithed jsonapi methods
Convert to RsSerializable some Gxs structs for the JSON API
2018-06-26 13:20:24 +02:00
csoler
a5d1a154a4
remove channel/posted/forum info when no group is selected 2018-06-25 23:08:10 +02:00
csoler
e351d7257e
added retrieval of search results in UI 2018-06-24 16:55:38 +02:00
csoler
5b9666855d
fixed merge with upstream 2018-06-22 23:38:31 +02:00
csoler
84699db744
changed std::vector into std::set in notification system, hence removing lots of std::find(std::vector::begin(),std::vector::end(),T), causing quadratic costs in multiple places. 2018-06-21 15:46:59 +02:00
csoler
91fd38d46f
started GUI part for distant network search of groups 2018-06-20 22:30:44 +02:00
Phenom
8710761ad4 Change Add Channel/Forum post by Add.png 2018-02-18 19:15:14 +01:00
csoler
3f8ff6489b first attempt at creating a display model for transfers. Not finished yet. 2018-02-04 22:56:13 +01:00
RetroPooh
8ec69dfb72 fix cyrillic text sent wrong in channel post 2017-11-29 19:23:52 +03:00
csoler
0c97d5bc3c added sorting of channels to push to, and auto-fill of channel subject 2017-10-27 22:03:42 +02:00
csoler
06f489ec61 Merge pull request #1065 from csoler/v0.6-Links2
V0.6 links2
2017-10-23 22:14:06 +02:00
csoler
f50351063d Merge pull request #1069 from RetroPooh/postbuttonlabels
add text labels to post buttons in forums and channels; fix version s…
2017-10-22 16:00:08 +02:00
RetroPooh
749a34d815 add text labels to post buttons in forums and channels; fix version selector placement 2017-10-22 15:55:08 +03:00
RetroPooh
b48916ca46 add windows size/pos saving 2017-10-22 13:49:38 +03:00
csoler
b6aeacbed4 fixed share on channel code 2017-10-21 23:48:27 +02:00
csoler
770add8b8a added code to share a file/dir on channel 2017-10-21 21:23:40 +02:00
Phenom
ca9357cd20 Fix warning: this ‘if’ clause does not guard...
/retroshare-gui/src/gui/gxschannels/CreateGxsChannelMsg.cpp:360:
warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(assume_file_ready)
2017-07-16 21:06:54 +02:00
Phenom
b5c503a324 Fix warning: unused variable ‘prev_index’
/retroshare-gui/src/gui/gxschannels/GxsChannelPostsWidget.cpp:535:
warning: unused variable ‘prev_index’ [-Wunused-variable]
     uint32_t prev_index = current_index ;
2017-07-16 21:06:01 +02:00
csoler
1e98de76a1 fixed filtering for channels when loading items on the fly 2017-07-16 16:56:23 +02:00
csoler
d876bb721b fixing async loading of channels. To be tested. 2017-07-03 23:21:31 +02:00
csoler
9a5e46dd49 Revert "attempt to delay channel post loading on demand when displayed" 2017-07-03 22:07:06 +02:00
csoler
b6d5c55516 attempt to delay channel post loading on demand when displayed 2017-07-03 21:48:17 +02:00
csoler
51710c10a0 merge comments between channel item versions 2017-05-20 17:33:05 +02:00
csoler
6b09fa0f67 allow GxsFeedItems to have versions. Unfinished (does not compile) 2017-05-18 22:31:52 +02:00
csoler
2bc36bc06c properly merge new version feed items in channels when some items are already present 2017-05-15 22:13:36 +02:00
csoler
84e588b7e0 switch file to REMOTE state in subfileitem if the attachment has already been checked in the past but the file is not here anymore 2017-05-15 21:37:22 +02:00
csoler
18e37deba0 hide download buttons when the file is local in sub file item 2017-05-14 21:41:26 +02:00
csoler
f832f3dc82 added delete button to channel attached files 2017-05-14 21:26:45 +02:00