Commit graph

311 commits

Author SHA1 Message Date
shortcutme
97cec2ba46
Benchmark helper for console 2017-02-27 00:13:41 +01:00
mishfit
656c818211 rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
2017-02-24 21:58:46 -07:00
shortcutme
c95637eee1
Rev1941, Use utf-8 encoding on text files 2017-02-24 14:39:20 +01:00
shortcutme
45e2b350a9
Raise exception on invalid path 2017-02-19 00:51:47 +01:00
shortcutme
39734dfadb
innerLoaded command alias as wrapperInnerLoaded 2017-02-16 19:04:00 +01:00
shortcutme
0106a193e5
Store SiteManager to UiServer 2017-02-11 18:26:36 +01:00
shortcutme
f523925817
Add separate function to check if user has run the API command 2017-02-11 18:26:36 +01:00
shortcutme
90c9adc8dc
Fix error reporting on asnyc websocket functions 2017-02-09 01:53:02 +01:00
ZeroNet
c9fa29c562 Merge pull request #798 from l5h5t7/master
Update Chinese translation
2017-02-05 23:19:13 +01:00
shortcutme
f74e9397db
Rev1861, Fix favicon for zero url access type 2017-02-05 22:55:24 +01:00
shortcutme
a08114b1b0
Rev1855, Fix content type detection, Formatting 2017-02-02 12:51:41 +01:00
shortcutme
2b389e4e85
Support since parameter for siteUpdate 2017-01-29 19:02:08 +01:00
lmath
4559ee0d7f Update Chinese translation 2017-01-28 06:27:45 +08:00
shortcutme
13f0ccf8c6
Fix optional files deleting 2017-01-27 14:01:55 +01:00
shortcutme
d65c7d05a4
Remove /media access 2017-01-27 13:05:49 +01:00
shortcutme
c9ba59e895
Fix new version popup on first visit 2017-01-27 12:09:23 +01:00
shortcutme
697e177e13
Don't remove missing optional files 2017-01-27 12:02:14 +01:00
shortcutme
802b6775d7
Wait a bit before browser open to let http server start 2017-01-23 12:54:47 +01:00
shortcutme
54c553d13b
Timeout and Base64 encoding support for fileGet 2017-01-22 11:09:45 +01:00
shortcutme
bf34d95bc1
Call fileGet and fileList in async 2017-01-22 11:09:26 +01:00
shortcutme
b6644887bd
Move admin_commands to class variable 2017-01-22 11:08:41 +01:00
shortcutme
2dc981496b
Rev1821, Show progress bar on publishing 2017-01-16 13:41:57 +01:00
shortcutme
b68424f008
wrapperProgress API command 2017-01-16 13:41:11 +01:00
shortcutme
d3fc1cf897
Rev1816, Fix exe distribution forbidden error 2017-01-14 12:43:05 +01:00
MuxZeroNet
6b0ef500ed Fix extension detection 2017-01-12 05:22:26 +00:00
MuxZeroNet
4a6dc7971e #752 2017-01-09 05:01:49 +00:00
shortcutme
1a5bfd973e Only download media if site is already added 2017-01-08 17:31:03 +01:00
shortcutme
6c68f8dd6c Fix content type detection for options request 2017-01-08 17:27:57 +01:00
shortcutme
2447279191 Rename websocket detection 2017-01-08 17:26:59 +01:00
MuxZeroNet
0a1eecee20 WebSocket requests not allowed 2017-01-08 06:56:42 +00:00
shortcutme
bea212a8d1 Fix certAdd error 2017-01-07 01:09:05 +01:00
MuxZeroNet
da7821a3a9 X-Frame-Options 2017-01-06 01:44:22 +00:00
shortcutme
5c2b90c20f Rev1799, Force correct css content type 2017-01-05 02:33:33 +01:00
shortcutme
eee65da257 FileList API command 2017-01-05 02:26:58 +01:00
shortcutme
5103879471 wrapperRequestFullscreen command 2016-12-30 19:32:36 +01:00
shortcutme
74a4a4b9da Update websocket on permission add and remove 2016-12-30 18:55:11 +01:00
shortcutme
86b0046f28 Don't allow load load wrapper frames as prefetch or as image 2016-12-27 11:37:35 +01:00
shortcutme
c0d2e5efa6 Fix ZeroTalk scroll fixing 2016-12-14 00:25:47 +01:00
shortcutme
a17ab1ce25 Rev1781, Only force / to end of site address 2016-12-09 01:00:53 +01:00
shortcutme
10772a704e Root path parameter for cloning 2016-12-08 17:14:55 +01:00
shortcutme
64321043b7 Fix permission error 2016-12-08 17:14:30 +01:00
shortcutme
58848068e6 Save sites.json before updating 2016-12-04 18:55:03 +01:00
shortcutme
5adf4c31cb Rev1755, wrapperSetTitle command 2016-11-22 02:06:32 +01:00
shortcutme
430805adcc Add language to serverinfo 2016-11-18 20:11:11 +01:00
shortcutme
38ff33512f Use raise instead of assert for sql select filter 2016-11-18 20:11:03 +01:00
shortcutme
8ad6cd2e81 Allow to change language configuration parameter, reload translate files on change 2016-11-18 20:10:24 +01:00
shortcutme
0f31f1d34a Make UiWebsocket messages translatable 2016-11-18 20:09:51 +01:00
shortcutme
b25bf97cad Add language to UI js as paramter to avoid cache 2016-11-18 20:07:58 +01:00
shortcutme
9ff2bfc4bb Easier UI js translation 2016-11-18 20:07:26 +01:00
shortcutme
6c74f6c527 Possible to disable length header on sitemeda 2016-11-16 11:19:35 +01:00
shortcutme
c076f605aa Rev1703, Allow custom favicon 2016-11-10 23:14:30 +01:00
shortcutme
b3ba79a0fd Function to check if the user has permission to modife a site 2016-11-07 22:55:09 +01:00
shortcutme
81744c584e Merge wrapper js modifications 2016-11-07 22:53:07 +01:00
shortcutme
7677b6859e Move config file modification to Config class 2016-11-07 22:51:43 +01:00
shortcutme
ccb35f1353 Send content size header for normal files 2016-11-07 22:49:13 +01:00
shortcutme
a4a52e7ed4 Add websockets messages until its connected 2016-11-07 22:44:54 +01:00
shortcutme
fbdc9e2b40 Comment typo 2016-10-02 14:24:48 +02:00
Durand D'souza
13837971a7 Update UiRequest.py
Fixed a bug where a lack of a trailing slash in every url caused zeronet to fail to load the page, even if it existed.
2016-09-20 05:23:34 +01:00
shortcutme
fe59618eaf Rev1523, Real fix file write confirmation 2016-09-14 18:41:28 +02:00
shortcutme
60dd797d1a Rev1522, Fix file write confirmation dialog 2016-09-14 18:28:48 +02:00
shortcutme
14544922bf Don't check files on siteUpdate 2016-09-14 10:51:10 +02:00
shortcutme
59205088d2 Move site deletion to dedicted function 2016-09-05 13:55:51 +02:00
shortcutme
49efcd0c2d Execute garbage collection on site delete 2016-09-04 18:05:55 +02:00
shortcutme
69f0e972d3 Check site files on forced update 2016-09-04 18:05:42 +02:00
shortcutme
46a2ea9421 Log slow db queries on verbose mode 2016-09-04 18:05:31 +02:00
shortcutme
96043ba279 Try not to overwrite currently in sync files 2016-09-04 18:05:17 +02:00
shortcutme
5a36a002bf Use bad_files to display progress if that is larger 2016-09-04 18:01:48 +02:00
shortcutme
b52e8f74e2 Rev1428, Don't display websocket error when navigating away 2016-08-27 11:52:44 +02:00
ZeroNet
447a37f228 Compiled wrapper.coffee 2016-08-10 12:28:05 +02:00
ZeroNet
70cf67498b Hide progress bar after 300ms 2016-08-10 12:27:37 +02:00
ZeroNet
10b46db524 Also display progress bar for other sites 2016-08-10 12:27:24 +02:00
ZeroNet
687208a785 Fix wrapperReload command 2016-08-10 12:26:00 +02:00
ZeroNet
2915eb7a83 Reply to setlocalstorage 2016-08-10 12:25:39 +02:00
ZeroNet
f82055fef7 Wrapper permissionadd confirm 2016-08-10 12:25:25 +02:00
ZeroNet
835381fbb1 Filter media referrer by original request address 2016-08-10 12:24:47 +02:00
ZeroNet
04bed98a97 Store original request address 2016-08-10 12:24:09 +02:00
ZeroNet
d542cc5b32 Log fileWrite permission errors 2016-08-10 12:23:01 +02:00
ZeroNet
c486e9fa1a Pass current site to publisher callback 2016-08-10 12:22:27 +02:00
ZeroNet
92dbe597ea Allow to store extra data in content.json 2016-08-10 12:21:34 +02:00
ZeroNet
c23c397764 Option to accept unknown certs 2016-08-10 12:18:22 +02:00
ZeroNet
d6fdf8af9c Fix fileRules exception without rules 2016-08-10 12:15:16 +02:00
ZeroNet
3d7ba7bdf8 Permission add and remove zeroframe api command 2016-08-10 12:12:47 +02:00
HelloZeroNet
81f196647b Rev1287, Display error for unsupported browsers 2016-05-17 01:17:53 +02:00
HelloZeroNet
3b8dc59ac5 rename wrapperPopstate to wrapperPopState 2016-05-16 22:27:17 +02:00
HelloZeroNet
fc9c604b66 Update signed file using the sidebar 2016-05-16 22:26:40 +02:00
HelloZeroNet
95cbc544de Fix IE11 wrapper nonce errors 2016-04-29 02:56:58 +02:00
HelloZeroNet
038bf4f2c8 Dont add -old postfix for content.json files 2016-04-25 02:26:13 +02:00
HelloZeroNet
34ead0aec2 Allow whitespace prefix for sql queries 2016-04-25 02:25:54 +02:00
HelloZeroNet
38c78dcba1 IE10 compatible origin 2016-04-20 23:22:39 +02:00
HelloZeroNet
d2b9555508 Fix data dir detection 2016-04-18 00:47:26 +02:00
HelloZeroNet
bbf1bc163d Extra debug messages, cleanup unused lines 2016-04-10 13:25:11 +02:00
HelloZeroNet
5720f74669 Typos and formatting 2016-04-09 19:49:23 +02:00
HelloZeroNet
9bb0a0d91b Display confirmation if zeroid already exists 2016-04-09 19:49:12 +02:00
HelloZeroNet
561bd80aa3 Fallback to simple file copy if rename failed 2016-04-09 19:43:44 +02:00
HelloZeroNet
57bf36f90a Only create old file if not exist 2016-04-07 10:35:02 +02:00
HelloZeroNet
6e65169a9d Calculate diff right befor publish 2016-04-07 10:34:30 +02:00
HelloZeroNet
ab1aaea7f5 Calculate and send diffs on publish 2016-04-06 13:57:19 +02:00
HelloZeroNet
888ad2aeff Save files before writing with fileWrite to calculate diff on publish 2016-04-06 13:56:32 +02:00
HelloZeroNet
0e13fbf5dc Queue updates within 30 second to avoid network spam 2016-03-30 23:15:18 +02:00
HelloZeroNet
045a57491a Allow same opener as current window 2016-03-26 00:20:53 +01:00
Erkan Yilmaz
b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet
6496a6125f Rev1069, Allow to specify window parameters 2016-03-20 21:33:13 +01:00
HelloZeroNet
99f0407ba2 wrapperOpenWindow command 2016-03-19 18:05:08 +01:00
HelloZeroNet
0ee1448e13 Faster signing by only reload the current content.json 2016-03-18 19:15:38 +01:00
HelloZeroNet
3e8bf598df Remove allow-popups-to-escape-sandbox as its not supported by every browser 2016-03-16 21:08:41 +01:00
HelloZeroNet
52044a50a1 Save CPU by avoid reloading all json file on publish 2016-03-16 21:08:19 +01:00
HelloZeroNet
145d4dbd69 Move path parsing to separate function 2016-03-16 00:33:05 +01:00
HelloZeroNet
b0ac9869ce Wrapper nonce security comments 2016-03-12 20:36:17 +01:00
HelloZeroNet
4d7ce1dc16 Allow popups without sandbox 2016-03-12 20:35:30 +01:00
HelloZeroNet
e891a10e54 Rev957, Sidebar displays onion peers in graph, Sidebar display bad file retry number, Sidebar site Update/Pause/Delete, Ratelimit sidebar update, Encoded typo, Fix onion findHashId, More retry for bad files, Log file path errors, Testcase for self findhashIds, Testcase for Tor findHashId, Better Tor version parse, UiWebsocket callback on update/pause/resume/delete, Skip invalid postMessage messages 2016-03-09 00:48:57 +01:00
HelloZeroNet
2901f1e1ba Rev949, Newsfeed allows items 2min from future, Switch sidebar content.json list to input for faster opening, Promise based sidebar rendering to make it more reliable on slow connections, RateLimit sidebar globe updating, Some PEP8 formatting 2016-03-06 19:28:22 +01:00
TheNain38
d0919d8ab8 Fix checking if Ajax request 2016-03-06 15:44:55 +01:00
HelloZeroNet
2a06cec5c2 Rev948, Disable websocket logging, Change max files opened limit on startup 2016-03-06 02:17:58 +01:00
HelloZeroNet
5b59da2435 Rev912, Keep track site added time, UiRequest xss quickfix, Cleanup peerPing output 2016-03-01 23:16:31 +01:00
HelloZeroNet
bbbd42eca3 Rev909, Inform inner frame on state change, wrapperGetState command to query current history state, Allow to pass null url to wrapperReplaceState and wrapperPushState 2016-02-27 21:39:36 +01:00
HelloZeroNet
58fa5f6e16 Rev908, Sidebar shorten long bad filenames, Only show opener error if site is using the API 2016-02-23 01:36:47 +01:00
HelloZeroNet
b2fb1fcd3c Rev907, Wait 200ms to opener close, Enable wrapper nonce security by default for new sites 2016-02-21 11:44:10 +01:00
HelloZeroNet
ac0dc3bf11 Rev906, Escape file path, Only allow to modify tor in configuration 2016-02-20 11:19:28 +01:00
HelloZeroNet
2f25204be9 Rev905, Escape title and query string 2016-02-18 19:44:52 +01:00
HelloZeroNet
1dbc33445f Rev903, FeedQuery command only available for ADMIN sites, Show bad files in sidebar, Log unknown messages, Add and check inner_path and site address on sign/verify, Better peer cleanup limit, Log site load times, Testcase for address and inner_path verification, Re-sign testsite with new fields, Fix unnecessary loading screen display when browsing sub-folder with index.html, Fix safari notification width 2016-02-18 11:22:21 +01:00
HelloZeroNet
61cfb8aa2f Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files 2016-02-10 02:30:04 +01:00
HelloZeroNet
018c6f7075 Rev889, ZeroID opener bug fix 2016-02-06 15:12:04 +01:00
HelloZeroNet
0faa6fbceb Rev886, Avoid browser redirect caching on start.py 2016-02-06 02:03:31 +01:00
HelloZeroNet
4cea7ebcda Rev884, Improve security by stop accepting postMessage if opener present 2016-02-03 00:12:57 +01:00
HelloZeroNet
c11d4f2632 Rev881, Restrict serverShutdown to admin sites, Avoid redirect cache when clicking trayicon 2016-02-02 20:09:01 +01:00
HelloZeroNet
687a848292 Version 0.3.6, Rev879, Fix sidebar error on description missing, New trayicon, New favicon, Disable some functions on MultiUser proxies, New homepage, Replace only the last ? in SQL queries, Alwaays grant ADMIN permission to homepage site, Announce before publish if no peers, configSet, serverShutdown, ADMIN WebsocketAPI command, Stop Tor client before updating, Ignore peer ip packing error, Ignore db files from git, Fix safari ajax error when UiPassword enabled 2016-02-02 11:40:45 +01:00
HelloZeroNet
f7eaf7b222 Rev860, Re-enable ajax on non-html items 2016-02-02 00:49:43 +01:00
HelloZeroNet
6427709dec Rev841, Allow ajax access only on json data, Better json request detect for wrapper 2016-01-12 21:52:24 +01:00
HelloZeroNet
e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet
c9578e9037 Rev668, Stop if UiServer bind failed to avoid double start 2015-12-28 00:19:58 +01:00
HelloZeroNet
ee70e2f022 Version 0.3.4, Rev656, CryptMessage plugin for AES and ECIES encryption, Added pyelliptic lib for OpenSSSL based encryption methods, Test CryptMessage plugin, Force reload content.json before signing and after write, Escaped Sql IN queries support, Test Sql parameter escaping, ui_websocket Test fixture, Plugin testing support, Always return websocket errors as dict, Wait for file on weboscket fileGet command if its already in bad_files queue, PushState and ReplaceState url manipulation support in wrapper API, Per auth-address localstorage, Longer timeout for udp tracker query 2015-12-10 21:36:20 +01:00
HelloZeroNet
85c2799cb6 Rev618, Changed 2 dead torrent trackers, Better exception display on webui, Better broken site with missing files handling, Possible re-check open port using ZeroHello, 5sec udp timeout 2015-11-17 12:48:03 +01:00
HelloZeroNet
3587777ea8 Rev571, Optional file sizes to sidebar, Download all optional files option in sidebar, Optional file number in peer stats, Delete removed or changed optional files, Auto download optional files if autodownloadoptional checked, SiteReload command, Peer use global file server if no site defined, Allow browser cache video files, Allow more keepalive connections, Gevent 1.1 ranged request bugfix, Dont sent optional files details on websocket, Remove files from workermanager tasks if no longer in bad_files, Notify local client about changes on external siteSign 2015-11-09 00:44:03 +01:00
HelloZeroNet
8e710beab1 Rev536, Fix stats page, Support ranged http requests for better video browser compatibility, setHashfield command, One by one send hashfield to connected peers if changed, Keep count hashfield changetime, PeerHashfield optimalizations, Wait for peers on checkmodification, Give more time to query trackers, Do not count udp trackers as error if udp disabled, Test hashfield push 2015-10-30 02:08:02 +01:00
TheNain38
48dff8a79e Consistancy with other meta, or link tag 2015-10-26 15:15:35 +01:00
HelloZeroNet
713baeab63 Rev493, Fix trayicon autostart detect, Dont leak details on ui_restrict 2015-10-25 23:08:25 +01:00
TheNain38
708acdf6f7 If interface "*" is used open correctly on click 2015-10-25 19:01:45 +01:00
HelloZeroNet
02f3a4f8eb Rev472, Fix for site size limit increase 2015-10-17 02:56:39 +02:00
HelloZeroNet
39413b9755 Rev452, Auto hide no peers found info message, Raise error on invalid file location, Test PEX, Test invalid file downloads, Test peer download and ping 2015-09-28 00:22:27 +02:00
HelloZeroNet
4b403da056 Rev448, Better file download priority method, Some potential programming error fix, Renamed utils to helper, Moved pack and unpackaddress to helper package, Test new privatekey creation, Test site file download order, Spy test helper to log called parameters, Remove unnecessary fat arrows 2015-09-27 02:08:53 +02:00
HelloZeroNet
9ac8f7f63c Rev426, Fix for nonce error on bigsites asking, Dont display error details on 404 error, Dont log Websocket close errors, Add travis pip caching and osx test, Add build status to readme, Test for site files after cloning, Test for json to db mapping, Test site deleteFiles command, Test user certificate and auth address generation, Exclude debug lines from coverage, Dont run webtests every time 2015-09-20 22:35:45 +02:00
HelloZeroNet
e00537ba57 Rev423, Rewrite and reorganize test using pytest, New PhantomJS based browser tests, Fix html requests error without wrapper nonce, Indent json files with 1 space 2015-09-20 00:27:54 +02:00
HelloZeroNet
93312ae129 Rev420, Ignore file delete errors, Schedule download user files later if first content.json failed at first try, Reload content.json content after cloning, Allow modals on owned sites to display coffeescript compile errors, Disable opener checking because its easy to dodge 2015-09-17 02:20:43 +02:00
HelloZeroNet
917393c022 Rev409, Delete files removed from content.json, Start download user files right after content.json downloaded, New API command: fileDelete, Better notification input auto focus 2015-09-16 00:01:23 +02:00
HelloZeroNet
8f63e4c421 Rev399, Urandom and Msgpack benchmark, Better random string generation, Never render page on OPTIONS request, Fix for Chrome browser socket hang on zeronet version update 2015-09-13 23:17:13 +02:00
HelloZeroNet
5c72030373 Rev396, Cleanup gevent event after connecting finished, Autofocus on notification input/button, Missing file size info error fix 2015-09-13 12:52:11 +02:00
HelloZeroNet
cf5a4f902b Rev394, More detailed error display 2015-09-11 14:03:48 +02:00
HelloZeroNet
ec40d3fcc3 Rev393, Remove all record about the site on delete 2015-09-11 02:25:37 +02:00
HelloZeroNet
0de6496f96 Rev390, Fix sidebar error on non locatable IPs, Configurable bootstrap torrent trackers, Multi-line config file settings, Evenly distributed tracker announce to work better on passive connections, Avoid iframe sandbox escape by using nonces, Better html error messages, Display proper error on invalid startup parameters 2015-09-10 23:25:09 +02:00
HelloZeroNet
eec0b22c1f Rev378, Wrapper securty fix by deny opener 2015-09-09 01:44:27 +02:00