Commit Graph

448 Commits

Author SHA1 Message Date
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
HelloZeroNet 5a34448ba1 Less verbose logging 2016-04-06 13:39:17 +02:00
Fil 7a4472db4c typo: "time wrap" should be "time warp" 2016-04-03 10:32:13 +02:00
HelloZeroNet bd737f6779 Rev1098 2016-03-30 23:20:25 +02:00
HelloZeroNet 17ddbd8b32 Only start onions in passive mode 2016-03-30 23:19:46 +02:00
HelloZeroNet 0e13fbf5dc Queue updates within 30 second to avoid network spam 2016-03-30 23:15:18 +02:00
HelloZeroNet c8b949cef5 Save last received update time from peer to avoid send the same update on publish 2016-03-30 23:05:43 +02:00
HelloZeroNet 646eba930f Change update spam rate limit to 20 secs 2016-03-30 23:01:05 +02:00
HelloZeroNet aa1ee33e92 Allow @ and = in filenames 2016-03-30 23:00:07 +02:00
HelloZeroNet b895ab5778 Fix find more peers to optional files 2016-03-30 22:59:21 +02:00
HelloZeroNet 0d934bcbe5 Rev1089 2016-03-26 01:33:44 +01:00
HelloZeroNet 09197ef71e Dont publish twice 2016-03-26 01:33:37 +01:00
HelloZeroNet f1c9eafd79 Fix streamfile error 2016-03-26 00:22:46 +01:00
HelloZeroNet 6d222b6ed7 Cleanup empty dirs 2016-03-26 00:22:27 +01:00
HelloZeroNet 045a57491a Allow same opener as current window 2016-03-26 00:20:53 +01:00
HelloZeroNet d222018bb6 Parse config plugins on test 2016-03-23 13:30:18 +01:00
HelloZeroNet 61c846c6ed Rev1070 2016-03-23 13:05:58 +01:00
HelloZeroNet 33430ee67b Force find more peer for optional task after 15sec 2016-03-23 13:05:48 +01:00
HelloZeroNet 2353eed64c Less sensitive offline checker 2016-03-23 13:05:13 +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 1364e3f316 Rev1062 2016-03-19 18:14:20 +01:00
HelloZeroNet f3c8d5e541 Better internet outage detection based on last message from connections 2016-03-19 18:14:09 +01:00
HelloZeroNet fcd4253a8d Log last command line action to log/cmd.log 2016-03-19 18:11:37 +01:00
HelloZeroNet 7cc408de4c siteDownload command line action 2016-03-19 18:11:12 +01:00
HelloZeroNet 54f9b49e90 Wait a bit for more tasks before consider site downloaded 2016-03-19 18:09:20 +01:00
HelloZeroNet 988f1435c5 Allow more workers if more task 2016-03-19 18:07:14 +01:00
HelloZeroNet 437a9b79a8 Less verbose site downloading 2016-03-19 18:06:07 +01:00
HelloZeroNet ae092dc757 Disable DB updating command line argument 2016-03-19 18:05:49 +01:00
HelloZeroNet 99f0407ba2 wrapperOpenWindow command 2016-03-19 18:05:08 +01:00
HelloZeroNet ab19dba99d Rev1059 2016-03-19 12:24:05 +01:00
HelloZeroNet 231578b887 Internet outage detection to fixed 5 min 2016-03-19 12:23:52 +01:00
HelloZeroNet 09b3d6ffca More clean force port checking 2016-03-19 12:23:29 +01:00
HelloZeroNet edfaba89f9 Rev1057 2016-03-19 01:36:09 +01:00
HelloZeroNet bdd658dddb Internet outage detection 2016-03-19 01:36:01 +01:00
HelloZeroNet ff681adfe9 Fix file merge order on Linux 2016-03-18 23:52:16 +01:00
HelloZeroNet 50708c16de Dont allow checkSites run in parallel 2016-03-18 20:03:38 +01:00
HelloZeroNet f27e58395b Dont check site files on wakeup 2016-03-18 20:03:19 +01:00
HelloZeroNet ef699b2f91 Typo 2016-03-18 20:01:23 +01:00
HelloZeroNet af2e2c5011 Faster verify by, skip recaluclate the whole site size 2016-03-18 19:41:25 +01:00
HelloZeroNet 5af32f21fd Keep databases open for 30 minute after last query 2016-03-18 19:20:20 +01:00
HelloZeroNet f694c9c346 Do not display non-error exceptions 2016-03-18 19:19:59 +01:00
HelloZeroNet dc5994e18f Meassure content verification speed 2016-03-18 19:19:34 +01:00
HelloZeroNet a692640e46 Ability to skip check files on update 2016-03-18 19:19:16 +01:00
HelloZeroNet 2c4f582437 Mark site as failed updating if query modifications failed 2016-03-18 19:18:59 +01:00
HelloZeroNet 0ccc81f46b Try to fix non-english Tor error messages 2016-03-18 19:17:15 +01:00
HelloZeroNet 0ee1448e13 Faster signing by only reload the current content.json 2016-03-18 19:15:38 +01:00
mnlg_ 7bc708e064 Fix issue parsing @keyframes in css files 2016-03-17 20:57:02 +01:00
HelloZeroNet c1c60e0a04 Rev1038 2016-03-17 01:56:34 +01:00
HelloZeroNet cd2aa033b4 Allow the site owner to modify banned users file 2016-03-17 01:56:25 +01:00
HelloZeroNet 77ac1ae796 Keep connections opened regardless prot opened status 2016-03-16 23:24:57 +01:00
HelloZeroNet 69d919d3c4 Handle http redirects 2016-03-16 22:07:11 +01:00
HelloZeroNet 3a8e20df7d Rev1033 2016-03-16 21:12:04 +01:00
HelloZeroNet 6187abe56f Remove active peers discrimination in peer cleanup 2016-03-16 21:11:34 +01:00
HelloZeroNet 6f4b896bce Always publish to 5 peers and remove discrimination of active peers 2016-03-16 21:11:04 +01:00
HelloZeroNet 16d01c961e Wait port opening before start running tests 2016-03-16 21:09:07 +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 9a58b6fbe6 Rev1026 2016-03-16 00:40:49 +01:00
HelloZeroNet f372fe371a Context switch for every 50 checked files 2016-03-16 00:40:19 +01:00
HelloZeroNet 1cf0e0eb21 Always prefer publishing to connected peers 2016-03-16 00:40:01 +01:00
HelloZeroNet 11e09adda7 Longer timeout for non connected peers publishing 2016-03-16 00:39:09 +01:00
HelloZeroNet 7707c42a02 On same version content.json update dont add peer to optional files 2016-03-16 00:38:26 +01:00
HelloZeroNet 5a234745fc Wait more for port opening 2016-03-16 00:34:57 +01:00
HelloZeroNet 61b4d97832 Silent Tor terminate error 2016-03-16 00:33:56 +01:00
HelloZeroNet 145d4dbd69 Move path parsing to separate function 2016-03-16 00:33:05 +01:00
HelloZeroNet 950638ea77 Rev1015 2016-03-12 23:11:37 +01:00
HelloZeroNet 067f95b1f6 Log debug open times 2016-03-12 23:11:25 +01:00
HelloZeroNet dee250d3b8 Change to 2048 max_files_opened by default 2016-03-12 23:11:08 +01:00
HelloZeroNet ba851a684c Debug gevent hangs 2016-03-12 23:10:31 +01:00
HelloZeroNet 78a7542b4d Proper exit on keyboard interrupt 2016-03-12 23:09:57 +01:00
HelloZeroNet 555c136143 Simple connection karma to avoid update flood 2016-03-12 23:09:26 +01:00
HelloZeroNet f735862977 Switch back to 3 thread publishing on large sites 2016-03-12 23:07:41 +01:00
HelloZeroNet 6ff91cd2e8 Reduce hangs on file validation process 2016-03-12 23:07:06 +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 ed0e858e30 Rev989, Save users file on newsfeed follow, Local mode in Multiuser plugin to disable restrication and save users data to disk 2016-03-11 13:26:54 +01:00
HelloZeroNet 0897154584 Rev966, New Greenlet debug hook to support Gevent 1.1.0, Publish to 8 peers on external publish request, Dont try to download banned user files, Check user files even if its own site 2016-03-11 12:39:39 +01:00
HelloZeroNet 48db062b49 Rev966, Display user quota in sidebar, Fix non-root content.json publishing in sidebar, Publish to same ammount of passive peers as limit, Fix site address case bug 2016-03-09 15:30:04 +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 dba42f5f5e Rev943, Less verbose logging by default, Load ZeroBundle SSL lib, Log loaded SSL lib 2016-03-06 00:55:50 +01:00
HelloZeroNet 1d6f56c676 Rev938, Disable publish on incoming older content update to avoid network spam 2016-03-05 09:57:30 +01:00
HelloZeroNet 08005499fb Rev936, Fix Bootstrapper test without tormanager, Bootstrapper return latest announced peers, Only create 3 threads for passive peers 2016-03-04 19:59:59 +01:00
Barrabin Fc. ⚑ 58ce98e0fc Merge branch 'master' of github.com:HelloZeroNet/ZeroNet 2016-03-03 20:56:43 -03:00