Fixed timeline creation, API logical fixes.

* Resolved issues:

    * #0006: Fix timeline menu UI.
    * #0015: Create new timeline button in timeline menu.
    * #0017: Implement timeline creation.

* Removed ts_api:post_timeline/3, corresponded to `POST` to
  `/ts_api/timelines/<user-id>`, which makes no sense as there is no way to
  auto-generate new timeline-ids.
* Changed ts_api:put_timeline/3 to use ts_timeline:write. This resolved #0017.
* Changed ts_api:put_entry/4 to use ts_entry:write.
* Implemented ts_entry:write/1 and ts_timeline:write/1. These functions are
  simple passthroughs to mnesia:dirty_write/1.
* Added clarifing documentation for ts_json:record_to_ejson JSON formats.
* Renamed ts_json:ejson_to_record/2 to ts_json:ejson_to_record_strict/2 and
  added ts_json:ejson_to_record/2 as a lax version of the same.
* Updated all ts_api functions to use updated ts_json methods.
This commit is contained in:
Jonathan Bernard
2011-06-07 20:47:23 -05:00
parent bc364b2ebd
commit b5eadd6fc4
8 changed files with 98 additions and 96 deletions

View File

@ -5,5 +5,5 @@ UI for timeline menu does not work.
========= ==========
Created: 2011-05-15
Resolved: YYYY-MM-DD
Resolved: 2011-06-07
========= ==========

View File

@ -5,5 +5,5 @@ Need a button to trigger the new timeline dialog.
========= ==========
Created: 2011-06-01
Resolved: YYYY-MM-DD
Resolved: 2011-06-07
========= ==========

View File

@ -2,6 +2,6 @@ Implement timeline creation.
============================
========= ==========
Created: 2011-05-15
Resolved: YYYY-MM-DD
Created: 2011-06-01
Resolved: 2011-06-07
========= ==========

View File

@ -0,0 +1,9 @@
Error in UI when creating or selecting a timeline.
==================================================
Brief description.
========= ==========
Created: 2011-06-07
Resolved: YYYY-MM-DD
========= ==========