Commit Graph

6224 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
csoler
e351d7257e
added retrieval of search results in UI 2018-06-24 16:55:38 +02:00
Gioacchino Mazzurco
7ad337c8d2
Implement automatic JSON API generation
qmake file add jsonapi-generator target to compile JSON API generator
qmake files add rs_jsonapi CONFIG option to enable/disable JSON API at compile
  time
RsTypeSerializer pass down same serialization flags when creating new context
  for nested objects serial job
RsGxsChannels expose a few methods through JSON API as example
Derive a few GXS types (RsGxsChannelGroup, RsGxsChannelPost, RsGxsFile,
  RsMsgMetaData) from RsSerializables so they can be used for the JSON API
Create RsGenericSerializer::SERIALIZATION_FLAG_YIELDING so JSON objects that
  miss some fields can be still deserialized, this improve API usability
SerializeContext offer friendly constructor with default paramethers
Add restbed 4.6 library as git submodule as most systems doesn't have it yet
Add a bit of documentation about JSON API into jsonapi-generator/README.adoc
Add JsonApiServer class to expose the JSON API via HTTP protocol
2018-06-24 16:28:33 +02:00
csoler
6ccc7654d6
added code to notify GxsBroadcast system with new distant search results 2018-06-23 22:25:36 +02:00
csoler
5b9666855d
fixed merge with upstream 2018-06-22 23:38:31 +02:00
csoler
2f159efb10
Merge pull request #1288 from csoler/v0.6-GxsFix
changed std::vector into std::set in notification system, hence remov…
2018-06-22 22:06:59 +02:00
csoler
a7f1adc49a
added comment 2018-06-21 18:55:29 +02:00
csoler
cadc697882
removed reload of currently selected identity during full reload of Id list in People as it caused some blinking 2018-06-21 17:27:15 +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
3981bc8e3b
extended notification system to add distant search result notification 2018-06-21 13:48:57 +02:00
csoler
5cb48c27de
renamed a few constants of GXS notify system into more consistent values 2018-06-21 09:26:03 +02:00
csoler
c79ceba4ee
added remove buttons for ongoing search entries 2018-06-20 23:26:37 +02:00
csoler
91fd38d46f
started GUI part for distant network search of groups 2018-06-20 22:30:44 +02:00
G10h4ck
9090205747
Merge pull request #1284 from G10h4ck/improve_build
Improve build and Windows Continuos Integration
2018-06-19 11:53:07 +02:00
csoler
6139632378
changed back RsGxsUpdateBroadCast.cpp to dos line ending 2018-06-18 22:37:31 +02:00
csoler
2e7398ac9b
removed debug info 2018-06-18 22:35:22 +02:00
csoler
79e676edbe
fixed re-load of GXS groups (forums/channels) when the read flag is changed 2018-06-18 22:27:05 +02:00
csoler
7a135c5c43
added quick and dirty turtle search for channels in Files search tab 2018-06-13 22:46:27 +02:00
Gioacchino Mazzurco
1f76108a9e
Remove some cruft from build files 2018-06-11 14:21:28 +02:00
thunder2
4eda277922 Added missing declare of metatype 2018-06-08 17:00:37 +02:00
Gioacchino Mazzurco
d7b366de23
RS-gui Solve unused parameter warning 2018-06-07 14:54:58 +02:00
csoler
7caf06b57d
added structures for generic turtle search and access functions in Gxs objects 2018-06-06 23:15:29 +02:00
csoler
90d7f55c40
finished implementing GXS search items 2018-05-31 15:41:54 +02:00
csoler
57dde55f56
Merge pull request #1269 from PhenomRetroShare/Add_NeverAskMeForExternalLinkActivated
Add Never Ask Me For External Link Activated
2018-05-26 11:23:33 +02:00
csoler
33fe823127
Merge pull request #1271 from sehraf/pr_compile-fix-unused-services
make wiki and photo services compile again
2018-05-26 11:22:47 +02:00
sehraf
f53e5e8468
Fix displayed chat link name in id dialog
before (decimal):  Message in chat room 5327517029776505601
after (proper id): Message in chat room LFD6E08C33A98C658
2018-05-25 23:59:02 +02:00
sehraf
428b331d8e
fix for Qt 5.11
Quote from Arch mailing list:
- there's been a huge header cleanup in Qt modules. Expect build failures for applications that rely on transitive includes instead of declaring all required headers. Those need to be fixed upstream by explicitely adding the missing includes.
2018-05-25 23:57:11 +02:00
Gioacchino Mazzurco
1ad1fdc7be
p3NetMgrIMPL::checkNetAddress() notify if port change
Plus cleanups and proper sockaddr_storage copy
2018-05-22 19:17:37 +02:00
sehraf
92b21d7332
compile fix wikipoos 2018-05-21 14:26:46 +02:00
Phenom
8f107cca31 Add Never Ask Me For External Link Activated
Need to remove [General] NeverAskMeForExternalLinkActivated key in
RetroShare.conf to revert.
2018-05-19 16:37:29 +02:00
csoler
2145911ac4
Merge pull request #1262 from PhenomRetroShare/Fix_PartialDirCheck
Fix Partial Dir Check
2018-05-16 13:30:56 +02:00
csoler
4661329bee
fixed bug causing new forums and identities to not show up immediately 2018-05-16 11:15:18 +02:00
Phenom
f12cd5774d Fix Partial Dir Check
Add WrongValue StyleSheet property, when bad directory selected.
Update QLineEdit with current setting so it's possible to see if
something is modified. No need to restart.
2018-05-12 14:31:28 +02:00
Phenom
2ebacf36ed Add Last Post Column in GroupTreeWidget.
Hidden by default.
A context menu is added.
2018-05-08 12:10:31 +02:00
csoler
5b607ada26
Merge pull request #1245 from PhenomRetroShare/AddContextMenuForGxsIdInTextChatBrowser
Add Context Menu for GxsId in lobby textBrowser.
2018-05-06 23:53:45 +02:00
Phenom
98f00520cd Add GxsId in Restored Chat Message. 2018-05-03 15:04:28 +02:00
Phenom
ecba4c2dab Add Context Menu for GxsId in lobby textBrowser. 2018-05-03 14:29:15 +02:00
csoler
1366f6131b
Merge pull request #1241 from RetroPooh/chatimgattprev1
embed preview for images on file attach in chat
2018-05-02 23:51:46 +02:00
csoler
8e111c2ee2
added rapidjson-1.1.0 code hard-coded in the source directory to allow everyone to compile without the need to tweak too much. When v1.1.0 is mainstream (espcially on ubuntu) we can revert back to an external dependency 2018-05-02 22:46:27 +02:00
RetroPooh
2dc69cb000 embed preview for images on file attach in chat 2018-04-27 16:50:00 +03:00
RetroPooh
606537a092 reorder cases for nicer diff 2018-04-26 23:28:14 +03:00
csoler
680346c155
Merge pull request #1239 from RetroPooh/discosw2
fix discovery switch
2018-04-26 22:06:01 +02:00
RetroPooh
1d5e029a25 fix discovery switch 2018-04-26 23:01:58 +03:00
Gioacchino Mazzurco
0562850758
Fix retroshare-gui compilation with GCC 6
same as 678ee31a14 for retroshare-gui
2018-04-23 21:11:41 +02:00
G10h4ck
82eb42ad8a
Merge pull request #1235 from G10h4ck/build_improvements
Build improvements
2018-04-23 12:04:35 +02:00
csoler
2294f73539
fixed search button missing due to previous commit 2018-04-22 21:38:12 +02:00
csoler
e5d2f88fab
removed "search while typing" because it is really too painful 2018-04-22 18:31:05 +02:00
csoler
236b0ce2b4
re-enabled search while typing, now that it is fast enough 2018-04-22 17:57:14 +02:00
csoler
849ed79cf2
fixed missing update after filtering 2018-04-22 17:38:14 +02:00
csoler
1e6e9dfd12
fixed crazy cost of search in file list tree/flat mode using filterProxyModel instrinsic filter system 2018-04-22 17:15:40 +02:00
Gioacchino Mazzurco
4876a0ea3b
Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02:00
csoler
d5d445a7b8
Merge pull request #1207 from PhenomRetroShare/Add_TimerFilterInSharedFilesDialog
Add a timer in SharedFilesDialog filter to not so often triggs search in
2018-04-15 22:26:35 +02:00
csoler
c84e5e863b
Merge pull request #1221 from hunbernd/fix/private-chat-icon-not-updating
Fix private chat icon not changing back to idle icon from new message…
2018-04-15 22:18:59 +02:00
csoler
8ab87f6bdf
Merge pull request #1222 from RetroPooh/serverpage
ServerPage fixes
2018-04-15 22:13:04 +02:00
Gioacchino Mazzurco
b36cb1ef17
Fix retroshare GUI building with no_libresapihttpserver 2018-04-15 12:41:54 +02:00
Phenom
d91964acb3 Disable Search in SharedFilesDialog while typping. 2018-04-14 12:30:55 +02:00
Phenom
eccff5358a Add a timer in SharedFilesDialog filter to not so often triggs search in
files.
2018-04-14 12:24:48 +02:00
RetroPooh
a14b1f60a2 tooltips improv 2018-04-06 14:01:52 +03:00
RetroPooh
dceeab0e4d cleanup 2018-04-06 13:02:30 +03:00
RetroPooh
154f089dd4 fixes 2018-04-06 12:50:10 +03:00
RetroPooh
5775203b69 bring back open local file on link click 2018-04-05 22:22:54 +03:00
RetroPooh
234b576f38 change distant chat status indicator color to differ closed and pending 2018-04-02 19:43:21 +03:00
RetroPooh
fdb8dc568c fix unicode display for chat status 2018-04-02 19:38:56 +03:00
RetroPooh
e17edbfa1f fix default tab on serverpage 2018-04-01 14:13:42 +03:00
RetroPooh
6964ba4165 fix tab index on serverpage 2018-04-01 14:13:21 +03:00
hunbernd
c821c179ef Fix private chat icon not changing back to idle icon from new message icon when window activated
Broken in add9c1e72c
2018-03-31 22:39:58 +02:00
csoler
24d1f5d9eb
Merge pull request #1190 from PhenomRetroShare/Add_ShowEmptySubMenuRemoteTree
Add ShowEmpty sub menu in Tree Remote SharedFilesDialog.
2018-03-17 18:40:32 +01:00
csoler
09de680e93
Merge pull request #1210 from PhenomRetroShare/Add_BackgroundInProgressBarText
Add Background to xprogressbar text for more readability.
2018-03-17 18:30:21 +01:00
Phenom
e1482dd5e4 Add Rounded and Gradient Background to xprogressbar text. 2018-03-17 00:00:05 +01:00
Phenom
7da73b35a9 Add differents views depends ProgressBar width
Less than text width: only show progress bar.
Text width to 1.5 times: only show text.
More than 1.5 times: show chunk and text.
2018-03-16 22:02:59 +01:00
Phenom
311b190f67 Add Background to xprogressbar text for more readability. 2018-03-16 22:02:59 +01:00
csoler
e1ad21c357
fixed wrong file count in RsCollectionDialog when downloading files 2018-03-15 13:11:19 +01:00
csoler
6e8305abda
Merge pull request #1211 from PhenomRetroShare/Fix_AvatarStatusOverlay
Fix Friend Avatar status overlay no depends size scale.
2018-03-14 20:56:30 +01:00
csoler
c7549a260a
Merge pull request #1208 from PhenomRetroShare/Fix_ChangeChatTextColorWhenChangeStyle
Fix ChatWidget current text edit color when changing appearance style.
2018-03-14 20:49:42 +01:00
csoler
11cfa7b098
Merge pull request #1209 from PhenomRetroShare/Add_DescriptionGxsGroupToolTip
Add description in GroupTreeWidget tooltip.
2018-03-14 20:34:52 +01:00
csoler
3fc63143dd
Merge pull request #1206 from PhenomRetroShare/Fix_AboutIcon
Fix Icon for About page.
2018-03-14 20:33:34 +01:00
csoler
0e6d27ad7a
fixed bug in FT causing transfer lines to only update when the mouse moves over the widget 2018-03-13 20:25:38 +01:00
csoler
13b18e3e90
added missing decoration icon on transfer sources 2018-03-10 16:05:52 +01:00
thunder2
c92b860174 Windows build environment:
- Updated external libraries
- Added compile of plugins to build.bat
- Added copy of Qt style DLL to pack.bat and Windows Installer
- Removed "CONFIG=console" for release build
2018-03-05 11:05:04 +01:00
Phenom
8b42873968 Fix Friend Avatar status overlay no depends size scale. 2018-03-04 22:45:11 +01:00
Phenom
6877589baf Add description in GroupTreeWidget tooltip. 2018-03-04 18:19:18 +01:00
Phenom
51cc94bfa7 Fix ChatWidget current text edit color when changing appearance style.
Don't change already typed text, who wants to change style while
typping?
2018-03-04 17:31:40 +01:00
Phenom
4e6f2ae702 Fix Icon for About page. 2018-03-04 14:31:16 +01:00
Phenom
a89ab8ffa3 Add ShowEmpty sub menu in Tree Remote SharedFilesDialog. 2018-03-04 13:57:57 +01:00
csoler
919417a137
make sure tor executable from config path can be reached 2018-03-03 19:04:54 +01:00
csoler
b587ac8835
Merge pull request #1192 from PhenomRetroShare/Add_WarningMaxFlatViewFile
Add a warning in ToolTip if Max files reach in flat view mode Dir Tree.
2018-03-03 16:06:49 +01:00
csoler
9bcff0761b
Merge pull request #1203 from PhenomRetroShare/Fix_SharedFileDialogShowColumn
Fix shared file dialog show column
2018-03-03 15:58:11 +01:00
csoler
dcb3f79e4c
removed some debug info in RSLink 2018-03-03 15:55:52 +01:00
csoler
1a1dc648bd
fixed transfers list bug causing ghost entries to appear 2018-03-03 15:50:27 +01:00
Phenom
58d418da67 Fix SharedFilesDialog show old hidden column.
Renamed group as calling setColumnHidden(COLUMN_AGE, false) doesn't
work.
2018-03-03 12:08:21 +01:00
Phenom
ab45a972b0 Revert "Fix SharedFilesDialog show old hidden column."
This reverts commit c141eae828.
2018-03-03 12:05:13 +01:00
Gioacchino Mazzurco
bed856425f
Share additional addresses via RsCertificate 2018-03-03 00:08:56 +01:00
csoler
57f87a680f
Merge pull request #1201 from csoler/v0.6-SecurityFixes
tried to fix FT list bug.
2018-03-02 22:58:50 +01:00
csoler
9386bb991d
tried to fix FT list bug. 2018-03-02 22:57:14 +01:00
csoler
952ff03a13
Merge pull request #1200 from csoler/v0.6-SecurityFixes
V0.6 security fixes
2018-03-02 21:28:09 +01:00
csoler
e88eebf3e3
attempt to fix wrong number of rows in DL list 2018-03-02 21:26:38 +01:00
csoler
f2a737ec99
fixed font size compilation error 2018-03-02 18:13:09 +01:00
csoler
ca402c2ba1
fixed column sizing in FT dialog 2018-03-02 18:05:11 +01:00
csoler
efa5827fff
fixed missing peer availability maps in FT dialog 2018-03-02 18:01:56 +01:00
csoler
028a246b8d
Merge pull request #1197 from csoler/v0.6-SecurityFixes
Fixing bugs on channels permission and notify
2018-03-01 09:44:59 +01:00
csoler
3bc5b456a5
added a FeedItem to warn when publish permissions are received for a channel 2018-02-27 22:42:48 +01:00
Phenom
23c389c934 Remove non translatable text ChatWidget.ui 2018-02-26 23:29:06 +01:00
csoler
9f0421cf12
attempt to fix large size in ConnectFriendDialog.ui 2018-02-25 14:39:29 +01:00
Phenom
51a43d00f7 Add a warning in ToolTip if Max files reach in flat view mode Dir Tree. 2018-02-24 18:16:17 +01:00
csoler
49b321d132
fixed the text in invitation system 2018-02-23 14:39:08 +01:00
csoler
5a4d0f57d1
made the invite system non automatic, because it was confusing and could generate unwanted emails 2018-02-23 14:26:23 +01:00
Phenom
c141eae828 Fix SharedFilesDialog show old hidden column. 2018-02-22 18:54:14 +01:00
Phenom
aadb9acbab
Fix Gcc Warning in NetworkDialog.cpp
/retroshare-gui/src/gui/NetworkDialog.cpp:83: warning: unused parameter
‘parent’ [-Wunused-parameter]
 NetworkDialog::NetworkDialog(QWidget *parent)
/retroshare-gui/src/gui/NetworkDialog.cpp:161: warning: this ‘if’ clause
does not guard... [-Wmisleading-indentation]
     if(l.empty())
2018-02-20 23:16:58 +01:00
csoler
e3d8d86044
updated translation files 2018-02-20 23:03:33 +01:00
csoler
a1b378e6f4
fixed ghost rows in TransfersDialog 2018-02-20 21:07:02 +01:00
csoler
11d607e997
Merge pull request #1179 from PhenomRetroShare/Add_ChangeAddIconForChannelForum
Change Add Channel/Forum post by Add.png
2018-02-20 20:19:10 +01:00
csoler
35b54bbcb7
Merge pull request #1180 from PhenomRetroShare/Add_ClearGxsGroupFrameWhenNoSelection
Clear GxsGroupFrame When No Selection
2018-02-20 20:18:31 +01:00
Phenom
798ad15c3b Split Number of Files and Size in RemoteDirModel. 2018-02-19 20:13:54 +01:00
Phenom
71e1a46fa6 Clear GxsGroupFrame When No Selection 2018-02-18 23:13:27 +01:00
Phenom
8710761ad4 Change Add Channel/Forum post by Add.png 2018-02-18 19:15:14 +01:00
csoler
2bc0629cc7
Merge pull request #1178 from PhenomRetroShare/Fix_BugsInRsCollectionDialog
Fix bugs in rs collection dialog
2018-02-18 17:59:00 +01:00
csoler
2511934fb0
Merge pull request #1177 from csoler/v0.6-FT
added limiter in number of responses forwarded back by turtle search,…
2018-02-18 17:58:06 +01:00
Phenom
931fdd026e Fix bug in processSettings in RsCollectionDialog.cpp 2018-02-18 17:31:06 +01:00
Phenom
d87061ddb3 Fix bug when adding new items when hashing in RsCollectionDialog 2018-02-18 17:31:06 +01:00
Phenom
6d0945fbab Fix bug when removing root item in RsCollectionDialog 2018-02-18 17:31:06 +01:00
csoler
6fe14136ae
added limiter in number of responses forwarded back by turtle search, which should avoid bursts of bandwidth for popular requests 2018-02-17 23:37:25 +01:00
csoler
47f9a4907b
improved cost of reseting search in SharedFileDialog by saving hidden indexes list 2018-02-15 00:02:08 +01:00
csoler
72124bbd3f
hide advanced mode option since it is not used anywhere in the software 2018-02-14 22:08:07 +01:00
csoler
cf33221f2f
removed dead code in previous commit 2018-02-14 22:00:46 +01:00
csoler
ddb2c45790
disable and hide signature checkbox when key is already signed in ConnectWizard 2018-02-14 21:56:12 +01:00
csoler
42b8eccfd2
prevent RS from making friends with your own location 2018-02-14 21:48:56 +01:00
csoler
d8b193c10b
fixed merge with master 2018-02-12 22:40:15 +01:00
csoler
01cc2322e8
fixed appearing false line in Transfers 2018-02-12 22:39:11 +01:00
csoler
8afa127ed5
fixed crash in RsCollection creation 2018-02-12 20:30:01 +01:00
csoler
0491e43118
Merge pull request #1169 from csoler/v0.6-FT
V0.6 ft
2018-02-11 21:28:43 +01:00
csoler
7a2d874863
Merge pull request #1153 from csoler/v0.6-TorOnly
V0.6 tor only
2018-02-11 20:49:45 +01:00
csoler
5f106c4769 fixed compilation on ubuntu precise 2018-02-10 15:42:24 +01:00
csoler
fc3becacbf fixed performance issue (patch from sss) 2018-02-09 23:02:27 +01:00
csoler
faf45174c7 proper error handlign when Tor is not available 2018-02-08 15:26:21 +01:00
csoler
644fce86de fixed download menu from Messages 2018-02-08 11:14:12 +01:00
csoler
2744bc9750 fixed saving of expanded items 2018-02-08 09:07:48 +01:00
csoler
e7c75b19da fixed losing selection when updating FT list 2018-02-07 22:59:24 +01:00
csoler
2ee78d7b96 fixd merged with master 2018-02-07 22:07:49 +01:00
csoler
8b46fc9d3c fixed sorting and selection 2018-02-07 21:57:32 +01:00
Phenom
bf8bd4b023 Add Only Connected in FriendSelectionWidget.
Add Select All if Multi Selection allowed.
Clean Some Code duplicated from RSTreeWidget.
2018-02-07 19:00:08 +01:00
csoler
74a6076f18 added sources in new QModel. Unfinished yet. 2018-02-07 00:25:41 +01:00
csoler
fdcb6160f9 fixed level 0 of Transfers QModel 2018-02-05 21:37:06 +01:00
csoler
3f8ff6489b first attempt at creating a display model for transfers. Not finished yet. 2018-02-04 22:56:13 +01:00
Phenom
a496e6f1b0 Add Chat Room RSLink 2018-02-04 17:51:26 +01:00
csoler
efe78f5d82 slight optimization to showEvent() and save/restore visible items in file lists 2018-01-28 21:54:56 +01:00
csoler
d0039241d3 replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows 2018-01-27 20:22:31 +01:00
csoler
11eef05a1b fixed bug causing hidden/expanded items to be reset by show() event in SharedFilesDialog 2018-01-24 22:02:49 +01:00
csoler
1fbd9d1625 fixed hiding of top level items when searching 2018-01-24 21:26:35 +01:00
csoler
f139685438 added a fair limit to search in FL in order to avoid crazy costs 2018-01-24 21:14:26 +01:00
csoler
d93e259702 fixed expanding/collapsing of items on search 2018-01-24 00:26:22 +01:00