gmemstr
ba9c7c7a5d
Reimplemented AddUser() function to use SQLite3
...
Aha! Screw you JSON headaches! I have banished thee to the realm of impossibility, and turn to the promised land of SQLite3, where the sky is blue and the grass long.
...or something. Rewrite AddUser() to insert into database, frontend soon.
2017-10-25 21:34:15 -07:00
gmemstr
e457f58b6d
Login moved to using SQLite3 storage
...
SQLite3 should make future features like multiple publishers and user permissions _much_ easier to manage - JSON in Go is a pain sometimes. Updated godep file as required.
2017-10-25 21:12:40 -07:00
gmemstr
84992b73eb
Add password hashing to loginHandler
...
Will create user management page for admins soon as well. This will be fine for the time being though -> https://www.dailycred.com/article/bcrypt-calculator for generating hashes.
2017-10-09 17:34:04 -07:00
gmemstr
2c1fbe460a
Add edit route
...
Added and tested edit route. Also removed Godep folder (at least for now) to see how it impacts installation.
2017-10-08 19:24:38 -07:00
gmemstr
6b2774d9c2
Removed configreader.go and renamed ishanjain28/pogo -> gmemstr/pogo
...
Configreader was largely unused in new refactor so removed it altogether.
2017-10-05 12:27:55 -07:00
Ishan Jain
cc12ddc46d
Fixed a bug in redirection if a session already exists
2017-10-05 11:47:26 +05:30
Ishan Jain
6e09053d67
Added remaining /admin endpoints
2017-10-05 11:18:02 +05:30
Ishan Jain
b9b825ec6b
Completed Cookie based sessions, Refactored and fixed bugs
2017-10-05 11:03:57 +05:30
Ishan Jain
5c138c7441
Working on Session Creation, Added Login.html
2017-10-04 23:58:53 +05:30
Ishan Jain
fc7d3dd013
Refactoring Code
2017-10-03 16:38:27 +05:30