Commit Graph

28 Commits (eb3ef13d28ce8bff9b07db20a89b59bdec0d7376)

Author SHA1 Message Date
Mike Fährmann f2d6b3e6b4
run tests without using 'nose'
3 years ago
Mike Fährmann 40eb8025cc
require an argument for --clear-cache
3 years ago
Mike Fährmann 755164b36a
improve --clear-cache (#1230)
3 years ago
Mike Fährmann 511d8d3fa3
increase SQLite connection timeouts (#1173)
4 years ago
Mike Fährmann da22ea8ced
use %APPDATA%\gallery-dl for config/cache on Windows
4 years ago
Mike Fährmann 3201fe3521
add global SENTINEL object
4 years ago
Mike Fährmann c8787647ed
add global WINDOWS bool
4 years ago
Mike Fährmann 8b60bd6a91
mock 'time()' in cache tests
4 years ago
Mike Fährmann ec85bf90de
use context managers in cache.py & add tests
5 years ago
Mike Fährmann 34887ae139
fix bugs in DatabaseCacheDecorator.update()/.invalidate()
5 years ago
Mike Fährmann 43ab9572b4
[twitter] handle API rate limits (#526)
5 years ago
Mike Fährmann f5604492c3
update interface of config functions
5 years ago
Mike Fährmann 0609afd1e4
update default cache directory ... again
5 years ago
Mike Fährmann a8b60b2bd9
change default cache directory for unix systems
5 years ago
Mike Fährmann 4b6edfbfd2
restrict permissions without importing 'pathlib'
5 years ago
Leonardo Taccari afce1ee1eb
Avoid possible sensitive information disclosure via cache.file
5 years ago
Mike Fährmann bc26fc2439
implement '--clear-cache'
5 years ago
Mike Fährmann 34ea0d6a10
rewrite cache module
6 years ago
Mike Fährmann 2221cf97ff
implement 'update()' for caches
6 years ago
Mike Fährmann ea8ca4cfa4
add 'util.expand_path()'
7 years ago
Mike Fährmann e3212dd98f
fix some smaller stuff
8 years ago
Mike Fährmann 4f123b8513
code adjustments according to pep8
8 years ago
Mike Fährmann 989820d719
workaround for python 3.6s behaviour with BEGIN EXCLUSIVE in sqlite
8 years ago
Mike Fährmann 1e0cf8ddcc
implement a method to manually invalidate cached values
8 years ago
Mike Fährmann e12862520d
expand path for cache database
8 years ago
Mike Fährmann b0c333b799
rewrite cache module
9 years ago
Mike Fährmann 738c65d54f
add 'keyarg' argument to cache-decorator
9 years ago
Mike Fährmann b8c6937d39
first draft for a cache-module
9 years ago