1
0
Fork 0
mirror of https://codeberg.org/june64/mrvc.git synced 2026-01-09 15:52:53 +01:00
Commit graph

34 commits

Author SHA1 Message Date
c90cdd58a2
add continuwuity 0.5.0-rc.8 with v12 support to max version check 2025-09-30 17:45:22 +02:00
17b2de1263
add Tuwunel 1.4.0 with v12 support to max version check 2025-09-04 13:12:30 +02:00
703b28b6fe
log additional informative infos when various errors are encountered 2025-08-20 22:01:30 +02:00
4964485d29
introduce option for JSON output
Also rename printHomeserverMemberCount option accordingly to fit new
output type.
2025-08-19 21:22:42 +02:00
1e9f23d7a9
refactor output into separate package for better organization 2025-08-19 21:22:42 +02:00
HarHarLinks
11e59fd750 fix typo
Signed-off-by: HarHarLinks <HarHarLinks@noreply.codeberg.org>
2025-08-19 17:16:51 +02:00
29e99b708c
get and print the aliases for each room
This is especially useful when using the recursive option as it allows
for easier identification of each child room.
2025-08-19 03:46:23 +02:00
6309b94498
introduce configuration options for recursively getting rooms
Introduce option for configuring maximum depth and option for only
including suggested rooms.
2025-08-19 02:53:07 +02:00
919127e255
introduce option for recursively checking all child rooms as well 2025-08-19 02:16:57 +02:00
f805786ae0
move room ID resolution and given alias information to roomInfoTree
Move room ID resolution into roomInfoTree and therefore store given
alias information in RoomInfoTree as well.
2025-08-18 23:16:54 +02:00
7a444ccc7a
move roomInfo retrieval into outer loop as its unaffected by inner loop 2025-08-18 22:15:32 +02:00
46570e9772
add go build output to .gitignore 2025-08-18 22:08:52 +02:00
1d54594b65
add Grapevine to max version check 2025-08-18 21:14:33 +02:00
89b9eb0c42
add Containerfile 2025-08-18 20:00:04 +02:00
a290bb1372
add tool description, feature list and usage instructions to README 2025-08-18 19:39:11 +02:00
91ddcef7ec
add Synapse Pro version with v12 support to max version check 2025-08-18 19:27:32 +02:00
b81d7e9b01
add flake.nix with an mrvc package for various platforms
Only tested x86_64-linux, but the other platforms should just work as
well.
2025-08-18 18:48:04 +02:00
a566209a36
show room id for each room in output and list given aliases separately 2025-08-18 18:17:24 +02:00
9441eef002
move building of homeservers array into separate function
Move building of homeservers array into separate function to make Get
function easier to follow.
2025-08-17 23:05:42 +02:00
94a7f7140d
move building of membersByHomeserversByRoomID map into separate function
Move building of membersByHomeserversByRoomID map into separate function
to make Get function easier to follow.
2025-08-17 22:59:42 +02:00
5b3df2a619
refactor RoomInfoTree building into separate package for better org. 2025-08-17 22:46:14 +02:00
d7ca2f4a00
move counters into RoomInfoTree structure
This bundles all the information nicely in one place.
2025-08-17 21:17:05 +02:00
77d5d33c45
introduce extendable tree structure for holding the nested room infos
Instead of creating a nested map on demand for the nested room infos,
move to an extendable tree structure described by explicit types. This
makes the information structure clearer and allows for easily adding
information at various levels in the future.
2025-08-17 21:07:52 +02:00
c42777e741
introduce support for checking multiple rooms in one go 2025-08-17 18:38:04 +02:00
cbba786b5c
properly discover and use the homeserver client API url for the client
This makes the program actually work for cases, where the client API is
under a different subdomain (like "matrix.hamburg.ccc.de" with the user
id having "hamburg.ccc.de").
2025-08-17 04:38:05 +02:00
151b9080db
accept room aliases instead of just room ids for ease of use 2025-08-16 19:04:15 +02:00
5ca794f435
refactor config building into separate package for better organization 2025-08-16 18:48:39 +02:00
f939294723
improve and streamline config options and introduce command-line flags
Introduce command-line flags for config options with the added benefit
of getting a help output, expose more config options to be directly
configurable, prefix all environment variables with "MRVC", adjust
config option naming to better reflect their purpose and add validation
to ensure some config options got explicitly set.
2025-08-16 06:01:30 +02:00
d2f9c2d63a
combine localpart and homeserver arguments into one and validate that
Combine the user localpart and homeserver arguments into one user id
argument and validate that.
2025-08-16 02:36:49 +02:00
1d7ed285bf
license mrvc under the MIT license 2025-08-15 23:56:17 +02:00
2a069341db
sort version strings properly by adding and using new compare function
With this new compare function the version strings seen in the output
get sorted properly. So something like "1.89.0" gets sorted before
"1.135.0", not after. It also makes the room versions count up properly
with the "unknown" version getting placed at the beginning.
2025-08-15 23:39:16 +02:00
7b8102b4f0
avoid waiting on long timeouts for shorter program runtime
Avoid waiting on long timeouts by moving from default timeout of 30
seconds to a custom timeout of 5 seconds.
2025-08-15 21:48:17 +02:00
f1ffe9b4cd
parallelize retrieval of server version information
Parallelizing the retrieval of the server version information decreases
the program runtime, especially since the impact of slow responses and
timeouts is lowered greatly.
2025-08-15 21:36:23 +02:00
f727df2cf4
add first version of mrvc (max room version checker)
Add first version of mrvc (max room version checker) - a tool for
determining how many members support which maximum room version for a
given Matrix room.
2025-08-15 18:05:14 +02:00