6 Star 20 Fork 19

xengine / XEngine_Storage

2024-04-18 10:19
qyt

增加:默认SSL的KEY文件
增加:BT协议模块(支持解析,创建和下载BT种子)
增加:信息报告模块,可以上报信息和查询
修改:定义http请求的类型修改为const char *类型
修改:ssl类型现在采取默认tls了
修改:ssl支持多类型证书了
修改:配置文件逻辑型从int都改成bool了
修正:读取ssl配置不正确的问题
删除:没有使用的center相关代码

added:default ssl key
added:bt protocol module
added:info report module
modify:define http request type modify to const char *
modify:ssl type default only tls now
modify:ssl support multi type cert
modify:boolean type to asbool from asint for configure
fixed:read ssl configure is incorrect
delete:unused code for center

最后提交信息为: !36V3.14.0.1001 Merge
2024-03-01 10:48
qyt

增加:st_PermissionFlags增加新的标志位上传限制,现在上传文件也可以进行限制了
增加:boundary文件上传支持
优化:选择模式代码
更新:匹配XENGINE V8.25版本
修改:获取目录大小函数单独出来了
修正:上传覆写标识不起作用的问题
修正:禁用标识在下载的时候没有作用的问题
修正:配置文件字段逻辑型类型问题
删除:put方法支持

added:st_PermissionFlags a new flag use to upload limit. and now upload file size and enable limit supported
added:boundary upload file supported
improved:select mode code
update:match xengine v8.25
modify:Wrapped function to get folder size
fixed:upload rewrite flag is not work
fixed:disable flag does not work in download
fixed:configure field is not boolean
delete:upload put method

最后提交信息为: !35V3.13.0.1001 Merge
2024-01-02 17:10
qyt

修改:不在插入数据当HTTP的HOOK出错
修改:当http的hook和数据库插入出错上传的文件会被删除了
修正:编译问题

modify:does not insert db when http pass is failed
modify:remove upload file when http pass and insert db are failed
fixed:build error

最后提交信息为: !34V3.12.1.1001 Merge
2023-10-25 10:09
qyt

增加:为P2P启用内存数据库支持
修改:为P2P功能单独启用配置选项
修改:http验证回调发送数据字段被填充了
修改:WINDOWS宏定义
修正:重载配置的错误
修正:数据库时间处理不正确
删除:业务分布式功能被删除
删除:没有使用的配置代码

added:memory database supported for p2p
modify:The configuration for enabling P2P is set up as a separate project.
modify:http authorize callback send len is useful
modify:windows macro define name
fixed:reload configure is incorrent
fixed:database thread time is incorrent
delete:center Distributed function,it is useless
delete:unuse configure field

最后提交信息为: !33V3.12.0.1001 Merge
2023-08-04 11:23
qyt

更新:匹配XEngine V8.15版本
更新:配置文件信息

update:match xengine v8.15
update:configure file information

最后提交信息为: !32V3.11.1.1001 Merge
2023-04-21 10:05
qyt

更新:匹配XEngine V8.x版本
更新:linux和macos的编译脚本
修改:现在数据库连接都使用utf8版本字符集了
修改:数据库字符集使用utf8mb4_unicode_ci
修改:分离了验证和代理配置
修改:下载和上传以及验证支持单独验证开关了
修正:无法创建数据库表的问题

update:match xengine v8.10
update:linux and macos build makefile
modify:database connect used to utf charset
modify:charset to utf8mb4_unicode_ci
modify:detach auth and proxy configure
modify:download and upload and center support both verification switch
fixed:can't create table of file

最后提交信息为: !31V3.11.0.1001 Merge
2023-02-10 11:58
qyt

增加:上传文件覆写功能
增加:上传文件可以对不存在的文件夹设置是否创建的权限标记了
增加:下载和上传连接限制功能
优化:Session_UPStroage_Insert的多余参数
修改:匹配XEngineV7.48版本
修正:storagehelp的获取最后错误码不正确的问题
修正:广播查询文件不正确的问题
修正:没有响应消息当存储的bucket名称不存在时

added:rewrite file choice support
added:upload file can be set permission when path not exist
added:download and upload connect limit
improved:Session_UPStroage_Insert function parament
modify:match xengine v7.48
fixed:storeagehelp get last error is incorrent
fixed:broadcast query file is incorrent
fixed:does not reply http message when storage key notfound

最后提交信息为: !30V3.10.0.1001 Merge
2022-12-27 09:42
qyt

修改:p2p广播的每个请求都可以被区分了
修改:匹配XEngine V7.45版本
修正:编译警告

modify:p2p broadcast request can be distinguished
modify:match xengine v7.45
fixed: build warn

最后提交信息为: !28V3.9.1.1001 Merge
2022-10-28 09:45
qyt

添加:用户支持单独限速模式了
更新:匹配XEngine V7.42版本
修改:限制模式是逻辑型了
修改:上传会话字段ullFSize修改为ullRWLen
修改:P2P搜索文件可以不使用数据库了
修改:P2P文件搜索必须设置文件HASH值
修改:本地文件没有找到后会返回错误了
优化:删除没有使用的APIHelp_Distributed_UPStorage函数参数
优化:Session_UPStroage_Close函数代码
修正:P2P没有查找没有返回bucket名称的问题
删除:错误重试配置
删除:没有使用的bucket选择模式代码

added:support user speed limit
update:match xengine v7.42
modify:limit mode is boolean
modify:up session changed ullRWLen from ullFSize
modify:p2p search file can be not enable database
modify:p2p file search have to setting hash value
modify:local file search not found file that reply error code
improved:delete unused parament for APIHelp_Distributed_UPStorage function
improved:Session_UPStroage_Close function code
fixed:p2p not reply bucket name
delete:error try time configrue
delete:unused select bucket mode code

最后提交信息为: !25V3.9.0.1001 Merge
2022-07-27 09:55
qyt

更新:匹配了xengine v7.38
修改:支持macos系统了
修改:不在使用BaseLib_OperatorString_GetLastString函数
修改:现在不在对本地文件进行处理了
修改:未完成的上传也返回信息了
修改:上传只支持指定bucket了
修正:linux构建错误
修正:配置错误
修正:心跳和网络句柄打印错误
修正:枚举文件路径参数不正确
修正:程序退出某些时候崩溃的问题
修正:上传返回的json长度字段不正确的问题
优化:版本列表配置
删除:客户端数据库相关代码
删除:无用代码

update:match xengine v7.38
modify:support macos now
modify:does not use BaseLib_OperatorString_GetLastString fuinction
modify:Do not judge the existence of files for this machine
modify:Incomplete uploads also return information
modify:upload supports specifying bucket
fixed:linux build
fixed:configure error
fixed:heartbeat and tcpcore handle print error
fixed:Incorrect path parameter for enumeration file
fixed:The problem is crashed when exiting the program at sometime
fixed:the len field of the upload result json is incorrect
improved:version list configure
delete:client database related code
delete:unused code

最后提交信息为: !24V3.8.0.1001 Merge
2022-06-24 09:17
qyt

优化:关闭广播
修改:Protocol_P2XPPacket_QueryFile函数名为Protocol_StoragePacket_REQFile
修改:程序启动会打印XEngine版本了
修正:动态重载配置文件不正确
修正:客户离开类型日志打印问题
删除:p2p相关文件和代码

improved:close broadcast
modify:Protocol_P2XPPacket_QueryFile function name to Protocol_StoragePacket_REQFile function name
modify:print xengine version when start program
fixed:reload configure file is incorrent
fixed:print problem that client leave type
delete:p2xp about file and code

最后提交信息为: !22V3.7.0.1001 Merge
2022-04-02 10:43
qyt

添加:在Protocol_StorageParse_QueryFile函数中添加模式参数
修改:移动数据库和P2XP模块到主目录
修改:SQL函数名称
修改:p2p会自动填充客户端外网地址了
修改:任务处理支持客户端和文件数据库操作了
修改:默认启动数据库
修复:数据库删除的问题
修复:p2p获取ip信息内存泄露
删除:配置文件p2p模式字段
删除:XENGINE_STORAGE_APP_METHOD_P2P任务方法

added:mode parament in Protocol_StorageParse_QueryFile function
modify:move database and p2xp module to root dir
modify:sql function name
modify:p2p can be auto fill public address
modify:task support client and file database operator
modify:enable client database.
fixed:the problem that the file delete
fixed:memoryleak problem that p2p get ip information
delete:p2p mode field
delete:task XENGINE_STORAGE_APP_METHOD_P2P method.

最后提交信息为: !21V3.6.0.1001 Merge
2022-03-14 11:02
qyt

修改:获取IP地址信息方式
修正:编译问题

modify:how to get ipaddress information
fixed:compile error

最后提交信息为: !20V3.5.1.1001 Merge
2022-02-28 09:48
qyt

添加:JSONCPP现在集成到项目中
支持:x64 debug编译了
升级:字符编码使用utf8-bom
修改:获取IP信息方法
修改:扩展了IP地址信息字段
修正:分布式重定向 2 和 3 模式总是会选择其中一种的问题
修正:当APIHelp_Distributed_UPStorage 没有找到可用地址的问题

added:jsoncpp into project
support:windows x64 debug compile...
update:charset encoding use utf8-bom
modify:Method of get IP address information
modify:Expanded ip address information
fixed:The problem that only one of the distributed redirection 2 and 3 modes will always be selected
fixed:the problem when APIHelp_Distributed_UPStorage not found address

最后提交信息为: !19V3.5Merge
2022-01-26 10:46
qyt

修改:支持windows x64 debug的编译
修复:指定的bucket名称不处理空间大小的问题
修复:当上传storagekey错误的名称没有发送结果
修复:linux编译问题

modify:support x64 debug compile on windows
fixed:Specifying the bucket name does not handle problem of space size
fixed:not send result when get upload storagekey name failed
fixed:linux build

最后提交信息为: !17V3.4.1 Merge
2022-01-21 10:17
qyt

添加:sql打包查询语句为数据库模块
添加:apihelp函数到存储模块冲app程序中
添加:上传支持post方法
添加:为apihelp模块获取bucket名称映射
添加:配置模块st_LBLocation
添加:完成通知bdown字段
添加:上传完成后返回文件信息
添加:上传文件支持指定和不指定bucket名
修改:所有模块都支持bucket key参数了
修改:上传下载业务的授权验证代码
修改:上传下载的rangefile解析代码
修改:上传下载插入bucketkey
修改:上传的hash验证
修改:任务管理方法名称
修改:Protocol_StorageParse_DirOperator lpszUserDir参数可以为null
修改:移动XEngine_Task_P2PGet到XEngine_Task_Manage中
修改:负载均衡可以为每个服务设置了
修改:APIHelp_Distributed_RandomAddr 支持负载模式选择
修改:重定向支持模式选择
修改:为配置模块修改st_LBConfig为st_LBDistributed
修改:上传接口支持lb模式
修正:p2p客户端统计不正确
修正:获取长度被覆盖的问题
修正:上传存储模块创建文件不正确
修正:上传文件信息没有插入会话模块
修正:初始化没有创建sql表的问题
修正:查询sql时间不正确的问题
修正:文件查询崩溃
修正:删除方法没有删除文件的问题
修正:获取文件大小不正确
修正:APIHelp_Distributed_RandomAddr模式类型不正确
删除:mysql的XStorage_MySql_FileQueryForTable和XStorage_MySql_FileQueryForHash
删除:sqlite的XStorage_SQLite_FileQueryForTable函数
删除:apihelp相关代码从存储程序中
删除:p2p局域网和用户api函数
删除:delete:APIHelp_Distributed_IsMode函数

added:sql Statement packet code for sql module
added:apihelp function for storage module from app program
added:upload support post method.
added:get bucket name mapping path for apihelp module
added:st_LBLocation configure for configure module
added:complete notify bDown field
added:return file info after upload complete
added:Upload files support specifying bucket or not specifying
modify:all module support bucket key parament
modify:authorize verification code for upload and download and center
modify:rangefile parse code for upload and download
modify:insert bucket key for download and upload
modify:hash verificaiton for upload
modify:task manage method name
modify:Protocol_StorageParse_DirOperator lpszUserDir parament can be null
modify:move XEngine_Task_P2PGet function into XEngine_Task_Manage
modify:Load balancing can be set for each service
modify:APIHelp_Distributed_RandomAddr support loadbalance mode selection
modify:Redirect distributed judgment method
modify:st_LBConfig to st_LBDistributed for configure module
modify:upload interface support loadbalance mode
fixed:p2p client count incorrent
fixed:Get length overwritten problem
fixed:upload storage module create file error
fixed:not insert session module when upload file
fixed:init dose not create sql table
fixed:query sql time not incorrent
fixed:dir query crashed
fixed:delete method dose not delete file
fixed:get file size is incorrent
fixed:APIHelp_Distributed_RandomAddr mode type incorrent
delete:mysql XStorage_MySql_FileQueryForTable and XStorage_MySql_FileQueryForHash function
delete:sqlite XStorage_SQLite_FileQueryForTable function
delete:apihelp file for storage app
delete:p2p lan and user api function
delete:APIHelp_Distributed_IsMode function

最后提交信息为: !16V3.4Merge
预览版本
2022-01-06 13:26
qyt

添加:为配置文件增加存储负载均衡配置
添加:为APIHelp模块增加下载和上传存储分布式选择函数
添加:为上传和下载功能增加存储分布式功能
添加:为协议模块增加bucket key 解析和打包
修改:APIHELP分布式支持文件名称字段
修改:协议打包函数Protocol_StoragePacket_QueryFile 删除了ROOT DIR参数
修改:协议解析函数Protocol_StorageParse_DirOperator 增加了一个新参数
修改:sql模块支持buckkey字段
删除:配置模块重复代码
删除:负载配置IP地址字段
修复:http upload 没有包含长度字段的时候无法返回消息的问题
修复:XEngine_APPHelp_RangeFile 没有长度也返回真的情况

added: storage load balance for configure module
added: download and upload storage distributed choice function for Api help module
added: download and uploader support get bucket for distributed
added: bucket key parse and packet for protocol module
modify: APIHelp_Distribute support filename field
modify: protocol packet Protocol_StoragePacket_QueryFile function delete lpszRootDir parament
modify: protocol parse Protocol_StorageParse_DirOperator function add ptszBuckKey parament
modify: sql module support buckkey field
delete: Remove redundant code for configure
delete: loadblance ipaddr field
fixed: http upload does not contain the length and does not return a message
fixed: XEngine_APPHelp_RangeFile function not length return ture

最后提交信息为: !15V3.3Merge
2021-12-11 13:11
qyt

增加:下载的文件会有HASH值在HTTP头中了
增加:会话模块现在保存hash值了
增加:PASS代理现在被设置1秒超时了
增加:现在上传文件支持强制验证HASH值功能
更新:启动代码日志
修改:下载文件的时候发送的minitype不正确
修改:支持XEngineV7.26版本
修改:上传文件现在没有HASH验证也能正确处理PASS代理和数据入库了
优化:客户端关闭函数
优化:获取任务列表
修正:密码验证处理的问题
修正:p2p函数处理任务完成崩溃的问题
修正:广播发送失败没有关闭句柄
修正:下载PASS代理HASH值错误
修正:上传文件只有length长度处理文件完成不正确的问题

added:download add hashfile field to http hdr
added:session module add file hash field
added:set connect timeout for proxy of pass
added:added bUPHash configure for configure module
update:Alignment start up code
modify:when download file will send the correct minitype
modify:support XEngine V7.26API Function
modify:can be process pass proxy and database insert when upload file have not hash verification
improved:close client function
improved:get task of http
fixed:Password handling issues
fixed:crashed when p2p processing is complete
fixed:broadcast send failed but not to close
fixed:Download pass proxy hash is incorrect
fixed:The upload session is not processed correctly when there is only the length field

最后提交信息为: !14V3.2 Merge
2021-11-10 09:22
qyt

增加:现在支持center,uploader,download的HTTPS支持
删除:没有使用的MYSQL代码
删除:任务事件代码
删除:Protocol_StorageParse_UPEvent函数
优化:数据库模块代码
优化:上传日志和通知代码
优化:启动程序日志信息
修改:配置模块配置信息

Add:support network of ssl for upload and download and center
Delete:useless MYSQL code
Delete:task event cpp
Delete:Protocol_StorageParse_UPEvent function
Improved:sql packet module
Improved:upload log and pass code
Improved:app log information with start
Modify:configure module is configure info

最后提交信息为: !13Merge V3.1
2021-10-29 10:35
qyt

增加:P2P查询其他用户拥有文件
增加:p2p节点模块支持查询所有客户端
增加:HTTP支持查询局域网列表和用户信息
修改:P2P和存储协议两个协议模块进行了合并
修改:删除了P2P组件并且将P2P节点模块集成到存储组件
修改:匹配XEngine V7.23版本
修改:支持设置协议参数为空
修正:编译问题
优化:获取包缓冲区代码优化
删除:tstring 类型

added:p2p client can be query other client file
added:all client list for p2ppeer module
added:http query lan list question and http query user requestion
modify:merge two protocol module to new protocol module
modify:delete p2xp components and remove p2xppeer module to XEngine_StorageComponents
modify:match XEngine V7.23
modify:support setting protocol parament is null
fixed:build error
improved:get buffer from packet
delete:tstring type

最后提交信息为: !12V3.0 Merge
C++
1
https://gitee.com/xengine/XEngine_Storage.git
git@gitee.com:xengine/XEngine_Storage.git
xengine
XEngine_Storage
XEngine_Storage

搜索帮助