dex/db
Eric Chiang 5c5df23a57 db: print better error messages for invalid input
When client secrets are not base64 encoded, print an error message
that's not a generic base64 decode error:

   client secrets must be base64 decodable. See issue #337.
   Please consider replaceing "secret" with "c2VjcmV0"

When a user file is missing a mandatory field print an error message.

	Unable to build Server: user elroy-foo is missing email field

For #400
2016-04-11 16:31:50 -07:00
..
migrations db: regenerate migrations 2016-03-02 14:47:17 -08:00
translate db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
client.go db: print better error messages for invalid input 2016-04-11 16:31:50 -07:00
conn.go Merge pull request #356 from ericchiang/fix_cross_compilation 2016-03-02 14:47:39 -08:00
conn_postgres.go db: protect the sqlite3 import with a cgo tag 2016-03-02 12:02:55 -08:00
conn_sqlite3.go db: protect the sqlite3 import with a cgo tag 2016-03-02 12:02:55 -08:00
conn_test.go db: only allow one open connection for in memory databases 2016-02-22 16:30:48 -08:00
connector_config.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
db.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
gc.go *: Remove unnecessary else statements 2015-09-04 22:45:32 +03:00
gc_test.go *: move original project to dex 2015-08-18 11:26:57 -07:00
health.go db: gorp moved to github.com/go-gorp/gorp 2015-08-24 15:43:15 -07:00
key.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
key_test.go cmd, db: verify at least one secret is passed to --key-secrets 2015-12-16 20:28:21 -08:00
migrate.go db: switch migration source to use in-memory migration 2016-03-01 10:55:05 -08:00
migrate_sqlite3.go *: remove in memory session repos 2016-02-12 13:19:05 -08:00
migrate_test.go *: add functional tests for case insensitive emails 2016-03-01 10:54:12 -08:00
password.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
refresh.go *: add revocation methods to refresh repo 2016-04-06 11:25:50 -07:00
refresh_test.go db: strconv.ParseInt specify base 10 2015-12-09 14:47:21 -08:00
session.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
session_key.go db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
user.go db: print better error messages for invalid input 2016-04-11 16:31:50 -07:00