Jason Volk
|
9f1b540319
|
ircd:Ⓜ️:join: Check argument is my(user).
|
2019-08-03 01:44:28 -07:00 |
|
Jason Volk
|
d8fcbf7325
|
ircd:Ⓜ️ Reinterface append(event) into event::append; move to module. (#109)
|
2019-08-02 17:34:31 -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
|
d5f64e5a74
|
Fix build errors for GCC-9.1.
Fixes #93.
|
2019-07-30 10:28:33 -07:00 |
|
Jason Volk
|
5edd7a6117
|
ircd:Ⓜ️:fetch: Whittle down the current interface; remove libircd linkages.
|
2019-07-26 15:51:15 -07:00 |
|
Jason Volk
|
b8adc69599
|
ircd:Ⓜ️ Move MEMBERSHIP_MAX_SIZE into room.
ircd:Ⓜ️:room: Add a room version max size constant.
|
2019-07-25 14:29:07 -07:00 |
|
Jason Volk
|
eb3b4d82fb
|
ircd:Ⓜ️:room::members: Simplify and improve interface; callsites.
|
2019-07-23 19:50:13 -07:00 |
|
Jason Volk
|
df11d9bec6
|
ircd:Ⓜ️:room: Reorient join bootstrap definitions.
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
|
2019-07-23 16:40:29 -07:00 |
|
Jason Volk
|
0f6e7f5745
|
modules/client/rooms/join: Fetch keys concurrently in bootstrap auth_chain eval.
|
2019-07-23 14:41:53 -07:00 |
|
Jason Volk
|
94ceab33a5
|
modules/client/rooms/join: Minor cleanup.
|
2019-07-19 23:26:54 -07:00 |
|
Jason Volk
|
e0e9e09e67
|
ircd:Ⓜ️ Make append() return and propagate boolean.
|
2019-07-16 15:26:15 -07:00 |
|
Jason Volk
|
594627e945
|
modules/client/rooms/join: Minor simplify.
|
2019-07-15 23:01:17 -07:00 |
|
Jason Volk
|
270cf6564c
|
modules/client/rooms/initialsync: Remove event_id host regression.
|
2019-07-15 21:22:43 -07:00 |
|
Jason Volk
|
449f667dd9
|
modules/client/rooms/join: Exception handling around bootstrap eval.
|
2019-07-15 17:20:47 -07:00 |
|
Jason Volk
|
bb7cf992ae
|
modules/client/rooms/join: Throw error rather than returning empty event_id.
modules/client/rooms/join: Minor simplify.
modules/client/rooms/join: Use room room_version in event eval opts.
|
2019-07-15 15:34:06 -07:00 |
|
Jason Volk
|
2f71edf41f
|
modules/client/sync/rooms/state: Supply invite room state on invite.
modules/client/rooms/invite: Add the sender's membership event.
|
2019-07-15 14:11:22 -07:00 |
|
Jason Volk
|
8d8142d5eb
|
modules/client/rooms/invite: Send infolog message on invite reception.
|
2019-07-13 23:20:03 -07:00 |
|
Jason Volk
|
e82b58728a
|
modules/client/rooms/invite: Send invite_room_state.
|
2019-07-13 23:20:03 -07:00 |
|
Jason Volk
|
4090b8f3da
|
modules/client/rooms/invite: Use json::stack to generate request content.
|
2019-07-12 19:29:51 -07:00 |
|
Jason Volk
|
09ea0be2f0
|
modules/client/rooms/invite: Improve error reporting.
|
2019-07-12 19:29:51 -07:00 |
|
Jason Volk
|
5c8a97c43e
|
modules/client/rooms/invite: Use the v2 invite api here.
|
2019-07-12 19:29:51 -07:00 |
|
Jason Volk
|
ce55859fb2
|
ircd:Ⓜ️ Rename v1 to fed.
|
2019-07-12 19:29:51 -07:00 |
|
Jason Volk
|
fe4ce5c130
|
modules/client/rooms/invite: Fix event construction.
|
2019-07-12 19:29:51 -07:00 |
|
Jason Volk
|
43d66420cd
|
Update incompatible uses of event_id.
|
2019-07-10 03:50:37 -07:00 |
|
Jason Volk
|
719a965d9f
|
ircd:Ⓜ️:event: Remove prev_state from top level.
|
2019-07-09 02:33:27 -07:00 |
|
Jason Volk
|
021823ec6d
|
modules/client/rooms/context: Add non-spec param to disappear state entirely from response.
|
2019-07-08 06:03:20 -07:00 |
|
Jason Volk
|
f21fccbbd7
|
modules/client/rooms/context: Support filter; respect lazy-loading members in returned state.
|
2019-07-07 22:06:11 -07:00 |
|
Jason Volk
|
bd09a9aba2
|
modules/client/rooms/members: Implement c2s r0.5.0 query parameters.
|
2019-07-07 03:59:51 -07:00 |
|
Jason Volk
|
261151f539
|
ircd:Ⓜ️:fetch: Remove ambiguating event_id() util.
|
2019-07-05 23:45:00 -07:00 |
|
Jason Volk
|
1f8bff0ef5
|
modules/client/rooms/initialsync: Add missing event_append_opts contextual data.
|
2019-06-29 19:16:20 -07:00 |
|
Jason Volk
|
80655da66e
|
Misc fixes for clang.
|
2019-06-24 01:34:14 -07:00 |
|
Jason Volk
|
ce7bb21ea4
|
modules: Disambiguations for clang.
|
2019-06-24 01:33:41 -07:00 |
|
Jason Volk
|
c944818f4b
|
modules/client/rooms: Add pre-checks for membership on the convenience endpoints.
|
2019-06-21 16:53:26 -07:00 |
|
Jason Volk
|
abfdb06ebf
|
modules/client/rooms/join: Hard reset the room head after join completes.
|
2019-06-07 23:01:46 -07:00 |
|
Jason Volk
|
def97cf25b
|
modules/client/rooms/join: Improve lazy chain member event search.
|
2019-06-07 06:02:19 -07:00 |
|
Jason Volk
|
4f3123be62
|
modules/client/rooms/join: Use dedicated log facility.
|
2019-06-07 06:02:19 -07:00 |
|
Jason Volk
|
3d8d71c97c
|
modules/client/rooms/join: Mask nothrow conditions; various fixes.
|
2019-06-07 06:02:19 -07:00 |
|
Jason Volk
|
8e0ac58987
|
ircd:Ⓜ️:room: Expose bootstrap to interface.
|
2019-06-07 04:56:23 -07:00 |
|
Jason Volk
|
b2bb7767a7
|
modules/client/rooms/join: Spawn context for asynchronous joinstrap; improve various.
|
2019-06-07 02:49:25 -07:00 |
|
Jason Volk
|
f728906505
|
modules/client/rooms/join: No need to parse the unused and deprecated origin field here.
|
2019-06-06 22:39:05 -07:00 |
|
Jason Volk
|
48a8057cb5
|
modules/client/rooms/join: Tweak the lazychain process; remove cruft.
|
2019-06-06 21:58:47 -07:00 |
|
Jason Volk
|
e8b61b0caf
|
modules/client/rooms/join: Rename lazychain conf item to lazychain_enable.
|
2019-06-06 19:41:48 -07:00 |
|
Jason Volk
|
55e2ac98ce
|
modules/client/rooms/join: Implement the lazychain optimization; tweak eval options.
|
2019-06-06 05:35:21 -07:00 |
|
Jason Volk
|
ed247e6200
|
modules/client/rooms/join: Implement the Hackfill optimization.
|
2019-06-06 01:46:07 -07:00 |
|
Jason Volk
|
a20a11722d
|
modules/client/rooms/join: Add conf item for initial backfill amount.
|
2019-06-06 01:45:21 -07:00 |
|
Jason Volk
|
5994a0820d
|
modules/client/rooms/join: Promote these log message levels.
|
2019-06-06 01:44:33 -07:00 |
|
Jason Volk
|
359ab6e897
|
modules/client/rooms/join: Elaborate the join bootstrap stack.
fixes #8
|
2019-06-05 16:44:16 -07:00 |
|
Jason Volk
|
1a48bc3899
|
modules/client/rooms/join: Process send_join response events.
|
2019-06-04 23:01:39 -07:00 |
|
Jason Volk
|
0658f7c6be
|
modules/client/rooms/join: Bypass dependent fetching and eval on join bootstrap.
|
2019-06-02 15:44:55 -07:00 |
|
Jason Volk
|
1f7ad67805
|
modules/client/rooms/invite: Move the foreign invite hook here; do namespace modernizations.
|
2019-05-31 14:21:41 -07:00 |
|
Jason Volk
|
80fb8699a1
|
ircd:Ⓜ️ Add a membership string size constant.
|
2019-04-27 18:32:45 -07:00 |
|
Jason Volk
|
564a64e5d6
|
modules/s_fetch: Improve recursive eval.
|
2019-04-26 05:30:21 -07:00 |
|
Jason Volk
|
633802310c
|
modules/client/rooms/context: Fix missing unsigned/transaction_id on returned event.
|
2019-04-23 15:26:44 -07:00 |
|
Jason Volk
|
7117e943ed
|
modules/client/rooms/leave: Call m::leave() to handle POST /leave/.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
4d491340b6
|
modules/client/rooms/leave: Add missing m::leave definition.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
fd9097cfd4
|
modules/m_room: Move m::send impl back to client/rooms.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
f3845e11af
|
modules/client/rooms/join: Export namespaced definitions for join.
|
2019-04-22 14:27:12 -07:00 |
|
Jason Volk
|
e3b1be2910
|
ircd:Ⓜ️:vm: Refactor various fetch related options.
|
2019-04-22 12:27:43 -07:00 |
|
Jason Volk
|
02bb466898
|
modules/client/rooms/messages: Fix pagination token related.
|
2019-04-18 15:11:48 -07:00 |
|
Jason Volk
|
cdefddf6af
|
modules/client/rooms/messages: Add log facility; add debug msg.
|
2019-04-18 14:20:47 -07:00 |
|
Jason Volk
|
492d58dd83
|
modules/client/rooms/context: Add a log facility; debug message.
|
2019-04-18 14:14:41 -07:00 |
|
Jason Volk
|
77b16f32ce
|
ircd:Ⓜ️:append: Calculate age based on depth from room head.
fixes #55
|
2019-04-15 14:44:58 -07:00 |
|
Jason Volk
|
eb33688bc1
|
ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
|
2019-04-12 04:44:26 -07:00 |
|
Jason Volk
|
4500df4b78
|
modules/client/rooms/initialsync: Preliminary fetch trigger here.
modules/s_fetch: Start the prev_events fetch here.
|
2019-04-11 07:01:56 -07:00 |
|
Jason Volk
|
562651aa7d
|
ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various.
|
2019-04-10 22:32:06 -07:00 |
|
Jason Volk
|
e98e4babce
|
modules: Add preliminary s_command; client command-message support.
|
2019-04-07 16:22:34 -07:00 |
|
Jason Volk
|
7433daa440
|
modules/client/rooms/context: Minor cleanup extra; remove default token inits.
|
2019-03-31 00:44:34 -07:00 |
|
Jason Volk
|
40b74a6721
|
modules/client/rooms/context: Enforce spec event_id param only; fix urldecode condition.
|
2019-03-31 00:35:34 -07:00 |
|
Jason Volk
|
fc09dd4034
|
modules/client/rooms/read_markers: Reimplement client 14.6 /read_markers m.fully_read.
|
2019-03-27 16:54:10 -07:00 |
|
Jason Volk
|
2d459d8da8
|
modules/client/rooms/receipt: Split m.read logic into subroutine.
|
2019-03-27 16:14:14 -07:00 |
|
Jason Volk
|
0e5b10816a
|
modules/client/rooms/receipt: Enforce support for m.read type only.
|
2019-03-27 15:30:40 -07:00 |
|
Jason Volk
|
21d8c9ce76
|
modules/client/rooms/report: Provide missing error string in log message.
|
2019-03-17 13:41:33 -07:00 |
|
Jason Volk
|
2158d3e7b6
|
modules/client/rooms/report: Create !abuse room with !ircd init hook.
|
2019-03-16 19:38:33 -07:00 |
|
Jason Volk
|
78c18f45ab
|
Implement client 14.26 Reporting Content.
|
2019-03-14 16:20:40 -07:00 |
|
Jason Volk
|
380032d4a9
|
ircd:Ⓜ️:room: Augment m::invite() convenience interface for custom content.
|
2019-03-14 15:32:06 -07:00 |
|
Jason Volk
|
db9b891493
|
modules/client/rooms/event: Respond with zero-copy/zero-alloc.
|
2019-03-14 14:29:59 -07:00 |
|
Jason Volk
|
8ebb51bd9f
|
modules/client/rooms/state: Refactor GET handlers for chunk streaming and spec behavior.
|
2019-03-14 14:25:37 -07:00 |
|
Jason Volk
|
42309c1c96
|
modules/client/rooms/members: Upgrade /members and /joined_members to streamed responses.
|
2019-03-14 13:55:44 -07:00 |
|
Jason Volk
|
1f35e9c57e
|
modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends.
|
2019-03-13 17:08:35 -07:00 |
|
Jason Volk
|
c416be8398
|
modules: Replace individual client event appending with m::append().
|
2019-03-11 16:02:48 -07:00 |
|
Jason Volk
|
ba09d57d8e
|
modules/client/rooms/context: Include unsigned data in returned events.
|
2019-03-09 19:21:44 -08:00 |
|
Jason Volk
|
48ab443ece
|
modules/client/rooms/messages: Include unsigned data in returned events.
|
2019-03-09 19:21:22 -08:00 |
|
Jason Volk
|
bfc189da7e
|
modules/client/rooms/messages: Omit pagination tokens at ends of iteration.
|
2019-03-09 18:52:48 -08:00 |
|
Jason Volk
|
d8da7814e8
|
modules/client/rooms/messages: Consider the from token inclusive.
|
2019-03-09 18:48:08 -08:00 |
|
Jason Volk
|
811e4f8c03
|
modules/client/rooms/context: Omit pagination tokens for ends of iteration.
|
2019-03-09 18:16:27 -08:00 |
|
Jason Volk
|
0a8bb92e6d
|
modules/client/rooms/send: Use vm.post hook site to save transaction_id before notifies.
|
2019-03-09 12:09:07 -08:00 |
|
Jason Volk
|
cdac039658
|
modules/client/rooms/leave: Simplify leave endpoint handler.
|
2019-03-08 10:07:17 -08:00 |
|
Jason Volk
|
60c48d2a83
|
modules/client/rooms/unban: Implement 10.4.4.2 POST unban.
|
2019-03-08 09:57:43 -08:00 |
|
Jason Volk
|
cb2c65e8e2
|
modules/client/rooms/kick: Simplify endpoint handler.
|
2019-03-08 09:45:50 -08:00 |
|
Jason Volk
|
47216cba91
|
modules/client/rooms/ban: Implement 10.4.4.1 POST ban.
|
2019-03-08 09:43:30 -08:00 |
|
Jason Volk
|
3fdb3a420a
|
modules/client/rooms/forget: Implement 10.4.3.2 POST forget.
|
2019-03-07 16:26:04 -08:00 |
|
Jason Volk
|
864c6cc889
|
modules/client/rooms/send: urldecode type and txnid path parameters.
|
2019-03-07 15:32:03 -08:00 |
|
Jason Volk
|
1f82b884ff
|
ircd:Ⓜ️ Implement 14.18 Room Tagging.
|
2019-03-05 18:42:04 -08:00 |
|
Jason Volk
|
d30e053e42
|
modules/client/rooms/send: Save transaction_id's to user's user room.
|
2019-03-05 14:24:08 -08:00 |
|
Jason Volk
|
d8a9f484a4
|
modules/client/rooms/messages: Simplify the messages iteration.
|
2019-03-04 15:46:44 -08:00 |
|
Jason Volk
|
1dcf36adc8
|
modules/client/rooms/event: Fix param missing error message.
|
2019-03-04 14:36:49 -08:00 |
|
Jason Volk
|
59973705bb
|
modules/client/rooms/context: Provide better pagination tokens in response.
|
2019-03-04 12:43:14 -08:00 |
|
Jason Volk
|
48055345ea
|
modules/client/rooms/messages: Fix the start pagination token in reponse.
|
2019-03-04 12:42:58 -08:00 |
|
Jason Volk
|
7f7ecc90b3
|
modules/client/rooms/context: Allow a room_id as the event_id and fetch the room head.
|
2019-03-01 19:02:49 -08:00 |
|
Jason Volk
|
d50462a9dd
|
modules/client/rooms: Implement 9.3.8 initialSync (for acquired rooms).
|
2019-03-01 18:25:37 -08:00 |
|