This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathTODO
150 lines (122 loc) · 4.98 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
## Implementation
### TODOS
(@) [X] dig details of snaplet-auth, valitation checking.
- directly display error msg from snaplet-auth
(@) [X] use mongoDB auth backend rather than JSON
- [ ] not able to read cfg file. (line 42 `settingsFromConfig`)
(@) [X] Be able to do post
(@) [X] list posts in home page
(@) [X] Be able to view Post detail page.
(@) [X] Integrate with Markdown
(@) [X] Be able to edit post.
- [X] unfiy those 3 utils
- [ ] display time per client. check example?
Seems node-club display time per server.
(@) [X] Extra user fileds, e.g. email, homeUrl.
signup / user detail page.
(@) [X] Be able to comment
(@) [X] FIX: Reply author column shall be ObjectId but Text
(@) [X] Markdown does support Chinese!!???
(@) [X] be able to comment to comment
- [X] group comments
(@) [X] FIX: topic author column shall be ObjectId but Text
(@) [X] authorization, user roles??
- [X] just config to file (use `role` column at auth_user tabale)
(@) [X] topic pagination
(@) [X] configable for page size
(@) [X] redirect with 303 rather than 302
(@) [X] Link User Detail for any user at post page. (Currently only for login user)
- [ ] Bug: infor from AuthUser has not been retrieved.
(@) [X] Highlight error on input box.
a fix at private branch.
* * * * *
- [-] Tag allow user add tag on the fly when post topic
- [X] Instead of relationship collection, how about just a array field of Topic collection.
- [X] save tags at create / edit topic
- [X] list topics per tag
- [X] pagination at "topics list per tag" page
- [X] 404 page
- [X] update i18n msg file: use nested config
- [X] full pandoc support?
- lbs support
- use pandoc via process(a.k.a command line) like what snap.splices.markdown does.
- get ride of markdown.js but preview via server side service?
- [X] pandoc throw error when unexpect tag found. (throwError at MarkdownSplices)
?? How to give to warning before save. (display error as plain text)
- [X] delete reply and its comments (sub-reply)
- [X] XSS
- http://cnodejs.org/?q=xss
- [X] pretty js for haskell
- [X] Page of listing all Tag
- [X] Data Migration.
- [X] upgrade snap-0.10 and heist-0.10
- [X] reset password
- [X] some notes at demo site.
- [X] test agaist production data
- [X] practice responsive design
- [ ] atom feed for reply
- [ ] Improve the reset password feature
- [ ] oauth
* * * * *
- [ ] Web security
- CAPTCHA
- [ ] i18n for Digestive-Form validation message.
- [ ] Message to user
- at by user
- when new comments
- [ ] User be able to save a topic as favoriate.
- [ ] Snaplet-Admin
- [ ] add 'like/dislike' for topic
- [ ] Delete topic
- [ ] Improve Tag functionality
- [ ] Batch Creation?
- [ ] suggesstion for tag input box
- [ ] Improve pagination
- ellipse page number list when page number list is too long.
(set pagesize to 2 to re-play such problem.)
* * * * *
- [ ] Logging
- [ ] show person score like stackoverflow
- [ ] comments pagination
- [ ] Category is predifined.
- [ ] sub folders for tpl?
- [ ] JS markdown parse is diff with pandoc.
- [ ] Page shortcuts. JIRA!
- (/) whether POST action successfully or not, it is likely to finish it with a redirection,
which means TWO requests to user, isn't it overload??
- [ ] mail integration via email-postmark (active, reset, etc..)
- [ ] How about use "drop down window" for signin and signup ?
* * * * *
### Know issues
1. When not login, access handlers that run with `withAuthUser` in ajax way.
Reproduce: allow any user post comment to a comment.
## Dev question
- compress html
- paresHTML (seems parseHTML from xmlhtml reads 'return' and extra space as a node??)
- to make thing simply, just remove extra space/line break and comments.
- The `when.. throw.. or continue` is very impretive. could be more functional?
- DB fatal error when type is `ObjectId` but is text in DB actually.
(type error is basiacly because how ObjectId implements FromBSON and ToBSON)
- error "No handler accepted" when a template not found.
basically it is because `render` return `empty` when no template found.
- simple write msg to output when error will cause error because Heist handler all request (withHeist "")
- https://github.com/dbp/heist-async
- when `cabal-dev` ask for `force-reinstalls`, it is likely to have incorrect depends config
- ??? heist `bind` can not be nested in other tag but only `apply` tag.
### Makefile
- [X] Compress & combine JS
- [X] Generate min.css per .less files
- [X] How to update template incorporate those two thing above?
* * * * *
## couple of notes
- [X] rm personal section from sidebar to settings.
(page probably need to be re-design)
- [X] show "star person" at sidebar top
- [X] rm "score board" from sidebar.
- redesign write post / comment panel
- [X] preview on the fly?
- [X] display tag right under input box.
- [X] customize bootstrap css which is un-necessary large.
- [X] allow user add tag?
- [X] mv tags to sidebar.
- [X] do not display click count.