iLanguage/iField — pull request #429 by cesine (2012-07-31 14:32:04+00:00)
Title: Refactor of saving and loading models and views, refactor of datalists, paginated updating collections and refactor of search

Whats new:
* complete re-write of to create a function for all models "saveAndInterConnectInApp" which will managing the saving (to pouch and other) and will interconnect the model to the other places it should be (referenced/copied) in the app
* complete re-write of the DataList rendering logic to have only 2 data lists, one for read one for write (following the Datums render)
* complete re-write of the Corpus rendering logic to have only 2 corpus, one for read one for write
* complete re-write of the DataList module, creating a new class PaginatedUpdatingCollection, now with 12,50,100 items per page
* moved the datums view out of datalists, into a separate rendering logic to render less often
* added UI for permissions (ie, to add users to admin, collaborate or contribtue to corpora)
* added UI and variables for public vs private corpora
* tons of small and large bug fixes

TODOs
* complete re-write of the Session rendering logic to have only 2 session, one for read one for write
* finish working on the eye buttons (which put us in decrypted mode so that we can see the data)
* verify the lock buttons
* set up server calls to add members to teams so that users can collaborate
* change the activity feed to relativize to corpus
* add the logic for Public/Private corpus (ie add and remove the ifieldpublicuser from the corpus one we can add users to teams)