Anatoliy Sablin
9c4faab5d8
Add option to log all requests and responses.
2020-05-06 23:46:34 +03:00
Anatoliy Sablin
b2f41d689b
#26 fix.
2020-02-19 00:36:05 +03:00
Anatoly Sablin
84ca8ebbd9
Add support of the MSC2134 (Identity hash lookup) for the LDAP provider.
2019-12-25 00:13:07 +03:00
Anatoly Sablin
10cdb4360e
Fix homeserver verification with wildcards certificates.
...
Disable v2 by default.
Add migration to fix the accepted table (due to sqlite unable to change constraint, drop table and create again).
Fix displaying the expiration period of the new token.
Remove duplicated code.
Use v1 single lookup when receive the request with `none` algorithm and the only one argument.
Hide v2 endpoint if v2 API disabled.
2019-12-10 00:10:13 +03:00
Anatoly Sablin
6216113400
FIx terms.
2019-11-29 23:38:52 +03:00
Anatoly Sablin
cb32441959
Fix sha256 hashing. Fix v2 lookup.
2019-11-29 00:26:08 +03:00
Anatoly Sablin
0ec4df2c06
Fix bug with token expiration. Increase the default length of the pepper. Update hashes on startup with RotationPerRequest strategy. Don't check for existing pepper on the none hash algorithm.
2019-11-28 00:28:11 +03:00
Anatoly Sablin
86b880069b
Wrap with the CheckTermsHandler handlers only with authorization.
2019-11-27 22:55:34 +03:00
Anatoly Sablin
a97273fe77
Wrap with the CheckTermsHandler is necessary.
2019-11-25 23:35:56 +03:00
Anatoly Sablin
f9daf4d58a
Make configuration enums in lowercase. Wrap create hashes by try-catch. Add initial part of the documentation.
2019-11-15 23:39:45 +03:00
Anatoly Sablin
9e4cabb69b
Fix the token expiration period.
2019-11-15 22:50:08 +03:00
Anatoly Sablin
8d346037b7
MSC2140 Add hash configuration.
2019-11-06 00:20:39 +03:00
Anatoly Sablin
43fe8b1aec
Add the hash lookup handler.
2019-10-18 22:52:13 +03:00
Anatoly Sablin
703044d06a
Add initial Hash configuration. Add the HashDetailsHandler.
2019-10-15 23:38:32 +03:00
Anatoly Sablin
add6ed8fd9
Add the TOS API.
2019-10-09 23:12:23 +03:00
Anatoly Sablin
baed894ff8
Update policy configuration. Add Handler to check that user accepts terms.
2019-10-08 00:13:40 +03:00
Anatoly Sablin
bc8795e940
Add authorization handler.
2019-10-01 23:52:01 +03:00
Anatoly Sablin
5521c0c338
Add account handlers.
2019-09-30 23:53:38 +03:00
Anatoly Sablin
614b3440e2
Registration API. Add DAO, Manager.
2019-09-30 23:16:58 +03:00
Anatoly Sablin
1232e9ce79
MSC2140 MSC2134 Remove the unused path.
2019-09-01 22:38:59 +03:00
Anatoly Sablin
a47a983c10
MSC2140 MSC2134 Refactoring. Move common classes to the share package.
2019-09-01 22:33:03 +03:00
Anatoly Sablin
f1dd309551
MSC2140 Add option to enable/disable v1 and v2 api.
2019-08-31 23:09:20 +03:00
Anatoly Sablin
a1f64f5159
Reworked MSC1915. Add request validation.
2019-07-27 15:51:01 +03:00
Max Dor
f85345bc97
Update code and links following Matrix 1.0 release
...
- Support 3PID unbind via 3PID sessions
2019-06-12 00:17:43 +02:00
Max Dor
0ddd086bda
Fix response body of /3pid/bind to match spec
...
- synapse did not check/validate the response as per spec until 0.99.5 it seems
- mxisd was never compliant also
2019-05-30 13:26:38 +02:00
Max Dor
774795c203
Fix various logging/variable scopes
2019-05-27 17:12:52 +02:00
Max Dor
44a80461a0
Ensure lookup signatures are produced in a consistent way
2019-04-28 08:55:23 +02:00
Max Dor
39447b8b8b
Fix handling various GET and POST content types/logic for submitToken
...
- Properly support Form-encoded POST
- Fix #167
2019-04-26 08:41:06 +02:00
Max Dor
57c7e4a91d
Show signatures into admin lookup queries
2019-03-04 02:12:55 +01:00
Max Dor
254dc5684f
Add mechanisms for 3PID invite expiration and AS integration
...
- Integration with AS and a fallback user to decline expired invites (#120 )
- Rework of the AS feature to make it more independent/re-usable
- Skeleton for admin interface via bot to manage invites (#138 )
2019-03-02 03:21:29 +01:00
Max Dor
dfedde0df6
Improve crypto
...
- Re-organize packages to be consistent
- Add Key store tests
2019-03-01 15:16:19 +01:00
Max Dor
95ee328281
Block custom internal endpoint that should never be called
...
- Is not spec'd
- Will not be spec'd
- Is 100% internal as per its authors
2019-02-25 14:06:32 +01:00
Max Dor
4d63bba251
Add version in jar
...
- Cli argument
- In HTTP client
- /version endpoint
2019-02-17 02:08:50 +01:00
Max Dor
aadfae2965
Skeleton for invitation policies ( #130 )
2019-02-17 02:08:50 +01:00
Max Dor
77dc75d383
Basic check for pending invite when requesting token on registration
2019-02-17 02:08:50 +01:00
Max Dor
f3b528d1ba
Store ephemeral key in invite and add support for /sign-ed25519
2019-02-17 02:08:50 +01:00
Max Dor
91e5e08e70
Support for all key types
2019-02-17 02:08:50 +01:00
Max Dor
acd8c7d7c5
Skeleton for full support of all key types
2019-02-17 02:08:50 +01:00
Max Dor
249cc0ea92
Improve troubleshooting doc/flows
...
- Use better wording for unknown server error
- Add basic troubleshooting doc
2019-02-17 02:06:13 +01:00
Max Dor
5c660fdcaf
Add forgotten CORS headers from Spring port
2019-02-05 19:09:47 +01:00
Max Dor
fbbafeb769
Cache processing of bulk lookups and de-dup concurrent requests
2019-02-04 06:04:39 +01:00
Max Dor
3bebb33147
Revamp 3PID sessions
...
- Fix #93
- Fix #98
2019-02-04 05:26:33 +01:00
Max Dor
635f6fdbe7
Implementation for blocking fraudulent 3PID /unbind attempts
2019-02-01 02:34:52 +01:00
Max Dor
4237eeb3b6
Skeleton for blocking fraudulent 3PID /unbind attempts
2019-01-30 00:29:51 +01:00
Max Dor
3e22301af7
Properly handle /v1/store-invite
2019-01-16 02:57:40 +01:00
Max Dor
2b202323c0
Catch and handle more exceptions in Base HTTP handler
2019-01-16 02:57:40 +01:00
Max Dor
4ec05f518e
Properly handle v1 of 3pid/bind
2019-01-16 02:57:40 +01:00
Max Dor
c6b8f7d48e
Better handle of File reading / Input Streams
2019-01-11 23:02:57 +01:00
Max Dor
b257a0275f
Properly handle signing Key ID format
2019-01-07 04:19:53 +01:00
Max Dor
05493da27c
Start structural port from Spring Boot to Undertow
2019-01-07 03:01:46 +01:00