Commit graph

356 commits

Author SHA1 Message Date
Rubén Soleto Buenvarón
821b242c83 Fix response_type missing param
This commit fix problem with response_type param, which is required according to OIDC spec, when it is missing.
 At now, when connector_id url query param is not set, connector view use response_type that client request instead of default "code".

Fixes #370
2016-03-17 08:00:49 +01:00
Eric Chiang
d660dbea8a Merge pull request #341 from ericchiang/rm_build_units
*: remove build-units script
2016-03-14 13:17:25 -07:00
Eric Chiang
1dd831700d Merge pull request #348 from ericchiang/db_health
server: add db heatlh checker to server checkers
2016-03-14 13:17:19 -07:00
Eric Chiang
36e166cdef Merge pull request #369 from ericchiang/vendor
move outside dependencies to ./vendor directory
2016-03-14 13:17:12 -07:00
Eric Chiang
8d2adf458e Merge pull request #362 from ericchiang/roadmap_for_0_4
Documentation: update roadmap for 0.4 release cycle
2016-03-10 09:51:48 -08:00
Eric Chiang
a391ba0584 *: don't build with Go versions with known security vulnerabilities 2016-03-09 14:01:42 -08:00
Eric Chiang
4a830ddcc3 *: move build scripts to use GO15VENDOREXPERIMENT
closes #328
2016-03-09 13:06:23 -08:00
Eric Chiang
d17790413b *: updated Godeps.json 2016-03-09 13:05:03 -08:00
Eric Chiang
08b12a0e5c *: move ./Godeps/_workspace/src/ to ./vendor/ 2016-03-09 13:04:05 -08:00
Eric Chiang
dd1eb3f7e7 Documentation: UX review pushed back to 0.5 2016-03-09 12:46:17 -08:00
Eric Chiang
bbfd3a1989 Documentation: update roadmap for 0.4 release cycle 2016-03-09 09:33:43 -08:00
Eric Chiang
38be227aa2 Merge pull request #357 from ericchiang/query_escape
server: url decode basic auth credentials
2016-03-02 21:38:19 -08:00
Eric Chiang
c3aa6a1ee3 server: correctly decode oauth2 basic auth credentials
Fixes #336
2016-03-02 21:31:54 -08:00
Eric Chiang
016445b1fc Merge pull request #358 from ericchiang/fix_emails_test
integration: fix email case sensitivity test
2016-03-02 19:36:17 -08:00
Eric Chiang
804dd6d57c integration: fix email case sensitivity test 2016-03-02 18:13:32 -08:00
Eric Chiang
c92aae647c Merge pull request #331 from Tecsisa/184-resend-email-invitation
add support for resend an invite email
2016-03-02 16:53:17 -08:00
Eric Chiang
60b843e78b Merge pull request #339 from ericchiang/case_insensitive_emails
db: email comparison should be case insensitive
2016-03-02 16:51:47 -08:00
Eric Chiang
09069a51a7 Merge pull request #356 from ericchiang/fix_cross_compilation
Fix cross compilation
2016-03-02 14:47:39 -08:00
Eric Chiang
875d5d09bf db: regenerate migrations 2016-03-02 14:47:17 -08:00
Eric Chiang
4feaae98b0 db: add better comment about migration 2016-03-02 14:47:00 -08:00
Eric Chiang
91ef40b124 *: fix release script 2016-03-02 12:41:24 -08:00
Eric Chiang
93b89ad0e9 db: protect the sqlite3 import with a cgo tag 2016-03-02 12:02:55 -08:00
Eric Chiang
01a24542e9 *: fix tests that care about email case sensitivity 2016-03-01 14:09:10 -08:00
Eric Chiang
2a0cc47419 db: generate in-memory migration assets 2016-03-01 10:59:25 -08:00
Eric Chiang
f738188c13 db: switch migration source to use in-memory migration
When reading migrations from files, sql-migrate attempts to split
SQL statements. The parsing logic does not handle $BODY$ statements
and broke when the migration included one.

Replace go-bindata with a small migration generation script and use
in memory migrations instead.
2016-03-01 10:55:05 -08:00
Eric Chiang
208afd3b01 *: add functional tests for case insensitive emails 2016-03-01 10:54:12 -08:00
Eric Chiang
9bc68edae7 *: add migration to convert all emails to lowercase
Fixes #338
2016-03-01 10:51:50 -08:00
Eric Chiang
a35b4257cd Merge pull request #349 from ericchiang/remove_unused_code
*: remove unused code
2016-02-29 12:29:07 -08:00
Eric Chiang
3f4a42eefd *: remove unused code
This change has no functional changes, it only removes dead code.
2016-02-29 11:29:36 -08:00
Eric Chiang
067ccee145 server: add db heatlh checker to server checkers 2016-02-29 11:27:17 -08:00
Rubén Soleto Buenvarón
8156870862 add support for resend an invite email
This change solves the User's API problem when you want to create an user that its email hasn't been verified yet but it exist.
At now, you can resend invitation email using endpoint /users/{id}/resend-invitation

Fixes #184
2016-02-26 09:55:28 +01:00
Eric Chiang
ebbea78a2e *: remove build-units script
closes #159
2016-02-25 13:56:28 -08:00
Eric Chiang
4855805983 Merge pull request #330 from ericchiang/mem_db_concurrent_conns
db: only allow one open connection for in memory databases
2016-02-25 13:23:08 -08:00
Eric Chiang
ee3d6c25d6 Merge pull request #333 from ericchiang/example_app
examples: set example app flag defaults to work with --no-db mode
2016-02-25 13:22:33 -08:00
Eric Chiang
350571acf6 Merge pull request #323 from ericchiang/cleanup_functional
functional: don't fail if postgres or ldap isn't available
2016-02-25 13:03:06 -08:00
Eric Chiang
bf88fe48a6 functional: don't fail if postgres or ldap isn't availabl 2016-02-25 11:57:26 -08:00
Eric Chiang
118bbb6d18 Merge pull request #335 from ericchiang/fix_passwords
user: fix password info JSON encoding to survive round trips
2016-02-24 13:55:43 -08:00
Eric Chiang
221a1ad7a0 user: fix password info JSON encoding to survive round trips
PasswordInfos are marshaled when storing them in the database as
part of the local connector. However, the custom unmarsheler
defined could not unmarshal the standard marshling of this struct.

Add a struct tag to the Password field to correct this.

Closes #332
2016-02-23 16:25:56 -08:00
Eric Chiang
33e3c04b38 examples: set example app flag defaults to work with --no-db mode 2016-02-23 15:36:01 -08:00
Eric Chiang
22180c697f db: only allow one open connection for in memory databases
sqlite3 in memory databases do not support concurrent writes. Limit
number of open connections to prevent race conditions.
2016-02-22 16:30:48 -08:00
bobbyrullo
f51125f555 Merge pull request #304 from ericchiang/sqlite3
move to sqlite3 for --no-db mode and tests
2016-02-19 16:03:15 -08:00
Eric Chiang
9ca27a2035 Merge pull request #322 from ericchiang/update_roadmap
Documentation: update roadmap with issue and PR numbers
2016-02-19 10:04:55 -08:00
Eric Chiang
a7bd437c25 Documentation: update roadmap with issue and PR numbers
Closes #299
2016-02-18 11:08:03 -08:00
Eric Chiang
a58b9c268b Merge pull request #321 from ericchiang/add_go_1_6
*: add go 1.6 to CI
2016-02-17 16:52:04 -08:00
Eric Chiang
abc91564ba *: add go 1.6 to CI 2016-02-17 16:32:46 -08:00
Eric Chiang
f1d0e307ec session: remove unused function argument 2016-02-16 18:20:48 -08:00
Eric Chiang
ed5dee9960 db: clean up quote and executor function calls, improve translate docs 2016-02-16 18:19:23 -08:00
Eric Chiang
aff47d2cb2 Merge pull request #317 from fnordahl/connector_ldap_make_const_defaults
connector_ldap: Make constants for default values, simplify logic
2016-02-16 16:06:35 -08:00
Eric Chiang
2cc0ae6fac functional: remove in memory connector configs from ldap tests 2016-02-16 15:21:38 -08:00
Frode Nordahl
bedd4716b9 Make constants for default values, simplify logic 2016-02-16 23:58:41 +01:00