CosForTypecho是基于Typecho的一个支持文件附件上传、修改和删除功能的插件。(支持Typecho 1.x版本)
- 支持基本的上传、修改、删除操作;
- 支持腾讯云COS自定义域名。(COS目前仅支持通过CDN的方式开通HTTPS支持)
- 在腾讯云控制台 个人API密钥 页面里获取 APPID、SecretId、SecretKey内容;
- 插件会替换所有之前上传的文件的链接,若启用插件前存在已上传的数据,请自行将其上传至COS相同目录中以保证正常显示;同时,禁用插件也会导致链接恢复,也请自行将数据下载至相同目录中;
- 插件不会验证配置的正确性,请自行确认配置信息正确,否则不能正常使用。
- 2018-08-08: 升级COS-PHP-SDK,使用phar包
- 2018-04-05: 首次发布,支持Typecho 1.x版本
The MIT License (MIT)
Copyright (c) 2014 Hugh Jiang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.