Commit Graph

24 Commits

Author SHA1 Message Date
shortcutme 31d4304915
Rev4471, Allow files start with dot 2020-03-21 19:51:44 +01:00
shortcutme d569d9488a
Deny invalid files on Windows 2019-11-07 02:47:19 +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
shortcutme eb2627721e
Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
shortcutme 63ba0a5551
Fix tests on Python 3.5 2019-03-20 00:46:57 +01:00
shortcutme 331e25cc41
Test content rules with all avaliable crypto lib 2019-03-16 01:00:49 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 5178a288ca
Fix error message testing 2018-11-08 01:31:23 +01:00
shortcutme 9034449e96
Fix fileInfo test 2017-10-26 10:50:56 +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 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 dca3c775d1
Test expect exact sign and verification errors 2017-06-19 16:13:58 +02:00
shortcutme c57d0283b3
Fix optional files test 2017-01-27 13:04:32 +01:00
shortcutme b8bf773c40 Make test compatible with new content.db 2016-09-05 13:58:10 +02:00
HelloZeroNet 9a15cd80b6 Fix broken tests caused by removing signs from memory 2016-04-06 13:44:31 +02: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 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 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 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 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 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