Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build pre-releases from 'pre-release' branch, and set version suffix in CI ↵pre-release | Jordan Cook | 2021-04-29 | 2 | -20/+11 |
| | | | | config | ||||
* | Merge pull request #254 from JWCook/refactor-delete-methods | Jordan Cook | 2021-04-29 | 11 | -108/+273 |
|\ | | | | | Improve performance for remove_expired_responses(), mainly for SQLite backend | ||||
| * | Add an example script to generate a large cache for testing purposes | Jordan Cook | 2021-04-29 | 2 | -0/+112 |
| | | |||||
| * | Minor formatting changes for SQL queries | Jordan Cook | 2021-04-29 | 1 | -20/+24 |
| | | |||||
| * | Make sure all tests with SQLite dbs clean up after themselves | Jordan Cook | 2021-04-29 | 4 | -53/+52 |
| | | |||||
| * | Some more improvements for bulk deletes in SQLite backend | Jordan Cook | 2021-04-29 | 2 | -10/+33 |
| | | |||||
| * | Improve performance a bit for remove_expired_responses() | Jordan Cook | 2021-04-29 | 4 | -27/+54 |
|/ | |||||
* | Merge pull request #253 from JWCook/cache-info | Jordan Cook | 2021-04-29 | 9 | -36/+193 |
|\ | | | | | Add some more convenience methods for getting cache info | ||||
| * | Show datetimes in local timezone for str(CachedResponse) | Jordan Cook | 2021-04-29 | 1 | -3/+8 |
| | | |||||
| * | Update user guide and changelog | Jordan Cook | 2021-04-29 | 2 | -13/+31 |
| | | |||||
| * | Add response details to CachedResponse str() and repr() | Jordan Cook | 2021-04-29 | 2 | -0/+77 |
| | | |||||
| * | Add BaseCache.keys() and values() methods | Jordan Cook | 2021-04-27 | 3 | -20/+78 |
| | | | | | | | | | | * Update `BaseCache.urls` to return a generator instead of the whole list at once (which may use too much memory for particularly large caches) * Update `BaseCache.urls` to just skip invalid responses instead of deleting them | ||||
| * | Bump black version | Jordan Cook | 2021-04-26 | 2 | -2/+1 |
|/ | |||||
* | Merge pull request #247 from JWCook/raise_for_status | Jordan Cook | 2021-04-23 | 5 | -7/+55 |
|\ | | | | | Handle response error codes with old_data_on_error | ||||
| * | Include this behavior in old_data_on_error instead, to avoid complications | Jordan Cook | 2021-04-23 | 5 | -34/+27 |
| | | |||||
| * | Add raise_for_status option | Jordan Cook | 2021-04-23 | 6 | -4/+59 |
|/ | |||||
* | Log any ImportErrors in top-level init filedev | Jordan Cook | 2021-04-22 | 1 | -4/+7 |
| | |||||
* | Merge branch 'use-temp' | Jordan Cook | 2021-04-22 | 5 | -9/+39 |
|\ | |||||
| * | Add use_temp option to SQLite backend | Jordan Cook | 2021-04-22 | 5 | -9/+39 |
|/ | | | | Closes #243 | ||||
* | Merge pull request #245 from JWCook/integration-tests | Jordan Cook | 2021-04-22 | 11 | -148/+166 |
|\ | | | | | Run CachedSession integration tests for all backends. | ||||
| * | Combine test_cache.py with BaseCacheTest to run these tests for all backends | Jordan Cook | 2021-04-22 | 11 | -148/+166 |
|/ | |||||
* | Merge pull request #242 from JWCook/integration-tests | Jordan Cook | 2021-04-22 | 17 | -313/+308 |
|\ | | | | | Refactor backend integration tests | ||||
| * | Turn multi-threaded stress tests into test (sub)classes | Jordan Cook | 2021-04-22 | 8 | -50/+100 |
| | | | | | | | | | | | | This is mainly to take advantage of fail-fast connection tests; otherwise, these tests may just hang if backend dependenices are installed but backend services are not set up. See issue #221 for details. | ||||
| * | Turn remaining unittest.TestCase classes into pytest-style test classes | Jordan Cook | 2021-04-22 | 8 | -144/+82 |
| | | |||||
| * | Reorganize backend integration tests and add some more thorough tests | Jordan Cook | 2021-04-22 | 8 | -149/+168 |
| | | |||||
| * | Move storage class __str__ methods to base class, and just show keys instead ↵ | Jordan Cook | 2021-04-22 | 6 | -15/+3 |
| | | | | | | | | of items | ||||
| * | Store responses for filesystem backend in a 'responses' subdirectory, to ↵ | Jordan Cook | 2021-04-22 | 1 | -5/+7 |
| | | | | | | | | avoid deleting redirects.sqlite with clear() | ||||
| * | For SQLite and filesystem backends, resolve file paths in BaseStorage class ↵ | Jordan Cook | 2021-04-21 | 2 | -8/+6 |
|/ | | | | rather than BaseCache class | ||||
* | Merge pull request #238 from JWCook/filesystem-backend | Jordan Cook | 2021-04-21 | 13 | -8/+139 |
|\ | | | | | Add a filesystem backend | ||||
| * | Update changelog, contributors, and version | Jordan Cook | 2021-04-21 | 3 | -3/+6 |
| | | |||||
| * | Add a filesystem backend | Jordan Cook | 2021-04-21 | 10 | -5/+133 |
|/ | |||||
* | Use shared connection to create initial SQLite table | Jordan Cook | 2021-04-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #240 from jsemric/use-thread-local-connections-for-sqlite | Jordan Cook | 2021-04-21 | 2 | -41/+36 |
|\ | | | | | Use thread local connections for sqlite | ||||
| * | add sqlite no-op tests | jsemric | 2021-04-21 | 1 | -0/+15 |
| | | |||||
| * | remove locking of sqlite connection | jsemric | 2021-04-21 | 1 | -18/+10 |
| | | |||||
| * | do not lock connection on read | jsemric | 2021-04-21 | 1 | -4/+10 |
| | | |||||
| * | make bulk commit use thread-local connection | jsemric | 2021-04-21 | 1 | -26/+7 |
| | | |||||
| * | use thread local sqlite connections | jsemric | 2021-04-20 | 1 | -16/+17 |
| | | |||||
* | | Merge pull request #239 from JWCook/integration-tests | Jordan Cook | 2021-04-20 | 9 | -64/+90 |
|\ \ | |/ |/| | Run multi-threaded tests for all backends | ||||
| * | Run multi-threaded tests for all backends, and run with more threads & ↵ | Jordan Cook | 2021-04-20 | 6 | -42/+67 |
| | | | | | | | | iterations for merges to master | ||||
| * | Fix DynamoDbDict.__iter__ to return keys instead of values; update tests to ↵ | Jordan Cook | 2021-04-20 | 3 | -22/+23 |
|/ | | | | test for this | ||||
* | Merge pull request #237 from JWCook/backend-kwargs | Jordan Cook | 2021-04-19 | 14 | -109/+169 |
|\ | | | | | Allow passing any valid backend connection kwargs via BaseCache | ||||
| * | Allow passing any valid backend connection kwargs via BaseCache | Jordan Cook | 2021-04-19 | 14 | -109/+169 |
|/ | | | | | | | | * Pass `**kwargs` to backend storage classes, split out any that are valid for the backend-specific connection function/class, and pass them to the connection * Add intersphinx links to docs for dependencies * Update and format some more backend class docstrings * Remove 'Unrecognized keyword arguments' warning from `BaseStorage` * Turn `warnings.warn` about using secret keys into a `logging.warning` (due to complaints about too many messages) | ||||
* | Add option to manually cache response objects | Jordan Cook | 2021-04-19 | 4 | -2/+12 |
| | | | | Updates #98 | ||||
* | Replace deprecated pymongo Collection.count() with estimated_document_count()v0.6.3 | Jordan Cook | 2021-04-19 | 3 | -2/+3 |
| | |||||
* | Update changelog and contributors | Jordan Cook | 2021-04-19 | 3 | -8/+11 |
| | |||||
* | Merge branch 'test-updates' | Jordan Cook | 2021-04-19 | 6 | -25/+22 |
|\ | |||||
| * | Use pytest-order to order tests; remove ipdb recommendation | Jordan Cook | 2021-04-19 | 6 | -22/+9 |
| | | |||||
| * | Run DynamoDB integration tests last, since the DynamoDB container takes ↵ | Jordan Cook | 2021-04-18 | 2 | -4/+10 |
| | | | | | | | | longer to initialize | ||||
| * | Add some more info about testing | Jordan Cook | 2021-04-18 | 2 | -8/+12 |
|/ |