ylhuang86/e5-src — pull request #12 by GordonTSY (2014-09-13 13:19:34+00:00)
Title: [Update by Gordon Tsai at Sep 13]

[Newly Done]
1. [Done-11~14]

[Done]
1. (tempalately)Use user.json to specified user identity.
2. Server open the material folder depends on user.For example, AOOP's permanent ID is UEE1303，and I took this class in 102B(current ID:1060)，so when I
view the AOOP material，what I see would be UEE1303/1060.
3. Be able to get file names in dir,but failed to load it to the page.
4. Improved user.json format.
5. Fixed:Failed to get JSON file property .(\handlers\materials.js :Line 92)
6. Fixed:function load_material should be rewrite with async.waterfall or something else,rather than nested structure.(\handlers\materials.js :Line80-148)
7. Fixed:Failed to read files from dir.
8. Fixed:Failed to load file to the page,but it absolutely has got files' name.(\material\content\material.js :Line33)
9. Fixed:Disign the page of showing up material files.(It is currently the form of the example in the textbook.)
10.Fixed:The browser failed to get material file from server.
11.Reconstruct the relationship between pages.(Finished:/pages/home )
12.Remove interface,the detail could be found in Design document.txt.
13.Syllabus:show syllabus on the browser.
14.Announce:
a.show announce list of the subject.
b.show user name ,user identity,and announce content(Eng. only).

[Wait for improved]
1.Some useful functions in load_material (\handlers\materials.js) should be separated ,and rewrited into named functions.
2.Announce:
a.Editable should be used as property of form and button.
b.Failed to load Traditional Chinese announce content.(Big-5).
c.Some function should be add,such as sending edited announce .
3.Subject-detail:provide the server ability to check the user's permission.
4.Some other idea can be found in Note.txt.
5.Anything waiting for improvement can be found by searching(ctl+F)"[Discussion]" .

[Wait for discussion]
1. Improve the format of user json.
2. (\handlers\material_helper.js Line24)