summaryrefslogtreecommitdiff
path: root/src/client/model
AgeCommit message (Collapse)Author
2015-04-02client/graph: fix id_to_link_id_set regression w/ inter-graph linksAlon Levy
2015-04-01model/core.js: remove rz_state (previously used for cur_rzdoc tracking)LV-426
2015-04-01rz_api_backend: rz_clone -> rzdoc_cloneLV-426
2015-04-01model/core.js: introduce global rz_state variable, currently used to track ↵LV-426
cur_rzdoc_name
2015-03-24client/model/graph: track node degree (O(1) amortized on link and node addition)Alon Levy
2015-03-17client: Bacon/jquery dependency: use shimAlon Levy
add shim requirement for Bacon to have jquery loaded first, since Bacon patches in asEventStream (and other APIs). Undo the Bacon_wrapper non fix: git grep -l Bacon_wrapper | while read f; do sed -i -e s/Bacon_wrapper/Bacon/g $f; done
2015-03-16client/model/diff/Topo_Diff: ensure correct link namesAlon Levy
2015-03-16client: use 'untitled' as empty link fixes #381Alon Levy
Sanitizes any link attribute change. Topo diff in next patch since I might want to reverse it - current interface doesn't allow introducing null link names on creation.
2015-03-15client: add util.log_error, use for clone missing dst/src idsAlon Levy
2015-03-15client: ignore bad links on cloneAlon Levy
2015-03-13client: fix json export and import to use model/types to account for allowed ↵Alon Levy
attributes
2015-03-09client: search in nodes and attributesAlon Levy
Fixes #358 Implementation limitations: - uses hasOwnProperty for search, and further filters on strings. So technically could be oversearching - i.e. string properties that are not attributes. We should keep an attribute key on Node and Link - there is no selected link, just selected nodes. So we select both source and destination. Opening issue #367 for this.
2015-03-07client: add missing club type from model/typesAlon Levy
2015-03-07client/model/types: store titles for types and attributesAlon Levy
2015-03-07client: move nodetypes from consts to model/typesAlon Levy
2015-03-06client: introduce model/types, cleanup node_info (not quite enough)Alon Levy
2015-03-03client: rename consistently links__delete, nodes__deleteAlon Levy
2015-03-01client: add Bacon_wrapper, use instead of Bacon; forced loading of jquery ↵Alon Levy
before Bacon
2015-02-25client: selection tools: add link nodes in fanAlon Levy
2015-02-16client/graph/merge: re-instate confirm dialog for rename-to-mergeAlon Levy
2015-02-15client/model: update_node can now do merge. Fixes #226Alon Levy
2015-02-15client: node merge: don't add self referencial linksAlon Levy
2015-02-15client: implement merge of nodesAlon Levy
2015-02-11client: remove setting type change suggestion location via graph.findCoordinatesAlon 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-05client/graph: add find_link__by_id for debugging only right nowAlon Levy
2015-01-25create_node_from_spec: a little cleanupLV-426
2015-01-23graph.js#__addNode(): use console.warn on id collisionsLV-426
2015-01-21client/model/core: cannot delete id (create_node_from_spec) due to it using ↵Alon Levy
Object.defineProperty
2015-01-21client: make sure we store all properties coming from the server. Fixes #298Alon Levy
2015-01-21client/model/diff: add is_topo_diffAlon Levy
2015-01-21client/model/diff: add two helpers on Attr_DiffAlon Levy
2015-01-20client: Attr_Diff: add toString for debuggingAlon Levy
2015-01-13client/graph: find_node_* returns null on unfound, not undefined. Fixes #275Alon Levy
2015-01-13Revert "client: fix link name regression on clone (Fixes #264)"Alon Levy
This reverts commit f17c7d27b510c033aa2861598e49a90c56aa9a13.
2015-01-13client/graph: find_node__by_id now returns Node/nullAlon Levy
not undefined (undefined not appropriate for this case.
2015-01-13client/graph: allow updating property of a backend backed nodeAlon Levy
This is a hack, here is the code comment: FIXME: should not do a server roundtrip, should keep this data local and part of the temporary graph, and send it on user enter in a single commit. The current implementation is just a quick way to get sorta the same outcome. it misses atomicity (since we create a commit for every tab click on an existing node), and responsiveness (since there is a roundtrip to the server and it isn't client side)
2015-01-13client/graph: find_node__* default to recursion but optionalAlon Levy
2015-01-13client/model/grah: bug fix in update_nodeAlon Levy
2015-01-13client/graph: editType: drop stateAlon Levy
2015-01-13client: fix link name regression on clone (Fixes #264)Alon Levy
2015-01-13commit_diff__attr doc stringLV-426
2015-01-13graph.js: commit_diff__attr()LV-426
2015-01-13Attr_Diff.prototype.for_each_node, _linkLV-426
2015-01-13add_node_attr_rm -> add_node_attr_removeLV-426
2015-01-13model/diff: new_attr_diff_from_spec()LV-426
2015-01-12util.js: fix adapt_format_read_link_ptr issue resulting from both in,out set ↵LV-426
containing the same key
2015-01-12client: fix link renameAlon Levy
together with previous server commit Fixes #257
2015-01-12client/graph.js: add two assertions on link integrity on load from backendAlon Levy
2015-01-11update_link(): mirror update_node() handlingLV-426