Commit graph

7 commits

Author SHA1 Message Date
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 7491d1c86e Fixed non-byte value in hashing function
Also fixed some other misc. build errors, & added err catch to exec result.
2017-10-26 09:03:54 -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 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 6e09053d67 Added remaining /admin endpoints 2017-10-05 11:18:02 +05:30