Commit Graph

8909 Commits

Author SHA1 Message Date
csoler
b2a6bfbbd0 fixed one bug in debug output of encrypted key offset 2016-02-19 20:55:27 -05:00
csoler
405ecefbf8 added proper decryption calls for partial decryption and possible re-try after loading keys. 2016-02-19 20:47:50 -05:00
electron128
34957b857a libresapi: added channels/create_post
group creation acknowledge not implemented yet

usage:
$ curl --data "{\"group_id\":\"<group_id>\",\"subject\":\"just a test\",\"message\":\"test message\"}" http://<host:port>/api/v2/channels/create_post

parameter object:
{
    group_id: required string,
    subject: required string,
    message: required string,
    thumbnail_base64_png: optional string,
    files: optional array of
        {
            name: required string,
            hash: required string,
            size: required number
        }
}
2016-02-19 19:23:55 +01:00
zeners
c5f127f3b1 webui: contains => match 2016-02-19 18:48:17 +01:00
zeners
5979d2f827 Merge branch 'master' into webui 2016-02-19 18:18:15 +01:00
Cyril Soler
5a48070171 Merge pull request #281 from sehraf/pr-disc-increase-auto-clean-time
discovery: don't remove new added locations too soon
2016-02-19 10:45:18 -05:00
sehraf
4140969fcb added seperated limit for discovery (30 days) 2016-02-19 16:35:11 +01:00
csoler
0293e246a2 fixed encryption method on the basis that encrypted keys always have the same length 2016-02-18 23:38:07 -05:00
csoler
6995212a8b added code for single item encryption/decryption 2016-02-18 21:30:52 -05:00
Thunder
6695a384b0 Merge pull request #283 from PhenomRetroShare/Fix_ChatMsgItemAvatar_updateAvatar
Fix connect in ChatMsgItem for avatar updateAvatar.
2016-02-18 17:21:15 +01:00
Phenom
e639dc57ce Fix connect for avatar updateAvatar in ChatMsgItem and MessengerWindow.
As it is already connected in AvatarWidget's constructor.
2016-02-18 11:48:58 +01:00
Thunder
b059a8eb3f Merge pull request #284 from PhenomRetroShare/Fix_CannotUpdateAvatarError
Fix "(EE) cannot update avatar. mId has unhandled type." error.
2016-02-17 20:23:44 +01:00
Phenom
dc2578b528 Fix "(EE) cannot update avatar. mId has unhandled type." error.
Error was raised because event pass trought all widgets.
2016-02-17 18:18:56 +01:00
csoler
697ef4061c added test against arbitrary large items in turtle search requests. 2016-02-17 09:39:08 -05:00
csoler
51d90a4ef4 added test against arbitrary large items in turtle search requests. 2016-02-17 09:39:08 -05:00
csoler
08e4c90cc2 added single-block multiple encryption 2016-02-16 22:36:22 -05:00
Cyril Soler
c15e8b5c35 Merge pull request #282 from PhenomRetroShare/Add_MinSizeForStackPages
Add minimal Size for stackPages in MainWindow for first start.
2016-02-16 17:46:34 -05:00
Cyril Soler
d878334551 Merge pull request #206 from realityfabric/master
Added top level license file for GPL 2.0
2016-02-16 17:45:49 -05:00
Phenom
3276790bf8 Add minimal Size for stackPages in MainWindow for first start. 2016-02-16 23:15:33 +01:00
sehraf
841299d077 discovery: don't remove new added locations too soon
was: removed after 10 min. or less - when no connection is established
now: removed after 1 day - when no connection is established
2016-02-16 20:33:38 +01:00
csoler
763108f5fa debugged transport of encrypted items. Still needs work. 2016-02-15 23:24:18 -05:00
csoler
0513e71c68 fixed sending part in encrypted msg items 2016-02-14 19:42:21 -05:00
zeners
288e81c486 webui: full chat display 2016-02-14 19:44:00 +01:00
Cyril Soler
efadc7d2c6 Merge pull request #270 from PhenomRetroShare/Fix_GxsChannelFilterWhenLoading
Fix Channel filter when loading big post.
2016-02-14 13:38:08 -05:00
Cyril Soler
44882b941c Merge pull request #278 from PhenomRetroShare/Fix_bencode.c_CompilationForC
Fix compilation of bencode.c for C compilator.
2016-02-14 13:35:32 -05:00
Cyril Soler
3ab7c89660 Merge pull request #279 from cavebeat/single_dh_op
added openSSL option SSL_OP_SINGLE_DH_USE regarding CVE-2016-0701
2016-02-14 13:33:27 -05:00
cave beat
9843c8381b added openSSL option SSL_OP_SINGLE_DH_USE regarding CVE-2016-0701
tl;dr The OpenSSL 1.0.2 releases suffer from a Key Recovery Attack on DH small subgroups. This issue got assigned CVE-2016-0701 with a severity of High and OpenSSL 1.0.2 users should upgrade to 1.0.2f. If an application is using DH configured with parameters based on primes that are not "safe" or not Lim-Lee (as the one in RFC 5114) and either Static DH ciphersuites are used or DHE ciphersuites with the default OpenSSL configuration (in particular SSL_OP_SINGLE_DH_USE is not set) then is vulnerable to this attack.
2016-02-14 18:49:37 +01:00
Phenom
7d21666098 Fix compilation of bencode.c for C compilator.
Remove C++ in this C file.
2016-02-14 17:40:10 +01:00
electron128
2ab755bb5c libresapi: added chat/receive_status
usage:
$ curl http://<host:port>/localhost:8080/api/v2/chat/receive_status/<chat_id>
2016-02-14 14:57:41 +01:00
electron128
fc5f8c3b8c removed unused function declaration ChatId::toGxsId() 2016-02-14 14:55:57 +01:00
electron128
85149df1ef Merge branch 'master' into webui 2016-02-14 13:24:33 +01:00
electron128
821c14426c remove dead code from RsNotify (old forum and channel read status changed notify) 2016-02-14 12:48:52 +01:00
electron128
63a8260cb9 change RsNotify to use RsGxsId for chat lobby events 2016-02-14 11:53:27 +01:00
electron128
36135d46e6 added info about tests to readme 2016-02-14 10:23:37 +01:00
electron128
11dcbb733c remove wrong info about webui from readme (webui settings in gui does not have and effect on rs-nogui) 2016-02-14 10:23:26 +01:00
electron128
68cd1f9da5 disabled gxs_grp_sync test, because it fails after rebase to master 2016-02-14 10:21:48 +01:00
zeners
253182032a webui: chat-channel subscribe 2016-02-13 20:25:31 +01:00
defnax
abf7a72ce8 increase default font size for the ListWidget. 2016-02-13 17:38:01 +01:00
defnax
8637d3cb31 Fixed issue #263 2016-02-13 16:15:41 +01:00
zeners
9d9a456a67 Merge remote-tracking branch 'origin/master' into webui 2016-02-13 12:31:46 +01:00
electron128
a031d1e1b5 disabled tlvrandom test because it is buggy and fails sometimes 2016-02-13 11:55:29 +01:00
electron128
b874167785 give gxs grp sync test more time, because of sync and timestamp update cycle times 2016-02-13 11:55:29 +01:00
electron128
8f64df02da fix compile for new gxs metadata serialisation 2016-02-13 11:55:29 +01:00
electron128
a6a3d66a83 exclude not serialised member from operator== for RsNxsTransac 2016-02-13 11:55:29 +01:00
electron128
a8b2bc776e fixed threading issue in NxsTestHub. NxsTesthub has to wait for its own thread to shut down on test end. 2016-02-13 11:55:28 +01:00
electron128
63c6629e57 added missing initialisation of local, not serialised msg meta data in NxsTestHub 2016-02-13 11:55:27 +01:00
electron128
dca7decf3f attempt to fix output redirect for unittests in travis 2016-02-13 11:55:27 +01:00
electron128
218daa82e9 enabled RsNxsItem test 2016-02-13 11:55:27 +01:00
electron128
c03ce56591 added missing mutex in nxstesthub 2016-02-13 11:55:27 +01:00
electron128
aa93505860 added missing lock in RsSharedPtr destructor 2016-02-13 11:55:27 +01:00