-
Notifications
You must be signed in to change notification settings - Fork 8
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
Pretalx support #190
Merged
Merged
Pretalx support #190
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
61b5c61
Update fast-xml dep
Half-Shot 1cf31a1
Update lock
Half-Shot dad5fbd
Start adding pretalx work
Half-Shot 6723111
Factor out commonly used function
Half-Shot edec116
Reimplement pretalx parser for JSON data
Half-Shot 880899e
Implement minimal pretalx API client
Half-Shot bd90f78
Refactor pretalx backend
Half-Shot dbe1911
Require an access token and URL for pretalx.
Half-Shot ce6d46a
Rewrite some imports
Half-Shot 47e3dad
Fix yarn.lock
Half-Shot 479f105
Add tests for pretalx
Half-Shot 67d4324
force ipv4
Half-Shot 3dc410b
Remove stray newline
Half-Shot 32a7866
Use qaEnabled
Half-Shot 356dc5e
Licence headers
Half-Shot d846c3a
Pull the list of talks and iterate on those instead.
Half-Shot 46dbe53
Update pentabarf to look at online_qa
Half-Shot a22aba4
Add tests for online_qa
Half-Shot 9650d1b
Add support for pulling in penta format schemas into the pretalx back…
Half-Shot 914ed0b
Update for code usage
Half-Shot 39edf16
Update short term refresh function to be optional.
Half-Shot 1e01d6c
Update code with new FOSDEM pretalx extensions
Half-Shot 8673c5c
Add extension enum
Half-Shot f1302bc
Add tests
Half-Shot 40c35df
Replace example.
Half-Shot 4102383
More tidying
Half-Shot ea56b67
Drop unused comment.
Half-Shot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schedule> | ||
<conference> | ||
<title>Testcon01</title> | ||
<subtitle/> | ||
</conference> | ||
<tracks> | ||
<track online_qa="true">TrackWithQA</track> | ||
<track online_qa="false">TrackWithoutQA</track> | ||
</tracks> | ||
<day index="1" date="2023-02-04"> | ||
<room name="A.01 (Someroom)"> | ||
<event id="E001"> | ||
<start>09:00</start> | ||
<duration>00:15</duration> | ||
<room>A.01 (Someroom)</room> | ||
<slug>testcon_opening_remarks</slug> | ||
<title>Testcon01: Opening Remarks</title> | ||
<subtitle/> | ||
<track>TrackWithQA</track> | ||
<type>devroom</type> | ||
<language/> | ||
<abstract> | ||
<p>Opening remarks</p> | ||
</abstract> | ||
<description></description> | ||
<persons> | ||
<person id="9012">John Teststone</person> | ||
<person id="90367">Evå 完牲 Exampleson</person> <!-- seemed wise to test some Unicode --> | ||
</persons> | ||
<attachments> | ||
</attachments> | ||
<links> | ||
<link href="https://example.org">Submit feedback</link> | ||
</links> | ||
</event> | ||
<event id="E002"> | ||
<start>09:15</start> | ||
<duration>00:30</duration> | ||
<room>A.01 (Someroom)</room> | ||
<slug>testcon_opening_remarks</slug> | ||
<title>Testcon01: Opening Remarks</title> | ||
<subtitle/> | ||
<track>TrackWithoutQA</track> | ||
<type>devroom</type> | ||
<language/> | ||
<abstract> | ||
<p>Opening remarks</p> | ||
</abstract> | ||
<description></description> | ||
<persons> | ||
<person id="9012">John Teststone</person> | ||
<person id="90367">Evå 完牲 Exampleson</person> <!-- seemed wise to test some Unicode --> | ||
</persons> | ||
<attachments> | ||
</attachments> | ||
<links> | ||
<link href="https://example.org">Submit feedback</link> | ||
</links> | ||
</event> | ||
<event id="E003"> | ||
<start>09:30</start> | ||
<duration>00:30</duration> | ||
<room>A.01 (Someroom)</room> | ||
<slug>testcon_opening_remarks</slug> | ||
<title>Testcon01: Opening Remarks</title> | ||
<subtitle/> | ||
<track>UnspecifiedTrack</track> | ||
<type>devroom</type> | ||
<language/> | ||
<abstract> | ||
<p>Opening remarks</p> | ||
</abstract> | ||
<description></description> | ||
<persons> | ||
<person id="9012">John Teststone</person> | ||
<person id="90367">Evå 完牲 Exampleson</person> <!-- seemed wise to test some Unicode --> | ||
</persons> | ||
<attachments> | ||
</attachments> | ||
<links> | ||
<link href="https://example.org">Submit feedback</link> | ||
</links> | ||
</event> | ||
</room> | ||
<room name="AQ.5 (QA Room)"> | ||
<event id="E004" > | ||
<start>09:45</start> | ||
<duration>00:30</duration> | ||
<room>AQ.5 (QA Room)</room> | ||
<slug>testcon_opening_remarks</slug> | ||
<title>Testcon01: Opening Remarks</title> | ||
<subtitle/> | ||
<track>UnspecifiedTrack</track> | ||
<type>devroom</type> | ||
<language/> | ||
<abstract> | ||
<p>Opening remarks</p> | ||
</abstract> | ||
<description></description> | ||
<persons> | ||
<person id="9012">John Teststone</person> | ||
<person id="90367">Evå 完牲 Exampleson</person> <!-- seemed wise to test some Unicode --> | ||
</persons> | ||
<attachments> | ||
</attachments> | ||
<links> | ||
<link href="https://example.org">Submit feedback</link> | ||
</links> | ||
</event> | ||
</room> | ||
</day> | ||
</schedule> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would it make sense to alert the end-user here if there is no
refreshShortTerm
function? (Not sure how likely it is that the lack of this will result in an out-of-date schedule)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.
I think for this section it's okay. This part runs every 8s to check for new tasks, and optionally refreshes it's cache of the conference when doing so. It's probably not a good idea to tell the user every time, and it's more of a technical detail imo.