Commit graph

162 commits

Author SHA1 Message Date
shortcutme a96ff8399f
Open template as utf8 file 2019-03-15 23:59:30 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 511a5c0d1f
Nonce based CSP not supported in Safari yet 2019-02-16 23:49:10 +01:00
shortcutme bd649cfb33
Remove ui_server allowed http host learning 2019-02-14 15:49:10 +01:00
shortcutme cc3bb912be
Ipv6 support for adding peers by query string 2019-01-20 16:49:52 +01:00
shortcutme 45add916f4
Rev3742, Move isIp to helper, fix inet_prton error 2018-12-19 13:15:59 +01:00
Andrew Morgan ca549cf081 Allow IP addresses via WebSocket API (#1819)
* Allow IP addresses via WebSocket API

* Switch to socket. Add host
2018-12-18 14:36:14 +01:00
shortcutme e4819c1753
Rev3738, More strict csp, No csp on Edge
Edge does not supports nonce on external scripts
2018-12-10 02:29:21 +01:00
shortcutme 99f01475a0
Disallow unknown script by using csp header for wrapper 2018-11-26 00:02:35 +01:00
shortcutme 5af77449fa
Move html variable replacement for new function, add site_modified variable, don't send length header for html files 2018-10-30 04:49:11 +01:00
shortcutme 5158a710dc
Rev3671, Fix theme with multiuser plugin 2018-10-20 13:34:49 +02:00
shortcutme 451976c3c8
Support themeclass variable in html files 2018-10-20 02:35:48 +02:00
shortcutme 8e6494c451
Remove unused code, junk lines 2018-10-20 02:34:26 +02:00
shortcutme e46cb2f240
Fix content type indentification 2018-09-30 21:55:48 +02:00
shortcutme 9fee86df59
Always return lower cased content type 2018-09-30 21:54:50 +02:00
shortcutme c5c3f7a667
Don't reannounce site if just added 2018-08-26 02:57:02 +02:00
shortcutme 7954caf957
Force reannounce not yet download site on refresh 2018-07-19 20:42:53 +02:00
shortcutme 6e1f4fada9
Rev3537, Allow to add peers to site with get request 2018-07-17 02:09:14 +02:00
shortcutme 68eb9a37ca
Strip ending / character when using url as function name 2018-07-10 03:36:09 +02:00
shortcutme 3aebdae305
Log last announce time on force announce 2018-06-29 14:18:09 +02:00
shortcutme c7a8a3933e
Display standard http error instead of exception on path security error 2018-06-25 14:28:42 +02:00
shortcutme df0562d6b4
Make sure to sanitize request url 2018-06-25 14:23:38 +02:00
shortcutme da64785ea4
Only announce site on http request if not paused 2018-06-21 21:57:25 +02:00
shortcutme d125551c0d
Proritize currently requested site update 2018-06-03 12:46:00 +02:00
JeremyRand 4ffd642732
Support accessing ZeroNet via a transparent proxy. 2018-06-02 12:17:10 +00:00
shortcutme 8dc465f244
Don't readd wrapper_nonce of site size error as we generate a new one on reload 2018-04-28 22:02:29 +02:00
shortcutme 8e708dc02a
Log wrapper nonce errors 2018-04-28 22:02:10 +02:00
shortcutme d275dfea2f
Log 403 error as error 2018-03-20 21:55:45 +01:00
shortcutme 738fd1a09b
Rev3354, Fix ajax loading files from archives 2018-03-09 15:01:45 +01:00
shortcutme 7048987157
Rev3351, Fix sites with utf8 title 2018-03-07 10:23:13 +01:00
shortcutme 3e970df09b
Simple replace wrapper template variables instead of python formatting to allow use braces 2018-03-06 12:00:30 +01:00
shortcutme b0a8c4d278
Change http headers from list to dict 2018-03-06 11:58:56 +01:00
shortcutme 6afe2dd720
New NOSANDBOX permission to remove sandboxed iframe restrictions 2018-02-21 03:12:51 +01:00
shortcutme 9f35efc31d
Revert "Version 0.6.2, Rev3310"
This reverts commit 98c6add637.
2018-02-09 11:39:36 +01:00
shortcutme 98c6add637
Version 0.6.2, Rev3310 2018-02-08 18:16:50 +01:00
shortcutme bc09b6280b
Add index.html as default inner_path to uirequest 2018-01-30 14:29:38 +01:00
shortcutme 0c6c7d2725
Rev 3222, Use eval in bench for older pytyhon compatibility, Remove unnecessary print from chart archive 2018-01-20 11:49:17 +01:00
shortcutme dedf6cd92f
Support initial calls for console bench function 2018-01-19 02:32:44 +01:00
shortcutme 51fdf95295
Allow ajax ranged requests 2017-12-07 15:25:32 +01:00
shortcutme 2781e31be0
Keep track of websocket connections 2017-11-05 23:40:59 +01:00
shortcutme c3250378ee
Rev3128, Allow modals for sites 2017-10-30 15:15:40 +01:00
shortcutme 4042de460e
actionFile allows file details to be passed as parameter 2017-10-04 12:46:06 +02:00
shortcutme 0dd34403a2
Combinate isfile and filesize query to one function 2017-10-04 12:44:34 +02:00
shortcutme edb9d3f719
Media files requested from non-seeded site not wokring anymore 2017-10-04 12:42:05 +02:00
shortcutme 1f5db0aa24
Nonce checking moved to route command 2017-10-04 12:41:14 +02:00
shortcutme 74b2408668
Move path checking to parsePath 2017-10-04 12:39:08 +02:00
shortcutme f53612bef7
Media request should start with normal characters 2017-10-04 12:38:44 +02:00
shortcutme 4d991cda6d
Also serve htm files with wrapper 2017-10-04 12:37:56 +02:00
shortcutme 6984575901
Remove dead reload code 2017-10-04 12:37:34 +02:00
shortcutme 75b44f6980
Raise SecurityError on invalid path 2017-10-04 12:37:22 +02:00