07.05.2018
- Fixes and new features
A couple of innocent fixes turned into a coding marathon once again. Here's a list of things that I've changed or added. Some things are visible and some are not.
- Changed the horrible md5 password encrypting to bcrypt. Much better.
- Added a new "Account" page, which replaces the old login/logout view. Through the account page users can change their basic information (name, email address, time zone) as well as log out from the page. The old "Log in"-link is visible when the user has not logged in yet.
- Added time zones to the web page. Users can select their time zone at the account page after which all the timestamps on the web page should be in the selected time zone. The list of time zones is automatically updated once a day through timezonedb.com, which is not at all necessary but something I wanted to code anyway :).
- Users can change their password by clicking the "Change password" link at the Account page.
- Added a user management page to the admin section for, surprisingly, user management.
- Added the possibility to change dates for news items. It makes it easier for admins (me :) to write draft news items and publish them later with the correct date.
I tried to test everything at least somewhat thoroughly but there might be some bugs around anyway. Let me know if you encounter some! You should also change your password so that it's not stored in md5 any longer. It's fine if you use the same password again (saving it will change it to bcrypt).
Comments