Commit graph

502 commits

Author SHA1 Message Date
shortcutme
1801df32a6 Change getTotalSize to use content.db cache 2016-09-04 17:44:30 +02:00
shortcutme
23e06a09cb Remove deleted files from hashfield 2016-09-04 17:43:57 +02:00
shortcutme
1bd6e2f493 Cache bad_files and optional hashfield in sites.json 2016-09-04 17:43:30 +02:00
shortcutme
ecb5885dba Cache file sizes and modification date in sqlite db 2016-09-04 17:41:04 +02:00
shortcutme
2fcfa21761 Rev1429 2016-08-29 11:18:01 +02:00
shortcutme
4efaaaabc0 Stop when siteVerify find a bad file 2016-08-29 11:17:36 +02:00
shortcutme
709dc854e7 Add site to site manager if required 2016-08-29 11:17:19 +02:00
shortcutme
b52e8f74e2 Rev1428, Don't display websocket error when navigating away 2016-08-27 11:52:44 +02:00
shortcutme
887a07c3fb Rev1427, Skip invalid files on dbRebuild 2016-08-27 11:01:41 +02:00
shortcutme
3ce11a0dab Rev1426 2016-08-26 11:43:08 +02:00
shortcutme
6c6ce54a20 Run test in verbose mode 2016-08-26 11:42:44 +02:00
shortcutme
d76c1ca98e Also cleanup connections for smaller sites 2016-08-26 11:42:23 +02:00
shortcutme
1557d3c390 Always keep connections for the sites 2016-08-26 11:41:45 +02:00
shortcutme
7edb784305 Fix user file updating on owned sites 2016-08-26 11:40:22 +02:00
shortcutme
f44de281a8 Rev1425 2016-08-22 03:41:20 +02:00
shortcutme
5061e0051a Test missing cert verification 2016-08-22 03:41:12 +02:00
shortcutme
2c4f566687 Fix missing cert verification 2016-08-22 03:40:55 +02:00
shortcutme
21812ec064 Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2016-08-20 10:40:03 +02:00
shortcutme
173355bc02 Rev1424, Fix connected_limit and size_limit paramter parsing 2016-08-20 10:39:52 +02:00
ZeroNet
3c7a9f0f82 Merge pull request #537 from megfault/patch-1
Fix typos in log message
2016-08-17 11:32:25 +02:00
shortcutme
3049e489fb Rev1422 2016-08-16 19:58:27 +02:00
shortcutme
3524198599 Don't log owned local file reload 2016-08-16 19:56:35 +02:00
shortcutme
274414a54b Give up user's content.json after 5 retrys 2016-08-16 19:56:18 +02:00
shortcutme
b40b3e2d85 Fix config size_limit parsing 2016-08-16 19:55:55 +02:00
Ana Barroso
c9660ed20e Fix typos in log message 2016-08-16 18:14:02 +02:00
shortcutme
8cd7a63490 Rev1416, Remove merger permission from merged sites 2016-08-15 23:05:05 +02:00
shortcutme
e9009c5c75 WorkerManager quickfix 2016-08-15 15:59:49 +02:00
shortcutme
686a2de570 Rev1411 2016-08-15 13:57:16 +02:00
shortcutme
92e4dd64d1 Dont recalculate site size on update 2016-08-15 13:56:17 +02:00
shortcutme
3c5e4e64ca Fix site size calculation 2016-08-15 13:56:04 +02:00
shortcutme
16ed55a745 Dont recalculate site size on owned site update 2016-08-15 13:55:45 +02:00
shortcutme
64febc7f61 Publish incoming modifications only to 2 peers 2016-08-15 13:54:00 +02:00
shortcutme
4975ef82d7 Fix port open checking 2016-08-15 13:53:20 +02:00
shortcutme
954c6bcbc3 Worker number related to connection limit 2016-08-15 13:52:48 +02:00
ZeroNet
af4447e666 Version 0.4.0, Rev1400 2016-08-10 13:03:12 +02:00
ZeroNet
b7b238b890 Re-sign testdata 2016-08-10 13:00:14 +02:00
ZeroNet
96f368c7e2 Test user file archiving 2016-08-10 12:59:42 +02:00
ZeroNet
48d59e355c Allow content.json without modification date 2016-08-10 12:59:19 +02:00
ZeroNet
7bd76270ba Remove bad status from deleted files 2016-08-10 12:58:54 +02:00
ZeroNet
bed66cdcd2 ContentManager.py formatting 2016-08-10 12:58:19 +02:00
ZeroNet
f719b89a7a Always apply extended information to content.json if keys missing 2016-08-10 12:57:55 +02:00
ZeroNet
7291ac8c6b No exception on incomplete content.json signing 2016-08-10 12:57:24 +02:00
ZeroNet
ec759442ed Support and delete archived users files 2016-08-10 12:55:39 +02:00
ZeroNet
238cb25bb4 Small incoming connection optimization 2016-08-10 12:51:38 +02:00
ZeroNet
f21fdb23b6 Allow to store field in json table 2016-08-10 12:49:38 +02:00
ZeroNet
0ddc1e47ba Delete file's database entries if file paramter is False 2016-08-10 12:49:22 +02:00
ZeroNet
55cc496c2e Type 3 json table format 2016-08-10 12:47:29 +02:00
ZeroNet
721bed76a9 Type 3 dbschema version for merger sites 2016-08-10 12:46:27 +02:00
ZeroNet
a38b6c9fb2 It new js should be at least 1 second newer than previous file to merge again 2016-08-10 12:45:48 +02:00
ZeroNet
1f4609d1a3 Fix dbRebuild command line action 2016-08-10 12:44:17 +02:00
ZeroNet
07a6bd523c Accept only 30 peers on pex 2016-08-10 12:44:00 +02:00
ZeroNet
122ef02605 Hot-patch in memory plugin classes 2016-08-10 12:43:35 +02:00
ZeroNet
67f75c4bef Skip archived user files 2016-08-10 12:42:29 +02:00
ZeroNet
0275954fb7 Tracker log total peers 2016-08-10 12:42:13 +02:00
ZeroNet
44dc4c41c9 Wait for user's content.json on file request 2016-08-10 12:41:35 +02:00
ZeroNet
e5e76a4ef5 Do not reload the whole site on update command 2016-08-10 12:41:04 +02:00
ZeroNet
021a084796 Peers query optimize 2016-08-10 12:40:17 +02:00
ZeroNet
1ec00947ad Save site on content.json arrive 2016-08-10 12:36:20 +02:00
ZeroNet
f38f4c3758 Use SiteManager to save site 2016-08-10 12:35:40 +02:00
ZeroNet
2852bbc657 Remove unnecessary site savings 2016-08-10 12:35:17 +02:00
ZeroNet
0d565dc64d Better site settings saving 2016-08-10 12:34:28 +02:00
ZeroNet
1f3a4f0e2f Remove orphan sites from sites.json 2016-08-10 12:33:34 +02:00
ZeroNet
53249f4f07 Add own logger to SiteManager 2016-08-10 12:32:28 +02:00
ZeroNet
0569697d98 Update database on delete 2016-08-10 12:31:54 +02:00
ZeroNet
acf24aab6f Allow to pass file object on file updated 2016-08-10 12:31:30 +02:00
ZeroNet
3ff75c6602 Also trigger onUpdated on file delete 2016-08-10 12:30:35 +02:00
ZeroNet
0be6cb6602 Move database files listing to separate funcion 2016-08-10 12:30:04 +02:00
ZeroNet
9def3b58eb Allow plugins on SiteStorage 2016-08-10 12:28:57 +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
Thibaut Broggi
9e9832ad09 Set permission to 600 for some files
Files users.json and sites.json contains private key
    Only the owner of these files should have access to them
2016-05-26 16:00:14 +02:00
Thibaut Broggi
a10e80318f atomicWrite function now preserve file permissions 2016-05-26 15:59:40 +02:00
HelloZeroNet
81f196647b Rev1287, Display error for unsupported browsers 2016-05-17 01:17:53 +02:00
HelloZeroNet
9f5917325b Rev1286 2016-05-16 22:30:04 +02:00
HelloZeroNet
5b35bea489 Log DB close time, formatting 2016-05-16 22:28:59 +02:00
HelloZeroNet
bba7318a5b Dont close DB when returning from wakeup 2016-05-16 22:28:30 +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
c9e0d6d6ca Rev1284 2016-05-06 11:22:15 +02:00
HelloZeroNet
b66149bce8 Remove unnecessary test data 2016-05-06 11:18:37 +02:00
HelloZeroNet
ba24ad31d8 Rev1283 2016-05-05 12:12:52 +02:00
HelloZeroNet
3d081f6a59 Log websocket bad protocol version 2016-05-05 12:12:33 +02:00
HelloZeroNet
eac475d13f Increment connections peer number on findConnection result 2016-05-05 12:12:18 +02:00
HelloZeroNet
36e969ed1f Fix siteSign without connection server 2016-05-05 12:11:35 +02:00
HelloZeroNet
35192531a6 Remove not used Http class 2016-05-05 12:11:18 +02:00
HelloZeroNet
aa9161a83a Check optional files findhash result every second 2016-05-05 12:11:07 +02:00
HelloZeroNet
eedce00d57 Rev1279, Sidebar open on mobile devices 2016-05-02 00:28:23 +02:00
HelloZeroNet
158059071b Rev1278 2016-04-29 02:58:11 +02:00