summaryrefslogtreecommitdiff
path: root/server/src/server.cc
AgeCommit message (Collapse)Author
2009-07-30Updated the example template to contain new tags/attributes.deva
2009-07-29Fixed up the server testprogram a little. Now the program kills its own ↵deva
server process when done.
2009-07-29Fixed potetially bad error in the server. It would break the stream if ↵deva
introduced to multiple xml-documents after one another.
2009-07-29Changed Socket * to Socket & in pentominos query.deva
2009-07-29Split up commits and requests to seperate functions. Changed Database * to ↵deva
Database &
2009-07-24Introduced a new template tag called 'header' to replace the ↵deva
macro-tag-with-header-attribute construct.
2009-07-24Fixed compiler issues...deva
2009-07-22Changed the way the macros are looked up in the filesystem (now they are ↵deva
parsed and indexed using version numbers). Updated all unit tests, to compile and run again.
2009-05-15Journal entries are now committed in the order in which they appear in the ↵deva
course description (the template). Misspelled 'macroes' have been corrected to 'macros' in template.h and all affected files.
2009-05-11New 'header' in each journal commit, taken from the course.deva
2009-04-24Delayed journal commit write. This makes sure each macro is only stored ↵deva
once. and also makes sure only one header (date, user, etc) is added pr. session.
2009-02-18Added title attribute to the courses/templates, and made them show as a ↵deva
header in the client.
2009-02-11Added QueryHandler for both Pentominos and Pracro. Added source string to ↵deva
all values, and use these to set the prefill value in the macros.
2009-02-10- Rewrite part of the database backend setup and abstractionbertho
- Fix some printf's into debug statements
2009-02-04- Add missing include filesbertho
- Add config option for xml macros and templates basedir
2009-01-13Added a 'language' tag in resume, to be able to switch parser. Implemented ↵deva
the lua resume parser.
2008-12-02Ignore store_in_journal attributes, always set to true.deva
2008-12-02Added hacked support for headlines in templates.deva
2008-10-10Made resume a standalone tag istead of an attribute of the macro tag.deva
2008-10-08Connections to Pentominos and Database are now persistent over the entire ↵deva
client connection.
2008-09-30Changed SAXParser parse method to take a buffer and a size instead of a c++ ↵deva
string. Made the queryhandler use a read loop, parsing on-the-fly to determine when the entire document has been read.
2008-09-29Modified error reply to fit new layout system.deva
2008-09-23Made fix for the 'multiple xml buffers in single network buffer' problem.deva
2008-09-22Added resume storing to the db, and made the outputted xml use it. Added ↵deva
captions to the macro tags from the window-tag caption attribute. Made all template attributes fall through to the client.
2008-09-19Temporary frame caption solutiondeva
2008-09-05Made multiple pentominos request work properly (still no reusage of the ↵deva
connection). Also increaed the default ttl to 7 days instead of 1.
2008-08-21Made postgres addr, username and password configurable.deva
2008-08-21Fixed hardcoded CPR in widgetgenerator - yrk.deva
2008-08-19Bugfix. Shared connection didn't work with the continue action.deva
2008-08-15Changes for read-loop-server.deva
2008-08-05Added catch of non responding postgresql database.deva
2008-08-04Made server able to run (compile-time) without postgres and the ↵deva
uploadserver. Fixed problems in the exclusion of pentominos support. Fixed bug in db query field iteration.
2008-08-04Added NotFound exception when trying to open a non-existing and non-empty macro.deva
2008-07-30Fixed structural problem in server that prevented the potential request for ↵deva
a nonexisting macro (resulting in a course-only answer).
2008-07-30Reenabled support for upload server. Currently only tested against local ↵deva
print-to-screen version.
2008-07-30Added global Conf namepsace with configuration values. These are to be ↵deva
filled with config file values later.
2008-07-30Renamed luaprograms/luaprogram tags to scripts/script tag with a language ↵deva
attribute.
2008-07-29Added configure option to remove pentominos support.deva
2008-06-09Added check to see if macro already has been committed. For later use with ↵deva
dependency checking.
2008-06-09Added xml encoding of the lua programs to make sure they are not ↵deva
interrupting the xml.
2008-06-09Made output accumulation in a buffer and write in the end, thus enabling the ↵deva
corretc outputting of the error box if neccessary.
2008-06-04Modulized the template/course/macro system.deva
2008-06-04Introduced the errorbox to communicate server errors to the client.deva
2008-06-04Introduced the errorbox to communicate server errors to the client.deva
2008-06-03Added support for lua validator programs.deva
2008-05-26Completed the prefilling of the fields, from the db and pentominos, ↵deva
according to their timestamps.
2008-05-23Did a lot of work on the database class.deva
2008-05-22Fixed GPL headers to actually contain the contributors...deva
2008-05-21Preparing for some macro/course/template restructuringdeva
2008-05-20Added some code for the new output format.deva