Commit graph

58 commits

Author SHA1 Message Date
shortcutme 4fe4d0a7e7
BEGIN / END no longer necessary as there is no autocommit in new db module 2019-03-16 02:18:53 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
tangdou1 7a47d58ad4 Update zh.json for more respect (#1867)
* Update zh.json

* Update zh.json

* Update zh.json
2019-01-22 11:00:17 +01:00
shortcutme ba9228b142
Is downloading status based on bad_files 2019-01-20 19:15:21 +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 0157ade1c9
Don't autodelete optional files from owned files 2018-11-29 14:32:32 +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 16b40a731a
Test pinned cache, download piece queue reset, pinned optional file delete 2018-10-15 13:13:43 +02:00
shortcutme 9b4b9334a3
Remove pinned status of a file on file deletion 2018-10-15 13:12:46 +02:00
shortcutme 96d40d9816
Don't modify pinned status on file downloaded 2018-10-15 13:12:27 +02:00
shortcutme 407b003cd6
Add all piece of an optional file to download queue if one of the piece is downoaded 2018-10-15 13:11:23 +02:00
shortcutme 8129d5e6af
Don't remove pinned files from download queue 2018-10-15 13:10:34 +02:00
shortcutme c12454a8e9
Don't delete pinned file if it removed by owner 2018-10-15 13:09:43 +02:00
shortcutme 0f49d412b5
Stop auto pinning files larger than 20MB 2018-10-15 13:07:53 +02:00
shortcutme b33551e62e
Exclude files larger than 20MB from garbage collection 2018-10-15 13:06:50 +02:00
shortcutme 8bb4d149b6
Fix comment typo 2018-10-15 13:05:24 +02:00
shortcutme 854fda4530
Skip updating hashfiled of inactive sites 2018-10-15 13:05:18 +02:00
shortcutme 7d3d0f7ceb
Add test for different files with same hash_id 2018-03-29 03:13:37 +02:00
shortcutme 101d2ea9b6
Check optional file downloaded status from sql if optionalmanager is present 2018-03-29 02:59:59 +02:00
shortcutme c1397bbaf7
Attach optionalmanager events to ContentManager instead of WorkerManager 2018-03-29 02:58:24 +02:00
shortcutme 16a9f38844
Use renamed optionalRemoved function 2018-03-29 02:57:06 +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 d7b6c54b08
Move get used optional file size to separate function 2018-01-19 02:14:29 +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 07caaa6b48
Fix removed is_pinned flag on content.json update 2017-10-05 19:24:39 +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
shortcutme cd025316db
Auto-pin downloaded bigger files 2017-10-04 13:13:00 +02:00
shortcutme 797abdea80
Load config class after it got pluginned 2017-10-03 14:58:24 +02:00
cclauss b35bff4164 from Debug import Debug
Solves the unresolved name on lines 164 and 200
2017-07-31 11:55:03 +02:00
cclauss 21d0b829d3 Update UiWebsocketPlugin.py 2017-07-16 22:47:22 +02:00
cclauss 08219a0285 Update ContentDbPlugin.py 2017-07-16 22:46:13 +02:00
Kûipumu 0f65783266 Add Spanish Translation
First revision, orthography checked.
2017-06-12 15:44:37 -04:00
brunogarciacv fd8742ae3a Brazilian Portuguese translation 2017-03-11 03:43:39 -03:00
shortcutme 3ff2ec9104
Better calculation of deletable optional files 2017-02-13 16:25:12 +01:00
shortcutme 62c31e1fc3
Only set valid optional limit on startup 2017-02-09 01:57:44 +01:00
shortcutme d411d4d398
Rev1862, Skip optional file delete on invalid limit 2017-02-06 09:57:51 +01:00
shortcutme 60fc5fb4d3
Allow transaction errors 2017-01-11 13:14:02 +01:00