summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-08Reworked session handling.Aleš Smodiš
* All requests have a session ID, except for the initial create_session system messages. * User session can be in an authenticated or anonymous state. * In anonymous state it is not possible to perform user actions. * Logout has been implemented. * Sessions timeout and are cleared after a period of inactivity (1 hour). * Bugfixed the lang setting handling. * Renamed get_problem -> get_current_solution, return only the user's current solution, not the whole problem data.
2015-10-08Make the Python interpreter even more unbufferedTimotej Lazar
2015-10-08Get problems from files in build_web_resourcesTimotej Lazar
The script now gets the list of languages, groups and problems from the filesystem and inserts missing IDs in the database.
2015-10-08Bugfix refresh-deploy script: use = instead of == to test for equality.Aleš Smodiš
2015-10-07Bugfix: make the as yet unimplemented meta protocol not generate errors on ↵Aleš Smodiš
the Python side.
2015-10-07Fix a typoTimotej Lazar
2015-10-07Update .gitignoreTimotej Lazar
2015-10-07Add a sandbox for Python interpreterTimotej Lazar
Switch to user "nobody" and set additional limits.
2015-10-07Use 'forkserver' method for multiprocessingTimotej Lazar
Weird things happen when forking multithreaded programs without this.
2015-10-07Implemented the refresh-and-deploy shell script.Aleš Smodiš
2015-10-07Add init scripts for sysvinit.Aleš Smodiš
2015-10-06Test user's program before looking for hintsTimotej Lazar
2015-10-06Merge branch 'master' of ssh://212.235.189.51:22122/codeq-serverMartin
2015-10-06Fixed a bug with function almost_equal.Martin
2015-10-06Bugfix: revert to request.session.update_settings() in the Settings class.Aleš Smodiš
2015-10-06Kill all the zombiesTimotej Lazar
2015-10-06sign up, update last_loginMarko Pušnik
2015-10-06Merge branch 'master' of ssh://212.235.189.51:22122/codeq-serverMarko Pušnik
2015-10-06change passwordMarko Pušnik
2015-10-05Implemented systemd unit files to manage CodeQ daemons.Aleš Smodiš
2015-10-05Add the prolog runner to be used for daemonisation in init scripts.Aleš Smodiš
2015-10-05Update actionsTimotej Lazar
2015-10-05Bind the node server to the localhost interface.Aleš Smodiš
2015-10-05Add logging to file to python server. Configure logfile paths from ↵Aleš Smodiš
environment variables CODEQ_SERVER_LOG and CODEQ_WEB_LOG.
2015-10-05Bugfix: correctly handle python-nodejs transport using bytes.Aleš Smodiš
2015-10-04Unification of language session implementations. Added load_problem and ↵Aleš Smodiš
end_problem actions so handlers get appropriately created and destroyed upon loading and unloading the problem solving screen.
2015-10-04Improved exception tolerance, added logging to a file, removed old code, ↵Aleš Smodiš
simplified handling of common requests.
2015-10-03Update and clean up installation instructionsTimotej Lazar
2015-10-01Build script also produces the web resources tree.Aleš Smodiš
2015-09-30Add RobotSessionTimotej Lazar
Currently it does nothing useful.
2015-09-29removed some debug output and actually enabled writing into the DBRobert Zorko
2015-09-29added support to save settings, currently only 'lang' will actually be ↵Robert Zorko
saved, since it is the only one already in the database
2015-09-29Merge branch 'master' of ssh://212.235.189.51:22122/codeq-serverRobert Zorko
2015-09-29added settings to the user session and the login function now also returns ↵Robert Zorko
those settings - currently only gui language is implemented. The create.sql script is updated for that change as well.
2015-09-29 * Bugfix: always do cur.fetchone() on new iteration.Aleš Smodiš
* Implemented ordering of problem groups and problems. * Added hint types based on hint definitions from common.py files.
2015-09-29Add HintPopup and set hint_type on Hint* classesTimotej Lazar
2015-09-24Update monkey.test.test for new testing functionsTimotej Lazar
2015-09-24Remove trailing . from historical Prolog queriesTimotej Lazar
2015-09-24Create WEB_OUTPUT directory if it doesn't existTimotej Lazar
2015-09-24Updated the readme: scripts/build_web_resources.py must be run before ↵Aleš Smodiš
running the whole shebang.
2015-09-24Update JSON build script: include problem name translations with language ↵Aleš Smodiš
index data.
2015-09-23Implemented the script to build static JSON data for problem definitions.Aleš Smodiš
2015-09-23Kill Python interpreter on excessive outputTimotej Lazar
2015-09-23Only show ^C on interrupt if user code is runningTimotej Lazar
2015-09-23Allow syscalls needed for help() in Python sandboxTimotej Lazar
2015-09-22Merge branch 'master' of ssh://212.235.189.51:22122/codeq-serverMartin
2015-09-22Added basic handling of exception to util.pyMartin
2015-09-22Add Node.subtrees and Node.leaves functionsTimotej Lazar
2015-09-22Merge branch 'master' of ssh://212.235.189.51:22122/codeq-serverMartin
2015-09-22Fix an inconsequential typoTimotej Lazar