21 Commits

Author SHA1 Message Date
Tosi Émeric
f40d0038f2 Update servefiles.py
change file verification when a file is given as parameter
2017-02-16 16:32:53 +01:00
Tosi Émeric
07f69db677 Update servefiles.py
making parameter count verification strict
adding file extension verification when a file is given as parameter
adding output error to stderr
adding hostPort choice (for the HTTP server)
rename 'directory' into 'target_path'
rename 'payload' into 'file_list_payload'
adding comments
some small cleanups (indent, print(), ...)
2017-02-16 16:23:14 +01:00
Steveice10
a3b8489b8c Update buildtools, exit with code 1 in servefiles if a socket error occurs. 2017-01-19 20:03:05 -08:00
Steveice10
1317759885 Use /usr/bin/env for servefiles shebang. 2017-01-11 21:52:19 -08:00
Steveice10
541786bc86 Add new logo by PabloMK7, fade in text on CIA/3DS startup. 2017-01-08 11:23:05 -08:00
Steveice10
5f4e9406bb servefiles: Add optional host IP argument. 2017-01-07 12:26:51 -08:00
Steveice10
319c10774a Remove socket timeout, don't bother filtering out file extensions when a file is provided. 2016-12-27 10:16:58 -08:00
Steveice10
fe7646942f Set timeout on servefiles socket. 2016-12-24 14:07:42 -08:00
Steveice10
340278eca5 Slight code reorganization in servefiles. 2016-12-24 10:31:50 -08:00
Steveice10
22b26c2f34 Simplify sending of URLs in servefile, make socket operations cancellable by the user. 2016-12-24 10:29:49 -08:00
Steveice10
e906e108ab Add shebang to and update permissions of servefiles.py 2016-12-24 08:55:14 -08:00
Steveice10
788b8c3c99 Fix servefiles with Python 2.7 2016-12-23 23:43:04 -08:00
Steveice10
45704ad4f9 Move receiving URLs over the network to the top, add warning when opening NAND. 2016-12-23 23:18:34 -08:00
Steveice10
13a88f7adb Polish up URL sending protocol, adapt servefiles to send URLs over socket. 2016-12-23 23:10:39 -08:00
Steveice10
2853c6c0ad Handle DataOverflowErrors. 2016-12-17 16:58:53 -08:00
Steveice10
14019c5168 Reduce QR code box size. 2016-12-17 16:54:31 -08:00
Steveice10
a53bd8b8e3 Add extra print output to servefiles. 2016-12-17 12:59:12 -08:00
Steveice10
86057c3fc0 Revise servefiles to use Tk to show QR codes, close HTTP server when the QR code image is closed, and support Python 2. 2016-12-17 12:57:51 -08:00
Steveice10
434599416e Omit http:// from URLs to save space in QR code. 2016-12-16 23:58:10 -08:00
Steveice10
5f6b3f3cab Escape CIA URLs. 2016-12-16 23:52:11 -08:00
Steveice10
f67e647c5d Replace network install with local QR code install utility. 2016-12-16 18:43:57 -08:00