summaryrefslogtreecommitdiff
path: root/src/server/db_controller.py
AgeCommit message (Collapse)Author
2015-06-04add copyright and license headers for GNU AGPL v3Alon Levy
2015-05-05DB_Controller: miscLV-426
2015-05-05DB_Controller: refactor rz_config dep -> rz_config.rest_api_base_urlLV-426
2015-05-05db_controller: removing exec_cypher_query()LV-426
2015-04-29db_op: composed op: post_op_exec_hook() - provide room for post-sub-op logicLV-426
2015-04-29DB_composed_op: reorder functionsLV-426
2015-04-14db_op, rz_server, db_controller: miscLV-426
2015-04-13db_controller: trim op_ret log messages until we have a dedicated data logLV-426
2015-04-10server/db_controller: allow result to contain unicodeAlon Levy
2015-04-01db_controller: loggingLV-426
2015-04-01DB_Driver, DB_Op: statement -> query renameLV-426
2015-04-01DB_Query, DB_row, DB_op, DB_composed_op iteration code, add explicit ↵LV-426
DB_op.iter__r_set()
2015-01-20DB_Controller#exec_op() logging, commentsLV-426
2015-01-20DB_Controller: log with log.exception()LV-426
2015-01-05Neo4JException may be composed of several sub errors, defer to class __str__LV-426
2015-01-05server/db_controller: verbose Neo4JException loggingAlon Levy
2015-01-04refactor: db_op, db_controller separationLV-426
2015-01-02DBO_attr_diff_commit(): document return typeLV-426
2015-01-02DBO_topo_diff_commit() return Topo_DiffLV-426
2015-01-02DBO_attr_diff_commit: echo Attr_Diff on success, skip neo4j return data parsingLV-426
2014-12-23server: fix deletions to return node/relationship id just once per row; ↵Alon Levy
client currently doesn't use this but assumes success
2014-12-23use topo_diff for user input changesAlon Levy
pretty large commit, but it mainly boils to - reusing the same format clone returns to the client for topo_diff bad bad code introduced mainly in client side, but server wasn't spared: - graph/commit_topo__diff massages the links too much - this should not be there at all, it should be in the correct format to begin with. server code duplication between clone & topo_diff post processing, should be factored out on the good side: single transaction whenever user presses enter, and the correct place to send back any accumulated diffs (other user changes).
2014-12-23server/db_controller: fix use of misnamed importAlon Levy
2014-12-23DB_Contrller: don't use private sub_op_set, use __iter__Alon Levy
2014-12-23db_controller: use enumerate to save a lineAlon Levy
2014-12-23db_controller: spell out the word transaction in commentAlon Levy
2014-12-23follow n,m convention on cypher queriesLV-426
2014-12-23support space containing label setting on linksLV-426
2014-12-23add_link_rename_statements(): improve readabilityLV-426
2014-12-23rm unused node labelingLV-426
2014-12-23rm quote, fix logical bug: continue processing other links + miscLV-426
2014-12-23fix quoteLV-426
2014-12-23mv attr_diff.link.name assertion to Attr_Diff constructorLV-426
2014-12-23improve assert readabilityLV-426
2014-12-22server: link attribute updatesAlon Levy
Tested for name changes only, with the next commit's client side change. Notes: uses more than a single query to change each link's name. Since we use label's, and neo4j is finniky about them, we must: 1. create a new link with copied properties (for future proofing, we use none at the moment) 2. delete the old link. Cannot do those in the same statement, the following results in a Neo4j error: match a-[l]->b create a-[l2:Poo]->b set l2=l delete l "errors": [ { "code": "Neo.DatabaseError.Statement.ExecutionFailure", "message": "Relationship 13 has been deleted", "stackTrace": <snip> } ]
2014-12-22DBO_rz_clone: assert instead of triggering AttributeError on missing idAlon Levy
2014-12-16moving files around after repository mergerAlon Levy