ma1uta
89df4b2425
Merge pull request #33 from aaronraimist/patch-1
...
ma1sd implements r0.3.0 of the identity server API
2020-04-05 10:20:42 +00:00
Aaron Raimist
0f89121b98
ma1sd implements r0.3.0 of the identity server API
2020-04-04 17:16:25 -05:00
Anatoliy Sablin
8a40ca185b
Fix #22 .
2020-03-22 12:17:33 +03:00
Anatoliy Sablin
5baeb42623
Fix #29 .
2020-03-22 12:12:47 +03:00
Anatoliy Sablin
072e5f66cb
#26 Use empty pepper.
2020-02-19 23:35:59 +03:00
Anatoliy Sablin
b2f41d689b
#26 fix.
2020-02-19 00:36:05 +03:00
Anatoly Sablin
9b4aff58c7
Add migration documentation.
2.3.0
2020-01-30 23:17:01 +03:00
Anatoly Sablin
a20e41574d
Update docs. Add a new options and configuration.
2020-01-28 23:20:29 +03:00
Anatoly Sablin
72977d65ae
Workaround for postgresql.
2020-01-28 23:18:39 +03:00
Anatoly Sablin
7555fff1a5
Add the postgresql backend for internal storage.
2020-01-28 22:15:26 +03:00
Anatoly Sablin
aed12e5536
Add the --dump-and-exit option to exit after printing the full configuration.
2020-01-28 01:02:43 +03:00
Anatoly Sablin
75efd9921d
Improve logging configuration. Introduce the root and the app log levels.
2020-01-28 00:55:39 +03:00
Anatoly Sablin
9219bd4723
Add logging configuration. Add --dump
option to just print the full configuration.
2020-01-25 14:57:22 +03:00
Anatoly Sablin
73526be2ac
Add configuration to use the legacy query for old synapse to get room names.
2020-01-25 14:04:40 +03:00
ma1uta
b827efca2c
Merge pull request #13 from NullIsNot0/fix-room-names-patch
...
Fix room name retrieval after Synapse dropped table room_names
2020-01-25 10:50:55 +00:00
NullIsNot0
6b7a4c8a23
Fix room name retrieval after Synapse dropped table room_names
...
Recently Synapse dropped unused (by Synapse itself) table "room_names" which brakes room name retrieval for ma1sd. There is a table "room_stats_state" from which we can retrieve room name by it's ID. Note that people to people conversations do not contain room names, because they are generated on-the-fly by setting other participants names separated by word "and". That's why this query will only get names for rooms where room names are set during creation process (or changed later) and are the same for all participants.
Link to Synapse code where it drops "room_names" table: https://github.com/matrix-org/synapse/blob/master/synapse/storage/data_stores/main/schema/delta/56/drop_unused_event_tables.sql#L17
2020-01-10 18:23:29 +02:00
Anatoly Sablin
47f6239268
Add equals and hashCode methods for the MemoryThreePid.
2020-01-09 22:28:44 +03:00
ma1uta
0d6f65b469
Merge pull request #11 from NullIsNot0/master
...
Load DNS overwrite config on startup and remove duplicates from identity store before email notifications
2020-01-09 19:25:13 +00:00
Edgars Voroboks
be915aed94
Remove duplicates from identity store before email notifications
...
I use LDAP for user store. I have set up "mail" and "otherMailbox" as threepid email attributes. When people get invited to rooms, they receive 2 (sometimes 3) invitation e-mails if they have the same e-mail address in LDAP "mail" and "otherMailbox" fields. I think it's a good idea to check identity store for duplicates before sending invitation e-mails.
2020-01-09 20:14:56 +02:00
NullIsNot0
ce938bb4a5
Load DNS overwrite config on startup
...
I recently noticed that DNS overwrite does not happen. There are messages in logs: "No DNS overwrite for <REDACTED>", but I definitely have configured DNS overwrithng. I think it's because DNS overwriting config is not loaded when ma1sd starts up.
Documented here: https://github.com/ma1uta/ma1sd/blob/master/docs/features/authentication.md#dns-overwrite and here: https://github.com/ma1uta/ma1sd/blob/master/docs/features/directory.md#dns-overwrite
2020-01-07 22:24:26 +02:00
Anatoly Sablin
15db563e8d
Add documentation.
2.2.2
2019-12-26 22:49:25 +03:00
Anatoly Sablin
82a538c750
Add an option to enable/disable hash lookup via the LDAP provider.
2019-12-25 22:51:44 +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
774ebf4fa8
Fix for #9 . Proper wrap the handles with the sanitize handler.
2019-12-16 22:47:24 +03:00
Anatoly Sablin
eb1326c56a
Add unique id for the accepted table.
...
Add a little more logs.
2.2.1
2019-12-10 22:29:00 +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
17ebc2a421
Fix hash generation.
2.2
2.2.0
2019-12-06 23:15:00 +03:00
Anatoly Sablin
cbb9fced8d
Clarify the documentation. Add the hash config to the example config. Uses duration in the delay field instead of the seconds.
2019-12-05 23:27:13 +03:00
Anatoly Sablin
7509174611
Add documentation. Add options to enable/disable the hash providers. Add the option for setup barrier for rotation per requests strategy.
2019-12-02 23:23:17 +03:00
Anatoly Sablin
51d9225dda
Don't wrap the AcceptTermsHandler with terms checking. Clear the sql hash storage on shutdown.
2019-12-02 22:31:36 +03:00
Anatoly Sablin
6216113400
FIx terms.
2.2.0-rc3
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
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.
2.2.0-rc2
2019-11-11 23:48:49 +03:00
Anatoly Sablin
619b70d860
Bump gradle to 6.0.
2019-11-11 23:48:49 +03:00
Anatoly Sablin
494c9e3941
Merge branch 'MSC2140'
...
# Conflicts:
# src/main/java/io/kamax/mxisd/session/SessionManager.java
2.2.0-rc1
2019-11-07 22:29:25 +03:00
Anatoly Sablin
0786a6520f
Bump gradle version.
2019-11-07 00:16:18 +03:00
Anatoly Sablin
430136c391
Bump dependency verions.
2019-11-06 23:26:56 +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
ma1uta
94441d0446
Merge pull request #6 from ma1uta/issues/3
...
Allow extended character sets for backward compatibility.
2.1.2
2019-10-22 21:14:10 +00: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
Anatoly Sablin
2458b38b75
Add the configuration description for enable/disable unbind feature in the session.md
2019-10-22 23:54:53 +03:00