Commit Graph

240 Commits

Author SHA1 Message Date
f0f18d64b5 Fix #112 Fix #107 (#113)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #112 Fix #107
2020-04-03 22:04:20 +02:00
31a2802cd1 Fix #105 (#114)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #105
2020-04-03 22:04:02 +02:00
aae25fbd99 endianess (#110)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Precise endianess
2020-04-03 15:42:35 +02:00
58add14fa9 Print progress bar less frequently
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-04-02 16:36:04 +02:00
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
4928efa947 Fix #59 (#102)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #59
2020-04-02 02:48:40 +02:00
9d4c98c466 Fix crash when no server connected to tracker yet
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-04-02 02:29:17 +02:00
4ba3055289 Fix #57 2020-04-02 02:24:46 +02:00
65c44569d0 Fix #54 (#100)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #54 and fix UDP packets max size
2020-04-02 00:55:38 +02:00
654758c14b Fix #58 (#99)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #58
2020-04-01 23:26:54 +02:00
c2d05aeeb9 programs quit when ports entered are wrong (#97)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Fix #93.
- Programs quit when ports entered are wrong.

Fix #94.
- Server doesnt ask to open his home directory when arguments are passed.
- Tracker doesnt ask to open his home directory when arguments are passed.

Co-authored-by: Louis Royer <louis.royer@univ-tlse3.fr>
Co-authored-by: flavien <flavien.haas@outlook.fr>
Co-authored-by: js_auge <auge1@hotmail.fr>
2020-03-30 18:55:31 +02:00
dfde8d4527 Merge pull request 'Étape 5' (#84) from etape5 into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
Co-authored-by: js_auge <auge1@hotmail.fr>
Co-authored-by: flavien <flavien.haas@outlook.fr>
2020-03-30 15:23:10 +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
2cc2868450 Added functionnality to select a file to download by a number (#88)
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
option 0 now can close the program

Merge branch 'listefichiers' of ssh://git.flavien.ovh:10722/flavien/Projet_JAVA_P2P_STRI2A into listefichiers

added cli info and journalization

added functionnality to select a file to download by a number

added cli info and journalization

added functionnality to select a file to download by a number

Co-authored-by: flavien <flavien.haas@outlook.fr>
Co-authored-by: js_auge <auge1@hotmail.fr>
2020-03-30 14:58:17 +02:00
f77ea0ae2b Update README.md
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-29 12:48:11 +02:00
68446551b4 Merge pull request 'Ratio' (#86) from ratio into etape5
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-28 19:44:40 +01: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
f33b91dccd Ratio implementation for client 2020-03-28 16:31:24 +01:00
c60fdedf80 Update tracker: 100% 2020-03-28 15:46:05 +01:00
a5b1abc9a8 Add attribute null check 2020-03-28 11:34:28 +01:00
f7b1216b25 Fix #33 partially 2020-03-27 19:37:31 +01:00
97d173e8eb Add RATIO REQUEST/RESPONSES handling in tracker
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
To do: UPDATE RATIO
2020-03-27 19:09:20 +01:00
c81f5d2e5a Fix #41
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
2020-03-27 18:41:27 +01:00
77655cb828 Add DENIED protocol element 2020-03-27 18:00:06 +01:00
d9c4c8ba40 Fix off by 1 lengths; fix debug color 2020-03-27 17:40:58 +01:00
d6fbfa6683 Update Payload and protocolP2P packet to allow ratio 2020-03-27 17:10:09 +01:00
5fa160d98d Add classes for ratio 2020-03-27 16:59:17 +01:00
c5e8a7df39 Changes to LoadRequest 2020-03-27 16:22:42 +01:00
230092ab2a Update protocol.md
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-etape5 This commit looks good
Fix #42
2020-03-25 14:05:48 +01:00
c3b4d0660d Fix #82 (#85)
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
Fix #82
2020-03-25 13:32:34 +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
07cecf2fab Merge pull request 'Étape 4' (#46) from etape4 into master
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
2020-03-24 17:42:56 +01:00
e0bf3782c0 Merge pull request 'clitracker' (#79) from clitracker into etape4
Fix #80
2020-03-24 17:34:20 +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
d0eff567f5 added support for tools/testlegitip 2020-03-23 18:44:23 +01:00
9c5bfc5430 added a method to test if hostnames are legitimate 2020-03-23 18:44:23 +01:00
a0cbd9ef14 updated usage of programs in readme 2020-03-23 18:44:23 +01:00
226520e209 simplified cli usage of server 2020-03-23 18:44:23 +01:00
90872c8f7b changed a variable in display 2020-03-23 18:44:23 +01:00
2313b6799d added commentary on default options 2020-03-23 18:44:23 +01:00
f95f4245a5 simplified cli usage of tracker 2020-03-23 18:44:23 +01:00
60e0e3a7da modified usage help 2020-03-23 18:42:35 +01:00
3edb0bf9e5 aide tracker 2020-03-23 18:42:35 +01:00
1355ef14b1 Fix #40
All checks were successful
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master This commit looks good
2020-03-22 16:55:05 +01:00
275eb165b1 Refactoring tracker + server 2020-03-22 14:53:23 +01:00
d1d7993864 Use generics 2020-03-22 13:44:08 +01:00