summaryrefslogtreecommitdiff
path: root/src/server/rz_api.py
AgeCommit message (Collapse)Author
2015-04-15rz_api: refactor rz_config constructionLV-426
2015-04-14[peer/host addr] rz_api: use req env peer_addrLV-426
2015-04-09rz_api: index(): return view even on exceptionLV-426
2015-04-06fix for "AssertionError: View function mapping is overwriting..."LV-426
2015-04-01sanitize_input__rzdoc_name(): retrieve max rzdoc name from global rz_configLV-426
2015-04-01rz_api: map REST path /rz/xxxLV-426
2015-04-01REST /index endpoint: configure rz_config__rzdoc_cur__name, ↵LV-426
rz_config__rzdoc_default__name
2015-04-01rz_api: deprecating, removing __common_exec()LV-426
2015-04-01rz_api: refactoring REST api calls to rz_api_restLV-426
2015-04-01rz_clone(): relocate to rz_api_restLV-426
2015-04-01rz_api: miscLV-426
2015-04-01rz_clone(): look for rzdoc_name or use rhizi mainpage cfg., apply QTLV-426
2015-03-01rz_api: index: set correct role_setAlon Levy
2015-03-01add a fixed role_set to the client, to be replaced with one coming from the ↵Alon Levy
current logged in user
2015-02-17client/server: support optimizing with require.js using node run r.jsAlon Levy
built is controlled by property do-client-optimize which defaults to false. Even if the optimized main is built (single file main-built.js and source map file main-built.js.map) they are not used unless rhizi-config.conf client_optimize is set to True which causes app.js to use main-built.js and not main.js The resulting file is 687 KiloBytes large. Pretty scary, but it still loads faster this way. (from very small tests locally). This is without compression done by the server.
2015-02-15index(): rz_config gen: avoid using SERVER_NAME, use either 'Host' or ↵LV-426
'X-Forwarded-Host' headers
2015-02-15index(): derive rz_config values from 'X-Forwarded-Host' when availableLV-426
2015-02-15derive rz_config values from flask SERVER_NAME only, avoid mixing ↵LV-426
rz_config.listen_port
2015-02-11rz_api.py: miscLV-426
2015-02-10user_db lookup_user__by_email_address() exception handling:LV-426
- clarifying the meaning of an 'unknown user' case - removing code duplication in user_db, sticking to exception raising
2015-02-10server: check for stale cookies on loginAlon Levy
2015-02-09rz_config: embed in index, remove as moduleAlon Levy
Still missing: remove host/port, let client use same as url it was served on. remove other flags no longer relevant. better mapping of server config to avoid double work?
2015-02-09server/client: move rz_config to templates, fill in to match server config ↵Alon Levy
host/post
2015-02-05rz_api: index template rendering cleanup: render rz_usernameLV-426
2015-02-04rz_api: import cleanupLV-426
2015-02-04refactor /monitor/x logic into rz_server_ctrlLV-426
2015-02-04rz_api: monitor__server_info() cleanupLV-426
2015-02-04mv rest__login/logout to rz_userLV-426
2015-02-01rz_req_handling: make_response__{http__empty,json__html,json__redirect}(),LV-426
2015-01-21templates/index: move username and initials setting to server. Fixes #286Alon Levy
2015-01-19rm /add_node_set REST pathLV-426
2015-01-13wip: rz_req_handling.pyLV-426
2015-01-12login+logout: using ajax, not POST, plus document.window (worst of both worlds)Alon Levy
2015-01-12client/server: login is using POST, so use POST, not XMLHttpRequestAlon Levy
TODO: Logout requires styling plus only to appear if logged in.
2015-01-06DBO_topo_diff_commit -> DBO_diff_commit__topo, same for __attrLV-426
2015-01-05rz_clone()#on_success: formatting, docLV-426
2015-01-05server/rz_api: fix missing json wrapperAlon Levy
2015-01-05rz_api, neo4j_test_util: importsLV-426
2015-01-04rename rhizi_api -> rz_apiLV-426