- 09 Nov, 2018 1 commit
-
-
ale authored
Structure flow around requests themselves and composition rather than handlers and wrappers, the results are likely more readable (and shorter). Move all the user auth management business logic to a smart RawUser object, to separate it from details of API handling. The result should be more understandable: all critical changes are contained within a single type. Also, with all the workflow driven by Requests, we can get rid of the boilerplate in the HTTP API server and replace it with a tiny tiny layer of reflection.
-
- 01 Nov, 2018 1 commit
-
-
ale authored
-
- 17 Aug, 2018 1 commit
-
-
ale authored
-
- 01 Jul, 2018 3 commits
- 30 Jun, 2018 2 commits
- 26 Jun, 2018 1 commit
-
-
ale authored
Rename queryConfig to queryTemplate to better reflect its purpose, and drop all cruft that had to do with config deserialization.
-
- 24 Jun, 2018 1 commit
-
-
ale authored
-
- 23 Jun, 2018 1 commit
-
-
ale authored
Implement a password recovery endpoint, and a way to set the recovery hints (in the current model, it's a hint/response system).
-
- 22 Jun, 2018 3 commits
- 21 Jun, 2018 2 commits
- 20 Jun, 2018 1 commit
-
-
ale authored
Use a lower level type to abstract LDAP "transactions" (really just batches of changes) and generate a set of ModifyRequest objects at commit time. Change the API to let the caller manage the transaction (TX object) lifetime.
-
- 19 Jun, 2018 1 commit
-
-
ale authored
This should make it easier to implement a SQL backend in the future if necessary, even though LDAP knows no such thing as transactions. As a result of a better low-level interface, reducing the boilerplate LDAP code, the business logic in model.go should be quite more readable.
-
- 10 Jun, 2018 1 commit
-
-
ale authored
This includes a number of validators meant to support the creation of new users and resources (for instance by checking for resource ID uniqueness etc).
-
- 02 Apr, 2018 2 commits
- 01 Apr, 2018 1 commit
-
-
ale authored
The result is a functional server, altough there aren't nearly enough comments.
-
- 20 Mar, 2018 1 commit
-
-
ale authored
-
- 18 Mar, 2018 1 commit
-
-
ale authored
-