Commit graph

16 commits

Author SHA1 Message Date
gmemstr d4361de8b9 Added dropdowns for permission roles 2017-12-03 16:24:04 -08:00
gmemstr c831bbf1e4 Added values for editing/adding permision to users via web interface 2017-12-01 13:48:29 -08:00
gmemstr a3c6143014 Added user permissions! 2017-11-29 12:56:51 -08:00
gmemstr f3779aa4bd Admin: Added user deletion route and button 2017-11-20 21:47:29 -08:00
gmemstr 4ef5d671f3 Admin: Added user editing
Added user editing route both backend and frontend, fully functional. Currently working on new user frontend route, then setup process. Also changed to use gorilla/feeds now that code has been upstreamed, so please update your dependencies.
2017-11-17 13:59:53 -08:00
gmemstr af8611bb37 Added /admin/listusers route for user management frontend
This will allow basic listing on the frontend. Does require authentication for route. Also apparently added route for adding user properly (was that not in the last commit? Apparently not).
2017-10-27 17:41:28 -07:00
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