Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable bugbear extension and fix warnings | Jordan Cook | 2023-05-08 | 1 | -4/+4 |
| | |||||
* | Share SQLite connection objects among threads and use lock for write ↵ | Jordan Cook | 2023-03-01 | 1 | -1/+1 |
| | | | | operations instead of using thread-local connections | ||||
* | Add tests for pypy3.9 | Jordan Cook | 2022-12-30 | 1 | -2/+10 |
| | |||||
* | Make use of index with SQLiteCache.filter(expired=False) | Jordan Cook | 2022-10-28 | 1 | -4/+8 |
| | |||||
* | Add SQLite method to count unexpired responses in SQL | Jordan Cook | 2022-10-28 | 1 | -0/+10 |
| | |||||
* | Omit invalid responses and set response.cache_key in SQLiteCache.sorted() | Jordan Cook | 2022-10-28 | 1 | -4/+30 |
| | |||||
* | Clean up SQLiteCache convenience methods a bit | Jordan Cook | 2022-06-11 | 1 | -4/+9 |
| | |||||
* | Add SQLiteDict.size() method to estimate the database size | Jordan Cook | 2022-04-22 | 1 | -4/+11 |
| | |||||
* | Merge *PickleDict storage classes into parent classes | Jordan Cook | 2022-04-22 | 1 | -12/+11 |
| | |||||
* | Add SQLiteDict.sorted() method with sorting and other query options | Jordan Cook | 2022-04-10 | 1 | -2/+102 |
| | |||||
* | Add indexed datetime column to SQLite backend for faster eviction | Jordan Cook | 2022-04-10 | 1 | -26/+26 |
| | |||||
* | Update tests, changelog, and contributors | Jordan Cook | 2022-04-06 | 1 | -3/+5 |
| | |||||
* | Swap out appdirs for platformdirs | Jordan Cook | 2022-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | * platformdirs is a more actively maintained fork of appdirs. * Also relax requirements a bit for attrs and urllib (minimum instead of caret constraint) Dependabot update: Bump responses from 0.16.0 to 0.19.0 Bumps [responses](https://github.com/getsentry/responses) from 0.16.0 to 0.19.0. - [Release notes](https://github.com/getsentry/responses/releases) - [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES) - [Commits](https://github.com/getsentry/responses/compare/0.16.0...0.19.0) --- updated-dependencies: - dependency-name: responses dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> | ||||
* | Add better error message if parent path exists but isn't a directory | Jordan Cook | 2021-10-10 | 1 | -1/+10 |
| | |||||
* | Add a bit of missing test coverage | Jordan Cook | 2021-09-06 | 1 | -0/+10 |
| | |||||
* | Use pathlib.Path objects for all file paths in Filesystem and SQLite backends | Jordan Cook | 2021-08-29 | 1 | -4/+4 |
| | |||||
* | Add appdirs as a dependency, and add 'use_cache_dir' option to SQLite and ↵ | Jordan Cook | 2021-08-21 | 1 | -0/+8 |
| | | | | Filesystem backends | ||||
* | Add support for SQLite in-memory databases | Jordan Cook | 2021-08-20 | 1 | -1/+16 |
| | |||||
* | Rename DbDict to SQLiteDict for consistency with other backends (with ↵ | Jordan Cook | 2021-08-19 | 1 | -7/+7 |
| | | | | aliases for backwards-compatibility) | ||||
* | SQLite clear(): first attempt DROP TABLE, then delete and re-initialize the ↵ | Jordan Cook | 2021-08-10 | 1 | -0/+21 |
| | | | | cache file if that fails | ||||
* | Update `DbDict.bulk_delete()` to support deleting more items than SQLite's ↵ | Jordan Cook | 2021-08-02 | 1 | -4/+27 |
| | | | | variable limit (999) | ||||
* | Make sure all tests with SQLite dbs clean up after themselves | Jordan Cook | 2021-04-29 | 1 | -2/+2 |
| | |||||
* | Add use_temp option to SQLite backend | Jordan Cook | 2021-04-22 | 1 | -0/+9 |
| | | | | Closes #243 | ||||
* | Combine test_cache.py with BaseCacheTest to run these tests for all backends | Jordan Cook | 2021-04-22 | 1 | -1/+2 |
| | |||||
* | Turn multi-threaded stress tests into test (sub)classes | Jordan Cook | 2021-04-22 | 1 | -4/+16 |
| | | | | | | 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 | 1 | -45/+17 |
| | |||||
* | Reorganize backend integration tests and add some more thorough tests | Jordan Cook | 2021-04-22 | 1 | -46/+46 |
| | |||||
* | add sqlite no-op tests | jsemric | 2021-04-21 | 1 | -0/+15 |
| | |||||
* | Allow passing any valid backend connection kwargs via BaseCache | Jordan Cook | 2021-04-19 | 1 | -3/+3 |
| | | | | | | | | * 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 one test case per backend storage class | Jordan Cook | 2021-04-12 | 1 | -35/+38 |
| | |||||
* | Split tests into unit and integration tests and run separately in CI; update ↵ | Jordan Cook | 2021-03-31 | 1 | -0/+92 |
Contributing Guide with more notes on testing |