Commit graph

534 commits

Author SHA1 Message Date
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
HelloZeroNet
639a834658 Keep minimum 5 connections per site 2016-04-29 02:58:00 +02:00
HelloZeroNet
95cbc544de Fix IE11 wrapper nonce errors 2016-04-29 02:56:58 +02:00
HelloZeroNet
3294f629b0 Rev1277, Fix sidebar site size display 2016-04-27 11:14:15 +02:00
HelloZeroNet
432aa037cb Rev1276, Skip last_content_json_update while pending file parsing 2016-04-27 09:45:32 +02:00
HelloZeroNet
93e598cc59 Rev1275, Fix dictionary changed size during iteration error 2016-04-26 10:46:53 +02:00
HelloZeroNet
44ce10b14b Rev1274 2016-04-25 02:26:37 +02:00
HelloZeroNet
bf384922a6 Use iteritems to save memory 2016-04-25 02:26:29 +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
23265861c9 Start connected worker first 2016-04-25 02:25:28 +02:00
HelloZeroNet
e53f56ed30 Cleanup connections with less sites first 2016-04-25 02:25:11 +02:00
HelloZeroNet
d71d8b4cf5 Only publish to 5 peers on sitePublish command line action 2016-04-25 02:24:30 +02:00
HelloZeroNet
e9af4a5f6b Cleanup not useful connections after 5 min 2016-04-25 02:24:05 +02:00
HelloZeroNet
75a5ab9441 Track used site per connection 2016-04-25 02:23:06 +02:00
HelloZeroNet
2a8355dba7 Formatting 2016-04-25 02:20:55 +02:00
HelloZeroNet
be49b6d35a Change target connection per site to 10 2016-04-25 02:17:57 +02:00
HelloZeroNet
11f84d7bac Rev1254 2016-04-20 23:42:58 +02:00
HelloZeroNet
59c5ad560b Fix size calculation 2016-04-20 23:41:01 +02:00
HelloZeroNet
3812aa6502 Support verify content.json directly from parsed dict 2016-04-20 23:40:26 +02:00
HelloZeroNet
21cfa653ca Mark files updates currently working on to avoid double update on slow systems 2016-04-20 23:38:22 +02:00
HelloZeroNet
c7b8ec5667 Allow only content.json update 2016-04-20 23:35:51 +02:00
HelloZeroNet
73c69d54bc Dont save settings on every announce 2016-04-20 23:32:43 +02:00
HelloZeroNet
23389dc31e Formatting 2016-04-20 23:30:25 +02:00
HelloZeroNet
38057c2e03 Log site config save time 2016-04-20 23:29:26 +02:00
HelloZeroNet
cd52a61c4c Save sites.json every 10 minute 2016-04-20 23:28:58 +02:00
HelloZeroNet
55d76c8c5c Faster SiteStorage.getSize 2016-04-20 23:28:21 +02:00
HelloZeroNet
38c78dcba1 IE10 compatible origin 2016-04-20 23:22:39 +02:00
HelloZeroNet
768dd98a22 Rev1235 2016-04-19 12:01:13 +02:00
HelloZeroNet
5f55d8a034 Rev1232, Db schema reload sidebar button 2016-04-18 02:24:14 +02:00
HelloZeroNet
30d16a8e05 Rev1231 2016-04-18 00:49:10 +02:00
HelloZeroNet
14db5c8469 Sql memory benchmark update 2016-04-18 00:48:14 +02:00
HelloZeroNet
3dd99626ff Test DbQuery 2016-04-18 00:47:42 +02:00
HelloZeroNet
d2b9555508 Fix data dir detection 2016-04-18 00:47:26 +02:00
HelloZeroNet
cd5cdd580a Re-publish modifications to less peers 2016-04-18 00:42:26 +02:00
HelloZeroNet
f69edf96d5 DbQuery: Parse and modify sql queries 2016-04-18 00:42:00 +02:00
HelloZeroNet
a40580501a Version 0.3.7, Rev1210 2016-04-10 23:12:50 +02:00
HelloZeroNet
3bdde14821 Log patch size 2016-04-10 23:12:34 +02:00
HelloZeroNet
3a089ac512 Dont add data dir path to merged css file 2016-04-10 13:25:41 +02:00
HelloZeroNet
bbf1bc163d Extra debug messages, cleanup unused lines 2016-04-10 13:25:11 +02:00
HelloZeroNet
b63254d15d Rev1209 2016-04-09 19:49:45 +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
1beb4fc2cb Less sensitive internet checker 2016-04-09 19:31:26 +02:00
HelloZeroNet
58f0b0d0a1 Rev1201 2016-04-07 10:37:05 +02:00
HelloZeroNet
6388973292 Retry file rename later if resource not ready yet 2016-04-07 10:36:50 +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
b4859c7293 Rev1200 2016-04-06 15:58:41 +02:00
HelloZeroNet
083f86412b Test diff and site updating 2016-04-06 14:01:20 +02:00
HelloZeroNet
9c1ea71d2f Try to use diff before downloading the file 2016-04-06 14:01:03 +02:00
HelloZeroNet
7ee8eead23 Remove duplicate peers from publish queue 2016-04-06 14:00:40 +02:00
HelloZeroNet
82b960c641 Pass diffs to other users 2016-04-06 13:59:53 +02:00
HelloZeroNet
7c3e470ea7 Calculate and send diff on startup commands 2016-04-06 13:58:43 +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
064341e1a8 Always skin -old and -new postfixed files from signing 2016-04-06 13:54:48 +02:00
HelloZeroNet
d527268cbe Calculate diffs from -old and -new postfixed files 2016-04-06 13:54:32 +02:00
HelloZeroNet
699d32187e Diff functions 2016-04-06 13:53:32 +02:00
HelloZeroNet
644fe69fa8 Fix noparallel with dict kwargs 2016-04-06 13:50:50 +02:00
HelloZeroNet
84e78859dc SiteStorage.rename function 2016-04-06 13:50:20 +02:00
HelloZeroNet
8f39ed2467 Cloned site updating 2016-04-06 13:50:05 +02:00
HelloZeroNet
ec70c47aa0 Optimize path modifying functions 2016-04-06 13:48:13 +02:00
HelloZeroNet
f83a466919 Reduce cpu usage by calculating filename based priority boost only once 2016-04-06 13:47:00 +02:00
HelloZeroNet
5d0cc0b205 Fix older gevent compatibility 2016-04-06 13:45:47 +02:00
HelloZeroNet
8c09fd39db Start clean site directory for every test 2016-04-06 13:45:31 +02:00
HelloZeroNet
9a15cd80b6 Fix broken tests caused by removing signs from memory 2016-04-06 13:44:31 +02:00
HelloZeroNet
695d257be5 Save memory by removing cert_sign and signs from loaded json files 2016-04-06 13:42:15 +02:00