summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2016-02-28Add experiments column to codeq_userTimotej Lazar
This JSON column holds an array of experiment objects, for example: [{'id': 'prolog_hints', 'group': 'manual_hints'}]. To include users in an experiment, just add appropriate objects to their records. Not the cleanest design from the DB point of view, but enough for the single current use case.
2016-01-06Remove unused importsTimotej Lazar
2016-01-05monkey.edits: only add solutions to predicates that are actually used when ↵Timotej Lazar
testing
2016-01-05Add db.util.make_identifier functionTimotej Lazar
Does the same as scripts.utils.filenamefy.
2015-12-10Add copyright infoTimotej Lazar
2015-10-30Update db.models.CodeqUserTimotej Lazar
2015-10-30Use psycopg's builtin support for jsonb columnsTimotej Lazar
2015-10-16added gui_layout to the settings of the userRobert Zorko
2015-10-15Store identifiers instead of IDs in Problem modelTimotej Lazar
2015-10-15Sort rows by language and group in Problem.listTimotej Lazar
2015-10-15Add missing commit() calls for DB connectionsTimotej Lazar
2015-10-13Update create.sql and add a migration scriptTimotej Lazar
2015-10-12Drop name column from language/group/problem tablesTimotej Lazar
2015-10-12Drop is_visible column from problem tableTimotej Lazar
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-08-31s/Problem.identifier()/Problem.get_identifier()Timotej Lazar
2015-08-27Add some helper methods to db.modelsTimotej Lazar
2015-08-24Split the development into daemon and wsgi_server.Aleš Smodiš
Implemented basic infrastructure for daemon (Prolog), and partial support for services in wsgi_server.
2015-08-20Add a data model for the problem tableTimotej Lazar
2015-08-20Bugfix: database constraint problem.problem_uq2 referenced only identifier, ↵Aleš Smodiš
but it should reference the triplet (language_id, problem_group_id, identifier) instead.
2015-08-19Adapted existing database entities to changes in the model. Excluded ↵Aleš Smodiš
database connection handling into __init__.py of the db package.
2015-08-19New database tables and data imports: user_group, user_in_group, language, ↵Aleš Smodiš
problem_group, problem.
2015-08-13Initial PostgreSQL data model: codeq_user and solution tables.Aleš Smodiš
Converted the action.py to use the new model.