GithubHelp home page GithubHelp logo

freefcw / hustoj Goto Github PK

View Code? Open in Web Editor NEW
263.0 21.0 65.0 4.35 MB

the online judge system for acm/icpc

Home Page: http://www.hustoj.org

PHP 91.01% CSS 1.28% JavaScript 7.52% Shell 0.13% HTML 0.02% Hack 0.06%

hustoj's Introduction

HUST ONLINE JUDGE SYSTEM

HUSTOJ is an ACM-ICPC Open Source Online Judge System for HUST ACM Team.

Users can register on this Online Judge, read problem descriptions, and submit their programs to server, which will then compile and run the program and judge whther the output is correct.

This version is rewritten for http://acm.hust.edu.cn. Previous version is available at Google Code. We don't further sync the updated function with the open source version, but we do accept Pull Request. Welcome to contribute codes :).

NOTICE

For some reason, the website http://acm.hust.edu.cn is migrated to http://www.hustoj.org

the new version frontend at https://github.com/hustoj/hustoj-neo

current repository do not contain judger.

Features

Installation

Please see the Wiki

License

Er...GPL:)

2014, He Jun

hustoj's People

Contributors

chaoshxxu avatar dotkrnl avatar freefcw avatar yihozhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hustoj's Issues

Columns missing from Google Code version.

In table problems, columns sample_Program, ratio, error, difficulty, submit_user and case_time_limit were missing from Google Code version.

In my opinion, redundancy sample_Program, ratio, error and submit_user should be removed. And difficulty and case_time_limit should be implemented and documented, or removed.

problems 中,列 sample_Program, ratio, error, difficulty, submit_usercase_time_limit 并不在 Google Code 版本中。

我认为,sample_Program, ratio, errorsubmit_user 为冗余数据,需要被移除。而 difficultycase_time_limit 的功能需要被实现并文档,或是决定移除。

SYSPATH/classes/Kohana/Kohana/Exception.php [ 84 ]

Uncaught TypeError: Argument 1 passed to Kohana_Kohana_Exception::handler() must be an instance of Exception, instance of Error given in /data/wwwroot/default/hustoj/system/classes/Kohana/Kohana/Exception.php:84 Stack trace: #0 [internal function]: Kohana_Kohana_Exception::handler(Object(Error)) #1 {main} thrown
SYSPATH/classes/Kohana/Kohana/Exception.php [ 84 ]
79 *
80 * @uses Kohana_Exception::response
81 * @param Exception $e
82 * @return void
83 */
84 public static function handler(Exception $e)
85 {
86 $response = Kohana_Exception::_handler($e);
87
88 // Send the response to the browser
89 echo $response->send_headers()->body();
{

Can you tell me how to solve it? thanks a lot.......

It stopped on this pending results

Help me!!

Press the Submit button , the results continue to stop the pending.

Press the Status menu was refreshing . The result is still continuing pending .

Hardcoded href for navbar, base.php:base_url should be used

In application/config/base.php 'base_url' => '/new/'

Got hardcoded <li class="active"><a href="/">Home</a></li> in application/views/layout.php

在 application/config/base.php 中配置了 'base_url' => '/new/'

但由于 application/views/layout.php 中硬编码了 <li class="active"><a href="/">Home</a></li> 而无效。

Installation problem

数据库连线正常网站出现“出错了,请联系freefcw#gmail的”资讯
查看日志档

出现以下数据:
#1 /var/www/html/modules/database/classes/Kohana/Database.php(478): Kohana_Database_MySQL->escape('N')
#2 /var/www/html/modules/database/classes/Kohana/Database/Query/Builder.php(116): Kohana_Database->quote('N')
#3 /var/www/html/modules/database/classes/Kohana/Database/Query/Builder/Select.php(372): Kohana_Database_Query_Builder->_compile_conditions(Object(Database_MySQL), Array)
#4 /var/www/html/modules/database/classes/Kohana/Database/Query.php(234): Kohana_Database_Query_Builder_Select->compile(Object(Database_MySQL))
#5 /var/www/html/application/classes/Model/Base.php(116): Kohana_Database_Query->execute()
#6 /var/www/html/application/classes/Model/News.php(76): Model_Base::find(Array, 1, 10, Array)
#7 /var/www/html/application/classes/Controller/Index.php(14): Model_News::top_news()
#8 /var/www/html/application/classes/Controller/Base.php(254): Controller_Index->action_index()
#9 [internal function]: Controller_Base->execute()
#10 /var/www/html/system/classes/Kohana/Request/Client/Internal.php(97): ReflectionMethod->invoke(Object(Controller_Index))
#11 /var/www/html/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response))
#12 /var/www/html/system/classes/Kohana/Request.php(997): Kohana_Request_Client->execute(Object(Request))
#13 /var/www/html/index.php(105): Kohana_Request->execute()
#14 {main} in /var/www/html/modules/database/classes/Kohana/Database/MySQL.php:431

Installation

When wil the Installation sction will be updated?
I downloaded it, but I cannot install.

Regards,

ErrorException [ Fatal Error ]: Call to undefined function __()

SYSPATH/classes/Kohana/Kohana/Exception.php [ 53 ]

48 	 * @return  void
49 	 */
50 	public function __construct($message = "", array $variables = NULL, $code = 0, Exception $previous = NULL)
51 	{
52 		// Set the message
53 		$message = __($message, $variables);
54 
55 		// Pass the message and integer code to the parent
56 		parent::__construct($message, (int) $code, $previous);
57 
58 		// Save the unmodified code

补充:高亮标注53行。

1.{

请问这是哪里的问题,数据库操作执行完成后,git 下载到web目录,然后就一直提示这个错误。

Installation

Hello!

I have read the instructions and want to install hustoj. Do I need only to setup database and change some php files? Is that all?

Don't I have to make compilers and all the other stuff?

I can not login

之前用旧版的hustoj一直很正常,今天下了新的web包,填写好数据库信息后发现题目信息和比赛什么都可以正常显示了。问题是登录不正常,每次填写正确的用户名和密码后,没有任何提示就跳转到主页了。然后导航栏不能显示用户名,还显示login。用旧版本的登录正常。
注:新旧版本共用同一个数据库,而且judge端用的是数据库同步,没有开启http_judge

user session update

after permission change, submitted problem, submit, solved problem

each request should have a best way refresh the data

reCAPTCHA key should be in `options` table

reCAPTCHA key should be in options table instead of application/config/base.php ?
reCAPTCHA 的 Key 应该保存在 options 表里面而不是设置里吧?像 GA 都放在那了。
(呃虽然我觉得我加的那几个可能也得什么时候移进去 QAQ)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.