-
Notifications
You must be signed in to change notification settings - Fork 8
/
ChangeLog
85 lines (77 loc) · 3.19 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
0.7.0
-----
- Added ability to manipulate respose from API handler
- Significant refactoring to support more modular & flexible server creation.
See `untangled.server.core/untangled-system` for more docs.
- Various documentation improvements
0.6.2
-----
- A Few openid fixes
- Ability to set the API endpoint
0.6.1
-----
- Access token handler inspect :headers, :params, :form-params, and :cookies
- Openid Mock not handles post logout redirect.
0.6.0
-----
- :authorized-routes => :unsecured-routes
- should be a bidi route map to :ok handlers (enforced on system start)
- top level files are always unsecured
- root route "/" is also always unsecured
- to unsecure a whole sub-route (eg: the js folder)
use bidi's catch-all routes, eg: `{"/js" {true :ok}}`
- Open id mock will now deal with multiple users.
"user" can be passed as a query param to the open id mock endpoint.
The user that is passed will be selected out of the :users,
and if there is no user, the first will be selected
Example
```clojure
{:openid-mock {:users {"123-456" {:role ["user.awesome"]
:realm ["14133"]
:sub "123-456"
:name "Donald Duck"}
"456-789" {:role ["user.super"]
:realm ["14133"]
:sub "456-789"
:name "Mickey Mouse"}}]]
```
- Fixing heisenbugs wrt datomic not sorting & protocol-testing randomly failing
- Adding invalid-token-handler to the :openid config
- Takes a request whenever an invalid token
is passed to a secured-route (ie: not an unsecured-route)
and should return whether the request should be allowed
to flow through the handler stack (defaults to false)
- Removing specter => clojure.walk
0.5.1
-----
- Logging the config on start
- Upgraded specter to 0.11.0
0.5.0
-----
- :extra-routes handlers are now of type (fn [env match] res)
the :request is in the env
- access-token-handler looks for :client_id if :sub is not present
0.4.8
-----
- Added stack traces to server parsing error logging
- Updated dependencies
- Added server settings to log message of webserver start
- Removed dev environ
0.4.7
-----
- Added build-test-mock-openid-server to grab openid config and put into the
server parser env when protocol testing. The component should be placed
under the key :test-openid-mock and have information under :openid-mock/claims
that gets placed in env [:request :user].
- check-response-to-client's :on-success callback now has a :remap-fn in its env
which is a function to remap a response from real ids to the fake (keyword) ids
eg: :datomic.id/* & :om.tempid/*
- check-response-to-client now takes an optional :which-db which is a keyword
that specifies from which db a response originates from.
This is because :db/id's are not unique across datomic databases.
0.4.5
-----
- Removed default logger configuration
- Moved GELF logger to an optional compoent
- Changed dependencies to not pull GELF in as a transitive dependency
- Fixed various docs