Skip to content

wish some body will see this #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7,945 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7945 commits
Select commit Hold shift + click to select a range
02592cf
Update README.md
zhblue Jan 21, 2025
96c4a09
Add files via upload
zhblue Jan 22, 2025
53e50c2
Update restore.sh
zhblue Jan 22, 2025
eecdda9
Update db_info.inc.php
zhblue Jan 22, 2025
b85b743
Update reinfo.php
zhblue Jan 22, 2025
003e537
Fix fatal error: mysql/mysql.h (#1066)
mxdabc Jan 22, 2025
6a9f623
Update user_df_change.php
zhblue Jan 23, 2025
9fb8190
Update privilege_delete.php
zhblue Jan 23, 2025
734f66e
Update user_list.php
zhblue Jan 23, 2025
38ce80a
Update privilege_list.php
zhblue Jan 23, 2025
112427d
Update privilege_list.php
zhblue Jan 23, 2025
ff3b9fb
Update user_list.php
zhblue Jan 23, 2025
8daff3c
Update user_list.php
zhblue Jan 23, 2025
65f7a8c
Update privilege_add.php
zhblue Jan 23, 2025
3c9e463
Update user_list.php
zhblue Jan 23, 2025
10e8429
Update user_list.php
zhblue Jan 23, 2025
04f6a7c
Add files via upload
zhblue Jan 23, 2025
eff5d29
Update user_list.php
zhblue Jan 23, 2025
47acddf
Update README.md
zhblue Jan 23, 2025
878036e
Update swmenu.php
zhblue Jan 24, 2025
a79260a
remove old files
zhblue Jan 24, 2025
64c87d0
Update contest.php
zhblue Jan 24, 2025
7fcd000
Update contestrank-oi.php
zhblue Jan 24, 2025
bbb89ec
Update contestrank.php
zhblue Jan 24, 2025
bd179ce
Update conteststatistics.php
zhblue Jan 24, 2025
1543457
Update suspect_list.php
zhblue Jan 24, 2025
82264ec
Update user_set_ip.php
zhblue Jan 24, 2025
f412439
remove unused files
zhblue Jan 24, 2025
0541006
Merge branch 'master' of https://github.com/zhblue/hustoj
zhblue Jan 24, 2025
a57464b
Update nav.php
zhblue Jan 24, 2025
75bfa3f
Update problem.php
zhblue Jan 24, 2025
649c3f6
Update swProfile.php
zhblue Jan 24, 2025
fb28673
remove unused files
zhblue Jan 24, 2025
1f6fc30
Merge branch 'master' of https://github.com/zhblue/hustoj
zhblue Jan 24, 2025
b9341a0
Update admin-header.php
zhblue Jan 24, 2025
ec5b1a3
Update admin-header.php
zhblue Jan 24, 2025
7b3dd38
Update user_list.php
zhblue Jan 24, 2025
c1fc721
padding
zhblue Jan 24, 2025
38f02f6
padding
zhblue Jan 24, 2025
04b445f
Delete trunk/web/modify_email.php
zhblue Jan 25, 2025
56d4509
Delete trunk/web/modify_password.php
zhblue Jan 25, 2025
d87fc43
Delete trunk/web/modify_info.php
zhblue Jan 25, 2025
5e5cb56
Update update-hustoj
zhblue Jan 25, 2025
4681d00
Create SECURITY.md
zhblue Jan 25, 2025
112cc36
Update const.inc.php
zhblue Jan 25, 2025
a26bbf0
Update problem.php
zhblue Jan 25, 2025
82c7421
Update problem.php
zhblue Jan 25, 2025
9f1c35d
Update const.inc.php
zhblue Jan 25, 2025
85cbd01
Update my_func.inc.php
zhblue Jan 25, 2025
51d5439
Update problem.php
zhblue Jan 25, 2025
84bb467
Update problem.php
zhblue Jan 25, 2025
e8d2d05
Update install-ubuntu22.04.sh
zhblue Jan 25, 2025
094e31b
Update makefile
zhblue Jan 25, 2025
0eefc77
Update makefile
zhblue Jan 25, 2025
be7c2d1
sync to sidebar
zhblue Jan 27, 2025
bd08c72
Merge branch 'master' of https://github.com/zhblue/hustoj
zhblue Jan 27, 2025
6fd54a5
Synchronized to cn.php (#1069)
melongist Jan 31, 2025
1898dd1
Update remote.php
zhblue Jan 31, 2025
9eda47b
Update remote_bas.php
zhblue Jan 31, 2025
a55ea70
Update remote_hdu.php
zhblue Jan 31, 2025
3d3a15e
Update remote_luogu.php
zhblue Jan 31, 2025
edf92b0
Update remote_pku.php
zhblue Jan 31, 2025
e39f075
Update remote_service.php
zhblue Jan 31, 2025
b8c1895
Update init.php
zhblue Feb 3, 2025
7871185
Update db_info.inc.php
zhblue Feb 3, 2025
f5d7fda
Update judge_client.cc
zhblue Feb 5, 2025
9b0282d
Update judge_client.cc
zhblue Feb 5, 2025
a238746
Update docker.sh
zhblue Feb 5, 2025
0f82390
Update docker.sh
zhblue Feb 5, 2025
12165ab
Update db_info.inc.php
zhblue Feb 8, 2025
914530b
Update judge_client.cc
zhblue Feb 8, 2025
e1e5ca5
Update my_func.inc.php
zhblue Feb 8, 2025
4f0942f
Update Dockerfile
zhblue Feb 9, 2025
eebd7f9
Adjust the table cell merging (#1071)
melongist Feb 9, 2025
bbea349
Update remote_bas.php
zhblue Feb 9, 2025
21cb4d3
Update remote_hdu.php
zhblue Feb 9, 2025
87338c0
Update remote_luogu.php
zhblue Feb 9, 2025
e255c20
Update remote_pku.php
zhblue Feb 9, 2025
b475203
Update remote_service.php
zhblue Feb 9, 2025
256adc9
Update judge_client.cc
zhblue Feb 9, 2025
96fb03c
Update judge_client.cc
zhblue Feb 9, 2025
65bdff4
Update userinfo.php
zhblue Feb 9, 2025
8067965
Update problem_judge.php
zhblue Feb 9, 2025
32ccb3c
Update remote_service.php
zhblue Feb 9, 2025
7716222
Update remote_bas.php
zhblue Feb 9, 2025
8a6078b
Update remote_hdu.php
zhblue Feb 9, 2025
e733a65
Update remote_luogu.php
zhblue Feb 9, 2025
e8702bc
Update remote_pku.php
zhblue Feb 9, 2025
039931f
bs3 ranklist fix (#1072)
melongist Feb 9, 2025
00f9c2b
Update userinfo.php
zhblue Feb 10, 2025
abaf32c
Update submit.php
zhblue Feb 11, 2025
15f181c
MOD: can trace mulit-thread java (#1073)
zhblue Feb 11, 2025
840ab8c
Update okcalls64.h
zhblue Feb 11, 2025
14284d9
Update Dockerfile
zhblue Feb 11, 2025
eeeb340
Update judge_client.cc
zhblue Feb 11, 2025
e9984fb
Update judged.cc
zhblue Feb 11, 2025
7f5d5e5
Update getindocker.sh
zhblue Feb 11, 2025
6d9a325
Update install-ubuntu24.04.sh
zhblue Feb 12, 2025
b828587
Update install-ubuntu22.04.sh
zhblue Feb 12, 2025
daf73f4
Update install-ubuntu22.04.sh
zhblue Feb 12, 2025
df6c74c
Update install-ubuntu22.04-bt.sh
zhblue Feb 12, 2025
3113ac0
Update install-ubuntu22.04.gitee.sh
zhblue Feb 12, 2025
c941649
Update install-debian12.sh
zhblue Feb 12, 2025
430792b
Update update-hustoj
zhblue Feb 12, 2025
00fadcb
Update fixing.sh
zhblue Feb 12, 2025
12d20df
Create bak2.sh
zhblue Feb 13, 2025
4b63273
Update bak2.sh
zhblue Feb 14, 2025
4cabc78
Update okcalls64.h
zhblue Feb 14, 2025
24a34c3
Update merge.sh
zhblue Feb 17, 2025
0fe28ae
Update submitpage.php
zhblue Feb 21, 2025
9835dcc
Update contest.php
zhblue Feb 23, 2025
7e18f1e
Update install.sh
zhblue Feb 23, 2025
fc0c9c1
Update install.sh
zhblue Feb 23, 2025
4a61b2e
Update init.php
zhblue Feb 23, 2025
7e57496
Update submitpage.php (#1076)
Tiang-88 Feb 23, 2025
2525f99
Update status-ajax.php
zhblue Feb 24, 2025
cbbdd1a
Update judge_client.cc
zhblue Feb 26, 2025
1a24a8a
Update submitpage.php
zhblue Feb 27, 2025
e5aab0f
Update ceinfo.php
zhblue Feb 27, 2025
0d8da45
Update ceinfo.php
zhblue Feb 27, 2025
df9b5f0
Update submitpage.php
zhblue Feb 27, 2025
24a84b3
Update index.php
zhblue Feb 28, 2025
42b04c7
Update menu2.php
zhblue Mar 2, 2025
a7d23f0
Update judge_client.cc (feat to support loongarch_lp64) (#1079)
bh1xaq Mar 2, 2025
527e74e
Update README.md
zhblue Mar 2, 2025
2914341
Update judge_client.cc
zhblue Mar 3, 2025
89f3829
Update init.php
zhblue Mar 3, 2025
ec5516f
Update judge_client.cc
zhblue Mar 3, 2025
50f742a
Update group_statistics.php
zhblue Mar 5, 2025
144539a
Update group_statistics.php
zhblue Mar 5, 2025
85d7416
Update problem_judge.php
zhblue Mar 5, 2025
2759e3b
Update problem_export_xml.php
zhblue Mar 6, 2025
53282aa
Update problem_export.php
zhblue Mar 6, 2025
27f332f
Update judge_client.cc
zhblue Mar 6, 2025
5981cf8
Update kindeditor.php
zhblue Mar 6, 2025
dbd3527
Update README.md
zhblue Mar 8, 2025
507f683
Update contest-check.php
zhblue Mar 8, 2025
0ea97f8
Delete docs/宝塔系统安装HUSTOJ指南v0.2.docx
zhblue Mar 9, 2025
5063d08
Update login-hustoj.php
zhblue Mar 9, 2025
965597e
Update modify.php (#1082)
logag1 Mar 12, 2025
ec815bb
Update judge.conf
zhblue Mar 13, 2025
8ad4478
Update contest-check.php
zhblue Mar 16, 2025
f2287c5
Update README.md
zhblue Mar 16, 2025
883f57a
Update submit.php
zhblue Mar 16, 2025
15d1fce
Update problem_export_xml.php
zhblue Mar 18, 2025
f4372e7
Update problem.php
zhblue Mar 19, 2025
f6cb1ba
Update status.php
zhblue Mar 22, 2025
8db8665
Update submit.php
zhblue Mar 22, 2025
3b77961
Update status.php
zhblue Mar 22, 2025
e089224
Update submitpage.php
zhblue Mar 23, 2025
b76be3b
Update submitpage.php
zhblue Mar 24, 2025
19fe7c8
Update problem.php (#1087)
Wesley-Chen-CN Mar 29, 2025
bdd6afe
Multi upload images (#1089)
zhblue Apr 1, 2025
a7f7f7d
Update problem_import.php
zhblue Apr 1, 2025
a1a6b04
Update kindeditor.js
zhblue Apr 1, 2025
5b5df30
Update phpfm.php
zhblue Apr 1, 2025
4217a8a
Update upload_json.php
zhblue Apr 2, 2025
5f0e443
Add files via upload
zhblue Apr 2, 2025
6c438cc
Update README.md
zhblue Apr 2, 2025
30ec62d
Update insertfile.js
zhblue Apr 2, 2025
bb87f77
Add files via upload
zhblue Apr 2, 2025
8b0af21
Update README.md
zhblue Apr 2, 2025
0810c44
Update README.md
zhblue Apr 2, 2025
42ed1e2
Update README.md
zhblue Apr 2, 2025
42ee51b
Update kindeditor.php
zhblue Apr 3, 2025
582472e
Update README.md
zhblue Apr 3, 2025
b3b742f
Update README.md
zhblue Apr 3, 2025
660be08
Update kindeditor.php
zhblue Apr 3, 2025
9ad8e95
Add files via upload
zhblue Apr 4, 2025
b2f02f7
Update upload_json.php
zhblue Apr 4, 2025
e454777
Update session.php
zhblue Apr 4, 2025
611176e
Update submit.php
zhblue Apr 4, 2025
dfd58e5
Update init.php
zhblue Apr 4, 2025
da6beab
Create lip.php
zhblue Apr 4, 2025
5a33c23
Update login-hustoj.php
zhblue Apr 5, 2025
589148c
Update online.php
zhblue Apr 5, 2025
4b1ebf2
Update online.php
zhblue Apr 5, 2025
5cac304
Update online.php
zhblue Apr 5, 2025
a3ec423
Update online.php
zhblue Apr 5, 2025
2b6496d
Update online.php
zhblue Apr 5, 2025
3595ab9
Update online.php
zhblue Apr 5, 2025
c3d49d9
Update online.php
zhblue Apr 5, 2025
a660625
Update online.php
zhblue Apr 5, 2025
a0fa77d
Update lip.php
zhblue Apr 5, 2025
c312fa2
Update submitpage.php
zhblue Apr 5, 2025
cba1970
Update thread.php
zhblue Apr 5, 2025
7286382
Update discuss.php
zhblue Apr 5, 2025
85de9f1
Update session.php
zhblue Apr 6, 2025
bc30df1
Update my_func.inc.php
zhblue Apr 6, 2025
c07cefc
Update status.php
zhblue Apr 9, 2025
1be981f
Update contestrank-oi.php
zhblue Apr 9, 2025
ea049e2
Update contestrank.php
zhblue Apr 9, 2025
7909fd2
Update contestrank5.php
zhblue Apr 9, 2025
8d47e58
Update contestrank4.php
zhblue Apr 9, 2025
5945098
Update contestrank3.php
zhblue Apr 9, 2025
e16f3eb
Update contestrank2.php
zhblue Apr 9, 2025
7fb6b54
Update contestrank.xls.php
zhblue Apr 9, 2025
dfb1340
Update conteststatistics.php
zhblue Apr 9, 2025
209d597
Update contestrank-oi.php
zhblue Apr 9, 2025
831465f
Update contestrank.php
zhblue Apr 10, 2025
3fc9dfe
Update contestrank.xls.php
zhblue Apr 10, 2025
71c2b18
Update contestrank2.php
zhblue Apr 10, 2025
1653859
Update contestrank4.php
zhblue Apr 10, 2025
419dbc7
Update contestrank5.php
zhblue Apr 10, 2025
5fe293e
Update const.inc.php
zhblue Apr 10, 2025
2cdac36
Update contestset.php
zhblue Apr 11, 2025
2730403
Update cn.php
zhblue Apr 11, 2025
2ddf216
Update en.php
zhblue Apr 11, 2025
c4badbc
Update fa.php
zhblue Apr 11, 2025
9c7336b
Update ko.php
zhblue Apr 11, 2025
362c02c
Update ru.php
zhblue Apr 11, 2025
c096e26
Update th.php
zhblue Apr 11, 2025
d3dce7b
Update ug.php
zhblue Apr 11, 2025
dd42763
Update cnt.php
zhblue Apr 11, 2025
5b59e9d
Update contestrank-oi.php
zhblue Apr 11, 2025
86c17f8
Update contestrank.php
zhblue Apr 11, 2025
a625d3e
Update contestrank.xls.php
zhblue Apr 11, 2025
4245183
Update contestrank2.php
zhblue Apr 11, 2025
ae4c673
Update contestrank4.php
zhblue Apr 11, 2025
0f37ae9
Update contestrank5.php
zhblue Apr 11, 2025
90028e7
Update contestrank-oi.php
zhblue Apr 11, 2025
f2e481b
Update contestrank.xls.php
zhblue Apr 11, 2025
d75eaa2
Update contestrank2.php
zhblue Apr 11, 2025
db24107
Update contestrank4.php
zhblue Apr 11, 2025
4603af9
Update contestrank5.php
zhblue Apr 11, 2025
341c4de
Update contestset.php
zhblue Apr 11, 2025
33ee926
Update header.php
zhblue Apr 15, 2025
9e70955
Update install.sh
zhblue Apr 15, 2025
8a7220e
Update header.php
zhblue Apr 15, 2025
9842427
Update header.php
zhblue Apr 16, 2025
112659b
Update css.php
zhblue Apr 17, 2025
f6458c2
Update css.php
zhblue Apr 17, 2025
d3a277b
Update footer.php
zhblue Apr 17, 2025
1f11c95
Update ceinfo.php
zhblue Apr 17, 2025
e120a1a
Update conteststatus.php
zhblue Apr 17, 2025
871331d
Update reinfo.php
zhblue Apr 17, 2025
598195a
Update status.php
zhblue Apr 17, 2025
0210a28
Update db_info.inc.php
zhblue Apr 17, 2025
29dd031
Update db_info.inc.php
zhblue Apr 17, 2025
48ee40b
Update install-ubuntu24.04.sh
zhblue Apr 17, 2025
cdadf02
Update install-ubuntu22.04.sh
zhblue Apr 17, 2025
3dff994
Update install-ubuntu20.04.sh
zhblue Apr 17, 2025
9917872
Update install-ubuntu22.04.gitee.sh
zhblue Apr 17, 2025
f7aa303
Update index.php
zhblue Apr 17, 2025
a6af5d8
Update install-ubuntu18.04.sh
zhblue Apr 17, 2025
89ee91d
Update index.php
zhblue Apr 17, 2025
f6815dd
Update submitpage.php
zhblue Apr 18, 2025
7bd175b
Update README.md
zhblue Apr 18, 2025
ba1a2b9
Update my_func.inc.php
zhblue Apr 19, 2025
a54f50c
Update README.md
zhblue Apr 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/-----------------------------------.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: 在......的时候,经过......操作,遇到.........问题
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**描述问题**
请说清安装方式、基础系统、物理机环境、操作过程,遇到的问题

**如何复现**
Steps to reproduce the behavior:
1. 在 '...'
2. 点击 '....'
3. 滚动到 '....'
4. 看到报错'.........'

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/------------------------.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: 能不能添加....功能? ....功能如何实现?
about: Suggest an idea for this project
title: 请问是否可以..............
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
24 changes: 24 additions & 0 deletions .github/workflows/deb_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Debian Package

on: [push, pull_request]

jobs:
debian:
name: Debian/Ubuntu
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build
run: |
bash build.sh

- name: Upload
uses: actions/upload-artifact@v4
with:
name: debian
path: ./*.deb
18 changes: 18 additions & 0 deletions .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: docker build and w3m visit test

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker build
run: docker build . -t hustoj-dev --build-arg APT_MIRROR="N"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trunk/core/sim/*
trunk/web/discuss3/*
.DS_Store
.venv
45 changes: 45 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
image: docker:latest

stages:
- build
- test

build:
stage: build
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE

build-web:
stage: build
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull --file=docker/web/Dockerfile -t $CI_REGISTRY_IMAGE:web .
- docker push $CI_REGISTRY_IMAGE:web

build-mysql:
stage: build
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull --file=docker/mysql/Dockerfile -t $CI_REGISTRY_IMAGE:mysql .
- docker push $CI_REGISTRY_IMAGE:mysql

build-judge:
stage: build
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --pull --file=docker/judge/Dockerfile -t $CI_REGISTRY_IMAGE:judge .
- docker push $CI_REGISTRY_IMAGE:judge
44 changes: 44 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
FROM ubuntu:24.04

#COPY trunk/install/sources.list.sh /opt/sources.list.sh

ARG APT_MIRROR="Y"
ARG APT_CA="N"

RUN [ "$APT_CA" = "Y" ] && apt-get -y update && apt install -y ca-certificates || true

# Linux: Aliyun Apt Mirrors.
RUN [ "$APT_MIRROR" != "N" ] && bash /opt/sources.list.sh || true

RUN apt-get -y update && \
apt-get -y upgrade && \
DEBIAN_FRONTEND=noninteractive \
apt-get -y install --no-install-recommends \
nginx \
mysql-server \
libmysqlclient-dev \
libmysql++-dev \
php-common \
php-fpm \
php-mysql \
php-gd \
php-zip \
php-mbstring \
php-xml \
php-yaml \
make \
flex \
gcc \
g++

COPY trunk /trunk

COPY docker/ /opt/docker/

RUN bash /opt/docker/setup.sh

# VOLUME [ "/volume", "/home/judge/backup", "/home/judge/data", "/home/judge/etc", "/home/judge/web", "/var/lib/mysql" ]
VOLUME [ "/volume" ]
EXPOSE 80

ENTRYPOINT [ "/bin/bash", "/opt/docker/entrypoint.sh" ]
File renamed without changes.
Loading