Commit Graph

157 Commits (e70a231855de2456073f5ea69b7f353478519818)

Author SHA1 Message Date
oneRain 66ade7bbb6 chore: 支持 App Router 2020-03-09 12:31:25 +08:00
oneRain 593ac9776d 0.2.1 2020-03-05 11:29:45 +08:00
oneRain 4135e4ed5c 0.2.0 2020-03-04 16:41:24 +08:00
oneRain 6fb2750b67 chore: 整理工程结构 2020-03-04 14:31:48 +08:00
oneRain 3cae03c4d3 test: 增加用户手动测试部分,包括邮件,验证码等 2020-03-03 15:53:18 +08:00
oneRain da7a92ea12 * UserTest.cs: chore: 整理 Http 模块,跑通所有单元测试
* LCHttpClient.cs:
2020-03-03 15:08:59 +08:00
oneRain 0809a9c558 * LCFile.cs:
* FileTest.cs:
* LCQiniuUploader.cs:
* LCProgressableStreamContent.cs:

* LCAWSUploader.cs: chore: 支持文件保存进度
2020-03-03 11:55:57 +08:00
oneRain 4df8179e5a * FileTest.cs: chore: 完善文件相关功能和测试
* LCFile.cs:
* LCAWSUploader.cs:
* LCMimeTypeMap.cs:
* LCQiniuUploader.cs:
* InstallationIdController.cs:
2020-03-02 17:13:02 +08:00
oneRain 30c0fc2243 * OperationTest.cs: chore: 完善 operation 功能和测试
* LCObject.cs:
* LCAddOperation.cs:
* LCDeleteOperation.cs:
* LCNumberOperation.cs:
* LCRemoveOperation.cs:
* LCAddUniqueOperation.cs:
* LCDecrementOperation.cs:
2020-02-27 17:06:21 +08:00
oneRain 774745cfae * GeoTest.cs: chore: 完善 Geo 功能及测试
* LCGeoPoint.cs:
2020-02-27 15:38:23 +08:00
oneRain 2e026c2b76 chore: 异常测试 2020-02-27 15:30:14 +08:00
oneRain f8798b67e8 * ACLTest.cs: chore: 完善 ACL 功能和测试
* LCACL.cs:
* JsonTest.cs:
* JustTest.cs:
* HelloTest.cs:
2020-02-27 12:42:17 +08:00
oneRain 83ad15a8ec * RelationTest.cs: chore: 完善 Relation 和 Role 的功能和测试
* LCRole.cs:
* LCObject.cs:
* LCRelation.cs:
* RoleTest.cs:
* LCDecoder.cs:
* LCEncoder.cs:
* LCAddRelationOperation.cs:
* LCRemoveRelationOperation.cs:
2020-02-27 12:31:48 +08:00
oneRain 6576cbd47f * UserTest.cs: chore: 完善用户功能和测试
* LCUser.cs:
* LCUserAuthDataLoginOption.cs:
* LCHttpClient.cs:
2020-02-27 11:31:38 +08:00
oneRain 00941b3082 * ACLTest.cs: chore: 完善 query 实现和测试
* LCObject.cs:
* QueryTest.cs:
* LCHttpClient.cs:
* LeanCloudJsonConverter.cs:
* LCCompositionalCondition.cs:
2020-02-26 13:01:22 +08:00
oneRain 788f0bf1c3 * CloudTest.cs: chore: 完善云引擎实现和测试
* LCCloud.cs:
* LCDecoder.cs:
* LCHttpClient.cs:
2020-02-26 11:48:42 +08:00
oneRain cbdb4e409e * SubClassTest.cs: chore: 完善 Subclass 实现和子类化
* LCObject.cs:
* LeanCloud.cs:
* LCCompositionalCondition.cs:
2020-02-26 11:16:21 +08:00
oneRain 05047115d1 * ObjectTest.cs: chore: 完善 Object 模块和测试
* LCQuery.cs:
* LCObject.cs:
* LCDecoder.cs:
* LCEncoder.cs:
* LCHttpClient.cs:
* ILCOperation.cs:
* LCAddOperation.cs:
* LCSetOperation.cs:
* LCDeleteOperation.cs:
* LCRemoveOperation.cs:
* LCAddUniqueOperation.cs:
* LCDecrementOperation.cs:
* LCCompositionalCondition.cs:
* LCAddRelationOperation.cs:
* LCRemoveRelationOperation.cs:
2020-02-25 20:39:49 +08:00
oneRain c775f612bc * LCFile.cs:
* LCRole.cs:
* LCUser.cs:
* LCCloud.cs:
* LCQuery.cs:
* LCObject.cs:
* LeanCloud.cs:
* LCBatch.cs:
* LCHttpClient.cs:
* LCCompositionalCondition.cs:

* HelloTest.cs: chore: 实现批处理
2020-02-24 17:50:31 +08:00
oneRain 362ef92079 * LCDecoder.cs: chore: 调通 Query
* LCFile.cs:
* LCRole.cs:
* LCUser.cs:
* LCQuery.cs:
* LCObject.cs:
* LCHttpClient.cs:
* LCObjectData.cs:
* LCSubClassInfo.cs:
* LCCompositionalCondition.cs:
2020-02-21 16:44:58 +08:00
oneRain 8132a465ba chore: 实现 operation 2020-02-20 12:44:33 +08:00
oneRain e4381667c8 chore: 框架 2020-02-19 18:50:51 +08:00
oneRain 148c4d6ae2 * AVCorePlugins.cs: chore: 将 AVObject 中的属性 ACL 单独处理
* AVObject.cs:
* IObjectState.cs:
* MutableObjectState.cs:
* PointerOrLocalIdEncoder.cs:
* AVUserController.cs:
* AVObjectController.cs:
2019-12-16 14:40:16 +08:00
oneRain fcb513aee3 * ObjectTest.cs: chore: 继续简化代码
* AVObject.cs:
* AVObjectCoder.cs:
* MutableObjectState.cs:
* AVUserController.cs:
2019-12-12 17:11:17 +08:00
oneRain a9ce795c45 * ObjectTest.cs: chore: 移除旧代码
* AVUser.cs:
* AVObject.cs:
* SubClassTest.cs:
* AVExtensions.cs:
* AVObjectExtensions.cs:
* AVQueryController.cs:
* AVObjectController.cs:
2019-12-11 17:03:23 +08:00
oneRain a839ccc96d * AVObjectTest.cs: chore: 移除旧代码
* Test.cs:
* ObjectTest.cs:
* AVObject.cs:
* AVExtensions.cs:
* AVObjectExtensions.cs:
* IdentityEqualityComparer.cs:
* AVObjectController.cs:
2019-12-11 11:38:17 +08:00
oneRain ebeb1ccf6e chore: 补充 save 单个对象时的条件设置 2019-12-09 16:48:04 +08:00
oneRain 0bd113c4d6 chore: 简化保存逻辑 2019-12-09 16:18:59 +08:00
oneRain 538552c13d chore 2019-12-09 11:52:13 +08:00
oneRain 283bb2e58b * ObjectTest.cs: fix: 修复引用已存在对象保存多次的 bug
* AVObject.cs:
2019-12-06 17:02:10 +08:00
oneRain 48bcd68eec * AVObjectExtensions.cs:
* AVObject.cs: chore: 移除 AVObject 属性变化相关接口
2019-12-06 15:36:42 +08:00
oneRain fe204c3c05 chore: 增加简单的批量保存实现 2019-12-06 15:35:41 +08:00
oneRain c352529843 * ObjectTest.cs: chore: 支持 Pointer 类型的数组和字典及测试
* AVEncoder.cs:
2019-12-05 16:36:11 +08:00
oneRain b85babb38b * csharp-sdk.sln: chore: 循环引用检测及测试;保存批次算法调整
* Test.cs:
* Utils.cs:
* AVObject.cs:
* AppRouterTest.cs:
* ObjectTest.cs:
* AVObject.cs:
* Common.Test.csproj:
* AVObjectTest.cs:
* AVException.cs:
2019-12-05 16:06:54 +08:00
oneRain 043f8e2d88 chore: 优化迭代逻辑 2019-11-26 17:35:02 +08:00
oneRain 3bdf46e5a5 * AVCorePlugins.cs: chore: 简化 AVObject 相关请求
* AVObject.cs:
* AVObject2.cs:
* AVCommandRunner.cs:
* QiniuUploader.cs:
* QCloudUploader.cs:
* AVObjectController.cs:
2019-11-26 16:43:48 +08:00
oneRain f171cee759 * AppRouterController.cs: chore: 提取公共模块,和 Play 共享。包括
AppRouter,Json,日志等

* csharp-sdk.sln:
* RTM.csproj:
* Common.csproj:
* HttpUtils.cs:
* Tests.cs:
* JsonExtensions.cs:
* Storage.csproj:
* JustTest.cs:
* AppRouterTest.cs:
* AppRouterState.cs:
* ObjectTest.cs:
* Common.Test.csproj:
* Common.Test.csproj:
* AppRouterTest.cs:
* Storage.Test.csproj:
* AVObjectController.cs:
2019-11-01 18:19:35 +08:00
oneRain 68a047ba1e * AVACL.cs:
* ObjectTest.cs:
* AVObject.cs:
* AVException.cs:
* ObjectControllerTests.cs:

* AVObjectController.cs: chore: AVObject 增加符合条件删除
2019-09-23 16:16:04 +08:00
oneRain d118935f21 * ObjectControllerTests.cs: chore: 格式化
* AVObject.cs:
* AVAddOperation.cs:
* AVSetOperation.cs:
* AVDeleteOperation.cs:
* AVFieldOperations.cs:
* AVRemoveOperation.cs:
* IAVFieldOperation.cs:
* AVRelationOperation.cs:
* AVAddUniqueOperation.cs:
* AVIncrementOperation.cs:
2019-09-19 17:59:16 +08:00
oneRain afebf78444 * AVObjectController.cs: chore: 修复保存嵌套 AVObject 的错误
* AVObject.cs:
2019-09-19 11:28:47 +08:00
oneRain 6c62ed2707 * ObjectControllerTests.cs: chore: 简化遍历逻辑
* AVObject.cs:
* AVQueryExtensions.cs:
* AVEncoder.cs:
* Conversion.cs:
2019-09-18 18:21:28 +08:00
oneRain e5aa736805 * JustTest.cs: chore: 优化 AVObject 编解码
* AVClient.cs:
* AVObject.cs:
* AVObject2.cs:
* ObjectControllerTests.cs:
* AVDecoder.cs:
* AVEncoder.cs:
* MutableObjectState.cs:
2019-09-18 17:23:49 +08:00
oneRain 1823dd974b * QueryCompositionalCondition.cs: chore
* QueryEqualCondition.cs:
* QueryOperationCondition.cs:
2019-09-17 16:31:08 +08:00
oneRain bd47c2e44e * AVIMConversationQuery.cs: chore: AVIMConversation 使用
QueryCondition

* AVQuery.cs:
* QueryOperation.cs:
* IQueryCondition.cs:
* QueryEqualCondition.cs:
* QueryRelatedCondition.cs:
* QueryOperationCondition.cs:
* QueryCompositionalCondition.cs:
2019-09-17 14:28:44 +08:00
oneRain 0aab4b959b * AVIMConversationQuery.cs: chore
* Utils.cs:
* FileTest.cs:
* JsonTest.cs:
* JustTest.cs:
* RoleTest.cs:
* UserTest.cs:
* QueryTest.cs:
* AVQuery.cs:
* ObjectTest.cs:
* RelationTest.cs:
* SubClassTest.cs:
* AppRouterTest.cs:
* CloudFunctionTest.cs:
* ObjectControllerTests.cs:
* AVObjectController.cs:
2019-09-17 11:53:28 +08:00
oneRain 3f57be22a2 * AVQueryController.cs: chore: 简化 AVQuery 逻辑,将查询条件逻辑转移至
QueryCondition

* AVQuery.cs:
* IQueryCondition.cs:
* QueryEqualCondition.cs:
* AVQueryExtensions.cs:
* QueryCompositionalCondition.cs:
2019-09-17 11:31:40 +08:00
oneRain 06707f75fe * AVIMConversationQuery.cs: chore: 抽象 QueryCondition
* AVQuery.cs:
* AVRelation.cs:
* AVQueryExtensions.cs:
* AVQueryExtensions.cs:
* QueryCompositionalCondition.cs:
2019-09-16 18:25:05 +08:00
oneRain 6252a06b72 * QueryTest.cs: chore: 在 AVQuery 中提取 QueryCondition 模块,实现 Where
条件组合;共享给 AVIMCOnversationQuery 使用

* AVQuery2.cs:
* AVQuery.cs:
* QueryCondition.cs:
* IQueryCondition.cs:
* QueryEqualCondition.cs:
* QueryRelatedCondition.cs:
* QueryCompositionalCondition.cs:
* AVObjectController.cs:
2019-09-16 16:46:12 +08:00
oneRain 6c70b459d5 * AppRouterController.cs: chore: 调整 app router 域名及统一设置域名方法
* AVClient.cs:
2019-09-16 11:06:49 +08:00
oneRain 5b9da20d74 * csharp-sdk.sln: chore: 重构 AVFile 为 AVObject 的子类
* RTM.csproj:
* AVQuery2.cs:
* AVRealtime.cs:
* AVIMNotice.cs:
* AVIMClient.cs:
* AVIMMessage.cs:
* Utils.cs:
* ICacheEngine.cs:
* IAVIMMessage.cs:
* AVIMSignature.cs:
* AVIMEventArgs.cs:
* IAVIMListener.cs:
* AVIMException.cs:
* JustTest.cs:
* FileTest.cs:
* AVIMEnumerator.cs:
* AVFile.cs:
* QueryTest.cs:
* AVIMTextMessage.cs:
* AVQuery.cs:
* AVObject.cs:
* AVIMTypedMessage.cs:
* AVIMImageMessage.cs:
* IAVTimer.cs:
* AVIMConversation.cs:
* AVClient.cs:
* AVIMAudioMessage.cs:
* ISignatureFactory.cs:
* AVIMCorePlugins.cs:
* AVIMBinaryMessage.cs:
* AVIMRecalledMessage.cs:
* AVIMMessageListener.cs:
* AckCommand.cs:
* IAVIMPlatformHooks.cs:
* AVIMConversationQuery.cs:
* AVIMCommand.cs:
* ReadCommand.cs:
* PatchCommand.cs:
* GoAwayListener.cs:
* AVIMProtocol.cs:
* MessageCommand.cs:
* SessionListener.cs:
* SessionCommand.cs:
* AVIMTemporaryConversation.cs:
* RouterState.cs:
* AVRouterController.cs:
* AVIMCommandRunner.cs:
* IAVIMCommandRunner.cs:
* AVDecoder.cs:
* IAVRouterController.cs:
* IWebSocketClient.cs:
* MessagePatchListener.cs:
* ConversationCommand.cs:
* AVIMMessageFieldNameAttribute.cs:
* AVIMMessageClassNameAttribute.cs:
* QueryOperation.cs:
* QueryCondition.cs:
* OfflineMessageListener.cs:
* AVIMTypedMessageTypeIntAttribute.cs:
* AVTimer.Portable.cs:
* AVIMConversationListener.cs:
* ConversationUnreadListener.cs:
* StringEngine.cs:
* AWSUploader.cs:
* DateTimeEngine.cs:
* QiniuUploader.cs:
* QCloudUploader.cs:
* DictionaryEngine.cs:
* AVFileController.cs:
* FreeStyleMessageClassInfo.cs:
* DefaultWebSocketClient.Portable.cs:
* FreeStyleMessageClassingController.cs:
* IFreeStyleMessageClassingController.cs:
2019-09-12 15:07:19 +08:00
oneRain bc5d396ab9 * ObjectControllerTests.cs: chore: 简化 Object 保存逻辑
* ObjectTest.cs:
* AVObject.cs:
* AVRemoveOperation.cs:
2019-09-09 16:34:49 +08:00
oneRain b0cf1caa5e chore 2019-09-06 16:43:11 +08:00
oneRain f57fc6d884 * ObjectTest.cs: chore: 修复 session 重复的问题
* Utils.cs:
* UserTest.cs:
* AVCommandRunner.cs:
2019-09-06 14:08:05 +08:00
oneRain aabd25d2e8 * AWSUploader.cs: chore: await/async
* AVFile.cs:
* AVCloud.cs:
* AVQuery.cs:
* AVLeaderboard.cs:
* QiniuUploader.cs:
* QCloudUploader.cs:
2019-09-06 12:24:50 +08:00
oneRain f3ed814d96 * AppRouterState.cs: chore: 使用 await/async 替换 ContinueWith/OnSuccess
* QueryTest.cs:
* ObjectTest.cs:
* AVObject.cs:
* ObjectControllerTests.cs:
* AVFileController.cs:
* AVObjectController.cs:
* AVCloudCodeController.cs:
2019-09-06 11:51:52 +08:00
oneRain eda7dd43bb * RoleTest.cs:
* SubClassTest.cs: test: 增加子类化测试
2019-09-02 14:23:23 +08:00
oneRain 7980d47168 * ObjectControllerTests.cs: test: 测试批量操作
* AVObject.cs:
* AVFileExtensions.cs:
* MutableObjectState.cs:
* AVObjectController.cs:
* ObjectSubclassInfo.cs:
* ObjectSubclassingController.cs:
2019-09-02 14:01:28 +08:00
oneRain 7f29ee2cbf chore 2019-08-30 10:58:32 +08:00
oneRain db35fa69c2 * FileTest.cs:
* AVFile.cs:
* FileState.cs:

* AVFileController.cs: chore: 简化 File 模块
2019-08-29 16:37:16 +08:00
oneRain e6280b828d * AVUserExtensions.cs: chore
* AVFile.cs:
* AVObject.cs:
2019-08-29 14:14:29 +08:00
oneRain 8f7dcc080d * AVCloud.cs: chore
* AVFile.cs:
* AVUploadProgressEventArgs.cs:
* AVDownloadProgressEventArgs.cs:
2019-08-29 11:27:14 +08:00
oneRain e4681cfa40 * CloudFunctionTest.cs:
* AVCloudCodeController.cs: fix: 修复云函数无参数时的 bug
2019-08-29 11:03:49 +08:00
oneRain 9d932f0f0b * Utils.cs:
* AVObject.cs:
* CloudFunctionTest.cs:

* ObjectSubclassingController.cs: chore: 测试云函数
2019-08-28 18:19:26 +08:00
oneRain 7a5aef733d * AppRouterState.cs: chore: 格式化代码
* AVUser.cs:
* AVFile.cs:
* AVQuery.cs:
* AVFile.cs:
* AVCloud.cs:
* AVUser.cs:
* AVClient.cs:
* AVObject.cs:
* IAVQuery.cs:
* AVCloud.cs:
* AVObject.cs:
* AVExtensions.cs:
* AVQueryExtensions.cs:
* AVQueryExtensions.cs:
* QiniuUploader.cs:
* HttpClient.Unity.cs:
* IAVFileController.cs:
* AWSS3FileController.cs:
* IAVConfigController.cs:
* ObjectSubclassInfo.cs:
* IAVCloudCodeController.cs:
* ObjectSubclassingController.cs:
2019-08-28 17:00:03 +08:00
oneRain 6a42f1f74a * AVCommandRunner.cs: chore: 格式化代码
* AVUser.cs:
* AVCloud.cs:
* IAVCommandRunner.cs:
* AVFileController.cs:
2019-08-28 16:32:13 +08:00
oneRain a951d8e6c5 * AVCloudCodeController.cs: chore: 去掉多余的 SessionToken 参数
* AVFile.cs:
* AVCloud.cs:
* AVObject.cs:
* AVLeaderboard.cs:
* XamarinAttributes.cs:
* AVFileController.cs:
* AVQueryController.cs:
* AVObjectController.cs:
2019-08-28 16:24:06 +08:00
oneRain 2a735cd89a * ObjectControllerTests.cs: chore: 支持 FetchWhenSave
* AVObject.cs:
* AVObjectController.cs:
2019-08-28 13:44:13 +08:00
oneRain 862df7c6fa * ObjectControllerTests.cs: chore: 增加根据条件更新 Object
* ObjectTest.cs:
* AVObject.cs:
* AVObjectController.cs:
2019-08-28 12:10:59 +08:00
oneRain 9d3c9dc178 * AVLiveQuery.cs: chore: 支持 Object Fetch
* AVFile.cs:
* AVCloud.cs:
* AVObject.cs:
* AVExtensions.cs:
* ObjectControllerTests.cs:
2019-08-28 11:07:12 +08:00
oneRain 548d2314a1 * ObjectControllerTests.cs:
* AVObject.cs: test: 测试 Object 的 fetch 方法
2019-08-27 17:27:46 +08:00
oneRain 65b54eb5d3 * FileTest.cs: chore: 增加图片缩略图接口
* AVFile.cs:
2019-08-27 17:05:49 +08:00
oneRain 13b0789d2b chore: 简化 AVClient 2019-08-27 16:37:53 +08:00
oneRain 671b137721 * RelationTest.cs:
* Storage.Test.csproj:

* AVRelation.cs: chore: 测试 Relation
2019-08-27 16:14:35 +08:00
oneRain 9266d6e115 * AppRouterController.cs: chore:
* Utils.cs:
* RoleTest.cs:
* AVQuery.cs:
* AVStatus.cs:
* AVRelation.cs:
* AVFieldNameAttribute.cs:

* AVRole.cs: chore: 测试 Role 模块
2019-08-27 15:19:19 +08:00
oneRain 56bfee1732 * hello.png: chore: 调整测试文件所在目录
* test.apk:
* hello.png:
* FileTest.cs:
* test.apk:
2019-08-27 12:07:47 +08:00
oneRain b511d832c7 * FileTest.cs: chore: 完善 File 模块
* Utils.cs:
* AVFile.cs:
* AWSUploader.cs:
* QiniuUploader.cs:
2019-08-27 11:52:53 +08:00
oneRain 15e6a5d9c3 * AVFileController.cs: fix: 修复上传文件的 bug
* AWSUploader.cs:
* QiniuUploader.cs:
2019-08-26 16:31:17 +08:00
oneRain d339fe9e4e chore: 增加 User 获取所属角色的接口 2019-08-23 16:58:46 +08:00
oneRain 6969884bd9 * ObjectTest.cs: chore: 整理 AVUser 接口,并编写简单测试用例。
* UserTest.cs:
* AVUser.cs:
* AVQuery.cs:
* AVObject.cs:
* MD5.cs:
* AVCloudCodeController.cs:
2019-08-23 16:16:18 +08:00
oneRain 3786595bf1 chore: 简化 AVUser 接口 2019-08-22 11:52:26 +08:00
oneRain e68a13590a chore: 简化 AVUser 2019-08-21 17:55:08 +08:00
oneRain c303a5d307 chore: 重构 AVUser 模块 2019-08-21 16:30:34 +08:00
oneRain fc4ff081f7 chore: 提出 AppRouter 模块,以备后面共享使用 2019-08-15 15:11:38 +08:00
oneRain 991446940a chore: 同步修复华东节点上传文件的 bug 2019-08-13 16:08:10 +08:00
oneRain ba39a81eb5 chore: 将 AppRouter 提出作为共享库维护 2019-08-09 17:53:19 +08:00
oneRain 6b52376069 chore: 清理了 AVUser 及持久化 2019-08-09 17:34:08 +08:00
oneRain 148f51967e chore: 删除 HttpClient,使用 .Net 标准库中的 HttpClient 2019-08-09 14:32:28 +08:00
oneRain f2ec04a331 chore: 规范 http 请求 headers 2019-08-09 12:27:35 +08:00
oneRain 265a34aa9b chore: 简化 InstallationController 逻辑 2019-08-08 18:49:28 +08:00
oneRain c994aad93e chore: 简单的用户接口测试 2019-08-07 17:41:36 +08:00
oneRain e1c57e5bc3 chore: 简化存储 2019-08-07 17:04:17 +08:00
oneRain 81b2ea993f chore: 简化 2019-08-07 16:35:21 +08:00
oneRain 905cc943bf chore: 支持 and 查询 2019-08-07 14:58:24 +08:00
oneRain a3d477075a chore: 整理接口 2019-08-07 14:32:00 +08:00
oneRain 7d88d92a80 chore: 简化 2019-08-06 18:45:45 +08:00
oneRain 572bf3d060 chore: 简单支持链式查询 2019-08-06 18:26:56 +08:00
oneRain 4e1139a73b test: 简单的查询测试 2019-08-06 15:21:39 +08:00
oneRain 56a051080a chore: 简化 AVClient 2019-08-06 14:18:02 +08:00
oneRain 70b3a37fe3 chore: 替换 json 解析实现 2019-08-06 12:16:17 +08:00
oneRain ca3b19311c chore: 重构了 AVCommand 及 http 模块 2019-08-01 17:36:34 +08:00