Commit Graph

12153 Commits

Author SHA1 Message Date
RetroPooh
2dc69cb000 embed preview for images on file attach in chat 2018-04-27 16:50:00 +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
csoler
7145bfcab2
Merge pull request #1238 from G10h4ck/banlist_ipv6
p3Banlist fail gracefully if IPv6 address get into
2018-04-26 20:40:49 +02:00
Gioacchino Mazzurco
f4e110ed0e
p3Banlist fail gracefully if IPv6 address get into
Translate IPv4 mapped to plain IPv4 before processing
Fail gracefully if the address is IPv6
2018-04-26 11:04:05 +02:00
Gioacchino Mazzurco
b4ccfe91f8
Fix retroshare-nogui compilation with GCC 6
same as 678ee31a14 for retroshare-nogui
2018-04-23 22:53:55 +02: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
Gioacchino Mazzurco
678ee31a14
Fix compilation with GCC 6
Adding default include path to INCLUDEPATH break compilation with GCC 6
With many errors similar to this
x86_64-pc-linux-gnu-gcc -c -march=native -mtune=native -pipe -O0 -g -fno-omit-frame-pointer -fPIC -Wall -W -D_REENTRANT -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DOPENSSL_NO_IDEA -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o temp/linux/obj/accumulate.o openpgpsdk/accumulate.c
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/ext/string_conversions.h:41:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/basic_string.h:5417,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/string:52,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_classes.h:40,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/ios_base.h:41,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/ios:42,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/ostream:38,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iostream:39,
                 from ./bitdht/bdobj.h:32,
                 from ./bitdht/bdmsgs.h:34,
                 from bitdht/bdmsgs.cc:30:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
                         ^

@see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
2018-04-23 20:58:40 +02:00
G10h4ck
82eb42ad8a
Merge pull request #1235 from G10h4ck/build_improvements
Build improvements
2018-04-23 12:04:35 +02:00
csoler
8f84b1c8a8
Merge pull request #1236 from csoler/v0.6-FileLists
V0.6 file lists
2018-04-22 22:07:48 +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
csoler
63359e0801
using additional const ref in rsexpr.h 2018-04-22 17:14:08 +02:00
csoler
c599b5a627
removed debug output in pqissl and pqissllistenner 2018-04-22 17:13:25 +02:00
Gioacchino Mazzurco
c39173c3db
Fix TravisCI 2018-04-20 12:09:21 +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
csoler
f3bd796c73
Merge pull request #1224 from RetroPooh/dist_chat
Dist chat
2018-04-15 22:09:24 +02:00
csoler
5604220a06
Merge pull request #1223 from RetroPooh/logshutup1
log shut up
2018-04-15 22:08:47 +02:00
Gioacchino Mazzurco
b36cb1ef17
Fix retroshare GUI building with no_libresapihttpserver 2018-04-15 12:41:54 +02:00
Gioacchino Mazzurco
f20705b36d
Workaround for systems that miss IPV6_V6ONLY
This should improve compatibility with old systems that miss
IPV6_V6ONLY and in particular for Windows XP
2018-04-15 12:32:39 +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
Pooh
732e87a8bb
Merge branch 'master' into logshutup1 2018-04-09 11:15:43 +03:00
Gioacchino Mazzurco
c19919962d
pqissl silence extra debug message 2018-04-08 12:37:41 +02:00
csoler
8245d74b3f
Merge pull request #1230 from csoler/master
Fixed a costly call in GXS validation code
2018-04-07 14:33:58 +02:00
csoler
27824943ff
removed debug info 2018-04-07 14:29:23 +02:00
csoler
e2b0e27205
fixed costly polling in RsGenExchange 2018-04-07 14:12:44 +02:00
Gioacchino Mazzurco
cc091cc2c8
Fixed hidden nodes listening failure
In case of hidden node the listen address was not properly converted to
  ipv4 mapped format causing bind to fail
Use sockaddr_storage_copy instead of = as sockaddr_storage is not
  guaranted to be copyable
2018-04-07 12:48:01 +02: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
Pooh
c0834cf232
Merge branch 'master' into logshutup1 2018-04-01 17:40:44 +03:00
RetroPooh
0a943ea9ee log shut up 2018-04-01 17:30:36 +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
Gioacchino Mazzurco
82fa54a735
Avoid using id as JSON field as it may interfere with QML 2018-03-29 11:28:23 +02:00
Gioacchino Mazzurco
8d1f1da242
Extend libresapi with minimal support for channels
The code is not elegant as this version of the API will be soon obsolete
  but it offer a bunch of channels functionalities, comments and votes
  are not implemented yet

/channels/list_channels get all visibile channels
/channels/get_channel get content of a subscribed channel
/channels/toggle_subscribe subscribe/unsubscribe to a channel
/channels/toggle_auto_download set/unset auto-download for files attached
  to posts in a channel
/channels/toggle_read mark a post as read
/channels/create_channel create a new channel
/channels/create_post create a new post in given channel, group_id
  paramenter renamed to channel_id for consistence

mChannels use reference instead of pointer as it must be valid
  for the whole lifetime of the object
RsGxsCommentService and derivatives use proper types for parameter, avoid
  reference when unneeded
2018-03-28 16:41:05 +02:00
csoler
73c6deebf4
Merge pull request #1191 from G10h4ck/IPv6-v3
IPv6 support
2018-03-27 20:54:31 +02:00
csoler
4be73b7049
Merge pull request #1216 from beardog108/security
Clickjacking attack fix
2018-03-24 10:18:37 +01:00
Kevin Froman
599c3d4c0f
fixed clickjacking attack with x-frame-options 2018-03-23 23:00:27 -05: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
csoler
143210412b
Merge pull request #1214 from csoler/v0.6-FT
enabled aggressive re-request of pending slices at end of transfer, t…
2018-03-17 18:25:47 +01:00
Phenom
e1482dd5e4 Add Rounded and Gradient Background to xprogressbar text. 2018-03-17 00:00:05 +01:00