Commit Graph

448 Commits

Author SHA1 Message Date
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