-
-
Notifications
You must be signed in to change notification settings - Fork 230
add Meetecho #799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Meetecho #799
Conversation
WalkthroughThis pull request integrates support for the new "meetecho" meeting service. A JSON asset file defining the meetecho icon is added to the assets, while the Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant MeetingServices
participant AssetManager
User->>MeetingServices: Provide meeting URL (e.g., "https://meetings.conf.meetecho.com/...")
MeetingServices->>MeetingServices: Check URL against meetecho regex
alt URL matches meetecho
MeetingServices->>AssetManager: Retrieve "meetecho_icon" asset
AssetManager-->>MeetingServices: Return meetecho icon
else URL does not match
MeetingServices-->>User: Proceed with default handling
end
MeetingServices-->>User: Display meeting details with assigned icon
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (2)
MeetingBar/MeetingServices.swift (2)
331-331
: Consider making the regex pattern more specific.The current pattern
https?://meetings\.conf\.meetecho\.com/.+
is quite permissive. Consider restricting the path pattern to match only valid Meetecho meeting URLs.For example:
-let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/.+"#) +let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/[^/]+/\?session=\d+"#)
331-331
: Consider making the regex pattern more specific.The current pattern
https?://meetings\.conf\.meetecho\.com/.+
might be too permissive. Consider restricting the path format to match the expected structure more precisely.Apply this diff to make the pattern more specific:
- let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/.+"#) + let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/[^/]+/\?session=\d+"#)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
MeetingBar/Assets.xcassets/vendor-icons/meetecho_icon.imageset/meetecho.png
is excluded by!**/*.png
📒 Files selected for processing (3)
MeetingBar/Assets.xcassets/vendor-icons/meetecho_icon.imageset/Contents.json
(1 hunks)MeetingBar/MeetingServices.swift
(3 hunks)MeetingBarTests/MeetingServicesTests.swift
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- MeetingBar/Assets.xcassets/vendor-icons/meetecho_icon.imageset/Contents.json
👮 Files not reviewed due to content moderation or server errors (2)
- MeetingBarTests/MeetingServicesTests.swift
- MeetingBar/MeetingServices.swift
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Codacy Security Scan
- GitHub Check: Tests
🔇 Additional comments (9)
MeetingBarTests/MeetingServicesTests.swift (3)
49-49
: LGTM!The test case for Meetecho follows the established pattern and uses a realistic URL format.
49-49
: LGTM!The test case for Meetecho service is well-structured and follows the same pattern as other test cases in the file.
49-49
: LGTM!The test case for Meetecho service is well-structured and follows the same pattern as other test cases in the file.
MeetingBar/MeetingServices.swift (6)
82-82
: LGTM!The Meetecho service is added to the enum following the established pattern and naming convention.
626-629
: LGTM!The icon handling for Meetecho follows the established pattern with consistent image size (16x16).
82-82
: LGTM!The Meetecho case is well-placed in the enum and follows the same pattern as other services.
626-629
: LGTM!The icon handling for Meetecho service follows the same pattern as other services, with consistent image size and naming.
82-82
: LGTM!The enum case follows the established naming convention and correctly represents the Meetecho service.
626-629
: LGTM!The icon handling follows the established pattern and uses consistent dimensions (16x16) as other services.
@@ -327,6 +328,7 @@ struct LinksRegex { | |||
let calcom = try! NSRegularExpression(pattern: #"https?://app.cal\.com/video/[A-Za-z0-9./]+"#) | |||
let zmPage = try! NSRegularExpression(pattern: #"https?://([a-zA-Z0-9.]+)\.zm\.page"#) | |||
let livekit = try! NSRegularExpression(pattern: #"https?://meet[a-zA-Z0-9.]*\.livekit\.io/rooms/[a-zA-Z0-9-#]+"#) | |||
let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/.+"#) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Verify the regex pattern for Meetecho URLs.
The current pattern https?://meetings\.conf\.meetecho\.com/.+
might be too permissive. Please verify if Meetecho has any specific path patterns that should be matched more precisely.
🌐 Web query:
What is the URL format for Meetecho conference links?
💡 Result:
Meetecho conference links follow a unique per-session format generated through their scheduling system. While exact URLs aren't explicitly defined in public documentation, key characteristics include:
-
Unique identifiers
Conference URLs contain custom strings (e.g.,asdf-test
) specified during session creation[10]. These identifiers appear in the URL path structure. -
Datatracker integration
Links are accessible via:https://datatracker.ietf.org/meeting/agenda/[SESSION_ID]
where
SESSION_ID
corresponds to scheduled meetings[4][9]. -
Scheduler-generated format
Interim meetings use URLs structured as:https://meetings.conf.meetecho.com/[WG_NAME]/[CUSTOM_ID]
WG_NAME
: Working Group abbreviation (e.g.,httpbis
)[9]CUSTOM_ID
: Arbitrary string chosen during scheduling[10]
-
Authentication requirements
All links require Datatracker login credentials to verify registration status before granting access[4][6].
Example workflow:
- Chairs create sessions via Meetecho's scheduler tool[9][10]
- System generates URLs like:
https://meetings.conf.meetecho.com/httpbis/interim-2025-02
- These URLs are embedded in Datatracker agendas and emails[4][6]
For testing purposes, temporary URLs with arbitrary paths (e.g., /test-session-123
) can be created[10]. The platform doesn't publicly expose fixed URL patterns – each conference instance receives a dedicated link through administrative tools[4][9][10].
Citations:
- 1: https://www.meetecho.com/drafts/draft-ietf-xcon-ccmp-04.html
- 2: https://janus.conf.meetecho.com/docs/videoroom
- 3: https://www.meetecho.com/blog/sfu-cascading/
- 4: https://www.ietf.org/meeting/technology/meetecho-guide-participant/
- 5: https://janus.conf.meetecho.com/docs/eventhandlers.html
- 6: https://2022.internetsummit.africa/AIS22-UG-Participant-EN.pdf
- 7: https://github.com/meetecho/janode
- 8: https://www.youtube.com/watch?v=FtCwSs5NF8I
- 9: https://chairs.ietf.org/scheduling-interim-meetings
- 10: https://www.ietf.org/meeting/technology/meetecho-guide-chairs/
Verify and tighten the Meetecho URL regex pattern.
The current regex pattern:
let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/.+"#)
matches any URL beginning with "http://" or "https://" followed by "meetings.conf.meetecho.com/" and then any characters. However, published details on Meetecho links indicate that scheduler-generated URLs typically follow a structured two-segment format:
https://meetings.conf.meetecho.com/[WG_NAME]/[CUSTOM_ID]
while temporary URLs (e.g., /test-session-123
) are also allowed. To avoid unintended matches and ensure correctness, please verify whether the intent is to restrict matches to the structured two-segment format.
If a stricter match is desired, consider updating the regex to something like:
let meetecho = try! NSRegularExpression(pattern: #"https?://meetings\.conf\.meetecho\.com/[\w-]+/[\w-]+"#)
This version expects two non-empty path segments separated by a slash. If supporting both formats is needed, the regex might require further adjustment.
Thanks, @gbicann! |
Status
READY - I based this pull request on this commit - please let me know if I missed anything!
Description
This adds Meetecho as a meeting service.
Checklist
Steps to Test or Reproduce
N/A
Summary by CodeRabbit
New Features
Tests