mawenbao / wishome

a simple website built with revel framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wishome

A simple web site built with revel.

Demo

Here wishome.atime.me is a live demo.

Dependencies

  • A local smtp server

TODO

  1. send email for confirmation after user signup
  2. reset password via email
  3. change db handle from gorp.DbMap to database.DbManager in all the database related validate functions(validators/user.go) and database helper functions(database/db.go), rewrite db logic, use a global db handle now with database/sql connection pool support
  4. captcha verification, should refresh cpatcha id at server side
  5. use message translation in modules/validators package too
  6. move session related logic from controller to modules/session
  7. Use a custom struct type for custom global config.
  8. Move input autofocus related logic from template to javascript.
  9. count action response time in admin page

Issues

  1. Fix: resetpass.html template will autofocus on the email input even if name is not set.
  2. Fix: admin page controller.Request.RemoteAddr is wrong when using nginx as proxy frontend.
  3. Fix: race conditions may happen in caching module of timer results. USE Redis Instead. Use in-memory cache now
  4. Fix: multiple wishome instances will lead to mismatched captcha storage. Try using redis to store captcha.
  5. Fix: currently wishome will force signing user out if he has been logged in for $session.life time. User session should be expired only if user has not been active in the last $session.life time.

About

a simple website built with revel framework.


Languages

Language:Go 94.6%Language:JavaScript 4.6%Language:CSS 0.8%