A simple web site built with revel.
Here wishome.atime.me is a live demo.
- A local smtp server
send email for confirmation after user signupreset password via emailchange 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 supportcaptcha verification,should refresh cpatcha id at server sideuse message translation in modules/validators package toomove session related logic from controller to modules/sessionUse a custom struct type for custom global config.Move input autofocus related logic from template to javascript.count action response time in admin page
Fix: resetpass.html template will autofocus on the email input even if name is not set.Fix: admin page controller.Request.RemoteAddr is wrong when using nginx as proxy frontend.Fix: race conditions may happen in caching module of timer results. USE Redis Instead.Use in-memory cache now- Fix: multiple wishome instances will lead to mismatched captcha storage. Try using redis to store captcha.
- 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.