Commit Graph

1108 Commits

Author SHA1 Message Date
TRCYX
e9df8f54ab fix(uoj-form-lib.php): UniversalOJ/UOJ-System#13
From vfleaking/uoj@43280f92d6.
Fix wrongly written `isset`s.
2018-09-20 17:39:42 +08:00
Masco Skray
163dd8bb30 feat(install/bundle): add install script PHP7 and Ubuntu 16.04 support
In order to support PHP7 and Ubuntu 16.04, there must be some changes to make it runs properly.
The install script added php7 and mysql 5.7, newer v8js packages and supports, adjusted some config files.
Also used new way to detect install args, and change tab to 4-char-long space char.

BREAKING CHANGE: This branch can only be used for PHP7, and Ubuntu 14.04 users shouln't execute this script.
2018-09-20 17:38:21 +08:00
Masco Skray
2d0b0814fd fix(install/bundle): fix the wrong generation of our-root password and length
The last commit changed the installation script a lot, but made some mistakes on the genration of config.
It gens the $_svn_ourroot_password_ to $_svn_certroot_password_. Just fix it.
According to the version from @vfleaking, the judger_socket password and the our-root password is 32 chars long. Strengthen it.
There is also a *** space char on the end of a line. Kick it out.
2018-09-20 17:38:21 +08:00
ceabrobot
a1b372dd31 fix(install/bundle): fix the dev-build bug
This is a hotfix to build a image when the php7 branch is
developing. It will be reverted when this branch is merged to
the master branch.
2018-09-20 17:38:21 +08:00
ceabrobot
94c827e5b3 feat(install/bundle): change image and packages to ubuntu16.04
Change the base Docker image to ubuntu16.04 and change the LAMP
packages to support PHP7.

BREAKING CHANGE: the packages which will be installed has changed.
2018-09-20 17:38:21 +08:00
ceabrobot
0ec962b4af feat(uoj/1/app): modify the DB operation to support PHP7
In order to support PHP7, change the way to operate database. PHP7
removed the mysql extension, so the old way to operate database is
not usable. This commit use a new way to operate database.

BREAKING CHANGE: the way to operate database has changed.
2018-09-20 17:38:21 +08:00
MascoSkray
babd30364e Initial commit for PHP7
This is the commit before changing environment to PHP7.
2018-09-20 17:38:09 +08:00
vfleaking
82ad3efce2 Initial commit 2018-09-20 17:21:40 +08:00