Commit Graph

153 Commits

Author SHA1 Message Date
Isvvc fe24aa4340 Make WebDAVFile Hashable 2021-04-24 16:41:23 -06:00
Isaac Lyons 7f4aa0be2c
Merge pull request #33 from Isvvc/v3-documentation
v3.0 Documentation
2021-04-22 17:54:31 -06:00
Isaac Lyons bd6d0f720f
Document caching behavior
Move Images and Thumbnails sections to their own third-level sections
2021-04-22 17:46:58 -06:00
Isaac Lyons 566d3a8355
Add table of contents 2021-04-22 16:55:53 -06:00
Isaac Lyons ec62a5c040
Document upgrade process 2021-04-22 16:52:38 -06:00
Isvvc 76c6046ef6 Explain why there is no deleteCachedImage or cachedImageURL 2021-04-22 16:44:45 -06:00
Isvvc 779faa8f14 Update readme to v3.0 2021-04-22 15:49:10 -06:00
Isvvc 0ca83d5f9e Document public disk cache functions 2021-04-22 15:10:02 -06:00
Isvvc 2659302e76 Document image and thumbnail caching functions 2021-04-22 14:46:35 -06:00
Isvvc be0fddaed2 Spellcheck documentation 2021-04-21 13:49:59 -06:00
Isvvc dcf1f444f4 Document memory caching 2021-04-21 13:41:35 -06:00
Isaac Lyons afcd830fb0
Merge pull request #32 from Isvvc/cache-cleanup
Cache cleanup
2021-04-20 14:31:09 -06:00
Isvvc d005b997b5 Fix issue where all cached files would be deleted on cleanup 2021-04-19 19:32:25 -06:00
Isvvc d4d72426b5 Implement disk cache cleanup on list files 2021-04-19 19:12:43 -06:00
Isvvc 8d516426b5 Implement cleaning files cache on listing files
Remove cached subdirectories that no longer exist
2021-04-19 15:54:41 -06:00
Isaac Lyons ce121ed0ba
Merge pull request #29 from Isvvc/custom-caching-disk
Custom caching disk
2021-04-19 14:42:33 -06:00
Isvvc df49540496 Implement disk caching for thumbnails
Restore tests with removed functionality
2021-04-17 14:32:41 -06:00
Isvvc 14cf8f15c4 Implement cachedThumbnailURL function 2021-04-17 13:12:31 -06:00
Isvvc c08f7bd4a3 Reimplement deleteAllCachedData with deleting disk cache 2021-04-16 21:15:10 -06:00
Isvvc 3c3e30c60c Implement saving downloaded data to cache 2021-04-16 21:14:42 -06:00
Isaac Lyons 87b3d073ad
Merge pull request #28 from Isvvc/custom-caching-data
Custom data caching
2021-04-16 17:54:58 -06:00
Isvvc fb25d5bc29 Load data from cache in cachingDataTask 2021-04-16 17:54:07 -06:00
Isvvc 8dfa937f1a Add deleteCachedDataFromDisk function 2021-04-16 17:53:30 -06:00
Isvvc 2634005b34 Update getCachedValue to read disk cache 2021-04-16 17:40:37 -06:00
Isvvc fc6c4c901e Add functions to get cached data from disk 2021-04-16 17:38:44 -06:00
Isvvc 41314d67fc Add description and encoded description properties to UnwrappedAccount 2021-04-16 17:37:44 -06:00
Isvvc 7ac0be62db Implement getting and deleting cached thumbnails 2021-04-15 19:42:29 -06:00
Isvvc a3a59c5895 Fix issue where thumbnails were not saved to memory cache 2021-04-15 19:41:43 -06:00
Isvvc 92b2a3e473 Reimplement deleteAllCachedData for memory cache 2021-04-15 18:53:38 -06:00
Isvvc 5e38972591 Reimplement getCachedImage and its test 2021-04-15 18:48:30 -06:00
Isvvc b261025192 Update basic image downloading tests
Temporarily comment out tests using the old image fetching and caching system until they can be updated.
2021-04-15 16:21:19 -06:00
Isvvc 7118a274fd Implement thumbnail fetching and memory caching 2021-04-15 16:16:09 -06:00
Isvvc d1162ea298 Improve removeExistingCache behavior 2021-04-15 16:03:01 -06:00
Isvvc 9e40a04b2f Improve OCS error messages 2021-04-09 17:04:00 -06:00
Isaac Lyons a30a0306d8
Merge pull request #26 from Isvvc/custom-caching
Custom files caching
2021-04-09 14:45:46 -06:00
Isaac Lyons 05bb9797a6
Document files cache 2021-04-09 14:41:59 -06:00
Isvvc 41372096dd Rework ThumbnailProperties to be hashable 2021-04-09 14:25:41 -06:00
Isvvc 3f227b6316 Add ThumbnailProperties struct 2021-04-09 13:59:28 -06:00
Isvvc 12d88f1b7c Remove 3lvis/Networking and its functionality
Rename WebDAVCacheOptions ot WebDAVCachingOptions.
Refactor WebDAV functions.
Update downloadImage to use cachingDataTask.
Note that many functions that depended on Networking are now non-functional.
2021-04-09 13:46:26 -06:00
Isvvc 49c9219f6b Cache data downloaded with the download function 2021-04-08 19:27:40 -06:00
Isvvc 902d244df7 Create NSCache wrapper 2021-04-08 16:46:41 -06:00
Isaac Lyons 09636af54f
Merge branch 'main' into custom-caching 2021-04-08 14:10:55 -06:00
Isvvc 822ecf9c65 Test requestEvenIfCached 2021-04-08 14:09:38 -06:00
Isvvc 7fdb6c8c49 Only return fetched results with requestEvenIfCached if they are different than cached results 2021-04-08 14:09:21 -06:00
Isvvc c4741a2acf Test files disk cache 2021-04-08 13:54:58 -06:00
Isvvc 607e1723e6 Implement files disk cache 2021-04-08 13:54:23 -06:00
Isaac Lyons 45dc86a0d7
Document theming 2021-04-08 11:59:55 -06:00
Isaac Lyons 09004a52a0
Merge pull request #25 from Isvvc/theming
Theming
2021-04-08 11:53:57 -06:00
Isvvc f132c69963 Update allTests 2021-04-07 20:27:55 -06:00
Isvvc 883d5abf26 Make OCS theming public
Add code comments to OCS theming
2021-04-07 20:23:32 -06:00