summaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
2015-01-18rename rand_id() -> generate_random_id__uuid()LV-426
2015-01-18mv rand_id() -> neo4j_util.pyLV-426
2015-01-18rz_feedback: miscLV-426
2015-01-18rz_feedback: error handling on send email errorLV-426
2015-01-18rz_feedback: error handling on sanitize_input failureLV-426
2015-01-18rz_feedback: use RZ_User_Feedback classLV-426
2015-01-18rz_feedback: cleanup msg_body constructionLV-426
2015-01-18rz_feedback: adapt to application/json POST encodingLV-426
2015-01-18rz_feedback: rename feedback -> send_user_feedback__emailLV-426
2015-01-18rz_mail: import sortLV-426
2015-01-18rz_mail: send_message loggingLV-426
2015-01-18rm useless set() callLV-426
2015-01-18avoid python-socketio's direct access to environ['socketio']LV-426
2015-01-13avoid logging keyLV-426
2015-01-13convert status code to strLV-426
2015-01-13server: fix rz_mail: Fixes #274; Fixes #273Alon Levy
2015-01-13wip: rz_req_handling.pyLV-426
2015-01-13add_user_login(): refactoring out of cryp_util (not needed in production)LV-426
2015-01-13rz_cli_tool: mv under local/LV-426
2015-01-13server/feedback: get rid of flask-mail; left todo: filenames for attachmentsAlon Levy
2015-01-13rz_server: import cleanupLV-426
2015-01-13server: __type is always a [str], fix #264 again correctlyAlon Levy
2015-01-13server: remove dependency on magic, hardcode mime typesAlon Levy
2015-01-13incorporate https://github.com/ivoviz/feedbackAlon Levy
allows user to mark an image and send it. sends an email to configured recipient. defaults to using localhost:25 as the SMTP server (no user name, no password, see [1] for configuration parameters of flask-mail). Introduces a config parameter: FEEDBACK_RECIPIENT = feedback@localhost left TODO: 1. customize the 'thank you' text 2. document in user guide (setting MAIL_DEFAULT_SENDER correctly) [1] https://pythonhosted.org/Flask-Mail/#configuring-flask-mail
2015-01-13add feedback - no email yet, just client side plus server parse client postAlon Levy
Notes: * using https://github.com/ivoviz/feedback + commit 337a8146e567a06035fb1f1ffedfce083be2a2d1 * with tiny changes to use require.js: + html2canvas.js & feedback.js (not minified) start+end lines changed to call define + feedback.js changed to not load html2canvas since require.js does that for us (dropping _html2canvas and getScript usage)
2015-01-13mv init_pw_db to rz_cli_tool, improveLV-426
2015-01-12update fcgi scriptLV-426
2015-01-12server/db_op: fix DBO_diff_commit__attr for name writeAlon Levy
Since we used delete on the __attr_write key value dictionary, the return value we cached was missing the name attribute, causing the client not to see it. Fix it with a deepcopy.
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-12server/client: s/res/static/, drop dev_mode__resend_from_staticAlon Levy
2015-01-12server/404: add debug print of requestAlon Levy
2015-01-12server: implement init_pw_db, update docs, set default Config.htpasswd_path ↵Alon Levy
to <config-dir>/htpasswd TODO: permissions - warn on lax permissions for password file (and for init file?)
2015-01-12server: add 404 redirection (no error page), Fixes #210Alon Levy
2015-01-12use q_arr with add_statement()LV-426
2015-01-12WebSocket_Graph_NS,on_diff_commit__attr/topo(): tx both diff-obj & commit_retLV-426
2015-01-12rz_mesh: handle multiple returned values, serialization special-case handlingLV-426
2015-01-12import sortLV-426
2015-01-12rz_kernel: return: a tuple containing the input diff and the result of it's ↵LV-426
commit
2015-01-11rz_api_websocket: object serialization, error handlingLV-426
2015-01-11replacing namedtuples with Topo_Diff.Commit_Result_TypeLV-426
2015-01-11use q_arrLV-426
2015-01-11__type, __label_set: expect array of length 1 in both cases on backendLV-426
2015-01-11sort importsLV-426
2015-01-11server/rz_server: reorder imports, system firstAlon Levy
2015-01-11server: document and test for simplejsonAlon Levy
flask uses itsdangerous which uses simplejson The default json converts namedtuples to arrays stripping the names. simplejson converts them to a dictionary, a behavior we rely on.
2015-01-11server: add index.html->index redirect, Fixes #218Alon Levy
2015-01-11server: give each redirect_entry function a different func_nameAlon Levy
To successfully pass a flask test preventing usage of the same method twice: AssertionError: View function mapping is overwriting an existing endpoint function: redirector
2015-01-11server: don't limit link length arbitrarilyAlon Levy
neo4j deals fine with length 1 or 2 labels. Fixes #252
2015-01-11server/Topo_Diff: use link_id_set_rm and node_id_set_rmAlon Levy
To distinguish id sets from Node/Link sets. Closes #250