summaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
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
2015-01-06server: hack my way to a working __type/__label_set, please fix at willAlon Levy
2015-01-06server: fix Topo_Diff_Result usageAlon Levy
The reason json failed was that we were using a class instead of an instance, i.e. clazz = namedtuple('bla', ['field1', 'field2']) instance = clazz(field1='foo', field2='bar')
2015-01-06wip: websocket: implement on_diff_commit__topo(), on_diff_commit__attr()LV-426
2015-01-06init websocket-envLV-426
2015-01-06rz_kernel: mv db_ctl reference to kernelLV-426
2015-01-06adapt to link meta-attribute '__type' useLV-426
2015-01-06DBO_diff_commit__topo: settle on namedtuple as return typeLV-426
2015-01-06DBO_diff_commit__topo: topo_diff return valueLV-426
2015-01-06DBO_add_link_set(): adapt to dict return typeLV-426
2015-01-06DBO_add_node_set(): adapt to dict return typeLV-426
2015-01-06DB_op: add_db_query()LV-426
2015-01-06fix REST DB driver tx open, closeLV-426
2015-01-06used meta_attr='__type' for links (nodes still use '__label_set')LV-426
2015-01-06meta_attr_list_to_meta_attr_map(): harded assertions regarding link ↵LV-426
meta-attr '__type'
2015-01-06gen_query_create_from_link/node_map(): cleanup: assertions, miscLV-426
2015-01-06inline __type_check_link()LV-426
2015-01-06DBO_add_node_set, DBO_add_link_set: order returned list by idLV-426
2015-01-06DBO_topo_diff_commit -> DBO_diff_commit__topo, same for __attrLV-426