Update todo list

このコミットが含まれているのは:
Zed 2019-06-23 14:34:19 +02:00
コミット 096471b50d
2個のファイルの変更13行の追加11行の削除

ファイルの表示

@ -23,17 +23,19 @@ like the title, this will change as the project matures a bit. For now the focus
is on implementing missing features. is on implementing missing features.
## Todo (roughly in this order) ## Todo (roughly in this order)
- Search
- Simple account system with feed (excludes retweets)
- Twitter "Cards" (link previews) - Twitter "Cards" (link previews)
- Nitter link previews - Nitter link previews
- Server configuration - Search (+ hashtag search)
- Video support with hls.js
- Json API endpoints
- Hiding retweets from timelines
- Themes
- Emoji support - Emoji support
- Twitter polls
- Server configuration
- Simple account system with feed (excludes retweets)
- Hiding retweets from timelines
- Video support with hls.js
- Media-only view
- Themes
- File caching - File caching
- Json API endpoints
- Nitter logo - Nitter logo
## Why? ## Why?

ファイルの表示

@ -5,13 +5,13 @@ const key = "supersecretkey"
proc mimetype*(filename: string): string = proc mimetype*(filename: string): string =
if ".png" in filename: if ".png" in filename:
return "image/" & "png" "image/" & "png"
elif ".jpg" in filename or ".jpeg" in filename: elif ".jpg" in filename or ".jpeg" in filename:
return "image/" & "jpg" "image/" & "jpg"
elif ".mp4" in filename: elif ".mp4" in filename:
return "video/" & "mp4" "video/" & "mp4"
else: else:
return "text/plain" "text/plain"
proc getHmac*(data: string): string = proc getHmac*(data: string): string =
($hmac(sha256, key, data))[0 .. 12] ($hmac(sha256, key, data))[0 .. 12]