You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added streaming selection option to events (#1830)
* Added streaming selection option to events
* Updated migration
* Added data migration to the database migration
* Make streaming seperate from recording
* Add column streaming and tooltips to event_list_table
* Updated icons for event pages
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/program/models.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update src/program/migrations/0106_event_video_streaming_and_more.py
Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
* Update src/program/migrations/0106_event_video_streaming_and_more.py
---------
Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/bornhack/settings.py
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -221,22 +221,18 @@
221
221
"SCOPES": {
222
222
# required
223
223
"openid": "OpenID Connect scope",
224
-
225
224
# deprecated api scope, remove after 2025 camp
226
225
"profile:read": "Allow the remote site to read your bornhack.dk username (uuid), user id, profile public credit name, profile description, and a list of team memberships using the profile API endpoint (scope profile:read). NOTE: This scope is being deprecated soon! Ask the BornHack website team for more info.",
227
-
228
226
# standard OIDC claim scopes
229
227
"profile": "Allow the remote site to read your profile public_credit_name, description, and update time (scope: profile)",
230
228
"email": "Allow the remote site to read your email address (scope: email)",
231
229
"address": "Allow the remote site to read your profile location (scope: address)",
232
230
"phone": "Allow the remote site to read your profile phonenumber (scope: phone)",
233
-
234
231
# custom bornhack user claim scopes
235
232
"groups:read": "Allow the remote site to read a list of your group memberships (scope: groups:read).",
236
233
"location:read": "Allow the remote site to read your profile location (scope: loocation:read)",
237
234
"permissions:read": "Allow the remote site to read a list of your assigned permissions (scope: permissions:read).",
238
235
"teams:read": "Allow the remote site to read a list of your team memberships and team lead status (scope: teams:read)",
239
-
240
236
# api scopes
241
237
"phonebook:admin": "Allow the remote site to read the camp phonebook, including service numbers and unlisted numbers. Also allow the remote site to use to the POC API. This scope is only relevant for POC team leads (scope: phonebook:admin).",
242
238
"phonebook:read": "Allow the remote site to read the camp phonebook (scope: phonebook:read).",
Copy file name to clipboardExpand all lines: src/profiles/templates/oidc.html
+34-34Lines changed: 34 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -11,53 +11,53 @@
11
11
<h4>OIDC Claims</h4>
12
12
</div>
13
13
<divclass="card-body">
14
-
<pclass="lead">When using BornHack as an IDP (logging into other sites using your BornHack account) you can control which <i>user claims</i> are shared with the remote site by asking for one or more of the following <i>claim scopes</i>:</p>
14
+
<pclass="lead">When using BornHack as an IDP (logging into other sites using your BornHack account) you can control which <i>user claims</i> are shared with the remote site by asking for one or more of the following <i>claim scopes</i>:</p>
15
15
<p><ul>
16
16
{% for scope in all_scopes %}
17
-
<li><code>{{ scope }}</code></li>
17
+
<li><code>{{ scope }}</code></li>
18
18
{% endfor %}
19
19
</ul></p>
20
20
<p>Note: In addition to this list the default <code>openid</code> scope is available (it is part of the standard) and must always be included when asking for a jwt.</p>
21
21
<pclass="lead">This form allows you to see which OIDC user claims are returned for your user with any combination of scopes.</p>
Copy file name to clipboardExpand all lines: src/program/models.py
+27-6Lines changed: 27 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -544,6 +544,11 @@ class EventProposal(ExportModelOperationsMixin("event_proposal"), UserSubmittedM
544
544
help_text="Recordings are made available under the <b>CC BY-SA 4.0</b> license. Uncheck if you do not want the event recorded, or if you cannot accept the license.",
545
545
)
546
546
547
+
allow_video_streaming=models.BooleanField(
548
+
default=False,
549
+
help_text="Uncheck if you do not want the event live streamed.",
550
+
)
551
+
547
552
duration=models.IntegerField(
548
553
blank=True,
549
554
help_text="How much time (in minutes) should we set aside for this event?",
0 commit comments