Commit Graph

370 Commits (e2b3f07643b8cae7aa439686b808879ec84da7d1)

Author SHA1 Message Date
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 5d88f601b3 * AppRouter.cs: chore: 完善公共模块
* Common.csproj:
* HttpUtils.cs:
* TaskExtensions.cs:
* AppRouterController.cs:
2019-11-04 15:45:42 +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