summaryrefslogtreecommitdiff
path: root/init.php
AgeCommit message (Collapse)Author
2022-12-03Fix accidental copy+paste.wn_
2022-12-03Switch back to plugin-specific access key env vars.wn_
2022-12-03Use the AWS PHP SDK's default credential provider chain.wn_
This allows for use of any supported approach, in particular AWS IAM instance profiles, to provide credentials. If used, access and secret key environment variables will need to be changed to the expected names (i.e. 'TTRSS_CACHE_S3_ACCESS_KEY' to 'AWS_ACCESS_KEY_ID' and 'CACHE_S3_SECRET_KEY' to 'AWS_SECRET_ACCESS_KEY').
2022-12-02Prevent double slashes in full path.wn_
During housekeeping 'Cache_S3' gets initialized with an empty 'dir' value. This resulted in consecutive forward slashes in 'Cache_S3::get_full_path()', which prevented detection of directories and resulted in an empty list of rules. 'putBucketLifecycleConfiguration' with an empty list of rules causes a malformed XML error with AWS S3.
2022-11-24force basename() on requested filesAndrew Dolgov
2022-11-24implement remove() and support for .no-auto-expiryAndrew Dolgov
2022-11-24implement lifecycle policy handling, code cleanupAndrew Dolgov
2022-11-24fix put method not returning proper resultsAndrew Dolgov
2022-11-24report aws exceptionsAndrew Dolgov
2022-11-24remove touch()Andrew Dolgov
2022-11-23add get_mtime()Andrew Dolgov
2022-11-23initialAndrew Dolgov