├── .gitignore ├── Ajax.php ├── CHANGELOG.md ├── LICENSE ├── README.md ├── admin ├── ajax.php ├── css │ ├── index.css │ └── public.css ├── home.html ├── images │ ├── Alipay.png │ ├── Amoli.png │ ├── WeChat.png │ ├── close.png │ └── login_bg.jpg ├── index.html ├── js │ ├── bodyTab.js │ ├── cache.js │ ├── home.js │ ├── index.js │ ├── main.js │ └── navs.js ├── layui │ ├── css │ │ ├── layui.css │ │ ├── layui.mobile.css │ │ └── modules │ │ │ ├── code.css │ │ │ ├── laydate │ │ │ └── default │ │ │ │ └── laydate.css │ │ │ └── layer │ │ │ └── default │ │ │ ├── icon-ext.png │ │ │ ├── icon.png │ │ │ ├── layer.css │ │ │ ├── loading-0.gif │ │ │ ├── loading-1.gif │ │ │ └── loading-2.gif │ ├── font │ │ ├── iconfont.eot │ │ ├── iconfont.svg │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ ├── images │ │ └── face │ │ │ ├── 0.gif │ │ │ ├── 1.gif │ │ │ ├── 10.gif │ │ │ ├── 11.gif │ │ │ ├── 12.gif │ │ │ ├── 13.gif │ │ │ ├── 14.gif │ │ │ ├── 15.gif │ │ │ ├── 16.gif │ │ │ ├── 17.gif │ │ │ ├── 18.gif │ │ │ ├── 19.gif │ │ │ ├── 2.gif │ │ │ ├── 20.gif │ │ │ ├── 21.gif │ │ │ ├── 22.gif │ │ │ ├── 23.gif │ │ │ ├── 24.gif │ │ │ ├── 25.gif │ │ │ ├── 26.gif │ │ │ ├── 27.gif │ │ │ ├── 28.gif │ │ │ ├── 29.gif │ │ │ ├── 3.gif │ │ │ ├── 30.gif │ │ │ ├── 31.gif │ │ │ ├── 32.gif │ │ │ ├── 33.gif │ │ │ ├── 34.gif │ │ │ ├── 35.gif │ │ │ ├── 36.gif │ │ │ ├── 37.gif │ │ │ ├── 38.gif │ │ │ ├── 39.gif │ │ │ ├── 4.gif │ │ │ ├── 40.gif │ │ │ ├── 41.gif │ │ │ ├── 42.gif │ │ │ ├── 43.gif │ │ │ ├── 44.gif │ │ │ ├── 45.gif │ │ │ ├── 46.gif │ │ │ ├── 47.gif │ │ │ ├── 48.gif │ │ │ ├── 49.gif │ │ │ ├── 5.gif │ │ │ ├── 50.gif │ │ │ ├── 51.gif │ │ │ ├── 52.gif │ │ │ ├── 53.gif │ │ │ ├── 54.gif │ │ │ ├── 55.gif │ │ │ ├── 56.gif │ │ │ ├── 57.gif │ │ │ ├── 58.gif │ │ │ ├── 59.gif │ │ │ ├── 6.gif │ │ │ ├── 60.gif │ │ │ ├── 61.gif │ │ │ ├── 62.gif │ │ │ ├── 63.gif │ │ │ ├── 64.gif │ │ │ ├── 65.gif │ │ │ ├── 66.gif │ │ │ ├── 67.gif │ │ │ ├── 68.gif │ │ │ ├── 69.gif │ │ │ ├── 7.gif │ │ │ ├── 70.gif │ │ │ ├── 71.gif │ │ │ ├── 8.gif │ │ │ └── 9.gif │ ├── lay │ │ └── modules │ │ │ ├── carousel.js │ │ │ ├── code.js │ │ │ ├── colorpicker.js │ │ │ ├── element.js │ │ │ ├── flow.js │ │ │ ├── form.js │ │ │ ├── jquery.js │ │ │ ├── laydate.js │ │ │ ├── layedit.js │ │ │ ├── layer.js │ │ │ ├── laypage.js │ │ │ ├── laytpl.js │ │ │ ├── mobile.js │ │ │ ├── rate.js │ │ │ ├── slider.js │ │ │ ├── table.js │ │ │ ├── tree.js │ │ │ ├── upload.js │ │ │ └── util.js │ ├── layui.all.js │ └── layui.js └── page │ ├── file │ ├── AdminFile.html │ ├── AdminFile.js │ └── upload │ │ ├── Upload.js │ │ └── plupload │ │ ├── Moxie.swf │ │ ├── Moxie.xap │ │ ├── moxie.js │ │ ├── moxie.min.js │ │ ├── plupload.dev.js │ │ ├── plupload.full.min.js │ │ └── plupload.min.js │ ├── main.html │ ├── systemSetting │ ├── basicParameter.html │ └── basicParameter.js │ └── user │ ├── changePwd.html │ └── changePwd.js ├── app ├── class │ ├── Amoli.class.php │ ├── Geetestlib.class.php │ └── index.html ├── index.html └── sdk │ ├── cos │ ├── autoload.php │ ├── src │ │ └── Qcloud │ │ │ └── Cos │ │ │ ├── BucketStyleListener.php │ │ │ ├── Client.php │ │ │ ├── Command.php │ │ │ ├── Copy.php │ │ │ ├── Exception │ │ │ ├── BucketAlreadyExistsException.php │ │ │ ├── BucketNotEmptyException.php │ │ │ ├── CosException.php │ │ │ ├── CurlException.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── NoSuchBucketException.php │ │ │ ├── NoSuchKeyException.php │ │ │ ├── NoSuchUploadException.php │ │ │ └── ServiceResponseException.php │ │ │ ├── ExceptionListener.php │ │ │ ├── ExceptionParser.php │ │ │ ├── Md5Listener.php │ │ │ ├── MultipartUpload.php │ │ │ ├── Service.php │ │ │ ├── Signature.php │ │ │ ├── SignatureListener.php │ │ │ ├── Tests │ │ │ ├── Test.php │ │ │ └── TestHelper.php │ │ │ ├── TokenListener.php │ │ │ └── UploadBodyListener.php │ └── vendor │ │ ├── composer │ │ ├── ClassLoader.php │ │ ├── autoload_classmap.php │ │ ├── autoload_namespaces.php │ │ ├── autoload_psr4.php │ │ ├── autoload_real.php │ │ └── autoload_static.php │ │ ├── guzzle │ │ └── guzzle │ │ │ ├── phing │ │ │ └── tasks │ │ │ │ ├── ComposerLintTask.php │ │ │ │ ├── GuzzlePearPharPackageTask.php │ │ │ │ └── GuzzleSubSplitTask.php │ │ │ ├── src │ │ │ └── Guzzle │ │ │ │ ├── Batch │ │ │ │ ├── AbstractBatchDecorator.php │ │ │ │ ├── Batch.php │ │ │ │ ├── BatchBuilder.php │ │ │ │ ├── BatchClosureDivisor.php │ │ │ │ ├── BatchClosureTransfer.php │ │ │ │ ├── BatchCommandTransfer.php │ │ │ │ ├── BatchDivisorInterface.php │ │ │ │ ├── BatchInterface.php │ │ │ │ ├── BatchRequestTransfer.php │ │ │ │ ├── BatchSizeDivisor.php │ │ │ │ ├── BatchTransferInterface.php │ │ │ │ ├── Exception │ │ │ │ │ └── BatchTransferException.php │ │ │ │ ├── ExceptionBufferingBatch.php │ │ │ │ ├── FlushingBatch.php │ │ │ │ ├── HistoryBatch.php │ │ │ │ └── NotifyingBatch.php │ │ │ │ ├── Cache │ │ │ │ ├── AbstractCacheAdapter.php │ │ │ │ ├── CacheAdapterFactory.php │ │ │ │ ├── CacheAdapterInterface.php │ │ │ │ ├── ClosureCacheAdapter.php │ │ │ │ ├── DoctrineCacheAdapter.php │ │ │ │ ├── NullCacheAdapter.php │ │ │ │ ├── Zf1CacheAdapter.php │ │ │ │ └── Zf2CacheAdapter.php │ │ │ │ ├── Common │ │ │ │ ├── AbstractHasDispatcher.php │ │ │ │ ├── Collection.php │ │ │ │ ├── Event.php │ │ │ │ ├── Exception │ │ │ │ │ ├── BadMethodCallException.php │ │ │ │ │ ├── ExceptionCollection.php │ │ │ │ │ ├── GuzzleException.php │ │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ │ ├── RuntimeException.php │ │ │ │ │ └── UnexpectedValueException.php │ │ │ │ ├── FromConfigInterface.php │ │ │ │ ├── HasDispatcherInterface.php │ │ │ │ ├── ToArrayInterface.php │ │ │ │ ├── Version.php │ │ │ │ └── composer.json │ │ │ │ ├── Http │ │ │ │ ├── AbstractEntityBodyDecorator.php │ │ │ │ ├── CachingEntityBody.php │ │ │ │ ├── Client.php │ │ │ │ ├── ClientInterface.php │ │ │ │ ├── Curl │ │ │ │ │ ├── CurlHandle.php │ │ │ │ │ ├── CurlMulti.php │ │ │ │ │ ├── CurlMultiInterface.php │ │ │ │ │ ├── CurlMultiProxy.php │ │ │ │ │ ├── CurlVersion.php │ │ │ │ │ └── RequestMediator.php │ │ │ │ ├── EntityBody.php │ │ │ │ ├── EntityBodyInterface.php │ │ │ │ ├── Exception │ │ │ │ │ ├── BadResponseException.php │ │ │ │ │ ├── ClientErrorResponseException.php │ │ │ │ │ ├── CouldNotRewindStreamException.php │ │ │ │ │ ├── CurlException.php │ │ │ │ │ ├── HttpException.php │ │ │ │ │ ├── MultiTransferException.php │ │ │ │ │ ├── RequestException.php │ │ │ │ │ ├── ServerErrorResponseException.php │ │ │ │ │ └── TooManyRedirectsException.php │ │ │ │ ├── IoEmittingEntityBody.php │ │ │ │ ├── Message │ │ │ │ │ ├── AbstractMessage.php │ │ │ │ │ ├── EntityEnclosingRequest.php │ │ │ │ │ ├── EntityEnclosingRequestInterface.php │ │ │ │ │ ├── Header.php │ │ │ │ │ ├── Header │ │ │ │ │ │ ├── CacheControl.php │ │ │ │ │ │ ├── HeaderCollection.php │ │ │ │ │ │ ├── HeaderFactory.php │ │ │ │ │ │ ├── HeaderFactoryInterface.php │ │ │ │ │ │ ├── HeaderInterface.php │ │ │ │ │ │ └── Link.php │ │ │ │ │ ├── MessageInterface.php │ │ │ │ │ ├── PostFile.php │ │ │ │ │ ├── PostFileInterface.php │ │ │ │ │ ├── Request.php │ │ │ │ │ ├── RequestFactory.php │ │ │ │ │ ├── RequestFactoryInterface.php │ │ │ │ │ ├── RequestInterface.php │ │ │ │ │ └── Response.php │ │ │ │ ├── Mimetypes.php │ │ │ │ ├── QueryAggregator │ │ │ │ │ ├── CommaAggregator.php │ │ │ │ │ ├── DuplicateAggregator.php │ │ │ │ │ ├── PhpAggregator.php │ │ │ │ │ └── QueryAggregatorInterface.php │ │ │ │ ├── QueryString.php │ │ │ │ ├── ReadLimitEntityBody.php │ │ │ │ ├── RedirectPlugin.php │ │ │ │ ├── Resources │ │ │ │ │ └── cacert.pem │ │ │ │ ├── StaticClient.php │ │ │ │ ├── Url.php │ │ │ │ └── composer.json │ │ │ │ ├── Inflection │ │ │ │ ├── Inflector.php │ │ │ │ ├── InflectorInterface.php │ │ │ │ ├── MemoizingInflector.php │ │ │ │ ├── PreComputedInflector.php │ │ │ │ └── composer.json │ │ │ │ ├── Iterator │ │ │ │ ├── AppendIterator.php │ │ │ │ ├── ChunkedIterator.php │ │ │ │ ├── FilterIterator.php │ │ │ │ ├── MapIterator.php │ │ │ │ ├── MethodProxyIterator.php │ │ │ │ ├── README.md │ │ │ │ └── composer.json │ │ │ │ ├── Log │ │ │ │ ├── AbstractLogAdapter.php │ │ │ │ ├── ArrayLogAdapter.php │ │ │ │ ├── ClosureLogAdapter.php │ │ │ │ ├── LogAdapterInterface.php │ │ │ │ ├── MessageFormatter.php │ │ │ │ ├── MonologLogAdapter.php │ │ │ │ ├── PsrLogAdapter.php │ │ │ │ ├── Zf1LogAdapter.php │ │ │ │ ├── Zf2LogAdapter.php │ │ │ │ └── composer.json │ │ │ │ ├── Parser │ │ │ │ ├── Cookie │ │ │ │ │ ├── CookieParser.php │ │ │ │ │ └── CookieParserInterface.php │ │ │ │ ├── Message │ │ │ │ │ ├── AbstractMessageParser.php │ │ │ │ │ ├── MessageParser.php │ │ │ │ │ ├── MessageParserInterface.php │ │ │ │ │ └── PeclHttpMessageParser.php │ │ │ │ ├── ParserRegistry.php │ │ │ │ ├── UriTemplate │ │ │ │ │ ├── PeclUriTemplate.php │ │ │ │ │ ├── UriTemplate.php │ │ │ │ │ └── UriTemplateInterface.php │ │ │ │ ├── Url │ │ │ │ │ ├── UrlParser.php │ │ │ │ │ └── UrlParserInterface.php │ │ │ │ └── composer.json │ │ │ │ ├── Plugin │ │ │ │ ├── Async │ │ │ │ │ ├── AsyncPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Backoff │ │ │ │ │ ├── AbstractBackoffStrategy.php │ │ │ │ │ ├── AbstractErrorCodeBackoffStrategy.php │ │ │ │ │ ├── BackoffLogger.php │ │ │ │ │ ├── BackoffPlugin.php │ │ │ │ │ ├── BackoffStrategyInterface.php │ │ │ │ │ ├── CallbackBackoffStrategy.php │ │ │ │ │ ├── ConstantBackoffStrategy.php │ │ │ │ │ ├── CurlBackoffStrategy.php │ │ │ │ │ ├── ExponentialBackoffStrategy.php │ │ │ │ │ ├── HttpBackoffStrategy.php │ │ │ │ │ ├── LinearBackoffStrategy.php │ │ │ │ │ ├── ReasonPhraseBackoffStrategy.php │ │ │ │ │ ├── TruncatedBackoffStrategy.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Cache │ │ │ │ │ ├── CacheKeyProviderInterface.php │ │ │ │ │ ├── CachePlugin.php │ │ │ │ │ ├── CacheStorageInterface.php │ │ │ │ │ ├── CallbackCanCacheStrategy.php │ │ │ │ │ ├── CanCacheStrategyInterface.php │ │ │ │ │ ├── DefaultCacheKeyProvider.php │ │ │ │ │ ├── DefaultCacheStorage.php │ │ │ │ │ ├── DefaultCanCacheStrategy.php │ │ │ │ │ ├── DefaultRevalidation.php │ │ │ │ │ ├── DenyRevalidation.php │ │ │ │ │ ├── RevalidationInterface.php │ │ │ │ │ ├── SkipRevalidation.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Cookie │ │ │ │ │ ├── Cookie.php │ │ │ │ │ ├── CookieJar │ │ │ │ │ │ ├── ArrayCookieJar.php │ │ │ │ │ │ ├── CookieJarInterface.php │ │ │ │ │ │ └── FileCookieJar.php │ │ │ │ │ ├── CookiePlugin.php │ │ │ │ │ ├── Exception │ │ │ │ │ │ └── InvalidCookieException.php │ │ │ │ │ └── composer.json │ │ │ │ ├── CurlAuth │ │ │ │ │ ├── CurlAuthPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── ErrorResponse │ │ │ │ │ ├── ErrorResponseExceptionInterface.php │ │ │ │ │ ├── ErrorResponsePlugin.php │ │ │ │ │ ├── Exception │ │ │ │ │ │ └── ErrorResponseException.php │ │ │ │ │ └── composer.json │ │ │ │ ├── History │ │ │ │ │ ├── HistoryPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Log │ │ │ │ │ ├── LogPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Md5 │ │ │ │ │ ├── CommandContentMd5Plugin.php │ │ │ │ │ ├── Md5ValidatorPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Mock │ │ │ │ │ ├── MockPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ ├── Oauth │ │ │ │ │ ├── OauthPlugin.php │ │ │ │ │ └── composer.json │ │ │ │ └── composer.json │ │ │ │ ├── Service │ │ │ │ ├── AbstractConfigLoader.php │ │ │ │ ├── Builder │ │ │ │ │ ├── ServiceBuilder.php │ │ │ │ │ ├── ServiceBuilderInterface.php │ │ │ │ │ └── ServiceBuilderLoader.php │ │ │ │ ├── CachingConfigLoader.php │ │ │ │ ├── Client.php │ │ │ │ ├── ClientInterface.php │ │ │ │ ├── Command │ │ │ │ │ ├── AbstractCommand.php │ │ │ │ │ ├── ClosureCommand.php │ │ │ │ │ ├── CommandInterface.php │ │ │ │ │ ├── CreateResponseClassEvent.php │ │ │ │ │ ├── DefaultRequestSerializer.php │ │ │ │ │ ├── DefaultResponseParser.php │ │ │ │ │ ├── Factory │ │ │ │ │ │ ├── AliasFactory.php │ │ │ │ │ │ ├── CompositeFactory.php │ │ │ │ │ │ ├── ConcreteClassFactory.php │ │ │ │ │ │ ├── FactoryInterface.php │ │ │ │ │ │ ├── MapFactory.php │ │ │ │ │ │ └── ServiceDescriptionFactory.php │ │ │ │ │ ├── LocationVisitor │ │ │ │ │ │ ├── Request │ │ │ │ │ │ │ ├── AbstractRequestVisitor.php │ │ │ │ │ │ │ ├── BodyVisitor.php │ │ │ │ │ │ │ ├── HeaderVisitor.php │ │ │ │ │ │ │ ├── JsonVisitor.php │ │ │ │ │ │ │ ├── PostFieldVisitor.php │ │ │ │ │ │ │ ├── PostFileVisitor.php │ │ │ │ │ │ │ ├── QueryVisitor.php │ │ │ │ │ │ │ ├── RequestVisitorInterface.php │ │ │ │ │ │ │ ├── ResponseBodyVisitor.php │ │ │ │ │ │ │ └── XmlVisitor.php │ │ │ │ │ │ ├── Response │ │ │ │ │ │ │ ├── AbstractResponseVisitor.php │ │ │ │ │ │ │ ├── BodyVisitor.php │ │ │ │ │ │ │ ├── HeaderVisitor.php │ │ │ │ │ │ │ ├── JsonVisitor.php │ │ │ │ │ │ │ ├── ReasonPhraseVisitor.php │ │ │ │ │ │ │ ├── ResponseVisitorInterface.php │ │ │ │ │ │ │ ├── StatusCodeVisitor.php │ │ │ │ │ │ │ └── XmlVisitor.php │ │ │ │ │ │ └── VisitorFlyweight.php │ │ │ │ │ ├── OperationCommand.php │ │ │ │ │ ├── OperationResponseParser.php │ │ │ │ │ ├── RequestSerializerInterface.php │ │ │ │ │ ├── ResponseClassInterface.php │ │ │ │ │ └── ResponseParserInterface.php │ │ │ │ ├── ConfigLoaderInterface.php │ │ │ │ ├── Description │ │ │ │ │ ├── Operation.php │ │ │ │ │ ├── OperationInterface.php │ │ │ │ │ ├── Parameter.php │ │ │ │ │ ├── SchemaFormatter.php │ │ │ │ │ ├── SchemaValidator.php │ │ │ │ │ ├── ServiceDescription.php │ │ │ │ │ ├── ServiceDescriptionInterface.php │ │ │ │ │ ├── ServiceDescriptionLoader.php │ │ │ │ │ └── ValidatorInterface.php │ │ │ │ ├── Exception │ │ │ │ │ ├── CommandException.php │ │ │ │ │ ├── CommandTransferException.php │ │ │ │ │ ├── DescriptionBuilderException.php │ │ │ │ │ ├── InconsistentClientTransferException.php │ │ │ │ │ ├── ResponseClassException.php │ │ │ │ │ ├── ServiceBuilderException.php │ │ │ │ │ ├── ServiceNotFoundException.php │ │ │ │ │ └── ValidationException.php │ │ │ │ ├── Resource │ │ │ │ │ ├── AbstractResourceIteratorFactory.php │ │ │ │ │ ├── CompositeResourceIteratorFactory.php │ │ │ │ │ ├── MapResourceIteratorFactory.php │ │ │ │ │ ├── Model.php │ │ │ │ │ ├── ResourceIterator.php │ │ │ │ │ ├── ResourceIteratorApplyBatched.php │ │ │ │ │ ├── ResourceIteratorClassFactory.php │ │ │ │ │ ├── ResourceIteratorFactoryInterface.php │ │ │ │ │ └── ResourceIteratorInterface.php │ │ │ │ └── composer.json │ │ │ │ └── Stream │ │ │ │ ├── PhpStreamRequestFactory.php │ │ │ │ ├── Stream.php │ │ │ │ ├── StreamInterface.php │ │ │ │ ├── StreamRequestFactoryInterface.php │ │ │ │ └── composer.json │ │ │ └── tests │ │ │ ├── Guzzle │ │ │ └── Tests │ │ │ │ ├── Batch │ │ │ │ ├── AbstractBatchDecoratorTest.php │ │ │ │ ├── BatchBuilderTest.php │ │ │ │ ├── BatchClosureDivisorTest.php │ │ │ │ ├── BatchClosureTransferTest.php │ │ │ │ ├── BatchCommandTransferTest.php │ │ │ │ ├── BatchRequestTransferTest.php │ │ │ │ ├── BatchSizeDivisorTest.php │ │ │ │ ├── BatchTest.php │ │ │ │ ├── ExceptionBufferingBatchTest.php │ │ │ │ ├── FlushingBatchTest.php │ │ │ │ ├── HistoryBatchTest.php │ │ │ │ └── NotifyingBatchTest.php │ │ │ │ ├── Cache │ │ │ │ ├── CacheAdapterFactoryTest.php │ │ │ │ ├── CacheAdapterTest.php │ │ │ │ ├── ClosureCacheAdapterTest.php │ │ │ │ ├── NullCacheAdapterTest.php │ │ │ │ └── Zf2CacheAdapterTest.php │ │ │ │ ├── Common │ │ │ │ ├── AbstractHasDispatcherTest.php │ │ │ │ ├── CollectionTest.php │ │ │ │ ├── EventTest.php │ │ │ │ ├── Exception │ │ │ │ │ ├── BatchTransferExceptionTest.php │ │ │ │ │ └── ExceptionCollectionTest.php │ │ │ │ └── VersionTest.php │ │ │ │ ├── GuzzleTestCase.php │ │ │ │ ├── Http │ │ │ │ ├── AbstractEntityBodyDecoratorTest.php │ │ │ │ ├── CachingEntityBodyTest.php │ │ │ │ ├── ClientTest.php │ │ │ │ ├── Curl │ │ │ │ │ ├── CurlHandleTest.php │ │ │ │ │ ├── CurlMultiProxyTest.php │ │ │ │ │ ├── CurlMultiTest.php │ │ │ │ │ ├── CurlVersionTest.php │ │ │ │ │ └── RequestMediatorTest.php │ │ │ │ ├── EntityBodyTest.php │ │ │ │ ├── Exception │ │ │ │ │ ├── CurlExceptionTest.php │ │ │ │ │ ├── ExceptionTest.php │ │ │ │ │ └── MultiTransferExceptionTest.php │ │ │ │ ├── IoEmittingEntityBodyTest.php │ │ │ │ ├── Message │ │ │ │ │ ├── AbstractMessageTest.php │ │ │ │ │ ├── EntityEnclosingRequestTest.php │ │ │ │ │ ├── Header │ │ │ │ │ │ ├── HeaderFactoryTest.php │ │ │ │ │ │ └── LinkTest.php │ │ │ │ │ ├── HeaderComparison.php │ │ │ │ │ ├── HeaderComparisonTest.php │ │ │ │ │ ├── HeaderTest.php │ │ │ │ │ ├── PostFileTest.php │ │ │ │ │ ├── RequestFactoryTest.php │ │ │ │ │ ├── RequestTest.php │ │ │ │ │ └── ResponseTest.php │ │ │ │ ├── MimetypesTest.php │ │ │ │ ├── QueryAggregator │ │ │ │ │ ├── CommaAggregatorTest.php │ │ │ │ │ ├── DuplicateAggregatorTest.php │ │ │ │ │ └── PhpAggregatorTest.php │ │ │ │ ├── QueryStringTest.php │ │ │ │ ├── ReadLimitEntityBodyTest.php │ │ │ │ ├── RedirectPluginTest.php │ │ │ │ ├── Server.php │ │ │ │ ├── StaticClientTest.php │ │ │ │ ├── UrlTest.php │ │ │ │ └── server.js │ │ │ │ ├── Inflection │ │ │ │ ├── InflectorTest.php │ │ │ │ ├── MemoizingInflectorTest.php │ │ │ │ └── PreComputedInflectorTest.php │ │ │ │ ├── Iterator │ │ │ │ ├── AppendIteratorTest.php │ │ │ │ ├── ChunkedIteratorTest.php │ │ │ │ ├── FilterIteratorTest.php │ │ │ │ ├── MapIteratorTest.php │ │ │ │ └── MethodProxyIteratorTest.php │ │ │ │ ├── Log │ │ │ │ ├── ArrayLogAdapterTest.php │ │ │ │ ├── ClosureLogAdapterTest.php │ │ │ │ ├── MessageFormatterTest.php │ │ │ │ ├── PsrLogAdapterTest.php │ │ │ │ └── Zf2LogAdapterTest.php │ │ │ │ ├── Mock │ │ │ │ ├── CustomResponseModel.php │ │ │ │ ├── ErrorResponseMock.php │ │ │ │ ├── ExceptionMock.php │ │ │ │ ├── MockMulti.php │ │ │ │ ├── MockObserver.php │ │ │ │ └── MockSubject.php │ │ │ │ ├── Parser │ │ │ │ ├── Cookie │ │ │ │ │ ├── CookieParserProvider.php │ │ │ │ │ └── CookieParserTest.php │ │ │ │ ├── Message │ │ │ │ │ ├── MessageParserProvider.php │ │ │ │ │ ├── MessageParserTest.php │ │ │ │ │ └── PeclHttpMessageParserTest.php │ │ │ │ ├── ParserRegistryTest.php │ │ │ │ └── UriTemplate │ │ │ │ │ ├── AbstractUriTemplateTest.php │ │ │ │ │ ├── PeclUriTemplateTest.php │ │ │ │ │ └── UriTemplateTest.php │ │ │ │ ├── Plugin │ │ │ │ ├── Async │ │ │ │ │ └── AsyncPluginTest.php │ │ │ │ ├── Backoff │ │ │ │ │ ├── AbstractBackoffStrategyTest.php │ │ │ │ │ ├── BackoffLoggerTest.php │ │ │ │ │ ├── BackoffPluginTest.php │ │ │ │ │ ├── CallbackBackoffStrategyTest.php │ │ │ │ │ ├── ConstantBackoffStrategyTest.php │ │ │ │ │ ├── CurlBackoffStrategyTest.php │ │ │ │ │ ├── ExponentialBackoffStrategyTest.php │ │ │ │ │ ├── HttpBackoffStrategyTest.php │ │ │ │ │ ├── LinearBackoffStrategyTest.php │ │ │ │ │ ├── ReasonPhraseBackoffStrategyTest.php │ │ │ │ │ └── TruncatedBackoffStrategyTest.php │ │ │ │ ├── Cache │ │ │ │ │ ├── CachePluginTest.php │ │ │ │ │ ├── CallbackCanCacheStrategyTest.php │ │ │ │ │ ├── DefaultCacheStorageTest.php │ │ │ │ │ ├── DefaultCanCacheStrategyTest.php │ │ │ │ │ ├── DefaultRevalidationTest.php │ │ │ │ │ ├── DenyRevalidationTest.php │ │ │ │ │ └── SkipRevalidationTest.php │ │ │ │ ├── Cookie │ │ │ │ │ ├── CookieJar │ │ │ │ │ │ ├── ArrayCookieJarTest.php │ │ │ │ │ │ └── FileCookieJarTest.php │ │ │ │ │ ├── CookiePluginTest.php │ │ │ │ │ └── CookieTest.php │ │ │ │ ├── CurlAuth │ │ │ │ │ └── CurlAuthPluginTest.php │ │ │ │ ├── ErrorResponse │ │ │ │ │ └── ErrorResponsePluginTest.php │ │ │ │ ├── History │ │ │ │ │ └── HistoryPluginTest.php │ │ │ │ ├── Log │ │ │ │ │ └── LogPluginTest.php │ │ │ │ ├── Md5 │ │ │ │ │ ├── CommandContentMd5PluginTest.php │ │ │ │ │ └── Md5ValidatorPluginTest.php │ │ │ │ ├── Mock │ │ │ │ │ └── MockPluginTest.php │ │ │ │ └── Oauth │ │ │ │ │ └── OauthPluginTest.php │ │ │ │ ├── Service │ │ │ │ ├── AbstractConfigLoaderTest.php │ │ │ │ ├── Builder │ │ │ │ │ ├── ServiceBuilderLoaderTest.php │ │ │ │ │ └── ServiceBuilderTest.php │ │ │ │ ├── CachingConfigLoaderTest.php │ │ │ │ ├── ClientTest.php │ │ │ │ ├── Command │ │ │ │ │ ├── AbstractCommandTest.php │ │ │ │ │ ├── ClosureCommandTest.php │ │ │ │ │ ├── CommandTest.php │ │ │ │ │ ├── DefaultRequestSerializerTest.php │ │ │ │ │ ├── DefaultResponseParserTest.php │ │ │ │ │ ├── Factory │ │ │ │ │ │ ├── AliasFactoryTest.php │ │ │ │ │ │ ├── CompositeFactoryTest.php │ │ │ │ │ │ ├── ConcreteClassFactoryTest.php │ │ │ │ │ │ ├── MapFactoryTest.php │ │ │ │ │ │ └── ServiceDescriptionFactoryTest.php │ │ │ │ │ ├── LocationVisitor │ │ │ │ │ │ ├── Request │ │ │ │ │ │ │ ├── AbstractVisitorTestCase.php │ │ │ │ │ │ │ ├── BodyVisitorTest.php │ │ │ │ │ │ │ ├── HeaderVisitorTest.php │ │ │ │ │ │ │ ├── JsonVisitorTest.php │ │ │ │ │ │ │ ├── PostFieldVisitorTest.php │ │ │ │ │ │ │ ├── PostFileVisitorTest.php │ │ │ │ │ │ │ ├── QueryVisitorTest.php │ │ │ │ │ │ │ ├── ResponseBodyVisitorTest.php │ │ │ │ │ │ │ └── XmlVisitorTest.php │ │ │ │ │ │ ├── Response │ │ │ │ │ │ │ ├── AbstractResponseVisitorTest.php │ │ │ │ │ │ │ ├── BodyVisitorTest.php │ │ │ │ │ │ │ ├── HeaderVisitorTest.php │ │ │ │ │ │ │ ├── JsonVisitorTest.php │ │ │ │ │ │ │ ├── ReasonPhraseVisitorTest.php │ │ │ │ │ │ │ ├── StatusCodeVisitorTest.php │ │ │ │ │ │ │ └── XmlVisitorTest.php │ │ │ │ │ │ └── VisitorFlyweightTest.php │ │ │ │ │ ├── OperationCommandTest.php │ │ │ │ │ └── OperationResponseParserTest.php │ │ │ │ ├── Description │ │ │ │ │ ├── OperationTest.php │ │ │ │ │ ├── ParameterTest.php │ │ │ │ │ ├── SchemaFormatterTest.php │ │ │ │ │ ├── SchemaValidatorTest.php │ │ │ │ │ ├── ServiceDescriptionLoaderTest.php │ │ │ │ │ └── ServiceDescriptionTest.php │ │ │ │ ├── Exception │ │ │ │ │ ├── CommandTransferExceptionTest.php │ │ │ │ │ ├── InconsistentClientTransferExceptionTest.php │ │ │ │ │ └── ValidationExceptionTest.php │ │ │ │ ├── Mock │ │ │ │ │ ├── Command │ │ │ │ │ │ ├── IterableCommand.php │ │ │ │ │ │ ├── MockCommand.php │ │ │ │ │ │ ├── OtherCommand.php │ │ │ │ │ │ └── Sub │ │ │ │ │ │ │ └── Sub.php │ │ │ │ │ ├── MockClient.php │ │ │ │ │ └── Model │ │ │ │ │ │ └── MockCommandIterator.php │ │ │ │ └── Resource │ │ │ │ │ ├── CompositeResourceIteratorFactoryTest.php │ │ │ │ │ ├── MapResourceIteratorFactoryTest.php │ │ │ │ │ ├── ModelTest.php │ │ │ │ │ ├── ResourceIteratorClassFactoryTest.php │ │ │ │ │ └── ResourceIteratorTest.php │ │ │ │ ├── Stream │ │ │ │ ├── PhpStreamRequestFactoryTest.php │ │ │ │ └── StreamTest.php │ │ │ │ └── TestData │ │ │ │ ├── FileBody.txt │ │ │ │ ├── description │ │ │ │ ├── bar.json │ │ │ │ ├── baz.json │ │ │ │ ├── foo.json │ │ │ │ └── recursive.json │ │ │ │ ├── mock_response │ │ │ │ ├── services │ │ │ │ ├── json1.json │ │ │ │ ├── json2.json │ │ │ │ └── services.json │ │ │ │ ├── test_service.json │ │ │ │ ├── test_service2.json │ │ │ │ └── test_service_3.json │ │ │ └── bootstrap.php │ │ └── symfony │ │ └── event-dispatcher │ │ ├── ContainerAwareEventDispatcher.php │ │ ├── Debug │ │ ├── TraceableEventDispatcher.php │ │ ├── TraceableEventDispatcherInterface.php │ │ └── WrappedListener.php │ │ ├── DependencyInjection │ │ └── RegisterListenersPass.php │ │ ├── Event.php │ │ ├── EventDispatcher.php │ │ ├── EventDispatcherInterface.php │ │ ├── EventSubscriberInterface.php │ │ ├── GenericEvent.php │ │ ├── ImmutableEventDispatcher.php │ │ └── Tests │ │ ├── AbstractEventDispatcherTest.php │ │ ├── ContainerAwareEventDispatcherTest.php │ │ ├── Debug │ │ └── TraceableEventDispatcherTest.php │ │ ├── DependencyInjection │ │ └── RegisterListenersPassTest.php │ │ ├── EventDispatcherTest.php │ │ ├── EventTest.php │ │ ├── GenericEventTest.php │ │ └── ImmutableEventDispatcherTest.php │ ├── index.html │ └── oss │ ├── autoload.php │ └── src │ └── OSS │ ├── Core │ ├── MimeTypes.php │ ├── OssException.php │ └── OssUtil.php │ ├── Http │ ├── RequestCore.php │ ├── RequestCore_Exception.php │ └── ResponseCore.php │ ├── Model │ ├── BucketInfo.php │ ├── BucketListInfo.php │ ├── CnameConfig.php │ ├── CorsConfig.php │ ├── CorsRule.php │ ├── GetLiveChannelHistory.php │ ├── GetLiveChannelInfo.php │ ├── GetLiveChannelStatus.php │ ├── LifecycleAction.php │ ├── LifecycleConfig.php │ ├── LifecycleRule.php │ ├── ListMultipartUploadInfo.php │ ├── ListPartsInfo.php │ ├── LiveChannelConfig.php │ ├── LiveChannelHistory.php │ ├── LiveChannelInfo.php │ ├── LiveChannelListInfo.php │ ├── LoggingConfig.php │ ├── ObjectInfo.php │ ├── ObjectListInfo.php │ ├── PartInfo.php │ ├── PrefixInfo.php │ ├── RefererConfig.php │ ├── StorageCapacityConfig.php │ ├── UploadInfo.php │ ├── WebsiteConfig.php │ └── XmlConfig.php │ ├── OssClient.php │ └── Result │ ├── AclResult.php │ ├── AppendResult.php │ ├── BodyResult.php │ ├── CallbackResult.php │ ├── CopyObjectResult.php │ ├── DeleteObjectsResult.php │ ├── ExistResult.php │ ├── GetCnameResult.php │ ├── GetCorsResult.php │ ├── GetLifecycleResult.php │ ├── GetLiveChannelHistoryResult.php │ ├── GetLiveChannelInfoResult.php │ ├── GetLiveChannelStatusResult.php │ ├── GetLocationResult.php │ ├── GetLoggingResult.php │ ├── GetRefererResult.php │ ├── GetStorageCapacityResult.php │ ├── GetWebsiteResult.php │ ├── HeaderResult.php │ ├── InitiateMultipartUploadResult.php │ ├── ListBucketsResult.php │ ├── ListLiveChannelResult.php │ ├── ListMultipartUploadResult.php │ ├── ListObjectsResult.php │ ├── ListPartsResult.php │ ├── PutLiveChannelResult.php │ ├── PutSetDeleteResult.php │ ├── Result.php │ ├── SymlinkResult.php │ └── UploadPartResult.php ├── favicon.ico ├── index.html ├── install └── index.php ├── share.php └── static ├── css └── bootstrap.min.css ├── index.html ├── js ├── bootstrap.min.js ├── gt.js ├── jquery.min.js ├── main.js └── tj.js └── layer ├── layer.js ├── mobile ├── layer.js └── need │ └── layer.css └── theme ├── default ├── icon-ext.png ├── icon.png ├── layer.css ├── loading-0.gif ├── loading-1.gif └── loading-2.gif └── moon ├── default.png └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | Config.php 2 | install/install.lock 3 | test/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 ChinaMoli 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /admin/images/Alipay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/images/Alipay.png -------------------------------------------------------------------------------- /admin/images/Amoli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/images/Amoli.png -------------------------------------------------------------------------------- /admin/images/WeChat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/images/WeChat.png -------------------------------------------------------------------------------- /admin/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/images/close.png -------------------------------------------------------------------------------- /admin/images/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/images/login_bg.jpg -------------------------------------------------------------------------------- /admin/js/navs.js: -------------------------------------------------------------------------------- 1 | { 2 | "contentManagement": [ 3 | { 4 | "title": "网站设置", 5 | "icon": "", 6 | "href": "page/systemSetting/basicParameter.html", 7 | "spread": false 8 | }, 9 | { 10 | "title": "文件管理", 11 | "icon": "", 12 | "href": "page/file/AdminFile.html", 13 | "spread": false 14 | } 15 | ], 16 | "systemeSttings": [ 17 | { 18 | "title": "网站设置", 19 | "icon": "", 20 | "href": "page/systemSetting/basicParameter.html", 21 | "spread": false 22 | } 23 | ], 24 | "seraphApi": [ 25 | { 26 | "title": "OSS配置教程", 27 | "icon": "icon-mokuai", 28 | "href": "https://wums.cn/archives/AMoliCloud-deploy.html", 29 | "spread": false 30 | }, 31 | { 32 | "title": "COS配置教程", 33 | "icon": "icon-mokuai", 34 | "href": "https://wums.cn/archives/AmoliCloud-CosConfig.html", 35 | "spread": false 36 | } 37 | ] 38 | } -------------------------------------------------------------------------------- /admin/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.5 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /admin/layui/css/modules/layer/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/css/modules/layer/default/icon-ext.png -------------------------------------------------------------------------------- /admin/layui/css/modules/layer/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/css/modules/layer/default/icon.png -------------------------------------------------------------------------------- /admin/layui/css/modules/layer/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/css/modules/layer/default/loading-0.gif -------------------------------------------------------------------------------- /admin/layui/css/modules/layer/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/css/modules/layer/default/loading-1.gif -------------------------------------------------------------------------------- /admin/layui/css/modules/layer/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/css/modules/layer/default/loading-2.gif -------------------------------------------------------------------------------- /admin/layui/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/font/iconfont.eot -------------------------------------------------------------------------------- /admin/layui/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/font/iconfont.ttf -------------------------------------------------------------------------------- /admin/layui/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/font/iconfont.woff -------------------------------------------------------------------------------- /admin/layui/images/face/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/0.gif -------------------------------------------------------------------------------- /admin/layui/images/face/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/1.gif -------------------------------------------------------------------------------- /admin/layui/images/face/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/10.gif -------------------------------------------------------------------------------- /admin/layui/images/face/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/11.gif -------------------------------------------------------------------------------- /admin/layui/images/face/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/12.gif -------------------------------------------------------------------------------- /admin/layui/images/face/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/13.gif -------------------------------------------------------------------------------- /admin/layui/images/face/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/14.gif -------------------------------------------------------------------------------- /admin/layui/images/face/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/15.gif -------------------------------------------------------------------------------- /admin/layui/images/face/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/16.gif -------------------------------------------------------------------------------- /admin/layui/images/face/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/17.gif -------------------------------------------------------------------------------- /admin/layui/images/face/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/18.gif -------------------------------------------------------------------------------- /admin/layui/images/face/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/19.gif -------------------------------------------------------------------------------- /admin/layui/images/face/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/2.gif -------------------------------------------------------------------------------- /admin/layui/images/face/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/20.gif -------------------------------------------------------------------------------- /admin/layui/images/face/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/21.gif -------------------------------------------------------------------------------- /admin/layui/images/face/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/22.gif -------------------------------------------------------------------------------- /admin/layui/images/face/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/23.gif -------------------------------------------------------------------------------- /admin/layui/images/face/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/24.gif -------------------------------------------------------------------------------- /admin/layui/images/face/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/25.gif -------------------------------------------------------------------------------- /admin/layui/images/face/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/26.gif -------------------------------------------------------------------------------- /admin/layui/images/face/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/27.gif -------------------------------------------------------------------------------- /admin/layui/images/face/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/28.gif -------------------------------------------------------------------------------- /admin/layui/images/face/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/29.gif -------------------------------------------------------------------------------- /admin/layui/images/face/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/3.gif -------------------------------------------------------------------------------- /admin/layui/images/face/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/30.gif -------------------------------------------------------------------------------- /admin/layui/images/face/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/31.gif -------------------------------------------------------------------------------- /admin/layui/images/face/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/32.gif -------------------------------------------------------------------------------- /admin/layui/images/face/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/33.gif -------------------------------------------------------------------------------- /admin/layui/images/face/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/34.gif -------------------------------------------------------------------------------- /admin/layui/images/face/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/35.gif -------------------------------------------------------------------------------- /admin/layui/images/face/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/36.gif -------------------------------------------------------------------------------- /admin/layui/images/face/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/37.gif -------------------------------------------------------------------------------- /admin/layui/images/face/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/38.gif -------------------------------------------------------------------------------- /admin/layui/images/face/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/39.gif -------------------------------------------------------------------------------- /admin/layui/images/face/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/4.gif -------------------------------------------------------------------------------- /admin/layui/images/face/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/40.gif -------------------------------------------------------------------------------- /admin/layui/images/face/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/41.gif -------------------------------------------------------------------------------- /admin/layui/images/face/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/42.gif -------------------------------------------------------------------------------- /admin/layui/images/face/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/43.gif -------------------------------------------------------------------------------- /admin/layui/images/face/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/44.gif -------------------------------------------------------------------------------- /admin/layui/images/face/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/45.gif -------------------------------------------------------------------------------- /admin/layui/images/face/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/46.gif -------------------------------------------------------------------------------- /admin/layui/images/face/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/47.gif -------------------------------------------------------------------------------- /admin/layui/images/face/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/48.gif -------------------------------------------------------------------------------- /admin/layui/images/face/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/49.gif -------------------------------------------------------------------------------- /admin/layui/images/face/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/5.gif -------------------------------------------------------------------------------- /admin/layui/images/face/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/50.gif -------------------------------------------------------------------------------- /admin/layui/images/face/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/51.gif -------------------------------------------------------------------------------- /admin/layui/images/face/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/52.gif -------------------------------------------------------------------------------- /admin/layui/images/face/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/53.gif -------------------------------------------------------------------------------- /admin/layui/images/face/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/54.gif -------------------------------------------------------------------------------- /admin/layui/images/face/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/55.gif -------------------------------------------------------------------------------- /admin/layui/images/face/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/56.gif -------------------------------------------------------------------------------- /admin/layui/images/face/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/57.gif -------------------------------------------------------------------------------- /admin/layui/images/face/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/58.gif -------------------------------------------------------------------------------- /admin/layui/images/face/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/59.gif -------------------------------------------------------------------------------- /admin/layui/images/face/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/6.gif -------------------------------------------------------------------------------- /admin/layui/images/face/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/60.gif -------------------------------------------------------------------------------- /admin/layui/images/face/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/61.gif -------------------------------------------------------------------------------- /admin/layui/images/face/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/62.gif -------------------------------------------------------------------------------- /admin/layui/images/face/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/63.gif -------------------------------------------------------------------------------- /admin/layui/images/face/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/64.gif -------------------------------------------------------------------------------- /admin/layui/images/face/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/65.gif -------------------------------------------------------------------------------- /admin/layui/images/face/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/66.gif -------------------------------------------------------------------------------- /admin/layui/images/face/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/67.gif -------------------------------------------------------------------------------- /admin/layui/images/face/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/68.gif -------------------------------------------------------------------------------- /admin/layui/images/face/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/69.gif -------------------------------------------------------------------------------- /admin/layui/images/face/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/7.gif -------------------------------------------------------------------------------- /admin/layui/images/face/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/70.gif -------------------------------------------------------------------------------- /admin/layui/images/face/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/71.gif -------------------------------------------------------------------------------- /admin/layui/images/face/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/8.gif -------------------------------------------------------------------------------- /admin/layui/images/face/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/layui/images/face/9.gif -------------------------------------------------------------------------------- /admin/layui/lay/modules/code.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.5 MIT License By https://www.layui.com */ 2 | ;layui.define("jquery",function(e){"use strict";var a=layui.$,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /admin/page/file/upload/plupload/Moxie.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/page/file/upload/plupload/Moxie.swf -------------------------------------------------------------------------------- /admin/page/file/upload/plupload/Moxie.xap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/admin/page/file/upload/plupload/Moxie.xap -------------------------------------------------------------------------------- /app/class/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 |

403 Forbidden

6 |
Copyright © 2019 Powered by Amoli.Co  7 |
8 | 9 | -------------------------------------------------------------------------------- /app/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 |

403 Forbidden

6 |
Copyright © 2019 Powered by Amoli.Co  7 |
8 | 9 | -------------------------------------------------------------------------------- /app/sdk/cos/autoload.php: -------------------------------------------------------------------------------- 1 | signature = new Signature($accessKey, $secretKey); 20 | } 21 | 22 | /** 23 | * {@inheritdoc} 24 | */ 25 | public static function getSubscribedEvents() 26 | { 27 | return array( 28 | 'request.before_send' => array('onRequestBeforeSend', -255)); 29 | } 30 | 31 | /** 32 | * Signs requests before they are sent 33 | * 34 | * @param Event $event Event emitted 35 | */ 36 | public function onRequestBeforeSend(Event $event) { 37 | 38 | $this->signature->signRequest($event['request']); 39 | /* 40 | if(!$this->credentials instanceof NullCredentials) { 41 | $this->signature->signRequest($event['request'], $this->credentials); 42 | } 43 | */ 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/composer/autoload_classmap.php: -------------------------------------------------------------------------------- 1 | array($baseDir . '/src'), 10 | 'Guzzle\\Tests' => array($vendorDir . '/guzzle/guzzle/tests'), 11 | 'Guzzle' => array($vendorDir . '/guzzle/guzzle/src'), 12 | ); 13 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/event-dispatcher'), 10 | ); 11 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchDivisorInterface.php: -------------------------------------------------------------------------------- 1 | size = $size; 17 | } 18 | 19 | /** 20 | * Set the size of each batch 21 | * 22 | * @param int $size Size of each batch 23 | * 24 | * @return BatchSizeDivisor 25 | */ 26 | public function setSize($size) 27 | { 28 | $this->size = $size; 29 | 30 | return $this; 31 | } 32 | 33 | /** 34 | * Get the size of each batch 35 | * 36 | * @return int 37 | */ 38 | public function getSize() 39 | { 40 | return $this->size; 41 | } 42 | 43 | public function createBatches(\SplQueue $queue) 44 | { 45 | return array_chunk(iterator_to_array($queue, false), $this->size); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Batch/BatchTransferInterface.php: -------------------------------------------------------------------------------- 1 | history[] = $item; 17 | $this->decoratedBatch->add($item); 18 | 19 | return $this; 20 | } 21 | 22 | /** 23 | * Get the batch history 24 | * 25 | * @return array 26 | */ 27 | public function getHistory() 28 | { 29 | return $this->history; 30 | } 31 | 32 | /** 33 | * Clear the batch history 34 | */ 35 | public function clearHistory() 36 | { 37 | $this->history = array(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Batch/NotifyingBatch.php: -------------------------------------------------------------------------------- 1 | callable = $callable; 28 | parent::__construct($decoratedBatch); 29 | } 30 | 31 | public function flush() 32 | { 33 | $items = $this->decoratedBatch->flush(); 34 | call_user_func($this->callable, $items); 35 | 36 | return $items; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Cache/AbstractCacheAdapter.php: -------------------------------------------------------------------------------- 1 | cache; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Cache/DoctrineCacheAdapter.php: -------------------------------------------------------------------------------- 1 | cache = $cache; 20 | } 21 | 22 | public function contains($id, array $options = null) 23 | { 24 | return $this->cache->contains($id); 25 | } 26 | 27 | public function delete($id, array $options = null) 28 | { 29 | return $this->cache->delete($id); 30 | } 31 | 32 | public function fetch($id, array $options = null) 33 | { 34 | return $this->cache->fetch($id); 35 | } 36 | 37 | public function save($id, $data, $lifeTime = false, array $options = null) 38 | { 39 | return $this->cache->save($id, $data, $lifeTime !== false ? $lifeTime : 0); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Cache/NullCacheAdapter.php: -------------------------------------------------------------------------------- 1 | cache = $cache; 23 | } 24 | 25 | public function contains($id, array $options = null) 26 | { 27 | return $this->cache->test($id); 28 | } 29 | 30 | public function delete($id, array $options = null) 31 | { 32 | return $this->cache->remove($id); 33 | } 34 | 35 | public function fetch($id, array $options = null) 36 | { 37 | return $this->cache->load($id); 38 | } 39 | 40 | public function save($id, $data, $lifeTime = false, array $options = null) 41 | { 42 | return $this->cache->save($data, $id, array(), $lifeTime); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Cache/Zf2CacheAdapter.php: -------------------------------------------------------------------------------- 1 | cache = $cache; 20 | } 21 | 22 | public function contains($id, array $options = null) 23 | { 24 | return $this->cache->hasItem($id); 25 | } 26 | 27 | public function delete($id, array $options = null) 28 | { 29 | return $this->cache->removeItem($id); 30 | } 31 | 32 | public function fetch($id, array $options = null) 33 | { 34 | return $this->cache->getItem($id); 35 | } 36 | 37 | public function save($id, $data, $lifeTime = false, array $options = null) 38 | { 39 | return $this->cache->setItem($id, $data); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Common/Exception/BadMethodCallException.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 9 | "symfony/event-dispatcher": ">=2.1" 10 | }, 11 | "autoload": { 12 | "psr-0": { "Guzzle\\Common": "" } 13 | }, 14 | "target-dir": "Guzzle/Common", 15 | "extra": { 16 | "branch-alias": { 17 | "dev-master": "3.7-dev" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ClientErrorResponseException.php: -------------------------------------------------------------------------------- 1 | request = $request; 26 | 27 | return $this; 28 | } 29 | 30 | /** 31 | * Get the request that caused the exception 32 | * 33 | * @return RequestInterface 34 | */ 35 | public function getRequest() 36 | { 37 | return $this->request; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/ServerErrorResponseException.php: -------------------------------------------------------------------------------- 1 | 'Guzzle\Http\Message\Header\CacheControl', 15 | 'link' => 'Guzzle\Http\Message\Header\Link', 16 | ); 17 | 18 | public function createHeader($header, $value = null) 19 | { 20 | $lowercase = strtolower($header); 21 | 22 | return isset($this->mapping[$lowercase]) 23 | ? new $this->mapping[$lowercase]($header, $value) 24 | : new Header($header, $value); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Header/HeaderFactoryInterface.php: -------------------------------------------------------------------------------- 1 | isUrlEncoding()) { 15 | return array($query->encodeValue($key) => implode(',', array_map(array($query, 'encodeValue'), $value))); 16 | } else { 17 | return array($key => implode(',', $value)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/DuplicateAggregator.php: -------------------------------------------------------------------------------- 1 | isUrlEncoding()) { 17 | return array($query->encodeValue($key) => array_map(array($query, 'encodeValue'), $value)); 18 | } else { 19 | return array($key => $value); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/PhpAggregator.php: -------------------------------------------------------------------------------- 1 | $v) { 17 | $k = "{$key}[{$k}]"; 18 | if (is_array($v)) { 19 | $ret = array_merge($ret, self::aggregate($k, $v, $query)); 20 | } else { 21 | $ret[$query->encodeValue($k)] = $query->encodeValue($v); 22 | } 23 | } 24 | 25 | return $ret; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Http/QueryAggregator/QueryAggregatorInterface.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/common": "self.version", 17 | "guzzle/parser": "self.version", 18 | "guzzle/stream": "self.version" 19 | }, 20 | "suggest": { 21 | "ext-curl": "*" 22 | }, 23 | "autoload": { 24 | "psr-0": { "Guzzle\\Http": "" } 25 | }, 26 | "target-dir": "Guzzle/Http", 27 | "extra": { 28 | "branch-alias": { 29 | "dev-master": "3.7-dev" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Inflection/Inflector.php: -------------------------------------------------------------------------------- 1 | =5.3.2" 16 | }, 17 | "autoload": { 18 | "psr-0": { "Guzzle\\Inflection": "" } 19 | }, 20 | "target-dir": "Guzzle/Inflection", 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "3.7-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/AppendIterator.php: -------------------------------------------------------------------------------- 1 | getArrayIterator()->append($iterator); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/FilterIterator.php: -------------------------------------------------------------------------------- 1 | callback = $callback; 30 | } 31 | 32 | public function accept() 33 | { 34 | return call_user_func($this->callback, $this->current()); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/MapIterator.php: -------------------------------------------------------------------------------- 1 | callback = $callback; 28 | } 29 | 30 | public function current() 31 | { 32 | return call_user_func($this->callback, parent::current()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/MethodProxyIterator.php: -------------------------------------------------------------------------------- 1 | getInnerIterator(); 21 | while ($i instanceof \OuterIterator) { 22 | $i = $i->getInnerIterator(); 23 | } 24 | 25 | return call_user_func_array(array($i, $name), $args); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/README.md: -------------------------------------------------------------------------------- 1 | Guzzle Iterator 2 | =============== 3 | 4 | Provides useful Iterators and Iterator decorators 5 | 6 | - ChunkedIterator: Pulls out chunks from an inner iterator and yields the chunks as arrays 7 | - FilterIterator: Used when PHP 5.4's CallbackFilterIterator is not available 8 | - MapIterator: Maps values before yielding 9 | - MethodProxyIterator: Proxies missing method calls to the innermost iterator 10 | 11 | ### Installing via Composer 12 | 13 | ```bash 14 | # Install Composer 15 | curl -sS https://getcomposer.org/installer | php 16 | 17 | # Add Guzzle as a dependency 18 | php composer.phar require guzzle/iterator:~3.0 19 | ``` 20 | 21 | After installing, you need to require Composer's autoloader: 22 | 23 | ```php 24 | require 'vendor/autoload.php'; 25 | ``` 26 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Iterator/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/iterator", 3 | "description": "Provides helpful iterators and iterator decorators", 4 | "keywords": ["iterator", "guzzle"], 5 | "homepage": "http://guzzlephp.org/", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/common": ">=2.8.0" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Iterator": "/" } 20 | }, 21 | "target-dir": "Guzzle/Iterator", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/AbstractLogAdapter.php: -------------------------------------------------------------------------------- 1 | log; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/ArrayLogAdapter.php: -------------------------------------------------------------------------------- 1 | logs[] = array('message' => $message, 'priority' => $priority, 'extras' => $extras); 15 | } 16 | 17 | /** 18 | * Get logged entries 19 | * 20 | * @return array 21 | */ 22 | public function getLogs() 23 | { 24 | return $this->logs; 25 | } 26 | 27 | /** 28 | * Clears logged entries 29 | */ 30 | public function clearLogs() 31 | { 32 | $this->logs = array(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/ClosureLogAdapter.php: -------------------------------------------------------------------------------- 1 | log = $logObject; 17 | } 18 | 19 | public function log($message, $priority = LOG_INFO, $extras = array()) 20 | { 21 | call_user_func($this->log, $message, $priority, $extras); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/LogAdapterInterface.php: -------------------------------------------------------------------------------- 1 | Logger::DEBUG, 18 | LOG_INFO => Logger::INFO, 19 | LOG_WARNING => Logger::WARNING, 20 | LOG_ERR => Logger::ERROR, 21 | LOG_CRIT => Logger::CRITICAL, 22 | LOG_ALERT => Logger::ALERT 23 | ); 24 | 25 | public function __construct(Logger $logObject) 26 | { 27 | $this->log = $logObject; 28 | } 29 | 30 | public function log($message, $priority = LOG_INFO, $extras = array()) 31 | { 32 | $this->log->addRecord(self::$mapping[$priority], $message, $extras); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/PsrLogAdapter.php: -------------------------------------------------------------------------------- 1 | LogLevel::DEBUG, 20 | LOG_INFO => LogLevel::INFO, 21 | LOG_WARNING => LogLevel::WARNING, 22 | LOG_ERR => LogLevel::ERROR, 23 | LOG_CRIT => LogLevel::CRITICAL, 24 | LOG_ALERT => LogLevel::ALERT 25 | ); 26 | 27 | public function __construct(LoggerInterface $logObject) 28 | { 29 | $this->log = $logObject; 30 | } 31 | 32 | public function log($message, $priority = LOG_INFO, $extras = array()) 33 | { 34 | $this->log->log(self::$mapping[$priority], $message, $extras); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/Zf1LogAdapter.php: -------------------------------------------------------------------------------- 1 | log = $logObject; 17 | Version::warn(__CLASS__ . ' is deprecated'); 18 | } 19 | 20 | public function log($message, $priority = LOG_INFO, $extras = array()) 21 | { 22 | $this->log->log($message, $priority, $extras); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/Zf2LogAdapter.php: -------------------------------------------------------------------------------- 1 | log = $logObject; 15 | } 16 | 17 | public function log($message, $priority = LOG_INFO, $extras = array()) 18 | { 19 | $this->log->log($priority, $message, $extras); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/log", 3 | "description": "Guzzle log adapter component", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["log", "adapter", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2" 16 | }, 17 | "autoload": { 18 | "psr-0": { "Guzzle\\Log": "" } 19 | }, 20 | "suggest": { 21 | "guzzle/http": "self.version" 22 | }, 23 | "target-dir": "Guzzle/Log", 24 | "extra": { 25 | "branch-alias": { 26 | "dev-master": "3.7-dev" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Parser/Message/MessageParserInterface.php: -------------------------------------------------------------------------------- 1 | =5.3.2" 9 | }, 10 | "autoload": { 11 | "psr-0": { "Guzzle\\Parser": "" } 12 | }, 13 | "target-dir": "Guzzle/Parser", 14 | "extra": { 15 | "branch-alias": { 16 | "dev-master": "3.7-dev" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Async/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-async", 3 | "description": "Guzzle async request plugin", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\Async": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/Async", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | errorCodes = array_fill_keys($codes ?: static::$defaultErrorCodes, 1); 23 | $this->next = $next; 24 | } 25 | 26 | /** 27 | * Get the default failure codes to retry 28 | * 29 | * @return array 30 | */ 31 | public static function getDefaultFailureCodes() 32 | { 33 | return static::$defaultErrorCodes; 34 | } 35 | 36 | public function makesDecision() 37 | { 38 | return true; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/BackoffStrategyInterface.php: -------------------------------------------------------------------------------- 1 | delay = $delay; 23 | } 24 | 25 | public function makesDecision() 26 | { 27 | return false; 28 | } 29 | 30 | protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) 31 | { 32 | return $this->delay; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/CurlBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | errorCodes[$e->getErrorNo()]) ? true : null; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ExponentialBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | isSuccessful()) { 24 | return false; 25 | } else { 26 | return isset($this->errorCodes[$response->getStatusCode()]) ? true : null; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/LinearBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | step = $step; 25 | } 26 | 27 | public function makesDecision() 28 | { 29 | return false; 30 | } 31 | 32 | protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) 33 | { 34 | return $retries * $this->step; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/ReasonPhraseBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | errorCodes[$response->getReasonPhrase()]) ? true : null; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/TruncatedBackoffStrategy.php: -------------------------------------------------------------------------------- 1 | max = $maxRetries; 24 | $this->next = $next; 25 | } 26 | 27 | public function makesDecision() 28 | { 29 | return true; 30 | } 31 | 32 | protected function getDelay($retries, RequestInterface $request, Response $response = null, HttpException $e = null) 33 | { 34 | return $retries < $this->max ? null : false; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Backoff/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-backoff", 3 | "description": "Guzzle backoff retry plugins", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version", 17 | "guzzle/log": "self.version" 18 | }, 19 | "autoload": { 20 | "psr-0": { "Guzzle\\Plugin\\Backoff": "" } 21 | }, 22 | "target-dir": "Guzzle/Plugin/Backoff", 23 | "extra": { 24 | "branch-alias": { 25 | "dev-master": "3.7-dev" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CacheKeyProviderInterface.php: -------------------------------------------------------------------------------- 1 | getMethod() != RequestInterface::GET && $request->getMethod() != RequestInterface::HEAD) { 17 | return false; 18 | } 19 | 20 | // Never cache requests when using no-store 21 | if ($request->hasHeader('Cache-Control') && $request->getHeader('Cache-Control')->hasDirective('no-store')) { 22 | return false; 23 | } 24 | 25 | return true; 26 | } 27 | 28 | public function canCacheResponse(Response $response) 29 | { 30 | return $response->isSuccessful() && $response->canCache(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DenyRevalidation.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/http": "self.version", 17 | "guzzle/cache": "self.version" 18 | }, 19 | "autoload": { 20 | "psr-0": { "Guzzle\\Plugin\\Cache": "" } 21 | }, 22 | "target-dir": "Guzzle/Plugin/Cache", 23 | "extra": { 24 | "branch-alias": { 25 | "dev-master": "3.7-dev" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Exception/InvalidCookieException.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\Cookie": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/Cookie", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/CurlAuth/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-curlauth", 3 | "description": "Guzzle cURL authorization plugin", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "curl", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\CurlAuth": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/CurlAuth", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/ErrorResponse/ErrorResponseExceptionInterface.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/service": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\ErrorResponse": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/ErrorResponse", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/History/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-history", 3 | "description": "Guzzle history plugin", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\History": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/History", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Log/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-log", 3 | "description": "Guzzle log plugin for over the wire logging", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "log", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version", 17 | "guzzle/log": "self.version" 18 | }, 19 | "autoload": { 20 | "psr-0": { "Guzzle\\Plugin\\Log": "" } 21 | }, 22 | "target-dir": "Guzzle/Plugin/Log", 23 | "extra": { 24 | "branch-alias": { 25 | "dev-master": "3.7-dev" 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Md5/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-md5", 3 | "description": "Guzzle MD5 plugins", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\Md5": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/Md5", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Mock/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-mock", 3 | "description": "Guzzle Mock plugin", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["mock", "plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\Mock": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/Mock", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "guzzle/plugin-oauth", 3 | "description": "Guzzle OAuth plugin", 4 | "homepage": "http://guzzlephp.org/", 5 | "keywords": ["oauth", "plugin", "guzzle"], 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Michael Dowling", 10 | "email": "mtdowling@gmail.com", 11 | "homepage": "https://github.com/mtdowling" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.3.2", 16 | "guzzle/http": "self.version" 17 | }, 18 | "autoload": { 19 | "psr-0": { "Guzzle\\Plugin\\Oauth": "" } 20 | }, 21 | "target-dir": "Guzzle/Plugin/Oauth", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "3.7-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/CreateResponseClassEvent.php: -------------------------------------------------------------------------------- 1 | stopPropagation(); 21 | } 22 | 23 | /** 24 | * Get the created object 25 | * 26 | * @return mixed 27 | */ 28 | public function getResult() 29 | { 30 | return $this['result']; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/Factory/FactoryInterface.php: -------------------------------------------------------------------------------- 1 | map = $map; 17 | } 18 | 19 | public function factory($name, array $args = array()) 20 | { 21 | if (isset($this->map[$name])) { 22 | $class = $this->map[$name]; 23 | 24 | return new $class($args); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFieldVisitor.php: -------------------------------------------------------------------------------- 1 | setPostField($param->getWireName(), $this->prepareValue($value, $param)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/PostFileVisitor.php: -------------------------------------------------------------------------------- 1 | filter($value); 18 | if ($value instanceof PostFileInterface) { 19 | $request->addPostFile($value); 20 | } else { 21 | $request->addPostFile($param->getWireName(), $value); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/QueryVisitor.php: -------------------------------------------------------------------------------- 1 | getQuery()->set($param->getWireName(), $this->prepareValue($value, $param)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/RequestVisitorInterface.php: -------------------------------------------------------------------------------- 1 | setResponseBody($value); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/AbstractResponseVisitor.php: -------------------------------------------------------------------------------- 1 | getName()] = $param->filter($response->getBody()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/ReasonPhraseVisitor.php: -------------------------------------------------------------------------------- 1 | getName()] = $response->getReasonPhrase(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Response/StatusCodeVisitor.php: -------------------------------------------------------------------------------- 1 | getName()] = $response->getStatusCode(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Command/RequestSerializerInterface.php: -------------------------------------------------------------------------------- 1 | invalidCommands = $commands; 23 | parent::__construct( 24 | 'Encountered commands in a batch transfer that use inconsistent clients. The batching ' . 25 | 'strategy you use with a command transfer must divide command batches by client.' 26 | ); 27 | } 28 | 29 | /** 30 | * Get the invalid commands 31 | * 32 | * @return array 33 | */ 34 | public function getCommands() 35 | { 36 | return $this->invalidCommands; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Exception/ResponseClassException.php: -------------------------------------------------------------------------------- 1 | errors = $errors; 19 | } 20 | 21 | /** 22 | * Get any validation errors 23 | * 24 | * @return array 25 | */ 26 | public function getErrors() 27 | { 28 | return $this->errors; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php: -------------------------------------------------------------------------------- 1 | canBuild($command)) { 16 | throw new InvalidArgumentException('Iterator was not found for ' . $command->getName()); 17 | } 18 | 19 | $className = $this->getClassName($command); 20 | 21 | return new $className($command, $options); 22 | } 23 | 24 | public function canBuild(CommandInterface $command) 25 | { 26 | return (bool) $this->getClassName($command); 27 | } 28 | 29 | /** 30 | * Get the name of the class to instantiate for the command 31 | * 32 | * @param CommandInterface $command Command that is associated with the iterator 33 | * 34 | * @return string 35 | */ 36 | abstract protected function getClassName(CommandInterface $command); 37 | } 38 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php: -------------------------------------------------------------------------------- 1 | map = $map; 19 | } 20 | 21 | public function getClassName(CommandInterface $command) 22 | { 23 | $className = $command->getName(); 24 | 25 | if (isset($this->map[$className])) { 26 | return $this->map[$className]; 27 | } elseif (isset($this->map['*'])) { 28 | // If a wildcard was added, then always use that 29 | return $this->map['*']; 30 | } 31 | 32 | return null; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/cache": "self.version", 17 | "guzzle/http": "self.version", 18 | "guzzle/inflection": "self.version" 19 | }, 20 | "autoload": { 21 | "psr-0": { "Guzzle\\Service": "" } 22 | }, 23 | "target-dir": "Guzzle/Service", 24 | "extra": { 25 | "branch-alias": { 26 | "dev-master": "3.7-dev" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/src/Guzzle/Stream/StreamRequestFactoryInterface.php: -------------------------------------------------------------------------------- 1 | =5.3.2", 16 | "guzzle/common": "self.version" 17 | }, 18 | "suggest": { 19 | "guzzle/http": "To convert Guzzle request objects to PHP streams" 20 | }, 21 | "autoload": { 22 | "psr-0": { "Guzzle\\Stream": "" } 23 | }, 24 | "target-dir": "Guzzle/Stream", 25 | "extra": { 26 | "branch-alias": { 27 | "dev-master": "3.7-dev" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/AbstractBatchDecoratorTest.php: -------------------------------------------------------------------------------- 1 | getMock('Guzzle\Batch\BatchTransferInterface'), 16 | $this->getMock('Guzzle\Batch\BatchDivisorInterface') 17 | ); 18 | 19 | $decoratorA = $this->getMockBuilder('Guzzle\Batch\AbstractBatchDecorator') 20 | ->setConstructorArgs(array($batch)) 21 | ->getMockForAbstractClass(); 22 | 23 | $decoratorB = $this->getMockBuilder('Guzzle\Batch\AbstractBatchDecorator') 24 | ->setConstructorArgs(array($decoratorA)) 25 | ->getMockForAbstractClass(); 26 | 27 | $decoratorA->add('foo'); 28 | $this->assertFalse($decoratorB->isEmpty()); 29 | $this->assertFalse($batch->isEmpty()); 30 | $this->assertEquals(array($decoratorB, $decoratorA), $decoratorB->getDecorators()); 31 | $this->assertEquals(array(), $decoratorB->flush()); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchClosureDivisorTest.php: -------------------------------------------------------------------------------- 1 | createBatches($queue); 34 | $this->assertEquals(array(array('foo'), array('baz')), $batches); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchSizeDivisorTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(3, $d->getSize()); 20 | $d->setSize(2); 21 | $batches = $d->createBatches($queue); 22 | $this->assertEquals(array(array('foo', 'baz'), array('bar')), $batches); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/HistoryBatchTest.php: -------------------------------------------------------------------------------- 1 | getMock('Guzzle\Batch\BatchTransferInterface'), 17 | $this->getMock('Guzzle\Batch\BatchDivisorInterface') 18 | ); 19 | 20 | $history = new HistoryBatch($batch); 21 | $history->add('foo')->add('baz'); 22 | $this->assertEquals(array('foo', 'baz'), $history->getHistory()); 23 | $history->clearHistory(); 24 | $this->assertEquals(array(), $history->getHistory()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Cache/NullCacheAdapterTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(false, $c->contains('foo')); 16 | $this->assertEquals(true, $c->delete('foo')); 17 | $this->assertEquals(false, $c->fetch('foo')); 18 | $this->assertEquals(true, $c->save('foo', 'bar')); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/Exception/BatchTransferExceptionTest.php: -------------------------------------------------------------------------------- 1 | getMock('Guzzle\Batch\BatchTransferInterface'); 13 | $d = $this->getMock('Guzzle\Batch\BatchDivisorInterface'); 14 | $transferException = new BatchTransferException(array('foo'), array(1, 2), $e, $t, $d); 15 | $this->assertEquals(array('foo'), $transferException->getBatch()); 16 | $this->assertSame($t, $transferException->getTransferStrategy()); 17 | $this->assertSame($d, $transferException->getDivisorStrategy()); 18 | $this->assertSame($e, $transferException->getPrevious()); 19 | $this->assertEquals(array(1, 2), $transferException->getTransferredItems()); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Common/VersionTest.php: -------------------------------------------------------------------------------- 1 | assertNull($e->getError()); 17 | $this->assertNull($e->getErrorNo()); 18 | $this->assertSame($e, $e->setError('test', 12)); 19 | $this->assertEquals('test', $e->getError()); 20 | $this->assertEquals(12, $e->getErrorNo()); 21 | 22 | $handle = new CurlHandle(curl_init(), array()); 23 | $e->setCurlHandle($handle); 24 | $this->assertSame($handle, $e->getCurlHandle()); 25 | $handle->close(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/Header/HeaderFactoryTest.php: -------------------------------------------------------------------------------- 1 | createHeader('Foo', 'Bar'); 16 | $this->assertInstanceOf('Guzzle\Http\Message\Header', $h); 17 | $this->assertEquals('Foo', $h->getName()); 18 | $this->assertEquals('Bar', (string) $h); 19 | } 20 | 21 | public function testCreatesSpecificHeaders() 22 | { 23 | $f = new HeaderFactory(); 24 | $h = $f->createHeader('Link', '; rel="test"'); 25 | $this->assertInstanceOf('Guzzle\Http\Message\Header\Link', $h); 26 | $this->assertEquals('Link', $h->getName()); 27 | $this->assertEquals('; rel="test"', (string) $h); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/MimetypesTest.php: -------------------------------------------------------------------------------- 1 | assertEquals('text/x-php', Mimetypes::getInstance()->fromExtension('php')); 15 | } 16 | 17 | public function testGetsFromFilename() 18 | { 19 | $this->assertEquals('text/x-php', Mimetypes::getInstance()->fromFilename(__FILE__)); 20 | } 21 | 22 | public function testGetsFromCaseInsensitiveFilename() 23 | { 24 | $this->assertEquals('text/x-php', Mimetypes::getInstance()->fromFilename(strtoupper(__FILE__))); 25 | } 26 | 27 | public function testReturnsNullWhenNoMatchFound() 28 | { 29 | $this->assertNull(Mimetypes::getInstance()->fromExtension('foobar')); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/CommaAggregatorTest.php: -------------------------------------------------------------------------------- 1 | aggregate($key, $value, $query); 17 | $this->assertEquals(array('test%20123' => 'foo%20123,baz,bar'), $result); 18 | } 19 | 20 | public function testEncodes() 21 | { 22 | $query = new QueryString(); 23 | $query->useUrlEncoding(false); 24 | $a = new Ag(); 25 | $key = 'test 123'; 26 | $value = array('foo 123', 'baz', 'bar'); 27 | $result = $a->aggregate($key, $value, $query); 28 | $this->assertEquals(array('test 123' => 'foo 123,baz,bar'), $result); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/DuplicateAggregatorTest.php: -------------------------------------------------------------------------------- 1 | aggregate($key, $value, $query); 17 | $this->assertEquals(array('facet%201' => array('size%20a', 'width%20b')), $result); 18 | } 19 | 20 | public function testEncodes() 21 | { 22 | $query = new QueryString(); 23 | $query->useUrlEncoding(false); 24 | $a = new Ag(); 25 | $key = 'facet 1'; 26 | $value = array('size a', 'width b'); 27 | $result = $a->aggregate($key, $value, $query); 28 | $this->assertEquals(array('facet 1' => array('size a', 'width b')), $result); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/QueryAggregator/PhpAggregatorTest.php: -------------------------------------------------------------------------------- 1 | useUrlEncoding(false); 14 | $a = new Ag(); 15 | $key = 't'; 16 | $value = array( 17 | 'v1' => 'a', 18 | 'v2' => 'b', 19 | 'v3' => array( 20 | 'v4' => 'c', 21 | 'v5' => 'd', 22 | ) 23 | ); 24 | $result = $a->aggregate($key, $value, $query); 25 | $this->assertEquals(array( 26 | 't[v1]' => 'a', 27 | 't[v2]' => 'b', 28 | 't[v3][v4]' => 'c', 29 | 't[v3][v5]' => 'd', 30 | ), $result); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/AppendIteratorTest.php: -------------------------------------------------------------------------------- 1 | 1, 16 | 'b' => 2 17 | )); 18 | $b = new \ArrayIterator(array()); 19 | $c = new \ArrayIterator(array( 20 | 'c' => 3, 21 | 'd' => 4 22 | )); 23 | $i = new AppendIterator(); 24 | $i->append($a); 25 | $i->append($b); 26 | $i->append($c); 27 | $this->assertEquals(array(1, 2, 3, 4), iterator_to_array($i, false)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/FilterIteratorTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(range(1, 99, 2), iterator_to_array($i, false)); 19 | } 20 | 21 | /** 22 | * @expectedException \InvalidArgumentException 23 | */ 24 | public function testValidatesCallable() 25 | { 26 | $i = new FilterIterator(new \ArrayIterator(), new \stdClass()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MapIteratorTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(range(0, 1000, 10), iterator_to_array($i, false)); 19 | } 20 | 21 | /** 22 | * @expectedException \InvalidArgumentException 23 | */ 24 | public function testValidatesCallable() 25 | { 26 | $i = new MapIterator(new \ArrayIterator(), new \stdClass()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Iterator/MethodProxyIteratorTest.php: -------------------------------------------------------------------------------- 1 | append('a'); 18 | $proxy->append('b'); 19 | $this->assertEquals(array('a', 'b'), $i->getArrayCopy()); 20 | $this->assertEquals(array('a', 'b'), $proxy->getArrayCopy()); 21 | } 22 | 23 | public function testUsesInnerIterator() 24 | { 25 | $i = new MethodProxyIterator(new ChunkedIterator(new \ArrayIterator(array(1, 2, 3, 4, 5)), 2)); 26 | $this->assertEquals(3, count(iterator_to_array($i, false))); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ArrayLogAdapterTest.php: -------------------------------------------------------------------------------- 1 | log('test', \LOG_NOTICE, '127.0.0.1'); 13 | $this->assertEquals(array(array('message' => 'test', 'priority' => \LOG_NOTICE, 'extras' => '127.0.0.1')), $adapter->getLogs()); 14 | } 15 | 16 | public function testClearLog() 17 | { 18 | $adapter = new ArrayLogAdapter(); 19 | $adapter->log('test', \LOG_NOTICE, '127.0.0.1'); 20 | $adapter->clearLogs(); 21 | $this->assertEquals(array(), $adapter->getLogs()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/ClosureLogAdapterTest.php: -------------------------------------------------------------------------------- 1 | adapter = new ClosureLogAdapter(function($message, $priority, $extras = null) use ($that, &$modified) { 17 | $modified = array($message, $priority, $extras); 18 | }); 19 | $this->adapter->log('test', LOG_NOTICE, '127.0.0.1'); 20 | $this->assertEquals(array('test', LOG_NOTICE, '127.0.0.1'), $modified); 21 | } 22 | 23 | /** 24 | * @expectedException InvalidArgumentException 25 | */ 26 | public function testThrowsExceptionWhenNotCallable() 27 | { 28 | $this->adapter = new ClosureLogAdapter(123); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Log/PsrLogAdapterTest.php: -------------------------------------------------------------------------------- 1 | pushHandler($handler); 20 | $adapter = new PsrLogAdapter($log); 21 | $adapter->log('test!', LOG_INFO); 22 | $this->assertTrue($handler->hasInfoRecords()); 23 | $this->assertSame($log, $adapter->getLogObject()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/CustomResponseModel.php: -------------------------------------------------------------------------------- 1 | command = $command; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ErrorResponseMock.php: -------------------------------------------------------------------------------- 1 | command = $command; 22 | $this->response = $response; 23 | $this->message = 'Error from ' . $response; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/ExceptionMock.php: -------------------------------------------------------------------------------- 1 | multiHandle; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Mock/MockSubject.php: -------------------------------------------------------------------------------- 1 | parseCookie('foo=baz+bar', null, null, true); 18 | $this->assertEquals(array( 19 | 'foo' => 'baz bar' 20 | ), $result['cookies']); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/Message/PeclHttpMessageParserTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('pecl_http is not available.'); 16 | } 17 | } 18 | 19 | /** 20 | * @dataProvider requestProvider 21 | */ 22 | public function testParsesRequests($message, $parts) 23 | { 24 | $parser = new PeclHttpMessageParser(); 25 | $this->compareRequestResults($parts, $parser->parseRequest($message)); 26 | } 27 | 28 | /** 29 | * @dataProvider responseProvider 30 | */ 31 | public function testParsesResponses($message, $parts) 32 | { 33 | $parser = new PeclHttpMessageParser(); 34 | $this->compareResponseResults($parts, $parser->parseResponse($message)); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/ParserRegistryTest.php: -------------------------------------------------------------------------------- 1 | registerParser('foo', $c); 17 | $this->assertSame($c, $r->getParser('foo')); 18 | } 19 | 20 | public function testReturnsNullWhenNotFound() 21 | { 22 | $r = new ParserRegistry(); 23 | $this->assertNull($r->getParser('FOO')); 24 | } 25 | 26 | public function testReturnsLazyLoadedDefault() 27 | { 28 | $r = new ParserRegistry(); 29 | $c = $r->getParser('cookie'); 30 | $this->assertInstanceOf('Guzzle\Parser\Cookie\CookieParser', $c); 31 | $this->assertSame($c, $r->getParser('cookie')); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Parser/UriTemplate/PeclUriTemplateTest.php: -------------------------------------------------------------------------------- 1 | markTestSkipped('uri_template PECL extension must be installed to test PeclUriTemplate'); 16 | } 17 | } 18 | 19 | /** 20 | * @dataProvider templateProvider 21 | */ 22 | public function testExpandsUriTemplates($template, $expansion, $params) 23 | { 24 | $uri = new PeclUriTemplate($template); 25 | $this->assertEquals($expansion, $uri->expand($template, $params)); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/CallbackBackoffStrategyTest.php: -------------------------------------------------------------------------------- 1 | getMock('Guzzle\Http\Message\Request', array(), array(), '', false); 23 | $strategy = new CallbackBackoffStrategy(function () { return 10; }, true); 24 | $this->assertTrue($strategy->makesDecision()); 25 | $this->assertEquals(10, $strategy->getBackoffPeriod(0, $request)); 26 | // Ensure it chains correctly when null is returned 27 | $strategy = new CallbackBackoffStrategy(function () { return null; }, false); 28 | $this->assertFalse($strategy->makesDecision()); 29 | $this->assertFalse($strategy->getBackoffPeriod(0, $request)); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ConstantBackoffStrategyTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($strategy->makesDecision()); 16 | $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); 17 | $this->assertEquals(3.5, $strategy->getBackoffPeriod(0, $request)); 18 | $this->assertEquals(3.5, $strategy->getBackoffPeriod(1, $request)); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/ExponentialBackoffStrategyTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($strategy->makesDecision()); 16 | $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); 17 | $this->assertEquals(1, $strategy->getBackoffPeriod(0, $request)); 18 | $this->assertEquals(2, $strategy->getBackoffPeriod(1, $request)); 19 | $this->assertEquals(4, $strategy->getBackoffPeriod(2, $request)); 20 | $this->assertEquals(8, $strategy->getBackoffPeriod(3, $request)); 21 | $this->assertEquals(16, $strategy->getBackoffPeriod(4, $request)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Backoff/LinearBackoffStrategyTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($strategy->makesDecision()); 16 | $request = $this->getMock('Guzzle\Http\Message\Request', array(), array(), '', false); 17 | $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request)); 18 | $this->assertEquals(5, $strategy->getBackoffPeriod(1, $request)); 19 | $this->assertEquals(10, $strategy->getBackoffPeriod(2, $request)); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DenyRevalidationTest.php: -------------------------------------------------------------------------------- 1 | assertFalse($deny->revalidate(new Request('GET', 'http://foo.com'), new Response(200))); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/SkipRevalidationTest.php: -------------------------------------------------------------------------------- 1 | assertTrue($skip->revalidate(new Request('GET', 'http://foo.com'), new Response(200))); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/AbstractCommandTest.php: -------------------------------------------------------------------------------- 1 | setDescription(ServiceDescription::factory(__DIR__ . '/../../TestData/test_service.json')); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/Factory/MapFactoryTest.php: -------------------------------------------------------------------------------- 1 | 'Guzzle\Tests\Service\Mock\Command\MockCommand', 28 | 'test1' => 'Guzzle\Tests\Service\Mock\Command\OtherCommand' 29 | )); 30 | 31 | if (is_null($result)) { 32 | $this->assertNull($factory->factory($key)); 33 | } else { 34 | $this->assertInstanceof($result, $factory->factory($key)); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Request/ResponseBodyVisitorTest.php: -------------------------------------------------------------------------------- 1 | getNestedCommand('response_body')->getParam('foo'); 16 | $visitor->visit($this->command, $this->request, $param, sys_get_temp_dir() . '/foo.txt'); 17 | $body = $this->readAttribute($this->request, 'responseBody'); 18 | $this->assertContains('/foo.txt', $body->getUri()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/AbstractResponseVisitorTest.php: -------------------------------------------------------------------------------- 1 | value = array(); 22 | $this->command = new MockCommand(); 23 | $this->response = new Response(200, array( 24 | 'X-Foo' => 'bar', 25 | 'Content-Length' => 3, 26 | 'Content-Type' => 'text/plain' 27 | ), 'Foo'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/BodyVisitorTest.php: -------------------------------------------------------------------------------- 1 | 'body', 'name' => 'foo')); 18 | $visitor->visit($this->command, $this->response, $param, $this->value); 19 | $this->assertEquals('Foo', (string) $this->value['foo']); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/ReasonPhraseVisitorTest.php: -------------------------------------------------------------------------------- 1 | 'reasonPhrase', 'name' => 'phrase')); 18 | $visitor->visit($this->command, $this->response, $param, $this->value); 19 | $this->assertEquals('OK', $this->value['phrase']); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/StatusCodeVisitorTest.php: -------------------------------------------------------------------------------- 1 | 'statusCode', 'name' => 'code')); 18 | $visitor->visit($this->command, $this->response, $param, $this->value); 19 | $this->assertEquals(200, $this->value['code']); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/InconsistentClientTransferExceptionTest.php: -------------------------------------------------------------------------------- 1 | assertEquals($items, $e->getCommands()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Exception/ValidationExceptionTest.php: -------------------------------------------------------------------------------- 1 | setErrors($errors); 15 | $this->assertEquals($errors, $e->getErrors()); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/IterableCommand.php: -------------------------------------------------------------------------------- 1 | 'iterable_command', 13 | 'parameters' => array( 14 | 'page_size' => array('type' => 'integer'), 15 | 'next_token' => array('type' => 'string') 16 | ) 17 | )); 18 | } 19 | 20 | protected function build() 21 | { 22 | $this->request = $this->client->createRequest('GET'); 23 | 24 | // Add the next token and page size query string values 25 | $this->request->getQuery()->set('next_token', $this->get('next_token')); 26 | 27 | if ($this->get('page_size')) { 28 | $this->request->getQuery()->set('page_size', $this->get('page_size')); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php: -------------------------------------------------------------------------------- 1 | get_called_class() == __CLASS__ ? 'mock_command' : 'sub.sub', 13 | 'httpMethod' => 'POST', 14 | 'parameters' => array( 15 | 'test' => array( 16 | 'default' => 123, 17 | 'required' => true, 18 | 'doc' => 'Test argument' 19 | ), 20 | '_internal' => array( 21 | 'default' => 'abc' 22 | ), 23 | 'foo' => array('filters' => array('strtoupper')) 24 | ) 25 | )); 26 | } 27 | 28 | protected function build() 29 | { 30 | $this->request = $this->client->createRequest(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/OtherCommand.php: -------------------------------------------------------------------------------- 1 | 'other_command', 13 | 'parameters' => array( 14 | 'test' => array( 15 | 'default' => '123', 16 | 'required' => true, 17 | 'doc' => 'Test argument' 18 | ), 19 | 'other' => array(), 20 | 'arg' => array('type' => 'string'), 21 | 'static' => array('static' => true, 'default' => 'this is static') 22 | ) 23 | )); 24 | } 25 | 26 | protected function build() 27 | { 28 | $this->request = $this->client->getRequest('HEAD'); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Command/Sub/Sub.php: -------------------------------------------------------------------------------- 1 | '{scheme}://127.0.0.1:8124/{api_version}/{subdomain}', 30 | 'scheme' => 'http', 31 | 'api_version' => 'v1' 32 | ), array('username', 'password', 'subdomain')); 33 | 34 | return new self($config->get('base_url'), $config); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/Model/MockCommandIterator.php: -------------------------------------------------------------------------------- 1 | nextToken) { 14 | $this->command->set('next_token', $this->nextToken); 15 | } 16 | 17 | $this->command->set('page_size', (int) $this->calculatePageSize()); 18 | $this->command->execute(); 19 | 20 | $data = json_decode($this->command->getResponse()->getBody(true), true); 21 | 22 | $this->nextToken = $data['next_token']; 23 | 24 | return $data['resources']; 25 | } 26 | 27 | public function next() 28 | { 29 | $this->calledNext++; 30 | parent::next(); 31 | } 32 | 33 | public function getResources() 34 | { 35 | return $this->resources; 36 | } 37 | 38 | public function getIteratedCount() 39 | { 40 | return $this->iteratedCount; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/FileBody.txt -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/bar.json: -------------------------------------------------------------------------------- 1 | { 2 | "includes": ["foo.json"] 3 | } 4 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/baz.json: -------------------------------------------------------------------------------- 1 | { 2 | "includes": ["foo.json", "bar.json"] 3 | } 4 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "includes": ["recursive.json"], 3 | "operations": { 4 | "abstract": { 5 | "httpMethod": "POST" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/description/recursive.json: -------------------------------------------------------------------------------- 1 | { 2 | "includes": ["foo.json"] 3 | } 4 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/mock_response: -------------------------------------------------------------------------------- 1 | HTTP/1.1 200 OK 2 | Content-Length: 0 3 | 4 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json1.json: -------------------------------------------------------------------------------- 1 | { 2 | "includes": [ "json2.json" ], 3 | "services": { 4 | "abstract": { 5 | "access_key": "xyz", 6 | "secret": "abc" 7 | }, 8 | "mock": { 9 | "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", 10 | "extends": "abstract", 11 | "params": { 12 | "username": "foo", 13 | "password": "baz", 14 | "subdomain": "bar" 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/services/json2.json: -------------------------------------------------------------------------------- 1 | { 2 | "services": { 3 | "foo": { 4 | "class": "Guzzle\\Tests\\Service\\Mock\\MockClient", 5 | "extends": "abstract", 6 | "params": { 7 | "baz": "bar" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service2.json: -------------------------------------------------------------------------------- 1 | { 2 | "operations": { 3 | "abstract": { 4 | "uri": "/abstract" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/guzzle/guzzle/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\EventDispatcher\Debug; 13 | 14 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; 15 | 16 | /** 17 | * @author Fabien Potencier 18 | */ 19 | interface TraceableEventDispatcherInterface extends EventDispatcherInterface 20 | { 21 | /** 22 | * Gets the called listeners. 23 | * 24 | * @return array An array of called listeners 25 | */ 26 | public function getCalledListeners(); 27 | 28 | /** 29 | * Gets the not called listeners. 30 | * 31 | * @return array An array of not called listeners 32 | */ 33 | public function getNotCalledListeners(); 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/cos/vendor/symfony/event-dispatcher/Tests/EventDispatcherTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\EventDispatcher\Tests; 13 | 14 | use Symfony\Component\EventDispatcher\EventDispatcher; 15 | 16 | class EventDispatcherTest extends AbstractEventDispatcherTest 17 | { 18 | protected function createEventDispatcher() 19 | { 20 | return new EventDispatcher(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/sdk/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 |

403 Forbidden

6 |
Copyright © 2019 Powered by Amoli.Co  7 |
8 | 9 | -------------------------------------------------------------------------------- /app/sdk/oss/autoload.php: -------------------------------------------------------------------------------- 1 | bucketList = $bucketList; 21 | } 22 | 23 | /** 24 | * Get the BucketInfo list 25 | * 26 | * @return BucketInfo[] 27 | */ 28 | public function getBucketList() 29 | { 30 | return $this->bucketList; 31 | } 32 | 33 | /** 34 | * BucketInfo list 35 | * 36 | * @var array 37 | */ 38 | private $bucketList = array(); 39 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Model/GetLiveChannelHistory.php: -------------------------------------------------------------------------------- 1 | liveRecordList; 13 | } 14 | 15 | public function parseFromXml($strXml) 16 | { 17 | $xml = simplexml_load_string($strXml); 18 | 19 | if (isset($xml->LiveRecord)) { 20 | foreach ($xml->LiveRecord as $record) { 21 | $liveRecord = new LiveChannelHistory(); 22 | $liveRecord->parseFromXmlNode($record); 23 | $this->liveRecordList[] = $liveRecord; 24 | } 25 | } 26 | } 27 | 28 | public function serializeToXml() 29 | { 30 | throw new OssException("Not implemented."); 31 | } 32 | 33 | private $liveRecordList = array(); 34 | } 35 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Model/PrefixInfo.php: -------------------------------------------------------------------------------- 1 | prefix = $prefix; 25 | } 26 | 27 | /** 28 | * @return string 29 | */ 30 | public function getPrefix() 31 | { 32 | return $this->prefix; 33 | } 34 | 35 | private $prefix; 36 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Model/UploadInfo.php: -------------------------------------------------------------------------------- 1 | key = $key; 24 | $this->uploadId = $uploadId; 25 | $this->initiated = $initiated; 26 | } 27 | 28 | /** 29 | * @return string 30 | */ 31 | public function getKey() 32 | { 33 | return $this->key; 34 | } 35 | 36 | /** 37 | * @return string 38 | */ 39 | public function getUploadId() 40 | { 41 | return $this->uploadId; 42 | } 43 | 44 | /** 45 | * @return string 46 | */ 47 | public function getInitiated() 48 | { 49 | return $this->initiated; 50 | } 51 | 52 | private $key = ""; 53 | private $uploadId = ""; 54 | private $initiated = ""; 55 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Model/XmlConfig.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 21 | if (empty($content)) { 22 | throw new OssException("body is null"); 23 | } 24 | $xml = simplexml_load_string($content); 25 | if (isset($xml->AccessControlList->Grant)) { 26 | return strval($xml->AccessControlList->Grant); 27 | } else { 28 | throw new OssException("xml format exception"); 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/AppendResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->header; 22 | if (isset($header["x-oss-next-append-position"])) { 23 | return intval($header["x-oss-next-append-position"]); 24 | } 25 | throw new OssException("cannot get next-append-position"); 26 | } 27 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/BodyResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body) ? "" : $this->rawResponse->body; 18 | } 19 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/CallbackResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->status; 15 | if ((int)(intval($status) / 100) == 2 && (int)(intval($status)) !== 203) { 16 | return true; 17 | } 18 | return false; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/CopyObjectResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 18 | $xml = simplexml_load_string($body); 19 | $result = array(); 20 | 21 | if (isset($xml->LastModified)) { 22 | $result[] = $xml->LastModified; 23 | } 24 | if (isset($xml->ETag)) { 25 | $result[] = $xml->ETag; 26 | } 27 | 28 | return $result; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/DeleteObjectsResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 18 | $xml = simplexml_load_string($body); 19 | $objects = array(); 20 | 21 | if (isset($xml->Deleted)) { 22 | foreach($xml->Deleted as $deleteKey) 23 | $objects[] = $deleteKey->Key; 24 | } 25 | return $objects; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/ExistResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->status) === 200 ? true : false; 17 | } 18 | 19 | /** 20 | * Check if the response status is OK according to the http status code. 21 | * [200-299]: OK; [404]: Not found. It means the object or bucket is not found--it's a valid response too. 22 | * 23 | * @return bool 24 | */ 25 | protected function isResponseOk() 26 | { 27 | $status = $this->rawResponse->status; 28 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 29 | return true; 30 | } 31 | return false; 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetCnameResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 15 | $config = new CnameConfig(); 16 | $config->parseFromXml($content); 17 | return $config; 18 | } 19 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetCorsResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 15 | $config = new CorsConfig(); 16 | $config->parseFromXml($content); 17 | return $config; 18 | } 19 | 20 | /** 21 | * Check if the response is OK, according to the http status. [200-299]:OK, the Cors config could be got; [404]: not found--no Cors config. 22 | * 23 | * @return bool 24 | */ 25 | protected function isResponseOk() 26 | { 27 | $status = $this->rawResponse->status; 28 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 29 | return true; 30 | } 31 | return false; 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLifecycleResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 22 | $config = new LifecycleConfig(); 23 | $config->parseFromXml($content); 24 | return $config; 25 | } 26 | 27 | /** 28 | * Check if the response is OK according to the http status. 29 | * [200-299]: OK, and the LifecycleConfig could be got; [404] The Life cycle config is not found. 30 | * 31 | * @return bool 32 | */ 33 | protected function isResponseOk() 34 | { 35 | $status = $this->rawResponse->status; 36 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 37 | return true; 38 | } 39 | return false; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLiveChannelHistoryResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 15 | $channelList = new GetLiveChannelHistory(); 16 | $channelList->parseFromXml($content); 17 | return $channelList; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLiveChannelInfoResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 15 | $channelList = new GetLiveChannelInfo(); 16 | $channelList->parseFromXml($content); 17 | return $channelList; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLiveChannelStatusResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 15 | $channelList = new GetLiveChannelStatus(); 16 | $channelList->parseFromXml($content); 17 | return $channelList; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLocationResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 24 | if (empty($content)) { 25 | throw new OssException("body is null"); 26 | } 27 | $xml = simplexml_load_string($content); 28 | return $xml; 29 | } 30 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetLoggingResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 22 | $config = new LoggingConfig(); 23 | $config->parseFromXml($content); 24 | return $config; 25 | } 26 | 27 | /** 28 | * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, 29 | * 404 is also considered a valid response 30 | * 31 | * @return bool 32 | */ 33 | protected function isResponseOk() 34 | { 35 | $status = $this->rawResponse->status; 36 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 37 | return true; 38 | } 39 | return false; 40 | } 41 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetRefererResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 22 | $config = new RefererConfig(); 23 | $config->parseFromXml($content); 24 | return $config; 25 | } 26 | 27 | /** 28 | * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, 29 | * 404 is also considered a valid response 30 | * 31 | * @return bool 32 | */ 33 | protected function isResponseOk() 34 | { 35 | $status = $this->rawResponse->status; 36 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 37 | return true; 38 | } 39 | return false; 40 | } 41 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetStorageCapacityResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 24 | if (empty($content)) { 25 | throw new OssException("body is null"); 26 | } 27 | $xml = simplexml_load_string($content); 28 | if (isset($xml->StorageCapacity)) { 29 | return intval($xml->StorageCapacity); 30 | } else { 31 | throw new OssException("xml format exception"); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/GetWebsiteResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 21 | $config = new WebsiteConfig(); 22 | $config->parseFromXml($content); 23 | return $config; 24 | } 25 | 26 | /** 27 | * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, 28 | * 404 is also considered a valid response 29 | * 30 | * @return bool 31 | */ 32 | protected function isResponseOk() 33 | { 34 | $status = $this->rawResponse->status; 35 | if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { 36 | return true; 37 | } 38 | return false; 39 | } 40 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/HeaderResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->header) ? array() : $this->rawResponse->header; 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/InitiateMultipartUploadResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 23 | $xml = simplexml_load_string($content); 24 | if (isset($xml->UploadId)) { 25 | return strval($xml->UploadId); 26 | } 27 | throw new OssException("cannot get UploadId"); 28 | } 29 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/ListBucketsResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 22 | $xml = new \SimpleXMLElement($content); 23 | if (isset($xml->Buckets) && isset($xml->Buckets->Bucket)) { 24 | foreach ($xml->Buckets->Bucket as $bucket) { 25 | $bucketInfo = new BucketInfo(strval($bucket->Location), 26 | strval($bucket->Name), 27 | strval($bucket->CreationDate)); 28 | $bucketList[] = $bucketInfo; 29 | } 30 | } 31 | return new BucketListInfo($bucketList); 32 | } 33 | } -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/ListLiveChannelResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 12 | $channelList = new LiveChannelListInfo(); 13 | $channelList->parseFromXml($content); 14 | return $channelList; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/PutLiveChannelResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->body; 12 | $channel = new LiveChannelInfo(); 13 | $channel->parseFromXml($content); 14 | return $channel; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/PutSetDeleteResult.php: -------------------------------------------------------------------------------- 1 | $this->rawResponse->body); 18 | return array_merge($this->rawResponse->header, $body); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/SymlinkResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->header[OssClient::OSS_SYMLINK_TARGET] = rawurldecode($this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET]); 21 | return $this->rawResponse->header; 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /app/sdk/oss/src/OSS/Result/UploadPartResult.php: -------------------------------------------------------------------------------- 1 | rawResponse->header; 22 | if (isset($header["etag"])) { 23 | return $header["etag"]; 24 | } 25 | throw new OssException("cannot get ETag"); 26 | 27 | } 28 | } -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/favicon.ico -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 |

403 Forbidden

6 |
Copyright © 2019 Powered by Amoli.Co  7 |
8 | 9 | -------------------------------------------------------------------------------- /static/js/tj.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/js/tj.js -------------------------------------------------------------------------------- /static/layer/theme/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/default/icon-ext.png -------------------------------------------------------------------------------- /static/layer/theme/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/default/icon.png -------------------------------------------------------------------------------- /static/layer/theme/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/default/loading-0.gif -------------------------------------------------------------------------------- /static/layer/theme/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/default/loading-1.gif -------------------------------------------------------------------------------- /static/layer/theme/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/default/loading-2.gif -------------------------------------------------------------------------------- /static/layer/theme/moon/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChinaMoli/AmoliCloud/10278aeead93bc32a30894d654c970e63e922269/static/layer/theme/moon/default.png --------------------------------------------------------------------------------