Danny van Kooten
|
266d05019a
|
return json error when authorization middleware fails
|
2018-10-09 11:17:13 +02:00 |
|
Danny van Kooten
|
734d32082a
|
client-side error handling structure incl. better error message for invalid login details. #131
|
2018-09-21 10:45:47 +02:00 |
|
Danny van Kooten
|
221e6394de
|
assume dashboard is public when there are no users in connected datastore. #117
|
2018-09-12 09:36:59 +02:00 |
|
Danny van Kooten
|
291d53fcaf
|
add CountUsers func to sqlstore
|
2018-09-12 09:11:50 +02:00 |
|
Danny van Kooten
|
b860937107
|
always clear request context, even for unauthorized requests
|
2018-09-12 09:07:55 +02:00 |
|
Danny van Kooten
|
3b721b88a8
|
sanitize email address before saving to datastore
|
2018-09-10 09:26:15 +02:00 |
|
Danny van Kooten
|
720fa4a5da
|
clear gorilla context after request is handled
|
2018-08-07 08:48:22 +02:00 |
|
Danny van Kooten
|
33ffa557ee
|
move setting pwd & comparing into user model + tests
|
2018-08-01 13:13:42 +02:00 |
|
Danny
|
0039683b74
|
set header code when sessionstore returns err
|
2018-05-15 14:20:05 +02:00 |
|
Danny
|
c30e5b3120
|
introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29
|
2018-05-15 13:30:37 +02:00 |
|
Danny van Kooten
|
e2d45dbc40
|
check errors returned by sessionstoreE
|
2018-05-10 22:21:44 +02:00 |
|
Danny
|
6f0ed92dfe
|
use sqlx pkg for scanning user queries
|
2018-04-25 13:45:21 +02:00 |
|
Danny
|
2ac0abd02e
|
move SaveUser func to datastore package and make it db driver agnostic
|
2018-04-25 13:25:34 +02:00 |
|
Danny
|
32f4299656
|
use envconfig to validate configuration values & handle default values
|
2018-04-25 13:05:29 +02:00 |
|
Danny
|
b3ee15cc9a
|
universal error handling in api pkg by returning errs from http handlers
|
2018-04-25 11:59:30 +02:00 |
|
Danny
|
4faf4f9498
|
rename all go import paths to new repository location
|
2018-04-24 10:28:23 +02:00 |
|
Danny
|
93b285c0a9
|
change project directory structure to clean-up root dir
|
2018-04-20 13:12:23 +02:00 |
|