Commit Graph

88 Commits

Author SHA1 Message Date
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
ZeroNet 3ff75c6602 Also trigger onUpdated on file delete 2016-08-10 12:30:35 +02:00
ZeroNet 0be6cb6602 Move database files listing to separate funcion 2016-08-10 12:30:04 +02:00
ZeroNet 9def3b58eb Allow plugins on SiteStorage 2016-08-10 12:28:57 +02:00
HelloZeroNet 93e598cc59 Rev1275, Fix dictionary changed size during iteration error 2016-04-26 10:46:53 +02:00
HelloZeroNet bf384922a6 Use iteritems to save memory 2016-04-25 02:26:29 +02:00
HelloZeroNet 55d76c8c5c Faster SiteStorage.getSize 2016-04-20 23:28:21 +02:00