Commit Graph

265 Commits

Author SHA1 Message Date
shortcutme 48b6c81b36
Test msgpack streaming with binary data 2019-03-16 00:56:25 +01:00
shortcutme d95da7372a
Feed Msgpack unpacker as byte 2019-03-16 00:54:27 +01:00
shortcutme 231037b0fe
Test Msgpack result 2019-03-16 00:54:12 +01:00
shortcutme c481d20ce8
Use new libs in Msgpack tests 2019-03-16 00:54:00 +01:00
shortcutme dc32556983
Add utf8 and binary data to msgpack test vector 2019-03-16 00:53:18 +01:00
shortcutme d7b43f4722
Same priority file download order does not matter 2019-03-16 00:51:32 +01:00
shortcutme ca29fcec7d
findHashId order does not matter 2019-03-16 00:50:25 +01:00
shortcutme bd637d661a
Test translate of utf8 strings 2019-03-16 00:49:09 +01:00
shortcutme ef8174af70
All problematic characters will be escaped 2019-03-16 00:48:56 +01:00
shortcutme 6d2a863af5
Sleep a bit before creating new file_server to allow connection closing 2019-03-16 00:15:43 +01:00
shortcutme 35e61a0c69
More reliable UiWebsocket testing 2019-03-16 00:15:19 +01:00
shortcutme c474699695
Different crypto lib fixture 2019-03-16 00:14:58 +01:00
shortcutme 1e2dadf75e
Log test to log/cmd.log 2019-03-16 00:14:11 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme b47920169f
Test unsupported pex peers removing 2019-02-24 02:29:27 +01:00
shortcutme 6662b4f047
Test sql queries with lots of variables 2019-01-26 20:40:58 +01:00
shortcutme e8026ef074
Non-private external ip for tests 2019-01-26 20:39:31 +01:00
shortcutme cefc6f8eac
Test private ip match 2019-01-26 20:38:30 +01:00
shortcutme 0a03c30e8a
findHashId will return real address used by the connection 2019-01-24 15:19:19 +01:00
shortcutme a7509988af
Rev3802, Fix pytest warnings 2019-01-20 20:02:31 +01:00
shortcutme e2d17fe20f
Ipv6 test of address packing and unpacking 2019-01-20 19:08:15 +01:00
shortcutme 9e5be7ffcf
Fix noparallel test on slow cpu 2019-01-20 19:07:48 +01:00
shortcutme 44dc3035a5
Make network test compatible with ipv6 2019-01-20 19:07:16 +01:00
shortcutme d78c757b52
Automatically run all file_server tests in ipv4 and ipv6 enviroment 2019-01-20 03:11:33 +01:00
shortcutme 9871a4e36f
Fix test gevent monkey patching 2019-01-20 03:10:39 +01:00
Mickaël Schoentgen e8298726ca Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
shortcutme bda238344c
Test isIp, isPrivateIp 2018-12-19 13:25:20 +01:00
shortcutme 36f2998c91
Test if js works in raw and normal mode 2018-11-26 00:12:12 +01:00
shortcutme 131926cad8
Make current url getting compatible with chromedriver 2018-11-26 00:11:58 +01:00
shortcutme d588327c1c
Change wget to getUrl 2018-11-26 00:11:25 +01:00
shortcutme 68c7f502b4
Use chromedriver instead of phantomjs for testing 2018-11-26 00:10:43 +01:00
shortcutme 06fa669f8c
Test escaping in translation underline helper 2018-11-26 00:09:46 +01:00
shortcutme 5178a288ca
Fix error message testing 2018-11-08 01:31:23 +01:00
shortcutme 7c6702057d
Test invalid cert user id 2018-11-08 01:30:56 +01:00
shortcutme c1aad3882c
Test signers pattern 2018-11-08 01:30:32 +01:00
shortcutme cf7d194dbf
Remove missing optional files from content.json on cloning 2018-11-07 22:48:35 +01:00
shortcutme 6a240919bf
Test archived before 2018-10-15 12:58:39 +02:00
shortcutme d04b759913
Allow more time inaccuracy for noparallel test 2018-09-17 15:40:44 +02:00
shortcutme ea619ce99a
Fix tor disabling for tests 2018-07-16 01:56:19 +02:00
shortcutme e1fdb90da6
Reset filters.json before tests 2018-06-25 14:25:19 +02:00
shortcutme 597c5063f3
Rev3462, Fix ConnectionServer testcases 2018-04-29 03:05:36 +02:00
shortcutme a65d21d7e4
Fix site cleanup after test 2018-04-03 14:50:09 +02:00
shortcutme d61cd96d8f
VerifyFiles call returns more detailed statistics 2018-03-29 02:49:06 +02:00
shortcutme 077d9d3918
Increase selenium test timeouts 2018-03-21 21:40:44 +01:00
shortcutme ee81aea2fa
Wait until title in link security test 2018-03-20 22:27:32 +01:00
shortcutme 1189c76691
Add existing bigfiles to piecefield if they were downloaded outside of ZeroNet 2018-03-14 22:21:45 +01:00
shortcutme 357fd895bf
Add msgpack test 2018-02-23 15:44:07 +01:00
shortcutme 3d0a20452f
Fix site archived download test 2018-02-20 10:18:35 +01:00
shortcutme 8ff3bbc9a7
Local ip not added to ips 2018-02-08 18:02:40 +01:00
shortcutme 3e7a4f593a
Fix tor PEX test as private peers no longer got exchanged 2018-01-30 14:29:10 +01:00
shortcutme c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme 99fdbcd1fe
Fix ratelimit test 2018-01-19 02:32:11 +01:00
shortcutme 4f6a496c36
Test named db select arguments 2018-01-05 20:22:56 +01:00
shortcutme 1d5c0597d9
Ignore site list order 2017-12-15 01:58:57 +01:00
shortcutme fdd82f7ac4
Rev3146, Limit noparallel queue to one call 2017-11-20 03:13:58 +01:00
shortcutme 5026f1b0a8
Delay RateLimit call after delayed call triggered 2017-11-09 13:32:21 +01:00
shortcutme 9034449e96
Fix fileInfo test 2017-10-26 10:50:56 +02:00
shortcutme 4efcfa8bf4
Rev3112, Allow user rules based on auth address 2017-10-16 20:26:41 +02:00
shortcutme 0b9bc56959
Test sub-directory files in user diretories 2017-10-04 13:36:14 +02:00
shortcutme e9beeb85fc
Use with to open files to avoid keeping them open in case of errors 2017-10-04 13:35:55 +02:00
shortcutme a71e82c315
Test user sub-directories inner_path 2017-10-04 13:35:15 +02:00
shortcutme d176150248
Test multiple length of message for signing 2017-10-04 13:34:50 +02:00
shortcutme ab9fa9ec0c
Mark data/optional.* as optional for test site 2017-10-04 13:34:14 +02:00
shortcutme 3d57fbb1b8
Use the real size of content.json instead of predefine it 2017-10-04 13:33:26 +02:00
shortcutme f0f9240fc8
getDirname strips the leading / chars 2017-10-04 13:33:00 +02:00
shortcutme b1bfe39cd5
Use merged getFile function call to download file using streaming 2017-10-04 13:32:39 +02:00
shortcutme c82b19687a
Spy object also stores the called object 2017-10-04 13:31:49 +02:00
shortcutme be755fe25e
Custom logging for tests to spot possible performance bottlenecks easier 2017-10-04 13:30:17 +02:00
shortcutme 0f0f3894ff
request from directory . should drop forbidden error 2017-10-04 12:48:48 +02:00
shortcutme a2182e8a8d
Invalid nonce requests automatically shows wrapper now 2017-10-04 12:48:16 +02:00
shortcutme bf672bdec3
Add new test to unsafe matches 2017-07-18 20:55:04 +02:00
shortcutme 6a4882d81d
Test SafeRe repetition limit 2017-07-15 01:31:08 +02:00
shortcutme 3459d35ed2
Test unsafe regex pattern recognization 2017-07-14 10:37:09 +02:00
shortcutme 699a8be721
Test unsafe patterns in dbschema 2017-07-14 10:36:41 +02:00
shortcutme 1f4a5643db
Test unsafe regex patterns on sign and verify 2017-07-14 10:36:18 +02:00
shortcutme 492408def7
Use class variable to store test site privatekey 2017-07-14 10:35:44 +02:00
shortcutme b60a1ec455
Test invalid filenames 2017-07-13 19:33:07 +02:00
shortcutme f630e6c25e
Test raw access security 2017-07-10 02:42:41 +02:00
shortcutme b7106995b7
Test size errors on getFile 2017-06-19 16:14:14 +02:00
shortcutme dca3c775d1
Test expect exact sign and verification errors 2017-06-19 16:13:58 +02:00
shortcutme aa402ebaf3
Fix typo 2017-06-13 14:13:09 +02:00
shortcutme bf042ce7a3
Rev2060, Only boost all.js and all.css priority, really fix download priority test 2017-05-07 21:34:44 +02:00
shortcutme f67cb7b145
Rev2059, Fix download test, boost priority on request by 15, Adjust default priorities 2017-05-07 21:21:26 +02:00
shortcutme fbed15318b
Fix file request testcase 2017-04-14 00:34:40 +02:00
shortcutme f3edd8013d
Rev2034, Fix leaking users.json via webui 2017-04-09 16:54:28 +02:00
MuxZeroNet 2cb8cc9107 Update TestWeb.py 2017-04-06 23:14:46 +00:00
shortcutme 233d5f31f2
Support ignore_class and queue to noparallel decorator 2017-04-01 22:32:06 +02:00
shortcutme d7496d6fd5
Boost js, css, dbschema and non-user json file priority 2017-03-12 17:55:47 +01:00
shortcutme f46f9fa6ea
Test new content.json content 2017-03-12 13:13:47 +01:00
ZeroNet 0e2f742b7e Merge pull request #842 from mishfit/refactorListAndWalk
Rename SiteStorage.list to SiteStorage.walk
2017-03-04 12:39:06 +01:00
shortcutme 52ed170292
Create new file server for every test 2017-02-27 11:21:40 +01:00
mishfit 656c818211 rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
2017-02-24 21:58:46 -07:00
shortcutme 38d330da1a
Rename db.loadJson to db.updateJson 2017-02-09 01:53:31 +01:00
shortcutme 8a75f200ca
No logging phantomjs 2017-01-27 14:00:41 +01:00
shortcutme d65c7d05a4
Remove /media access 2017-01-27 13:05:49 +01:00
shortcutme 72f91a2816
Fix selenium with gevent 1.2 2017-01-27 13:05:10 +01:00
shortcutme c57d0283b3
Fix optional files test 2017-01-27 13:04:32 +01:00
shortcutme e4cfec3ba0 Test strict translator 2016-11-18 20:03:00 +01:00
shortcutme 5fafe7cf29 Change contentdb reference to site object in test 2016-11-07 23:20:52 +01:00
shortcutme 0214741345 Hashfield test fix 2016-11-07 22:44:03 +01:00
shortcutme d5b8722bb0 Kill greenlets between tests 2016-11-07 22:43:26 +01:00
shortcutme c5851cd166 Better DB tests 2016-11-07 22:42:27 +01:00
shortcutme bca08970ba Always disable announce when testing 2016-10-02 14:23:30 +02:00
sirMackk bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
shortcutme b8bf773c40 Make test compatible with new content.db 2016-09-05 13:58:10 +02:00
shortcutme 6c6ce54a20 Run test in verbose mode 2016-08-26 11:42:44 +02:00
shortcutme 5061e0051a Test missing cert verification 2016-08-22 03:41: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
HelloZeroNet b66149bce8 Remove unnecessary test data 2016-05-06 11:18:37 +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 bbf1bc163d Extra debug messages, cleanup unused lines 2016-04-10 13:25:11 +02:00
HelloZeroNet 083f86412b Test diff and site updating 2016-04-06 14:01:20 +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 d222018bb6 Parse config plugins on test 2016-03-23 13:30:18 +01:00
Erkan Yilmaz b5d74eec16 typo: definied -> defined 2016-03-21 09:43:53 +01:00
HelloZeroNet cd2aa033b4 Allow the site owner to modify banned users file 2016-03-17 01:56:25 +01:00
HelloZeroNet 16d01c961e Wait port opening before start running tests 2016-03-16 21:09:07 +01:00
HelloZeroNet 5a234745fc Wait more for port opening 2016-03-16 00:34:57 +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 1dbc33445f Rev903, FeedQuery command only available for ADMIN sites, Show bad files in sidebar, Log unknown messages, Add and check inner_path and site address on sign/verify, Better peer cleanup limit, Log site load times, Testcase for address and inner_path verification, Re-sign testsite with new fields, Fix unnecessary loading screen display when browsing sub-folder with index.html, Fix safari notification width 2016-02-18 11:22:21 +01:00
HelloZeroNet 61cfb8aa2f Rev900, Sidebar filestats bar width round fix, Sidebar WebGL not supported error, Sidebar optimalizations, Trayicon gray shadow, Trim end of line whitespace from json files, Fix testweb testcase, Implement experimental postMessage nonce security, Return None when testing external ip, Window opener security check and message, Increase timeout for large files 2016-02-10 02:30:04 +01:00
HelloZeroNet 687a848292 Version 0.3.6, Rev879, Fix sidebar error on description missing, New trayicon, New favicon, Disable some functions on MultiUser proxies, New homepage, Replace only the last ? in SQL queries, Alwaays grant ADMIN permission to homepage site, Announce before publish if no peers, configSet, serverShutdown, ADMIN WebsocketAPI command, Stop Tor client before updating, Ignore peer ip packing error, Ignore db files from git, Fix safari ajax error when UiPassword enabled 2016-02-02 11:40:45 +01:00
HelloZeroNet 7d25812087 Rev859, Don't display port closed warning in Tor always mode, Reload trackers files every minute, Log users.json save time, Use Udp connect to avoid Gevent lockdown bug, Site needfile startup command, Log uPnP punch targets 2016-01-19 20:42:00 +01:00
HelloZeroNet 44a68104fb Rev833, Fix gevent 1.0.2 compatibility, Allow 6 connection from same host within 1 minute 2016-01-05 20:18:17 +01:00
HelloZeroNet f5f26821d5 Skip Tor test if no connection 2016-01-05 01:19:53 +01:00
HelloZeroNet e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet ee70e2f022 Version 0.3.4, Rev656, CryptMessage plugin for AES and ECIES encryption, Added pyelliptic lib for OpenSSSL based encryption methods, Test CryptMessage plugin, Force reload content.json before signing and after write, Escaped Sql IN queries support, Test Sql parameter escaping, ui_websocket Test fixture, Plugin testing support, Always return websocket errors as dict, Wait for file on weboscket fileGet command if its already in bad_files queue, PushState and ReplaceState url manipulation support in wrapper API, Per auth-address localstorage, Longer timeout for udp tracker query 2015-12-10 21:36:20 +01:00
HelloZeroNet 6763d6e74c Rev582, Fix my ip sending on findHashIds, Only start workers for optional files if peers found 2015-11-12 23:01:35 +01:00
HelloZeroNet c2fc131cdc Rev546, Sidebar drag fix, Fix rebuild on dbschema changes, Test Dbschema changes, Fix atomicWrite error when old file already exists 2015-11-05 23:19:36 +01:00
HelloZeroNet 3764f98673 Rev542, Add files to hashfield on sign, Send my hashfield to connected peers on publish, Wait more time to checkModifications arrive, Test added files hashfield on sign 2015-11-02 22:39:19 +01:00
HelloZeroNet 8e710beab1 Rev536, Fix stats page, Support ranged http requests for better video browser compatibility, setHashfield command, One by one send hashfield to connected peers if changed, Keep count hashfield changetime, PeerHashfield optimalizations, Wait for peers on checkmodification, Give more time to query trackers, Do not count udp trackers as error if udp disabled, Test hashfield push 2015-10-30 02:08:02 +01:00
HelloZeroNet 9c5fda6ed2 Rev505, FindHashIds also checks in self hashfield, Fix optional file bug when task already finished, Reset peer last hashfield download time when found hashid using findHashIds 2015-10-28 01:28:29 +01:00
HelloZeroNet b961a3fb0a Rev480, Skip non-ascii files at signing, Fix gevent 1.1alpha compatibility 2015-10-24 13:57:46 +02:00
HelloZeroNet a8dae8dd85 Rev477, FindHashId command for optional files, Renaming some variables to make it more clear, Optional files downloading in WorkerManager, Test FindHash, Test Optional download, Test FindOptional 2015-10-22 11:42:55 +02:00
HelloZeroNet 9400e9f58f Rev470, Keep track downloaded optional files in hashfield, Peer getHashfield command, Check optional files on verifyFiles, Test hashfield, Test hashfield exchange 2015-10-11 02:22:53 +02:00
HelloZeroNet f8fd58866b Remove not used test 2015-10-01 03:16:04 +02:00
HelloZeroNet 9d7d4f1552 Rev467, requirements.txt accept newer dependecies, Boost dbschema.json, Move getDirname getFilename to helper, Verify optional files, Includes not allowed in user files, Optional files rules, Peer hashfield functions, Test optional files signing, Test file info, Test verify file, Test helpers 2015-10-01 01:35:13 +02:00
HelloZeroNet a7d8d488da Rev465, Display memory dump only in debug mode, Use sys.exit in trayicon, Optional files hashing, List function in SiteStorage, Test signing content, Test sign optional files, Test site storage 2015-09-28 22:07:26 +02:00
HelloZeroNet 39413b9755 Rev452, Auto hide no peers found info message, Raise error on invalid file location, Test PEX, Test invalid file downloads, Test peer download and ping 2015-09-28 00:22:27 +02:00
HelloZeroNet 4b403da056 Rev448, Better file download priority method, Some potential programming error fix, Renamed utils to helper, Moved pack and unpackaddress to helper package, Test new privatekey creation, Test site file download order, Spy test helper to log called parameters, Remove unnecessary fat arrows 2015-09-27 02:08:53 +02:00
HelloZeroNet 8fdc431b0b Rev445, Fix ConnectionServer peer_id handling, Faster startup by creating ssl certs on FileServer start, Per-site connection_server, Fix double Db opening, Test site downloading, Sign testsite properly, Test ConnectionServer, Test FileRequest 2015-09-24 22:08:08 +02:00
HelloZeroNet 891c5cc34a Simple tests for Connections, SiteManager delete test, ZeroName updater allow domain names starting with numbers, check subdomains validity 2015-09-22 12:16:29 +02:00
HelloZeroNet 47dbdc0850 Rev427, Ignore repr from coverage, Add RateLimit call penalty to, Event test, Noparallel test, RateLimit test, Remove falling Pypy test 2015-09-21 02:36:23 +02:00
HelloZeroNet 9ac8f7f63c Rev426, Fix for nonce error on bigsites asking, Dont display error details on 404 error, Dont log Websocket close errors, Add travis pip caching and osx test, Add build status to readme, Test for site files after cloning, Test for json to db mapping, Test site deleteFiles command, Test user certificate and auth address generation, Exclude debug lines from coverage, Dont run webtests every time 2015-09-20 22:35:45 +02:00
HelloZeroNet 5f71e79a2b Remove zmq as requirement, Add coverage report 2015-09-20 13:29:35 +02:00
HelloZeroNet e00537ba57 Rev423, Rewrite and reorganize test using pytest, New PhantomJS based browser tests, Fix html requests error without wrapper nonce, Indent json files with 1 space 2015-09-20 00:27:54 +02:00
HelloZeroNet a93ca2c3b4 rev307, Plugin for password protected web ui, Faster page load times by yielding wrapper html, Reworked configuration parser to support plugin extensions, Initial site sync bugfix, Test for configuration parsing, Parse posted data function 2015-07-17 00:28:43 +02:00