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
0b81de3cd0
Make the federation homeserver resolve more accurate (on resolve via DNS record check that the certificate present for the original host).
2019-11-13 23:08:34 +03:00
Anatoly Sablin
698a16ec17
Fix matrix server hostname verification.
2019-11-11 23:48:49 +03:00
Anatoly Sablin
494c9e3941
Merge branch 'MSC2140'
...
# Conflicts:
# src/main/java/io/kamax/mxisd/session/SessionManager.java
2019-11-07 22:29:25 +03:00
Anatoly Sablin
eda4404335
MSC2140 Add populating hashes via exec identity store.
2019-11-06 23:16:27 +03:00
Anatoly Sablin
c52034b18a
MSC2140 Add populating hashes via sql and memory stores.
2019-11-06 23:07:42 +03:00
Anatoly Sablin
8d346037b7
MSC2140 Add hash configuration.
2019-11-06 00:20:39 +03:00
Anatoly Sablin
14ad4435bc
MSC2140 Add SQL storage for hashes and the time-based rotation policy.
2019-11-05 23:18:11 +03:00
Anatoly Sablin
b4776b50e2
https://github.com/ma1uta/ma1sd/issues/3 Allow extended character sets for backward compatibility.
2019-10-23 00:09:29 +03:00
ma1uta
249e28a8b5
Merge pull request #5 from eyecreate/patch-2
...
Allow configuring unbind notifications to be sent or not.
2019-10-22 20:52:46 +00:00
Anatoly Sablin
8ba8756871
Fix account registration.
2019-10-21 23:48:47 +03:00
eyecreate
f042b82a50
add missing import
2019-10-21 16:06:23 -04:00
eyecreate
6450cd1f20
have session manager check session config for sending notifications on unbinds.
2019-10-21 15:30:46 -04:00
eyecreate
6e52a509db
update session config to allow unbindin emails to not be sent.
2019-10-21 15:28:30 -04:00
eyecreate
5ca666981a
make sure destination only contains the hostname value and not whole URL
...
When testing this, the public URL is containing the protocol "https://" which differs from synapse's values. This code makes sure to remove that extra data to signatures match. Is there ever a situation in which the public url is any different?
2019-10-21 14:31:40 -04:00
Anatoly Sablin
43fe8b1aec
Add the hash lookup handler.
2019-10-18 22:52:13 +03:00
Anatoly Sablin
a0270c7d01
Add NoOp configuration. Split classes into packages.
2019-10-16 23:07:14 +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
14e095a147
Add policy configuration.
2019-10-04 00:03:51 +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
d0fd9fb9b0
Get domain from public url.
2019-09-17 23:17:30 +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
fbb0d7c7ba
MSC2140 Mirroring V1 to V2.
2019-08-31 23:35:58 +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
a112a5e57c
Improve request verification. Allow unbind only for configured matrix domain.
2019-08-07 21:47:10 +03:00
Anatoly Sablin
d5680b2dfe
MSC1915. Add the option to enable/disable unbind.
2019-07-31 23:22:21 +03:00
Anatoly Sablin
5aad4fb81e
MSC1915. Add unbind email notification.
2019-07-31 00:13:44 +03:00
Anatoly Sablin
a1f64f5159
Reworked MSC1915. Add request validation.
2019-07-27 15:51:01 +03:00
Anatoly Sablin
4d488a3fc8
Add openjdk-11 dependency.
2019-07-21 18:25:35 +03:00
Anatoly Sablin
7ee3e19de4
Change app name in logs.
2019-07-21 17:48:52 +03:00
Anatoly Sablin
e6fec9199d
Rename config file, parameters, application name, package.
2019-07-11 22:26:20 +03:00
Anatoly Sablin
c3262a9f25
Merge the matrix-java-sdk due to it no longer maintained. Remove thirdparty repositories.
2019-07-07 23:13:59 +03:00
Anatoly Sablin
136563c61a
Rename project.
2019-06-28 22:50:31 +03:00
Anatoly Sablin
3043cd4e61
Fork!
2019-06-27 00:07:44 +03:00
Max Dor
a964b073bf
Restart mxisd service on Debian package upgrade/install if possible
2019-06-12 00:18:25 +02: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
92f10347d1
Fix #123
2019-05-30 14:18:11 +02:00
Max Dor
0298f66212
Fix #128
2019-05-30 13:58:40 +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
544f8e59f0
Add check for legality of the returned Matrix ID in Auth
...
- Helps troubleshoot reported issues that might not be obvious at first
- Add basic unit test for auth manager
2019-05-28 19:28:46 +02:00