Skip to content

Commit 8b6b7b8

Browse files
authored
Merge pull request #25 from libxengine/develop
V3.12.0.1001 Merge
2 parents 7316761 + 9482e6c commit 8b6b7b8

File tree

71 files changed

+658
-7815
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+658
-7815
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "XEngine_Source/XEngine_Depend"]
2+
path = XEngine_Source/XEngine_Depend
3+
url = https://github.com/libxengine/XEngine_OPenSource.git

CHANGELOG

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
XEngine_Authorize V3.12.0.1001
2+
3+
增加:使用新的git module替换jsoncpp
4+
增加:信息报告模块
5+
增加:天数类型现在已经支持了
6+
修改:分离版本列表从配置文件中
7+
修改:检测多端登录类型
8+
修正:会话模块不是秒卡也会合并计算用时导致的问题
9+
修正:客户端模块登录类型不正确的问题
10+
修正:自定义时间类型充值不正确的问题
11+
修正:次数卡登录的时候可能计算不正确的问题
12+
13+
added:use new git modules instead jsoncpp and info report
14+
added:info report module
15+
added:day type supported
16+
modify:detach the version list into a separate configuration file
17+
modify:check multi login type
18+
fixed:the problem of merging login time instead of seconds for session module
19+
fixed:login type is incorrect for client module
20+
fixed:time of custom type pay is incorrect
21+
fixed:time number is incorrect when login
22+
================================================================
123
XEngine_Authorize V3.11.0.1001
224

325
增加:客户端模块的http版本支持获取动态码

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

README.en.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ window Exection XEngine_WINEnv.bat
5959
Linux Exection:sudo ./XEngine_LINEnv.sh -i 3
6060
Macos Exection:./XEngine_LINEnv.sh -i 3
6161

62+
#### sub module
63+
Due to the dependent sub-modules, after you checkout the warehouse, execute the following command in the warehouse directory to pull the sub-modules
64+
git submodule init
65+
git submodule update
66+
6267
#### Windows
6368
use vs open and compile,suport windows 7sp1 and above
6469
Just Run it,use XEngine_AuthorizeService
@@ -119,7 +124,8 @@ The V3 version is a new version, developed to meet the requirements of many envi
119124

120125
## update guide
121126
Database update Use Navicat and other database software to open the judgment table and the different fields for modification
122-
After modification, directly copy the database to the new version to overwrite, and modify your configuration file
127+
After modification, directly copy the database to the new version to overwrite, and modify your configuration file
128+
3.11->3.12 A new time field has been added to the user table, please refer to the SQL file
123129

124130
## Authorization instructions
125131
Use this software must be open source and indicate the source,If you want closed source and commercial,Then need to be authorized by the author.

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ window执行XEngine_WINEnv.bat 脚本.
5959
Linux执行:sudo ./XEngine_LINEnv.sh -i 3
6060
macos执行:./XEngine_LINEnv.sh -i 3
6161

62+
#### sub module
63+
由于依赖的子模块,在你checkout仓库后,在仓库目录下执行下面的命令拉取子模块
64+
git submodule init
65+
git submodule update
66+
6267
#### Windows
6368
使用VS打开并且编译,支持WINDOWS 7SP1以上系统
6469
直接运行即可,使用XEngine_AuthorizeService
@@ -119,7 +124,8 @@ V3版本为全新版本,为了适应过多环境要求开发
119124

120125
## 更新指导
121126
数据库更新使用Navicat等数据库软件打开判断表和字段不同的地方进行修改
122-
修改完毕后直接把数据库拷贝到新的版本进行覆盖,修改你的配置文件即可
127+
修改完毕后直接把数据库拷贝到新的版本进行覆盖,修改你的配置文件即可
128+
3.11->3.12用户表增加了新的时间字段,请参考SQL文件
123129

124130
## 视频教程
125131
你也可以观看视频教程来了解我们的代码框架情况:https://www.bilibili.com/video/BV1iF4m177aG
@@ -138,7 +144,6 @@ V3版本为全新版本,为了适应过多环境要求开发
138144

139145
## 开发计划
140146
mfc转qt界面库(我们需要会Qt的人员加入一起开发)
141-
天数卡按照使用天数计费,不使用不计费
142147
多端登录注册类型开关
143148
短信登录,扫码登录
144149
生成会话TOKEN分布式鉴权

SECURITY.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| >= 3.x | :white_check_mark: |
8+
| <= 2.x | :x: |
9+
10+
## Reporting a Vulnerability
11+
12+
www.xyry.org or [email protected]

XEngine_Apps/Authorize_APPClient/Authorize_APPClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ using namespace std;
3333
#include "../../XEngine_Source/XAuth_Protocol.h"
3434

3535
//Windows::vs2022 x86 debug 编译即可
36-
//Linux::g++ -std=c++17 -Wall -g Authorize_APPClient.cpp -o Authorize_APPClient.exe -I ../../XEngine_Source/XEngine_ThirdPart/jsoncpp -lXEngine_BaseLib -L ../../XEngine_Release -lXEngine_OPenSsl -lXClient_Socket -lXClient_APIHelp -lpthread -ljsoncpp
36+
//Linux::g++ -std=c++17 -Wall -g Authorize_APPClient.cpp -o Authorize_APPClient.exe -I ../../XEngine_Source/XEngine_Depend/XEngine_Module/jsoncpp -L ../../XEngine_Release -lXEngine_OPenSsl -lXClient_Socket -lXEngine_BaseLib -lXClient_APIHelp -lpthread -ljsoncpp -Wl,-rpath=../../XEngine_Release
3737

3838
//#define _DYNAMIC_CODE
3939
bool bRun = true;
@@ -46,7 +46,7 @@ int nDYCode = 0;
4646
XSOCKET m_Socket = 0;
4747
LPCXSTR lpszUser = _X("123123aa");
4848
LPCXSTR lpszPass = _X("123123");
49-
LPCXSTR lpszSerial = _X("XAUTH-XYRYM-ZAA10-59NKW-KOFLP-35838-ZXC36-ZOVTH");
49+
LPCXSTR lpszSerial = _X("XAUTH-XYRYD-NONN5-FSM45-XBLAZ-23475-28MNL-VUTJD-32956-AKF24");
5050
LPCXSTR lpszEmail = _X("[email protected]");
5151
__int64x nPhoneNumber = 1366666666;
5252
__int64x nIDNumber = 511025111111111111;

XEngine_Apps/Authorize_APPClient/Authorize_APPClient.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<PropertyGroup Label="UserMacros" />
7373
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7474
<LinkIncremental>true</LinkIncremental>
75-
<IncludePath>$(XEngine_Include);../../XEngine_Source/XEngine_ThirdPart/jsoncpp;$(IncludePath)</IncludePath>
75+
<IncludePath>$(XEngine_Include);../../XEngine_Source/XEngine_Depend/XEngine_Module/jsoncpp;$(IncludePath)</IncludePath>
7676
<LibraryPath>$(XEngine_Lib32);$(LibraryPath)</LibraryPath>
7777
</PropertyGroup>
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">

0 commit comments

Comments
 (0)