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 8,007 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8007 commits
Select commit Hold shift + click to select a range
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
9c5b474
Add files via upload
zhblue Apr 21, 2025
0b22c13
Update contestrank.php
zhblue Apr 22, 2025
d8451a3
Update showsource.php
zhblue Apr 22, 2025
7164c72
Update problem_import_hydro.php
zhblue Apr 24, 2025
54a3e03
Update viewnews.php
zhblue Apr 24, 2025
9f6a02f
Update viewnews.php
zhblue Apr 24, 2025
d08510d
Update viewnews.php
zhblue Apr 24, 2025
c3758c7
Update merge.sh
zhblue Apr 25, 2025
ff4fb36
Update my_func.inc.php
zhblue Apr 25, 2025
14373de
Update my_func.inc.php
zhblue Apr 25, 2025
2ed65ae
Update README.md
zhblue Apr 25, 2025
0329807
Update my_func.inc.php
zhblue Apr 25, 2025
2316686
Update watch.php
zhblue Apr 25, 2025
fd72801
Update cache_start.php
zhblue Apr 26, 2025
51d14d9
Update cache_end.php
zhblue Apr 26, 2025
badcae7
Update cache_start.php
zhblue Apr 26, 2025
3ef04fc
Update cache_end.php
zhblue Apr 26, 2025
76217de
Update cache_start.php
zhblue Apr 26, 2025
69f26a3
Update js.php
zhblue Apr 26, 2025
3121e76
Update session.php
zhblue Apr 29, 2025
8d58e58
Update judge_client.cc
zhblue May 2, 2025
1f93ea8
Create upj.cc
zhblue May 2, 2025
8ebdf18
Create spj.cc
zhblue May 3, 2025
b1854d0
Create tpj.cc
zhblue May 3, 2025
9a02499
Update js.php
zhblue May 4, 2025
932cebc
Update problem.php
zhblue May 4, 2025
9cdfa44
Update white.css
zhblue May 4, 2025
71576cd
Update submitpage.php
zhblue May 5, 2025
90fb7d8
Update const.inc.php
zhblue May 5, 2025
96f8047
Update const.inc.php
zhblue May 5, 2025
509ae10
Update submitpage.php
zhblue May 5, 2025
6a45240
Update cn.php
zhblue May 5, 2025
ddd23a1
Update en.php
zhblue May 5, 2025
e40c7c8
Update fa.php
zhblue May 5, 2025
52d265d
Update ko.php
zhblue May 5, 2025
6078050
Update ru.php
zhblue May 5, 2025
0a68db7
Update th.php
zhblue May 5, 2025
47b5dea
Update ug.php
zhblue May 5, 2025
19ebe5c
Update cnt.php
zhblue May 5, 2025
03d5611
Update problem.php
zhblue May 6, 2025
d322c3d
Update README.md
zhblue May 6, 2025
783e48f
Update install-ubuntu24.04.sh
zhblue May 8, 2025
a150a38
Update install-ubuntu24.04.sh
zhblue May 9, 2025
69eb895
Update install-ubuntu22.04-bt.sh
zhblue May 12, 2025
38b06da
Update problem_edit.php
zhblue May 13, 2025
a9f37b9
Update problem_add_page.php
zhblue May 13, 2025
7427766
Update problem.php
zhblue May 13, 2025
a56d064
Update kindeditor.php
zhblue May 14, 2025
c294ef4
Update problem.php
zhblue May 14, 2025
c83daba
Update loginpage.php
zhblue May 15, 2025
097a812
Update session.php
zhblue May 15, 2025
e1d81d3
Update online.php
zhblue May 18, 2025
2aa64da
Update submitpage.php
zhblue May 18, 2025
4226ca9
Create index.html
zhblue May 18, 2025
fe5df8f
Add files via upload
zhblue May 18, 2025
331315e
Update index.html
zhblue May 18, 2025
eadcd36
Update submitpage.php
zhblue May 18, 2025
530d39d
Update my_func.inc.php
zhblue May 18, 2025
1554704
Update index.html
zhblue May 18, 2025
1a51d6d
Update README.md
zhblue May 19, 2025
78544a4
Update README.md
zhblue May 21, 2025
a6d2ba6
Update service.php
zhblue May 21, 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