shortcutme
02d45e9c39
Use separate threadpool for batch site storage operations
2019-12-17 14:20:49 +01:00
shortcutme
2a402a0674
Use thread-safe mode to create directories
2019-12-17 14:18:54 +01:00
shortcutme
958882c1c5
Revert "Switch to sslcrypto for cryptography tasks ( #2338 )"
...
This reverts commit fbc7b6fc4f
.
2019-12-15 18:30:42 +01:00
ZeroNet
2f7323043f
Merge pull request #2358 from imachug/bencode
...
Switch to bencode_open
2019-12-15 12:49:04 +01:00
Ivanq
fbc7b6fc4f
Switch to sslcrypto for cryptography tasks ( #2338 )
...
* Use sslcrypto instead of pyelliptic and pybitcointools
* Fix CryptMessage
* Support Python 3.4
* Fix user creation
* Get rid of pyelliptic and pybitcointools
* Fix typo
* Delete test file
* Add sslcrypto to tree
* Update sslcrypto
* Add pyaes to src/lib
* Fix typo in tests
* Update sslcrypto version
* Use privatekey_bin instead of privatekey for bytes objects
* Fix sslcrypto
* Fix Benchmark plugin
* Don't calculate the same thing twice
* Only import sslcrypto once
* Handle fallback sslcrypto implementation during tests
* Fix sslcrypto fallback implementation selection
2019-12-15 12:46:06 +01:00
Ivanq
3178b69172
Switch to bencode_open
2019-12-12 17:46:16 +03:00
shortcutme
28fcf3c1ea
Rev4327
2019-12-11 20:04:50 +01:00
shortcutme
71939097b0
Make execution order test more predictable
2019-12-11 20:04:39 +01:00
shortcutme
2fd337bb55
Add wasm content type
2019-12-11 20:03:28 +01:00
shortcutme
5e26161e84
Rev4325
2019-12-04 17:16:08 +01:00
shortcutme
04ecb89e9a
Avoid sending too many publish request to an outdated client
2019-12-04 17:15:42 +01:00
shortcutme
23f851343f
Fix exception when params is an iterator
2019-12-04 17:15:08 +01:00
shortcutme
5ce1782d05
Change journal and foreign keys mode on db connect
2019-12-04 17:14:50 +01:00
ZeroNet
31f505b309
Merge pull request #2339 from ethernetcat/py3
...
Update jp.json
2019-12-04 15:40:51 +01:00
shortcutme
c8214bf3ea
Fix threadpool test premature end on some platforms
2019-12-04 12:47:47 +01:00
shortcutme
1935a69c04
Add session based log disable at test
2019-12-04 12:46:44 +01:00
shortcutme
ea5f64bfea
Only log at start of the test cases
2019-12-04 12:46:13 +01:00
ethernetcat
901ccf2d14
Update jp.json
2019-12-04 17:52:33 +09:00
shortcutme
aa9fe09337
Remove unnecessary line from config
2019-11-30 02:19:18 +01:00
shortcutme
bdb655243f
Rev4322
2019-11-30 02:16:29 +01:00
shortcutme
566c29363f
Slower progress bar animation
2019-11-30 02:15:17 +01:00
shortcutme
37b8c0241f
Db threads modify in config interface
2019-11-30 02:14:54 +01:00
shortcutme
1a17645e93
Remove unnecessary import
2019-11-30 02:14:08 +01:00
shortcutme
5fba850d74
Don't close connection if it's already closed
2019-11-30 02:13:58 +01:00
shortcutme
bd90e0ce52
Add Db id to logging identifier
2019-11-30 02:13:39 +01:00
shortcutme
c24cfa721b
Lock db while connecting
2019-11-30 02:13:17 +01:00
shortcutme
1670d96908
Execute db commit in separate thread
2019-11-30 02:12:33 +01:00
shortcutme
ec3c44c5b3
Use ThreadPool lock in Db
2019-11-30 02:11:34 +01:00
shortcutme
12bfad8fe6
Don't execute query while commiting
2019-11-30 02:11:11 +01:00
shortcutme
594edc6e9a
Commit after executemany
2019-11-30 02:10:40 +01:00
shortcutme
99304a09ca
Log long db queries
2019-11-30 02:10:11 +01:00
shortcutme
5c93aadce3
Gevent block time resolution log to ms
2019-11-30 02:09:14 +01:00
shortcutme
f0c10efca6
Progress meter for site delete
2019-11-30 02:08:29 +01:00
shortcutme
c10dd5239e
Log test case start/end and debug message
2019-11-30 02:08:11 +01:00
shortcutme
fa0d1a50b5
Better test of threadpool
2019-11-30 02:07:40 +01:00
shortcutme
66a1c4d242
Multi-process and gevent loop friendly lock
2019-11-30 02:07:30 +01:00
shortcutme
b7c6b84826
Don't log killed worker write as error
2019-11-30 02:05:20 +01:00
shortcutme
1c587bde25
Avoid write race on same file
2019-11-30 02:04:59 +01:00
shortcutme
e1dc29c374
Rev4308
2019-11-27 03:08:20 +01:00
shortcutme
fca9db7972
Try fix Recursive use of cursors ProgrammingError by creating new cursor for every execute and move Lock to db
2019-11-27 03:07:08 +01:00
shortcutme
afd23849a6
Log site delete as info
2019-11-27 03:04:49 +01:00
shortcutme
1b2eee058c
Log test case start and end
2019-11-27 03:03:31 +01:00
shortcutme
777486a5be
Try new way to avoid pytest io errors
2019-11-27 03:03:22 +01:00
shortcutme
8b6f221e22
Formatting
2019-11-27 03:02:18 +01:00
shortcutme
97ecb7e3aa
Rev4303
2019-11-25 14:50:16 +01:00
shortcutme
5df5e25d68
Better logging of recent peers
2019-11-25 14:49:40 +01:00
shortcutme
66a950a481
New, much faster worker task sorting
2019-11-25 14:43:28 +01:00
shortcutme
29346cdef5
Faster, async local ip discovery
2019-11-25 14:40:52 +01:00
shortcutme
4f8e941e39
Fix err type logging
2019-11-25 14:39:24 +01:00
shortcutme
7b210429b5
Multi threaded eciesDecrypt
2019-11-25 14:37:55 +01:00
shortcutme
c52d47b15f
Don't show notifications when testing
2019-11-25 14:35:31 +01:00
shortcutme
9a43626aa6
When testing don't register shutdown functions
2019-11-25 14:35:16 +01:00
shortcutme
c14e722303
Fix bug that someomes blocked plugins accessing connectionserver sitelist
2019-11-25 14:34:46 +01:00
shortcutme
07633ba79d
Fix local peers dropping out from recent peers
2019-11-25 14:33:18 +01:00
shortcutme
6ff7fe55fc
Make sure we use local peers if possible
2019-11-25 14:32:06 +01:00
shortcutme
a14c36cd3e
Add peer's site to str represetntation
2019-11-25 14:31:12 +01:00
shortcutme
c21fe3d23a
Prefer connecting to non-onion peers
2019-11-25 14:30:51 +01:00
d9xr92
89e8fd3d3a
potential fix for #2323 ( #2324 )
...
* potential fix for #2323
* Update DbCursor.py
* replaced RLock with Lock
2019-11-23 13:22:36 +01:00
shortcutme
966f393e20
Rev4290
2019-11-20 14:08:49 +01:00
shortcutme
9299e5b614
Kill greenlets with notify
2019-11-20 14:07:33 +01:00
shortcutme
6c31a3b77e
Change fs thread number on config interface
2019-11-20 14:07:04 +01:00
shortcutme
5aa115c88a
Heavier task in thread pool test to make sure it will pass
2019-11-19 02:25:28 +01:00
shortcutme
511587dd8b
Allow images from data uris
2019-11-19 02:19:14 +01:00
shortcutme
5d34bb9062
Rev4287
2019-11-19 02:17:32 +01:00
shortcutme
4025d753e3
Don't print errors happened in thread
2019-11-19 02:16:44 +01:00
shortcutme
58214c0ac3
Move file writes and reads to separate thread
2019-11-19 02:16:20 +01:00
shortcutme
5d113757df
Stop greenlets when deleting a site in test
2019-11-19 02:15:47 +01:00
shortcutme
b41a03674f
New configuration options for fs write and read thread count
2019-11-19 02:15:00 +01:00
shortcutme
8c1f64243f
Test CLI action parser
2019-11-19 02:14:29 +01:00
shortcutme
cdd9dd4f6f
Fix duplicate content_db connecting
2019-11-19 02:12:24 +01:00
shortcutme
57f2a43864
Formatting
2019-11-19 02:11:19 +01:00
shortcutme
74d7fb7835
Less verbose logging in site storage
2019-11-19 02:10:42 +01:00
shortcutme
dd61429e2f
Handle announcer thread killing properly
2019-11-19 02:09:55 +01:00
shortcutme
8f27f50b34
Log SQL statements in progress as warning
2019-11-19 02:09:36 +01:00
shortcutme
96e7fbdca1
Don't try to commit if no db connection
2019-11-19 02:08:30 +01:00
shortcutme
39352eb97e
Fix test function listing name
2019-11-19 02:08:03 +01:00
shortcutme
1c607645c7
Track and stop site connected greenlets on delete
2019-11-19 02:07:51 +01:00
shortcutme
16162955af
New cli test action
2019-11-19 01:47:06 +01:00
shortcutme
e8af5db2e8
Keep track gevent block number, remove Benchmark from stats plugin
2019-11-19 01:43:39 +01:00
shortcutme
9d048371b7
Better way to patch gevent error handling
2019-11-19 01:42:00 +01:00
shortcutme
a187726ba8
Formatting
2019-11-19 01:40:39 +01:00
shortcutme
0ff1bcfd19
Remove not used variable and module import
2019-11-19 01:40:00 +01:00
shortcutme
08fee35bcf
Fix pytest output capturing error
2019-11-19 01:39:16 +01:00
shortcutme
08574bf676
Handle unkown variables when rendering template
2019-11-19 01:38:22 +01:00
shortcutme
5c27a0efcc
Rev4260, Fix UiConfig pt-br language json
2019-11-15 19:43:56 +01:00
Natalia Fenclová
456e330854
Replace usage of deprecated API 'cgi.parse_qsl'
...
Python 3.8.0 removed this deprecated API. We already use the replacement
`urllib.parse.parse_qsl` in `UIRequest.py`
2019-11-14 17:22:39 +01:00
ZeroNet
8d95eb937f
Longer timeout to close connections in ssl connection test
2019-11-11 17:14:36 +01:00
shortcutme
2f50fef787
Rev4259
2019-11-11 16:18:33 +01:00
shortcutme
e8b0a3d1c4
Fix loading screen scrolling on smaller screens
2019-11-11 16:18:01 +01:00
shortcutme
fce24cedbd
Rev4257
2019-11-07 02:48:17 +01:00
shortcutme
f9b62564ca
Fix logging in non-debug mode
2019-11-07 02:47:45 +01:00
shortcutme
d569d9488a
Deny invalid files on Windows
2019-11-07 02:47:19 +01:00
shortcutme
f172751df3
Test utf8 filename download
2019-11-07 02:44:54 +01:00
shortcutme
13233d47bd
Fix long running test
2019-11-07 02:44:33 +01:00
Josh
74d7d92a4d
Allow all valid filenames to be added to content.json ( #2141 )
...
* Allow all valid filenames to be added to content.json
* Replace hex version of regex with non-hex version
* Add basic test for path validation with ASCII and UTF-8 filenames
* Amend path validation test to meet standards
2019-11-07 02:18:27 +01:00
Lola Dam
1bfe328a1b
No restart after update ( #2242 )
2019-11-01 19:36:43 +01:00
shortcutme
1f453b6c13
Rev4253, Hotfix siteCreate CLI
2019-10-30 03:09:28 +01:00
shortcutme
ee8e3c3c9c
Use master_seed for siteCreate CLI by default
2019-10-30 03:07:06 +01:00
shortcutme
37f315dfc2
Rev4252
2019-10-30 02:31:04 +01:00
shortcutme
1e1e560795
Use master seed to create new site from cli
2019-10-30 02:30:01 +01:00