0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-01 03:18:54 +01:00
Commit graph

55 commits

Author SHA1 Message Date
Jason Volk
1915db6d78 modules/m_receipt: Stop propagation of some errors in handler loop. 2022-09-22 13:30:42 -07:00
Jason Volk
e888bf1827 modules/m_receipt: Drop receipts to rooms without any local joined users; minor reorg. 2020-12-26 11:55:01 -08:00
Jason Volk
d371fba034 ircd::db: Use reference to prevent string copy.
ircd:Ⓜ️ Fix reference/copy related warnings in clang-10.
2020-07-10 23:58:07 -07:00
Jason Volk
8308fe0e6b modules/m_receipt: Minor structured bindings. 2020-05-12 22:27:53 -07:00
Jason Volk
e92a7efb24 modules/m_receipt: Add back the creation call in the handler for now. 2020-03-25 18:34:29 -07:00
Jason Volk
5458025a5c modules/m_receipt: Eliminate branch to drop receipts for unknown user here. 2020-03-03 15:22:19 -08:00
Jason Volk
8a9b06c67e modules/m_receipt: Fix missing prop_mask field.
modules/m_presence: Fix missing prop_mask field.
2020-03-01 13:37:08 -08:00
Jason Volk
8f5b40e9d5 modules/m_receipt: Disable luser receipt condition on membership. 2020-02-23 16:23:25 -08:00
Jason Volk
183e44e0b6 modules: Distill all API's from modules up to matrix lib. 2019-09-27 19:35:26 -07:00
Jason Volk
0c45fb827d ircd:Ⓜ️:vm: Add a specific edu option to vmopts. 2019-09-13 15:26:44 -07:00
Jason Volk
1e62b68286 ircd:Ⓜ️:vm: Move conform hook to pdu branch. 2019-09-13 13:38:05 -07:00
Jason Volk
e842f6c383 ircd:Ⓜ️🧾 Implement matrix-org/matrix-doc#2285 Hidden read receipts. 2019-09-06 12:18:29 -07:00
Jason Volk
6a59036f4e ircd:Ⓜ️🧾 Reorg/rename interface; simplify impl; add options argument.
ircd:Ⓜ️🧾 Remove central linkage cruft for interface.
2019-09-06 11:57:02 -07:00
Jason Volk
7d0c44eb3c modules/m_receipt: Add comments/docs on flow. 2019-09-06 10:56:49 -07:00
Jason Volk
60de3edb6f modules/m_receipt: Minor rename. 2019-08-23 14:54:37 -07:00
Jason Volk
c760eb0a12 ircd:Ⓜ️:vm: Use bitmask of properties to generate in vm::copts. 2019-08-17 00:44:14 -07:00
Jason Volk
fca330e1c1 ircd:Ⓜ️:room: Reorg / slim the class member function interface.
ircd:Ⓜ️:room: Rename interface function.
2019-08-14 01:09:34 -07:00
Jason Volk
a4d61ba51b modules/m_receipt: Only broadcast if the user has membership=join. 2019-08-12 03:40:56 -07:00
Jason Volk
ab8771aae3 modules: Fix various hookfn instance constness. 2019-08-09 21:27:41 -07:00
Jason Volk
5e3f81685c ircd:Ⓜ️ Shorten matrix log facility names.
modules/m_room_bootstrap: Rename log facility.
2019-07-31 19:43:06 -07:00
Jason Volk
480834f49b modules/m_receipt: Handle event_id construction exceptions without breaking loop. 2019-07-21 14:20:38 -07:00
Jason Volk
38a530391c modules/m_receipt: Minor cleanup / structured bindings. 2019-07-21 14:20:33 -07:00
Jason Volk
f6f71fbbce modules/m_receipt: Make event_id in content required. 2019-07-11 16:20:26 -07:00
Jason Volk
43d66420cd Update incompatible uses of event_id. 2019-07-10 03:50:37 -07:00
Jason Volk
261151f539 ircd:Ⓜ️:fetch: Remove ambiguating event_id() util. 2019-07-05 23:45:00 -07:00
Jason Volk
645ce4d8e2 modules: Implement 13.29 room server access control list checks.
fixes #47.
2019-05-26 20:41:13 -07:00
Jason Volk
f11126613e modules/m_receipt: Validate user_id hostpart matches origin. 2019-05-26 20:41:13 -07:00
Jason Volk
c3480f9f79 ircd: Rename various matrix loggers; increase log name width. 2019-04-05 18:12:22 -07:00
Jason Volk
8876c89d48 modules/m_typing: Add m.typing logger.
modules/m_receipt: Add an m.receipt log.
2019-04-05 14:38:50 -07:00
Jason Volk
a889122dcc modules/m_receipt: Additional hook conditions; switch the hooksite; minor cleanup. 2019-03-28 14:45:44 -07:00
Jason Volk
31f1e28c24 modules/m_receipt: Add implicit receipt generator hook. 2019-03-28 14:05:04 -07:00
Jason Volk
e1446a84da modules/m_receipt: Elide federation broadcasts for receipts of events matching sender. 2019-03-28 14:05:04 -07:00
Jason Volk
c046467348 modules/m_receipt: Consolidate receipt interface; split out federation composer into hook. 2019-03-28 14:05:04 -07:00
Jason Volk
5cfc763002 modules/m_receipt: Add comment to section / minor cleanup. 2019-03-27 16:04:12 -07:00
Jason Volk
9d7c26b376 modules/m_receipt: Fix missing m::log designation. 2019-03-19 16:40:25 -07:00
Jason Volk
2b1c6682e6 modules/m_receipt: Remove the m.receipt eval for client syncs; ircd.read is used instead. 2019-03-08 14:19:04 -08:00
Jason Volk
2192ee4f89 modules/m_receipt: ircd.read messages don't need to go to clients. 2019-02-27 18:28:32 -08:00
Jason Volk
a1c8845e1e ircd:Ⓜ️🧾 Normalize module definition names / layout. 2019-02-11 15:57:01 -08:00
Jason Volk
b1bd4e8863 modules: Use the apropos matrix logger for various log messages. 2018-12-22 17:44:18 -08:00
Jason Volk
9232319f0c modules/vm: Add eval argument to various hooks; tweak eval struct. 2018-09-13 19:49:25 -07:00
Jason Volk
5c879bd380 ircd:Ⓜ️🧾 Start central interface to get receipt information. 2018-09-12 22:32:00 -07:00
Jason Volk
60571aabf3 modules/m_receipt: No need to log the id of the receipt saved to user's room. 2018-08-28 15:59:52 -07:00
Jason Volk
0d688b386b ircd::json: Perform unquote() in json::string ctor as described... 2018-06-12 01:00:15 -07:00
Jason Volk
0d833cda4f ircd:Ⓜ️ Add templated payload for hook. 2018-05-26 22:12:11 -07:00
Jason Volk
8a65e1d077 modules/m_receipt: Fix additional json::undefined_number related. 2018-05-23 01:32:21 -07:00
Jason Volk
c88ce8168b Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f.
2018-05-20 18:39:32 -07:00
Jason Volk
915076296f ircd:Ⓜ️ Convert hook to template. 2018-05-19 18:49:04 -07:00
Jason Volk
16f16678d8 modules/m_receipt: Shuffle around elements of the receipt vector. 2018-04-28 02:46:11 -07:00
Jason Volk
3d5c8a5a2f modules/m_receipt: Deconflict receipt user_room type; add usefulness detection. 2018-04-21 16:52:19 -07:00
Jason Volk
cb73ba1d10 modules/m_receipt: Send read receipts to the user's room. 2018-04-07 09:57:08 -07:00