Commit Graph

636 Commits

Author SHA1 Message Date
Florian Schmaus ed9eae4793 Improve JingleS5BTransportInfo by introducing abstract class
Introduce a abstract class for shared functionality. And remove static
lazy getters.
2017-07-30 19:29:11 +02:00
vanitasvitae c82b25ea09
Work on Jingle Encrypted Transfers 2017-07-30 15:40:04 +02:00
vanitasvitae 1dbdafe28c
Basic Sending/Receiving Files works again 2017-07-29 22:21:36 +02:00
vanitasvitae af069ffc49
Pass events down to contents 2017-07-29 19:31:16 +02:00
vanitasvitae 185d569b89
Progress 2017-07-28 14:02:32 +02:00
vanitasvitae b0c8a8027a
Allow session-removal and use threads 2017-07-28 00:55:44 +02:00
vanitasvitae d37bdb5d20
Handle session-initiates in descriptionManager 2017-07-27 23:59:26 +02:00
vanitasvitae fec28ac7b6
Fix checkstyle issues 2017-07-27 23:31:04 +02:00
vanitasvitae 60cb777ea9
JingleIBBTransportTest works 2017-07-27 22:23:10 +02:00
vanitasvitae 68a03aeb48
IntegrationTest for JingleIBBTransport 2017-07-27 18:09:49 +02:00
vanitasvitae 3ed3f53189
Remove errors 2017-07-27 17:35:16 +02:00
vanitasvitae 3f6df8e6c7
Notifiers and ProgressListeners 2017-07-27 16:43:09 +02:00
vanitasvitae 5ce12974c8
Work on file transfer listeners 2017-07-27 15:58:11 +02:00
vanitasvitae 980c324f27
Some refactoring 2017-07-27 15:18:18 +02:00
vanitasvitae 3915a71824
Improve comparison of transportmanagers 2017-07-27 11:37:32 +02:00
vanitasvitae 4234e1d5ab
Anonymous progress 2017-07-27 00:12:42 +02:00
vanitasvitae c0e5fcf737
Some work on Jingle File Transfer 2017-07-25 20:25:36 +02:00
vanitasvitae 438fc0e94b
Start reworking JFT and JET code 2017-07-22 01:01:50 +02:00
vanitasvitae e967849e5a
Fix all errors in transports 2017-07-22 00:26:50 +02:00
vanitasvitae e28bfa1a64
Complete JingleElement and fix jingle tests 2017-07-21 23:51:06 +02:00
vanitasvitae 639c951fd6
Nearly completed work on Jingle SOCKS5 2017-07-21 23:05:46 +02:00
vanitasvitae a77360d060
Change return value of connectToCandidates 2017-07-21 18:31:42 +02:00
vanitasvitae 19d334d6bb
Improvements to Socks5 2017-07-21 18:29:27 +02:00
vanitasvitae c448d07234
Progress on Transports 2017-07-21 17:58:57 +02:00
Ingo Bauersachs 0b8788a9fc Fix parameter ordering in BoBHash construction 2017-07-20 22:50:34 +02:00
vanitasvitae f4a910cfa5
Reworking transports WIP 2017-07-19 23:15:17 +02:00
vanitasvitae 6818a52da7
Heavy reworking in progress 2017-07-19 15:17:12 +02:00
Florian Schmaus 104146c5ed Add Jingle.getSoleContentOrThrow() 2017-07-17 21:05:56 +02:00
vanitasvitae 7658369d63
Temp 2017-07-17 20:18:08 +02:00
vanitasvitae 59e79ef668
Temp 2017-07-14 21:19:03 +02:00
vanitasvitae b8a044fc33
Fix checkstyle issues 2017-07-12 19:22:48 +02:00
vanitasvitae 9827bb4f11
Two more tests 2017-07-12 15:47:39 +02:00
vanitasvitae e2d2f67982
Small bugfix and session-initiate test 2017-07-12 14:46:00 +02:00
vanitasvitae b08e03af8d
Add more javadoc 2017-07-12 10:39:51 +02:00
vanitasvitae e11a4ea9c5
Add comments and more tests 2017-07-11 22:30:41 +02:00
vanitasvitae f9086439a8
Use handler to notify on finished file transfer 2017-07-10 12:46:51 +02:00
Florian Schmaus 8f808b38e1 Merge pull request #153 from vanitasvitae/fixReason
Allow parsing of JingleReason.AlternativeSession
2017-07-08 08:24:17 +02:00
vanitasvitae 63d71230cc
More tests 2017-07-08 00:23:18 +02:00
vanitasvitae e271532804
More tests 2017-07-06 17:44:02 +02:00
vanitasvitae f3244f507e Merge branch 'fixReason' into jingle2 2017-07-06 16:57:36 +02:00
vanitasvitae 58c32639b5
Allow parsing of JingleReason.AlternativeSession
The JingleReasonProvider was faulty and ignored the
<alternative-session> element.
2017-07-06 16:55:12 +02:00
vanitasvitae bbaa367dfb
Better test 2017-07-06 16:54:21 +02:00
vanitasvitae a11552eb63 Merge branch 'filetransferTypos' into jingle2 2017-07-06 14:15:33 +02:00
vanitasvitae 8bd3856fa1
Fix typos in filetransfer package 2017-07-06 14:01:28 +02:00
vanitasvitae 87949f94b9
Temp 2017-07-06 14:00:36 +02:00
vanitasvitae a3bb7e3f59
Merge master 2017-07-05 13:00:21 +02:00
vanitasvitae 99c1c93c2a Fix shouldPreserveAddressOrderOnInsertions test
The test failed because the ArrayList - in contrast
to the underlying Set - did not check for duplicates
on insert. Under certain circumstances this lead to
an index out of bounds exception because the list in
the test contained duplicated entries which were not
present in the set of the Socks5Proxy.
I fixed the issue by only inserting the address when
it was not in the list before.
2017-07-04 21:50:08 +02:00
vanitasvitae 55d41e3390
More tests 2017-07-03 15:22:34 +02:00
vanitasvitae 7e76bc1ae5
More changes to the Jingle package:
- Change visibility of some Socks5Bytestreams code.
- Add central ThreadPool
- Move FullJidAndSessionId in own class
- More complete JingleSession class
- More complete JingleUtil class
- Improved tests
2017-07-03 10:35:46 +02:00
vanitasvitae 4a8251fbe5
Transport Fallback works, but does not save file 2017-07-02 21:25:50 +02:00
vanitasvitae f26f3bb503
Use static threadPool and start working on async file transfer method 2017-07-02 15:42:16 +02:00
vanitasvitae 71486ab68e
Merge moreJingleTests 2017-06-30 18:56:56 +02:00
vanitasvitae 322587c0b5
More jingle related tests 2017-06-30 18:49:34 +02:00
vanitasvitae ff899d05e7
Merge js5btbFixes 2017-06-30 16:33:27 +02:00
vanitasvitae bae840ebf7
Enforce jingle s5b transport invariants.
There can only either be one info element or
multiple candidates, but not both.
Enforced this in the JingleS5BTransportBuilder
2017-06-30 15:36:02 +02:00
vanitasvitae dec275aa4d
Add methods to enable/disable proxy types 2017-06-30 15:19:36 +02:00
vanitasvitae 5bd01b7385
Add Jingle File Transfer elements and JingleUtil class 2017-06-30 15:03:13 +02:00
vanitasvitae 59a600a0b6
progress 2017-06-29 21:53:57 +02:00
Florian Schmaus 541c9ecfdd Fix compile errors in jingle code
Which where introduced by merging

20eabca1b3

after

b14aca744f
2017-06-29 18:09:25 +02:00
Florian Schmaus 1d53889874 Merge pull request #145 from vanitasvitae/singleJingleTransport
Switch to single transport instead of list
2017-06-28 21:02:52 +02:00
vanitasvitae a395b11ee9
S5B Works now in both directions and with external proxy 2017-06-28 14:48:39 +02:00
vanitasvitae d537463a42
SOCKS5 works again :) 2017-06-28 11:40:27 +02:00
vanitasvitae 9d6a858b23
So close... 2017-06-26 23:18:34 +02:00
vanitasvitae 69b3f5837e
Rewrote S5BTransportSession 2017-06-26 18:05:17 +02:00
vanitasvitae 5eba48b7d8 Merge branch 'singleJingleTransport' into jingle2 2017-06-26 15:05:40 +02:00
vanitasvitae 20eabca1b3
Also replace list with single transport-info info 2017-06-26 15:04:22 +02:00
vanitasvitae 0952c20a5c
Coming closer... 2017-06-25 23:19:35 +02:00
vanitasvitae daa6b6b999
Some bugfixes 2017-06-25 22:18:19 +02:00
vanitasvitae 04e898083c
Much progress, such wow 2017-06-25 16:59:09 +02:00
vanitasvitae d7cf19aca7
Add createCandidateUsed 2017-06-25 16:39:02 +02:00
vanitasvitae a3d6562791
Even more progress 2017-06-25 16:28:59 +02:00
vanitasvitae 5ebd07ac3c
More progress 2017-06-25 15:13:56 +02:00
vanitasvitae 09548855dd
Progess 2017-06-25 14:25:17 +02:00
vanitasvitae 699a19d3c2
Add S5B candidate accept/error 2017-06-24 17:46:03 +02:00
vanitasvitae a101de29fd
JIBB works 2017-06-24 12:14:05 +02:00
vanitasvitae c4ef2c9552
Temp 2017-06-23 23:41:40 +02:00
vanitasvitae 136af25342
Add JingleTransportSession classes 2017-06-23 22:48:28 +02:00
vanitasvitae ab82a58e0f Merge branch 'fixProxyTest' into jingle2 2017-06-23 13:01:50 +02:00
vanitasvitae 847a39b6ab
Fix shouldPreserveAddressOrderOnInsertions test
The test failed because the ArrayList - in contrast to the underlying Set - did not check for duplicates on insert. Under certain circumstances this lead to an index out
of bounds exception because the list in the test contained duplicated entries which were not present in the set of the Socks5Proxy.
I fixed the issue by only inserting the address when it was not in the list before.
2017-06-23 12:51:07 +02:00
vanitasvitae cb3583e510
IBB sending works using worker thread 2017-06-22 14:47:39 +02:00
vanitasvitae 5dc37ab239
Fixed some sending issues 2017-06-21 18:03:31 +02:00
vanitasvitae ecd29a1ea8
s5b createTransport 2017-06-21 15:42:00 +02:00
vanitasvitae 4c1ee37ea7
Reuse S5B methods 2017-06-21 15:28:32 +02:00
vanitasvitae 6023350364
Progress 2017-06-21 14:11:42 +02:00
vanitasvitae 9da555f57e Merge branch 'singleJingleTransport' into jingle2 2017-06-21 13:44:27 +02:00
vanitasvitae e2b8ffdf22
Switch to single transport instead of list 2017-06-21 13:42:02 +02:00
vanitasvitae 16a7f31a46
Add sendingThread 2017-06-21 00:16:47 +02:00
vanitasvitae 96197d4092
Add transport replace actions 2017-06-19 19:22:59 +02:00
vanitasvitae 2bac6297ee
Split JingleFileTransferSession in incoming and outgoing 2017-06-19 17:55:04 +02:00
vanitasvitae 73f9af474e
Send session-accept/decline 2017-06-19 15:26:10 +02:00
vanitasvitae e0a54c19d6
First state representing stuff 2017-06-19 14:44:35 +02:00
vanitasvitae 1912ebb8d0
Join JingleSession and Handler in JingleFT 2017-06-19 10:47:24 +02:00
vanitasvitae b14aca744f
Add Jingle SOCKS5Bytestream transport method 2017-06-19 10:11:08 +02:00
vanitasvitae b91a9c120f
More ground work 2017-06-18 16:47:49 +02:00
vanitasvitae dcb5da76d6 Merge branch 'jingleFTElements' into jingle2 2017-06-18 14:12:04 +02:00
vanitasvitae e5502564b1
Add more errors 2017-06-18 14:11:37 +02:00
vanitasvitae 49868ecdaf Merge branch 'jingleFTElements' into jingle2 2017-06-18 13:08:56 +02:00
vanitasvitae d3af7cd9c1
Add creating methods to JingleUtil 2017-06-18 13:08:09 +02:00
vanitasvitae d0701f8fd1 Merge branch 'jingleS5B' into jingle2 2017-06-18 12:32:08 +02:00
vanitasvitae 21435a72c5
Reorder imports 2017-06-18 12:29:44 +02:00