summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-24client/textanalysis: drop star case. Fixes #330Alon Levy
This fixes the "remove chainlink" (aka star case) part of #330. The rest of #330, i.e. supporting "#1 is #2 not #3" to create two links, now with double spaces, is already fixed by textanalysis refactoring.
2015-02-24client/textanalysis: more accurate comments, s/edge/verb/Alon Levy
2015-02-24client: set double spaces as separator instead of hashAlon Levy
2015-02-24client/textanalysis: fix double spaceAlon Levy
handle correctly node separator containing spaces, of which a double space is a special case.
2015-02-24client/textanalysis: fix empty string caseAlon Levy
2015-02-24client/textanalysis rewriteAlon Levy
I considered breaking this into multiple parts but it is too much work and not worth it at this point. Logically there are two parts: a bunch of support functions, most of them are generic (list_* and obj_*, subsets) plus a few special functions: tokens_to_graph_elements and groups_to_thirds "thirds" is a list of objects representing either a node or a link with start, end and token. The token is the node/link name, the start and end are used to later lookup the node based on cursor position (for type changing from the command line). groups is just an intermediate step where each individual token (space separates them, except when in quotes) is still a separate entry in the list. The logic of textanalysis remains: - prefix (text before the first node) means the first link is the complete sentence - starCase ramains (creating a single center node of the complete sentence and linking everything to it with the 'chained' link name) - and logic is updated to include multiple and sequences (the simple case remains for a single stretch of ands). Simplifications of the code: - single place calls for __addNode and __addLink - no more orderStack, instead we have a thirds array of node,link pairs flattened to a single list, each with start/end in the sentence (this takes into account the hash mark).
2015-02-24client/textanalysis: add new node_token module global variable and use in ↵Alon Levy
tokenize
2015-02-24jshint: client/textanalysis: remove dead code (we create suggestions from ↵Alon Levy
scratch on every update)
2015-02-24jshint: client/textanalysis: various lint fixesAlon Levy
2015-02-24jshint: client/textanalysis: move use strict to function to avoid stricting ↵Alon Levy
everything
2015-02-24domain_cri.py: fixing link proficiency level attr, cvs exportLV-426
2015-02-23client/textanalysis: code style for and_connectAlon Levy
2015-02-23client/textanalysis: s/token_set_new_node_names/node_names/ (and _links)Alon Levy
2015-02-23Modified domain_cri for nicer demosgarbash
2015-02-23pw-reset: client side codeLV-426
2015-02-23util.js: input_validation__password()LV-426
2015-02-23util.js: form_common__rest_post()LV-426
2015-02-23rz_user_db: update_user_password()LV-426
2015-02-23rz_user.py: rest__pw_reset()LV-426
2015-02-23rz_user.py: util codeLV-426
2015-02-23rz_user.py: User_Pw_Reset_Request classLV-426
2015-02-23rest__login(): fix handling of multiple return values by ↵LV-426
lookup_user__by_email_address()
2015-02-23user_signup.html: removing triple underscoringLV-426
2015-02-23generate_email_confirmation_key(): rename as generate_security_token, make ↵LV-426
available for other user procedures
2015-02-22client: fix broken completerAlon Levy
2015-02-18client/completer: wip handle multiple delimiters for search (| and space)Alon Levy
2015-02-17server: oops, remove exception for testingAlon Levy
2015-02-17server/rz_server: alternative to taking cfg&log initialization out of the ↵Alon Levy
try/catch
2015-02-17server: take config and log initialization out of initial try/catch since ↵Alon Levy
catch assumes log is intact anyway
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-17client: adding r.js build fileAlon Levy
2015-02-17client: expand textanalyser input up to 80%. Fixes #239Alon Levy
drops animation of width because I couldn't get the plus button to animate the same.
2015-02-17client/view/node_info: listen on input event too (available in newer / ↵Alon Levy
specific browsers)
2015-02-17client/textanalysis.ui: move main to it's own top level functionAlon Levy
2015-02-17client/main: possible bug fix seen on LightTable/webkit - not criticalAlon Levy
2015-02-16client/graph/merge: re-instate confirm dialog for rename-to-mergeAlon Levy
2015-02-15client/node_info: remove save button, listen to keyup as well, debounce for ↵Alon Levy
half a second. Fixes #43
2015-02-15client/node_info: track changes and commit on any field change. partially ↵Alon Levy
Fixes #43
2015-02-15client: make shift+click be selection augmentation for better pc/mac ↵Alon Levy
compatibility, instead of ctrl+click
2015-02-15client/node_info: wip getting automatic save, some fixesAlon Levy
2015-02-15server: fix default root_path for ./run-local.sh plus add assertion early, ↵Alon Levy
before flask template loader bails
2015-02-15client/node_info: show message on delete/change of open dialog underlying ↵Alon Levy
node (informational only)
2015-02-15{client/rz_mesh: make commit_diff__topo input a TopoDiff, relied on by ↵Alon Levy
various diffBus listeners
2015-02-15client: node_info cleanup: still missing edge cases (edits/deletes while open)Alon Levy
2015-02-15better logging for user_db init exceptionsLV-426
2015-02-15log configuration at 'info' levelLV-426
2015-02-15init_log(): derive log level from configurationLV-426
2015-02-15index(): rz_config gen: avoid using SERVER_NAME, use either 'Host' or ↵LV-426
'X-Forwarded-Host' headers
2015-02-15removing 404 auto redirect handler, opt for handling by reverse proxyLV-426
2015-02-15index(): derive rz_config values from 'X-Forwarded-Host' when availableLV-426