Commit Graph

83 Commits

Author SHA1 Message Date
Michael Barz
b805f3840f Prepare 0.3.0 Release 2020-03-30 12:58:32 +02:00
Ilja Neumann
6ce95072a6 Automated changelog update [skip ci] 2020-03-27 10:01:36 +00:00
Ilja Neumann
976c13cf62 Redirect http-requests to https (#29) 2020-03-27 10:57:32 +01:00
Ilja Neumann
e3bcc0d5aa Automated changelog update [skip ci] 2020-03-27 05:41:03 +00:00
Ilja Neumann
c523942899 User based routing
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.

A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00
Ilja Neumann
112552af1d Automated changelog update [skip ci] 2020-03-26 08:48:48 +00:00
Ilja Neumann
b20b05806e Integrate oid-middleware
This feature is required for user-based routing.
2020-03-26 09:44:51 +01:00
Michael Barz
baa03421e1 Automated changelog update [skip ci] 2020-03-25 21:44:36 +00:00
Michael Barz
d7d53b99fb Merge pull request #26 from owncloud/prepare_release_0.2.1
Prepare Release 0.2.1
2020-03-25 22:38:18 +01:00
Ilja Neumann
be09ea99b5 Prepare Release 0.2.1 2020-03-25 17:04:00 +01:00
Ilja Neumann
b2a2e55ca4 Automated changelog update [skip ci] 2020-03-25 16:02:19 +00:00
Ilja Neumann
1aa2b1df07 Fix TLS-Certificate not set correctly 2020-03-25 16:55:58 +01:00
Michael Barz
8beb616d22 Automated changelog update [skip ci] 2020-03-25 14:04:26 +00:00
Michael Barz
ca5972a62e Merge pull request #24 from owncloud/prepare_release_0_2_0
Prepare release 0.2.0
2020-03-25 15:00:27 +01:00
Ilja Neumann
651650274a Prepare release 0.2.0 2020-03-25 14:54:03 +01:00
Ilja Neumann
76ce6402eb Automated changelog update [skip ci] 2020-03-25 08:48:23 +00:00
Ilja Neumann
6e33472b40 Make TLS-Certificate configurable
Currently the proxy generates certificates on every start for dev purposes. This commit adds an option to make this behaviour configurable.
This also removes the dependency on konnectd`s crypto code and copies it instead, as this library is a first version which is not meant for usage by other services.

A proper cert-generation lib should be added to ocis-pkg instead. Then this code can be refactored to use it.
2020-03-25 09:44:18 +01:00
David Christofas
72d1497d1f Automated changelog update [skip ci] 2020-03-24 10:04:30 +00:00
David Christofas
38fc0d2fcb Merge pull request #22 from owncloud/advanced-route-matching
route requests based on pattern or query parameters
2020-03-24 11:00:20 +01:00
David Christofas
a86e745c75 use labeled break 2020-03-24 10:55:09 +01:00
David Christofas
1cd3f8936d add unit tests 2020-03-24 10:43:01 +01:00
David Christofas
eb539bc78e implement review feedback 2020-03-24 10:42:47 +01:00
David Christofas
a718777747 route requests based on pattern or query parameters 2020-03-23 19:13:46 +01:00
David Christofas
88e85e42d3 route requests based on pattern or query parameters 2020-03-23 19:10:23 +01:00
Ilja Neumann
b04f1f9e36 Automated changelog update [skip ci] 2020-03-23 12:05:29 +00:00
Ilja Neumann
60a1e6a143 Proxy client urls in default configuration #19 2020-03-23 13:01:29 +01:00
Michael Barz
5888e10e0c Automated changelog update [skip ci] 2020-03-18 14:52:42 +00:00
Michael Barz
cd787414fe Merge pull request #18 from owncloud/release-0.1.0
Release 0.1.0
2020-03-18 15:48:43 +01:00
Michael Barz
52ebfc7c02 Release 0.1.0 2020-03-18 15:35:56 +01:00
A.Unger
6d47bb809a Automated changelog update [skip ci] 2020-03-18 11:17:33 +00:00
A.Unger
e1d0d0715b add changelog 2020-03-18 12:12:12 +01:00
A.Unger
747e345b08 rename reverseproxy -> rp 2020-03-18 12:12:12 +01:00
A.Unger
ae8150dd57 added logging info 2020-03-18 12:12:12 +01:00
A.Unger
52b81a8605 add default runtime redirects 2020-03-18 12:12:12 +01:00
A.Unger
b0e8dbba85 remove mapstructure from config directives 2020-03-18 12:12:12 +01:00
A.Unger
356ad9c9e7 add debug lines 2020-03-18 12:12:12 +01:00
Jörn Friedrich Dreyer
6b7361d94c Merge pull request #13 from owncloud/feature/embedded-mode
Load Config from Viper on Before hook
2020-03-17 17:49:08 +01:00
A.Unger
972b2ffe30 document why we use ParseConfig on server before hook 2020-03-17 14:39:13 +01:00
A.Unger
c74e5f5434 document ParseConfig 2020-03-17 14:35:40 +01:00
A.Unger
e2fec340eb code style 2020-03-17 14:34:45 +01:00
A.Unger
40a27c9e93 save allocation 2020-03-17 14:34:32 +01:00
A.Unger
83570eccde update example config 2020-03-17 14:34:11 +01:00
A.Unger
c9010a3016 move commands to its scope 2020-03-16 17:17:56 +01:00
A.Unger
52bb4c0e1a delete helpers file 2020-03-16 12:21:06 +01:00
A.Unger
e4fee19170 remove unecessary mapstruct 2020-03-16 12:09:28 +01:00
A.Unger
6c1ed02acd arrange config.Config 2020-03-16 11:27:27 +01:00
A.Unger
fc1389b087 call ParseConfig on server command 2020-03-16 11:26:45 +01:00
A.Unger
c863d6f71f abstract ParseConfig to its own scope 2020-03-16 11:26:31 +01:00
A.Unger
86f7220526 remove hacky embedded-config flag 2020-03-16 11:25:50 +01:00
A.Unger
9105d285bd add http info to config 2020-03-16 11:24:31 +01:00