Commit Graph

29 Commits

Author SHA1 Message Date
Tamas Kocsis 6fcfe5b394 Rev4540, More proper bigfile filtering for OptionalFileList 2020-10-29 02:44:07 +01:00
shortcutme d166a16a24
Use function flagging in plugins 2019-08-26 03:20:07 +02:00
shortcutme 3e97c154a0
Remove hard-coded directory path from plugins 2019-08-02 16:05:19 +02:00
shortcutme e34a9d452a
Allow filter optional files by inner path 2019-07-10 03:11:20 +02:00
radfish ec6fd48b86 Bigfile: fix piece field bitmask to be used as bytearray consistently (#1982)
* Bigfile: make Piecefield array a bytearray

We want an array of characters. Py2 strings made sense to
use as an array of characters, but Py3 strings are different
and no longer a good choice.

* Bigfile: store bits as binary instead of char

* BigFile: rename to/from string -> to/from bytes

Since the type was changed to bytearray.
2019-04-16 15:14:19 +02:00
krzotr 1c8fba4286
OptionalManager file info - set bytes_downloaded to file size if a file is fully downloaded 2019-04-13 23:07:13 +02:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme ba9228b142
Is downloading status based on bad_files 2019-01-20 19:15:21 +01:00
shortcutme c734e13753
Escape pinned file names 2018-11-26 00:17:29 +01:00
shortcutme f54443d7f8
Reset pinned cache on file deletion 2018-10-15 13:18:18 +02:00
shortcutme 3d82ad9222
Fix optional used bytes calculation 2018-10-15 13:18:00 +02:00
shortcutme 393c66385f
Add pinning notification based on number of files 2018-10-15 13:17:42 +02:00
shortcutme b008195abd
Set pin using ContentManager function 2018-10-15 13:16:55 +02:00
shortcutme ad2c11413e
Allow to filter to pinned files on optionalfilelist 2018-10-15 13:16:35 +02:00
shortcutme 1e2853c950
Update hashfield on update peer numbers 2018-10-15 13:15:36 +02:00
shortcutme f162987a4f
Rename optionalRemove to optionalRemoved and accept hash only by id 2018-03-29 02:54:52 +02:00
shortcutme ad1d81dccf
Cache inner_path to sha512 hash for bigfiles to avoid loading content.json every time 2018-03-18 21:25:28 +01:00
shortcutme 1250b45694
Fix bigfile info on non-existent files 2018-01-28 16:42:56 +01:00
shortcutme 046877599e
Don't create empty piecefield for every optional file 2017-10-13 01:15:43 +02:00
shortcutme 7905e12fc3
Rev3097, Add peer info for bigfiles even if it's not downloaded 2017-10-06 00:42:19 +02:00
shortcutme aa9e8b067f
Send websocket event on optional file deletion 2017-10-04 13:17:36 +02:00
shortcutme e5963f8a76
OptionalFileDelete API call only works on downloaded files 2017-10-04 13:17:18 +02:00
shortcutme e5b851b171
Add progress information to bigfiles 2017-10-04 13:16:02 +02:00
shortcutme 282f06b65e
Filter for OptionalFileList API call that allows to list non-downloaded files and only bigfiles 2017-10-04 13:15:44 +02:00
shortcutme e8a439cad3
Mark my optional files using directory on signing instead of file path 2017-10-04 13:14:24 +02:00
cclauss 21d0b829d3 Update UiWebsocketPlugin.py 2017-07-16 22:47:22 +02:00
ysc3839 d3f44e35ce OptionalManager translation. (unfinished) 2016-12-03 21:04:32 +08:00
shortcutme eacd75108f Unified forbidden message 2016-11-16 11:17:50 +01:00
shortcutme 790dc4e3d4 Plugin to manage optional files 2016-11-07 22:56:04 +01:00