summaryrefslogtreecommitdiff
path: root/server/src/server.cc
AgeCommit message (Collapse)Author
2009-12-15New Sessions and Session classes.deva
2009-12-15New error box.deva
2009-12-03Some fixes on the session system.deva
2009-11-19Write livesessions warning to log file.deva
2009-11-13Make session system more robust. Make server termination show live sessions ↵deva
and issue a warning.
2009-11-13JournalWriter now works with sessions, i.e. just like in the old days before ↵deva
microhttpd.
2009-11-13Added SessionIDs to http communication. Made SAXParser run on const char*.deva
2009-11-12Make database connection shared among threads and make is thread safe.deva
2009-11-04Fixed error in connection callback function.deva
2009-11-04Prepare for SSL encrypted connection (https).deva
2009-11-03First working, but not in any way optimal implementation of a http transport ↵deva
layer.
2009-08-18Fixed missing ttl on 'completed'R1_1_0deva
2009-08-07Make the server and queryhandlerpracro test scripts use the new testdb ↵deva
interface.
2009-08-07Added new testdb, that can be activated through the cli (-d testdb) or ↵deva
through the config file (database_backend = testdb) .
2009-08-05Made JournalWriter use the new TemplateList class.deva
2009-07-30Changed illogically named 'window' tag into the more descriptive 'widgets' tag.deva
2009-07-30Removed the term 'course' everywhere, and replaced it by 'template'. This ↵deva
reduced/simplified the Template class structure a bit.
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