Commit Graph

50 Commits

Author SHA1 Message Date
039c3ff2b0 Fix #17 (#104)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #17
2020-04-02 15:58:10 +02:00
4ba3055289 Fix #57 2020-04-02 02:24:46 +02:00
89a69c7e0c Fix bug with reuse of closed sockets
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-30 15:19:17 +02:00
e02386453b Update server to punish clients
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-28 19:43:33 +01:00
c60fdedf80 Update tracker: 100% 2020-03-28 15:46:05 +01:00
d9c4c8ba40 Fix off by 1 lengths; fix debug color 2020-03-27 17:40:58 +01:00
15e1bd2e75 Add colorization in System.err logs (#83)
Add colorization in System.err logs
Errors are reds, Warnings are yellow, Infos are green

Co-authored-by: Louis <louis.royer@univ-tlse3.fr>
2020-03-25 13:24:56 +01:00
7253a34e49 Refactoring 2020-03-24 17:32:33 +01:00
64032e84c4 finished work 2020-03-24 16:04:10 +01:00
387a487d83 reintroduce usage of arguments in serverP2P 2020-03-24 14:00:24 +01:00
702fb399c3 return testport in method 2020-03-24 12:11:06 +01:00
d4bcff6f8c retrieve support for agurments 2020-03-24 11:32:42 +01:00
9c5bfc5430 added a method to test if hostnames are legitimate 2020-03-23 18:44:23 +01:00
3edb0bf9e5 aide tracker 2020-03-23 18:42:35 +01:00
275eb165b1 Refactoring tracker + server 2020-03-22 14:53:23 +01:00
5f48c9cbc1 Fix #27 (#64)
Fix #27
- [x] Faire un thread qui tous les X secondes (configurable) va comparer les fichiers dispo avec la liste et mettre à jour (penser à le logger). La mise à jour peut s’effectuer en faisant juste une REGISTER REQUEST.
- [x] Télécharger dans le même dossier que celui où on seed
- [x] Mettre les logs dans un dossier pas partagé

Co-authored-by: Louis <louis.royer@univ-tlse3.fr>
2020-03-21 22:30:42 +01:00
3f21797b09 Client now asks servers to tracker ! 2020-03-21 15:48:18 +01:00
683529b21c Add javadoc on some methods 2020-03-21 14:29:29 +01:00
cc06ccc334 Bind sur localhost 2020-03-20 18:28:57 +01:00
9b6258afd3 Fix warnings / close scanners 2020-03-20 18:28:57 +01:00
07d9276232 Changes in protocol
À implémenter: Register + Unregister dans protocolP2P.

Encore des erreurs:
- [UDP] ICMP Port unreachable, c’est parce qu’on essaie de
se connecter à un port qui est fermé. c’est pour ça qu’il faut donner le
port dans register et dans unregister (sinon on a le mauvais HostItem).
- [TCP] une autre erreur que je corrigerai demain
2020-03-20 18:23:59 +01:00
6d7fabaf1c Add tracker 2020-03-20 18:23:59 +01:00
5c89bc6957 Add protocol elements for tracker
Needs to implements tracker now.
2020-03-20 18:23:59 +01:00
740e25546a refractor exception -> localexception
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-19 13:48:39 +01:00
cb86478764 Merging client and server 2020-03-18 18:08:59 +01:00
c056b083d2 Fix jenkins
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-12 11:03:06 +01:00
f88f5b1d40 Add multiple servers choice, but dl only from one
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
Je suis en train de faire en sorte qu’on télécharge depuis plusieurs
2020-03-11 20:31:13 +01:00
js
11e965acc8 multiple servers impl (does not work yet) 2020-03-11 11:26:53 +01:00
js
c981309ef6 replace the String[] with an arrayList (servList) 2020-03-10 23:58:16 +01:00
js
1ec120c373 add tools to get server list 2020-03-10 23:58:16 +01:00
44b96d9f2c Refactoring 2020-03-05 16:38:33 +01:00
e621ab159c Début refactoring 2020-03-05 09:38:36 +01:00
9493a8cb30 Add hashsum 2020-03-04 22:29:54 +01:00
710ce03921 Add hashes 2020-03-04 17:40:21 +01:00
600ef1b2cd Fix crash when unexisting subdir 2020-03-04 15:14:18 +01:00
fd5eac9988 Add logLevel 2020-03-04 15:03:23 +01:00
e947fc7c46 fixes #18 2020-03-03 19:30:04 +01:00
js
1e979a5fc1 add doc to checksum 2020-02-03 15:19:45 +01:00
460964bd6e Fix bug in BytesArrayTools reading 2020-02-03 14:33:58 +01:00
js
859c9146d9 Correction bugs compil checksum 2020-02-03 14:06:21 +01:00
js
9530ad1004 Debut checksum 2020-02-01 09:36:25 +01:00
648cb12953 Test & debug
Transfert de fichier réalisé !!
2020-01-25 20:04:01 +01:00
2afb87303f Fix all errors and all warnings 2020-01-23 15:54:27 +01:00
5eb7e0deab Refactoring + implementation of some methods 2020-01-23 12:26:44 +01:00
f4e318dfe5 Fix last commit 2020-01-21 19:56:50 +01:00
b3cc441d9e Factorize code for opening directory 2020-01-21 19:48:46 +01:00
de96d7b661 Add functionnality openning in finder 2020-01-21 11:21:34 +01:00
c1ac428fc6 Fix errors on Directories.java 2020-01-16 12:43:12 +01:00
20fef41d71 Add doc to Directories.java 2020-01-16 12:40:42 +01:00
0e1a451214 Avoid duplication of code 2020-01-16 12:36:05 +01:00