Ivanq
743f92d15e
Allow some paths to contain .. but not ../
2019-07-01 18:17:42 +03:00
Lola Dam
753396ac0c
Try and catch block for dbRebuild ( #2047 )
...
* Try and catch block for dbRebuild
* Use self.log.error and not logging
* Use self.log.error and not logging in SiteStorage also
* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
shortcutme
8cb629fb55
Return True on rebuildDb success
2019-06-06 02:27:59 +02:00
Lola Dam
9cda561091
Show error message when db failed to rebuild ( #2043 )
...
* Show error message when db failed to rebuild; fix #1908 ;
* Forgot file
2019-06-04 13:54:35 +02:00
shortcutme
8e2a7c2b2d
Respect optionalHelp when checking files
2019-05-30 04:28:41 +02:00
shortcutme
e688671972
Fix rename error variable problem in site storage
2019-04-23 01:59:59 +02:00
radfish
f6e3a74567
[setuptools packaging] access modules via imports ( #1969 )
2019-04-15 12:31:33 +02:00
shortcutme
002303a765
Db rebuilding error display, reconnect bug fix
2019-03-16 00:11:52 +01:00
shortcutme
59426c31f7
SiteStorage Py3 compatibility
2019-03-16 00:10:49 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
shortcutme
4fe6ae9811
Allow only SELECT in storage.query
2018-12-15 17:45:17 +01:00
shortcutme
8cf30893f2
Don't close idle db connection during rebuild
2018-11-08 01:20:33 +01:00
shortcutme
4fe33268ac
Don't allow parallel rebuild
2018-09-02 02:24:07 +02:00
shortcutme
37fcf2fed7
Fix deletion with missing content.json files
2018-04-28 21:49:12 +02:00
shortcutme
0459c75dc0
Make file verification process handle correctly different files with same has_id by using new isDownloaded function
2018-03-29 03:19:26 +02:00
shortcutme
d61cd96d8f
VerifyFiles call returns more detailed statistics
2018-03-29 02:49:06 +02:00
shortcutme
866947c445
Fix symlinked data site deletion
2018-02-08 18:03:55 +01:00
shortcutme
005358f4bf
Use separate db connection for rebuilding
2018-01-19 02:31:46 +01:00
shortcutme
ccd002b97f
Rev3177, Import missing SafeRe module
2017-12-20 23:35:49 +01:00
shortcutme
c7d067ea3c
Rev3176, Skip listing ignored directories on signing
2017-12-20 23:25:25 +01:00
shortcutme
90ff9ac7fb
Rev3155, Avoid UI hang during db rebuild
2017-12-02 02:38:17 +01:00
shortcutme
9d511ba165
Rev3122, Auto ignore database file
2017-10-22 11:13:09 +02:00
shortcutme
468fe8f266
Move json formatting to separate function
2017-10-03 15:30:10 +02:00
shortcutme
9f762a0230
Bootstrapper use python date functions instead of sqlite
2017-08-18 14:43:28 +02:00
shortcutme
b503d59c49
Support gzip compressed database files
2017-08-09 14:19:39 +02:00
shortcutme
ff69b04216
Catch verify exceptions on manual site files verification process
2017-06-19 15:57:02 +02:00
shortcutme
f506ac9701
Faster getPath
2017-06-15 13:30:36 +02:00
shortcutme
6167dda01d
Compact json list output
2017-06-03 00:53:59 +02:00
shortcutme
728e497057
Display database rebuilding progressbar
2017-05-07 18:14:13 +02:00
shortcutme
169cf2e6ae
Support optional db files
2017-04-12 17:36:03 +02:00
shortcutme
909b9da9da
Unnecessary log and comment
2017-03-06 15:30:42 +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
cfad85b30e
Log file object on db load
2017-02-13 16:12:56 +01:00
shortcutme
56efa02820
GetDbFiles return inner path
2017-02-09 01:57:12 +01:00
shortcutme
f3c71f3e6c
Move SiteStorage database updating to separate function
2017-02-09 01:56:20 +01:00
shortcutme
a0c3d7f8a6
Rev1833, Fix utf8 system paths
2017-01-22 21:22:53 +01:00
shortcutme
4e96ddfb9e
Allow .. in data_dir path
2017-01-11 13:14:02 +01:00
shortcutme
d9f8e83429
Safe disk write for content.json files
2017-01-05 02:26:44 +01:00
shortcutme
2cdde7dd46
Retry file deletion on error
2016-11-07 23:47:09 +01:00
shortcutme
9765afc286
Modify checkfiles to use optionalRemove, optionalDownloaded and isDownloadable functions
2016-11-07 23:46:54 +01:00
shortcutme
d6da0c421c
Better json compressing
2016-10-02 14:23:05 +02:00
shortcutme
d760a71b76
Rev1529, Fix json write bug with [] characters in value
2016-09-29 13:01:02 +02:00
shortcutme
9fd19bf382
Fix content deletion
2016-09-14 10:52:41 +02:00
shortcutme
59205088d2
Move site deletion to dedicted function
2016-09-05 13:55:51 +02:00
shortcutme
f698ec2502
Also delete sites from content.db
2016-09-04 17:59:47 +02:00
shortcutme
a1f0c20afc
Rename checkFiles to updateBadFiles
2016-09-04 17:59:29 +02:00
shortcutme
887a07c3fb
Rev1427, Skip invalid files on dbRebuild
2016-08-27 11:01:41 +02:00
shortcutme
7edb784305
Fix user file updating on owned sites
2016-08-26 11:40:22 +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