Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e74de4e
ci:add fedora system support
xengine-qyt May 19, 2025
aec1b43
ci:fedora fix build
xengine-qyt May 19, 2025
8718fda
update:match xengine v9.20
xengine-qyt May 29, 2025
bad5f68
update:depend library
xengine-qyt Jun 6, 2025
013a0da
fixed:sometime configure read memory leak
xengine-qyt Jun 6, 2025
7349139
improved:parameter command
xengine-qyt Jun 23, 2025
2a699f5
modify:depend library directory name
xengine-qyt Jul 3, 2025
d454bc2
update:depend library
xengine-qyt Jul 3, 2025
5f70ee3
fixed:lost copy module file
xengine-qyt Jul 3, 2025
f5ef36c
ci:fixed directory path
xengine-qyt Jul 3, 2025
eeca2bf
ci:added rocky linux 10 support
xengine-qyt Jul 4, 2025
eb4a2e9
ci:fixed version choice incorrect
xengine-qyt Jul 4, 2025
dcb54cd
modify:start parameter are not case sensitive
xengine-qyt Jul 5, 2025
3db69ac
update:read me
xengine-qyt Jul 10, 2025
20d67a7
update:depend library
xengine-qyt Aug 12, 2025
da89136
added:storage log support
xengine-qyt Aug 14, 2025
1331ada
added:storage log use to user pay
xengine-qyt Aug 14, 2025
cf3c716
added:set color for key log
xengine-qyt Aug 14, 2025
8f017d0
fixed:build failed
xengine-qyt Aug 14, 2025
b1724ce
modify:adjust windows app list size
xengine-qyt Aug 14, 2025
49e1617
added:hardware code bind with login and register
xengine-qyt Aug 15, 2025
073fa74
added:hardware bind switch app support
xengine-qyt Aug 15, 2025
45f803c
added:hardware bind login support for client module
xengine-qyt Aug 15, 2025
85bfee0
added:serial expired time support
xengine-qyt Aug 18, 2025
4ed5828
added:http basic support
xengine-qyt Aug 18, 2025
f6288cd
modify:use depend lib of verification module imp to http verification
xengine-qyt Aug 19, 2025
7a1eaff
modify:http verification info
xengine-qyt Aug 19, 2025
78a716b
fixed:build failure
xengine-qyt Aug 19, 2025
953dbab
fixed:serial insert not support expired time
xengine-qyt Aug 20, 2025
c90aae5
update:sql file
xengine-qyt Aug 20, 2025
3bfd003
added:get user and pass by restful api for http verification
xengine-qyt Aug 20, 2025
e6fd66c
update:read me and document
xengine-qyt Aug 21, 2025
985fff1
update:configure file
xengine-qyt Aug 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 25 additions & 15 deletions .github/workflows/Rocky_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build:
runs-on: ${{ matrix.runner }}
container:
image: rockylinux/rockylinux:9.5
image: rockylinux/rockylinux:${{ matrix.version }}
options: --platform ${{ matrix.platform }}
strategy:
matrix:
Expand All @@ -25,10 +25,22 @@ jobs:
runner: ubuntu-24.04
platform: linux/amd64
artifact: x86-64
version: 9
- arch: amd64
runner: ubuntu-24.04
platform: linux/amd64
artifact: x86-64
version: 10
- arch: arm64
runner: ubuntu-24.04-arm
platform: linux/arm64
artifact: Arm64
version: 9
- arch: arm64
runner: ubuntu-24.04-arm
platform: linux/arm64
artifact: Arm64
version: 10

steps:
- name: Checkout main repository code
Expand All @@ -46,27 +58,25 @@ jobs:
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_OPenSource
path: XEngine_Source/XEngine_Depend
path: XEngine_Source/XEngine_DependLibrary

- name: install system package
run: |
dnf update -y
dnf install gcc g++ make git jq unzip -y
- name: Set up Dependency rocky linux Environment
run: |
cd libxengine
chmod 777 *
./XEngine_LINEnv.sh -i 0
dnf install gcc g++ make git jq unzip wget -y

- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: install xengine library
run: |
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_${{ matrix.artifact }}.zip
unzip ./XEngine_RockyLinux_9_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_9_${{ matrix.artifact }}
cd XEngine_RockyLinux_9_${{ matrix.artifact }}
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip
unzip ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
cd XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}

cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/lib64 \;
ldconfig
chmod 777 *
./XEngine_LINEnv.sh -i 3

- name: make
run: |
Expand All @@ -87,6 +97,6 @@ jobs:
- name: Upload folder as artifact with RockyLinux
uses: actions/upload-artifact@v4
with:
name: XEngine_AuthorizeService-RockyLinux_9_${{ matrix.artifact }}
name: XEngine_AuthorizeService-RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
path: XEngine_Release/
retention-days: 1
30 changes: 9 additions & 21 deletions .github/workflows/Ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
git submodule init
git submodule update

- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: Set up Dependency ubuntu24.04 Environment
if: matrix.os == 'ubuntu-24.04'
run: |
Expand All @@ -48,48 +51,33 @@ jobs:
- name: Set up Dependency ubuntu24.04 ARM64 Environment
if: matrix.os == 'ubuntu-24.04-arm'
run: |
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 0

latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_Arm64.zip
unzip ./XEngine_UBuntu_24.04_Arm64.zip -d ./XEngine_UBuntu_24.04_Arm64
cd XEngine_UBuntu_24.04_Arm64

sudo cp -rf ./XEngine_Include /usr/local/include
sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
sudo ldconfig
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
- name: Set up Dependency ubuntu22.04 Environment
if: matrix.os == 'ubuntu-22.04'
run: |
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 0

latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_x86-64.zip
unzip ./XEngine_UBuntu_22.04_x86-64.zip -d ./XEngine_UBuntu_22.04_x86-64
cd XEngine_UBuntu_22.04_x86-64

sudo cp -rf ./XEngine_Include /usr/local/include
sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
sudo ldconfig
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3
- name: Set up Dependency ubuntu22.04 arm64 Environment
if: matrix.os == 'ubuntu-22.04-arm'
run: |
cd libxengine
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 0

latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_Arm64.zip
unzip ./XEngine_UBuntu_22.04_Arm64.zip -d ./XEngine_UBuntu_22.04_Arm64
cd XEngine_UBuntu_22.04_Arm64

sudo cp -rf ./XEngine_Include /usr/local/include
sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
sudo ldconfig
chmod 777 *
sudo ./XEngine_LINEnv.sh -i 3

- name: make x86
if: matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
git submodule init
git submodule update
- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: Set up Dependency Environment
run: |
cd libxengine
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/debian_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,25 @@ jobs:
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_OPenSource
path: XEngine_Source/XEngine_Depend
path: XEngine_Source/XEngine_DependLibrary

- name: install system package
run: |
apt update -y
apt install gcc g++ make git jq unzip curl -y
apt install gcc g++ make git jq unzip curl wget -y

- name: Set up Dependency rocky linux Environment
run: |
cd libxengine
chmod 777 *
./XEngine_LINEnv.sh -i 0
- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: install xengine library
run: |
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Debian_12_${{ matrix.artifact }}.zip
unzip ./XEngine_Debian_12_${{ matrix.artifact }}.zip -d ./XEngine_Debian_12_${{ matrix.artifact }}
cd XEngine_Debian_12_${{ matrix.artifact }}

cp -rf ./XEngine_Include /usr/local/include
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
ldconfig
chmod 777 *
./XEngine_LINEnv.sh -i 3

- name: make
run: |
Expand Down
89 changes: 89 additions & 0 deletions .github/workflows/fedora_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: fedora build workflows

on:
push:
branches:
- 'develop'
paths:
- 'XEngine_Source/**'
- 'XEngine_Release/**'
- '.github/**'

permissions:
contents: read

jobs:
build:
runs-on: ${{ matrix.runner }}
container:
image: fedora:${{ matrix.fedora-version }}
options: --platform ${{ matrix.platform }}
strategy:
matrix:
include:
- arch: amd64
runner: ubuntu-24.04
platform: linux/amd64
fedora-version: 42
artifact: x86-64
- arch: amd64
runner: ubuntu-24.04
platform: linux/amd64
fedora-version: 41
artifact: x86-64

steps:
- name: Checkout main repository code
uses: actions/checkout@v4

- name: Checkout dependency repository (xengine)
uses: actions/checkout@v4
with:
repository: libxengine/libxengine
path: libxengine

- name: sub module checkout (opensource)
uses: actions/checkout@v4
with:
repository: libxengine/XEngine_OPenSource
path: XEngine_Source/XEngine_DependLibrary

- name: install system package
run: |
dnf update -y
dnf install gcc g++ make git jq unzip wget -y

- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: install xengine library
run: |
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Fedora_${{ matrix.fedora-version }}_${{ matrix.artifact }}.zip
unzip ./XEngine_Fedora_${{ matrix.fedora-version }}_${{ matrix.artifact }}.zip -d ./XEngine_Fedora_${{ matrix.fedora-version }}_${{ matrix.artifact }}
cd XEngine_Fedora_${{ matrix.fedora-version }}_${{ matrix.artifact }}

chmod 777 *
./XEngine_LINEnv.sh -i 3
- name: make
run: |
cd XEngine_Source
make
make FLAGS=InstallAll
make FLAGS=CleanAll

make RELEASE=1
make FLAGS=InstallAll
make FLAGS=CleanAll
cd ..
- name: test
run: |
cd XEngine_Release
./XEngine_AuthorizeService -t

- name: Upload folder as artifact
uses: actions/upload-artifact@v4
with:
name: XEngine_AuthorizeService-Fedora_${{ matrix.fedora-version }}_${{ matrix.artifact }}
path: XEngine_Release/
retention-days: 1
5 changes: 4 additions & 1 deletion .github/workflows/macbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ jobs:
- name: brew install
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"


- name: Set TERM variable
run: echo "TERM=xterm" >> $GITHUB_ENV

- name: Set up Dependency x86_64 Environment
if: matrix.os == 'macos-13'
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ jobs:
skip_unpack: true
if_no_artifact_found: fail
path: ./XRelease/
- name: Download fedora build
uses: dawidd6/action-download-artifact@v6
with:
workflow: fedora_build.yml
workflow_conclusion: success
check_artifacts: false
skip_unpack: true
if_no_artifact_found: fail
path: ./XRelease/
- name: Download RockyLinux build
uses: dawidd6/action-download-artifact@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "XEngine_Source/XEngine_Depend"]
path = XEngine_Source/XEngine_Depend
path = XEngine_Source/XEngine_DependLibrary
url = https://github.com/libxengine/XEngine_OPenSource.git
32 changes: 32 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
XEngine_Authorize V3.19.0.1001

added:more system support
added:storage log support and use to user pay
added:set color for key log
added:hardware code bind with login and register
added:hardware bind switch app support
added:serial expired time support
added:http basic and digest support
update:depend library
update:match xengine last version
improved:parameter command
modify:adjust windows app list size
modify:depend library directory name
modify:start parameter are not case sensitive
fixed:sometime configure read memory leak

增加:更新系统支持
增加:强日志支持并且设置用户支付日志为强日志
增加:设置关键日志输出颜色
增加:支持登录注册硬件绑定
增加:支持管理程序修改绑定登录注册
增加:序列号过期支持
增加:http接口基本和摘要验证
更新:依赖库
更新:匹配最新xengine版本
优化:参数命令
修改:调整管理程序窗口列表大小
修改:依赖库目录名
修改:启动参数不在区分大小写
修正:某些时候配置读取内存溢出
================================================================
XEngine_Authorize V3.18.0.1001

added:more system release support
Expand Down
11 changes: 5 additions & 6 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ feature list:
17. announecement management
18. support dynamic verifaction code
19. support mulit login and merge time
20. user bind hardware code

## install

Expand All @@ -64,7 +65,7 @@ Linux Exection:sudo ./XEngine_LINEnv.sh -i 3
Macos Exection:./XEngine_LINEnv.sh -i 3

#### sub module
Due to the dependent sub-modules, after you checkout the warehouse, execute the following command in the warehouse directory to pull the sub-modules
Due to the dependent sub-modules, after you checkout the resprepository, execute the following command in the resprepository directory to pull the sub-modules
git submodule init
git submodule update

Expand All @@ -74,12 +75,10 @@ Just Run it,use XEngine_AuthorizeService
XEngine_AuthorizeApp is pc management tools

#### Linux
use makefile compile,UBUNTU22.04 or above
Run it on the terminal,use XEngine_AuthorizeService
use makefile compile,Run it on the terminal,use XEngine_AuthorizeService

#### Macos
use makefile compile,mac 13 and above
Run it on the terminal,use XEngine_AuthorizeService
use makefile compile,Run it on the terminal,use XEngine_AuthorizeService

##### compile command
execute command in XEngine_Source path
Expand Down Expand Up @@ -132,7 +131,7 @@ The V3 version is a new version, developed to meet the requirements of many envi
## update guide
Database update Use Navicat and other database software to open the judgment table and the different fields for modification
After modification, directly copy the database to the new version to overwrite, and modify your configuration file
3.11->3.12 A new time field has been added to the user table, please refer to the SQL file
new db field for serial table by V3.19

## Follow us
If you think this software is helpful to you, please give us a START
Expand Down
Loading
Loading