-
Notifications
You must be signed in to change notification settings - Fork 23
Feature/multi author support #25
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
Open
cbr4l0k
wants to merge
8
commits into
piepert:main
Choose a base branch
from
cbr4l0k:feature/multi-author-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9b35e71
Merge pull request #1 from piepert/main
cbr4l0k 7053367
[AUTHORS] Actual implementation
cbr4l0k 8f8b446
[AUTHORS] exercises
cbr4l0k be88da9
[AUTHORS] slides
cbr4l0k 702713e
[AUTHORS] seminars
cbr4l0k a973807
[AUTHORS] subtypes
cbr4l0k 9f79571
[AUTHORS] Adding examples.
cbr4l0k e8088e0
[AUTHORS] readme update
cbr4l0k 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 hidden or 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
Binary file not shown.
This file contains hidden or 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,116 @@ | ||
| #import "../src/exercise.typ": project, task, subtask | ||
|
|
||
| #set text(lang: "GB") | ||
|
|
||
| #show: project.with( | ||
| no: 4, | ||
| type: [Worksheet], | ||
| title: [Secure Systems Practice Sheet], | ||
| suffix-title: [Input Validation and Policy Checks], | ||
| show-outline: true, | ||
| abstract: [ | ||
| This is a complete example configuration for the `exercise.project` template | ||
| with fake metadata and multi-author input. | ||
| ], | ||
| document-title: [Systems Security Worksheet], | ||
|
|
||
| show-hints: false, | ||
| show-solutions: false, | ||
|
|
||
| show-namefield: true, | ||
| namefield: none, | ||
| show-timefield: true, | ||
| timefield: (time) => [Time budget: #time min], | ||
| max-time: 90, | ||
|
|
||
| show-lines: true, | ||
| show-point-distribution-in-tasks: true, | ||
| show-point-distribution-in-solutions: false, | ||
|
|
||
| solutions-as-matrix: false, | ||
| show-solution-matrix-comment-field: false, | ||
| solution-matrix-comment-field-value: [*Reviewer note:* #v(0.4cm)], | ||
|
|
||
| university: [Northbridge Technical University], | ||
| faculty: [Faculty of Applied Computing], | ||
| institute: [Institute for Systems Engineering], | ||
| seminar: [Secure Software Seminar], | ||
| semester: [Spring 2026], | ||
| docent: [Dr. Avery Morgan], | ||
|
|
||
| author: [Legacy Single Author], | ||
| authors: ( | ||
| (name: "Alex Rowan", email: "alex.rowan@example.edu"), | ||
| (name: "Samira Hale", email: "samira.hale@example.edu"), | ||
| ), | ||
|
|
||
| date: datetime(year: 2026, month: 2, day: 19), | ||
| date-format: (d) => if type(d) == type(datetime.today()) { | ||
| d.display("[day].[month].[year]") | ||
| } else { | ||
| d | ||
| }, | ||
|
|
||
| header: none, | ||
| header-gutter: 18%, | ||
| header-right: none, | ||
| header-middle: none, | ||
| header-left: none, | ||
| show-header-line: true, | ||
|
|
||
| footer: none, | ||
| footer-right: none, | ||
| footer-middle: none, | ||
| footer-left: none, | ||
| show-footer-line: true, | ||
|
|
||
| task-type: [Task], | ||
| extra-task-type: [Bonus task], | ||
| box-task-title: [Task], | ||
| box-hint-title: [Hint], | ||
| box-solution-title: [Suggested solution], | ||
| box-definition-title: [Definition], | ||
| box-notice-title: [Notice], | ||
| box-example-title: [Example], | ||
|
|
||
| hint-type: [Hint], | ||
| hints-title: [Hints], | ||
| solution-type: [Suggested solution], | ||
| solutions-title: [Suggested solutions], | ||
|
|
||
| solution-matrix-task-header: [Task], | ||
| solution-matrix-achieved-points-header: [Points], | ||
| distribution-header-point-value: [Points], | ||
| distribution-header-point-grade: [Grade], | ||
|
|
||
| message: (points-sum, extrapoints-sum) => [ | ||
| Total available: #points-sum + #extrapoints-sum points. | ||
| ], | ||
| grade-scale: ( | ||
| ([excellent], 0.9), | ||
| ([good], 0.75), | ||
| ([pass], 0.6), | ||
| ([fail], 0.49), | ||
| ), | ||
|
|
||
| page-margins: (top: 5.2cm, bottom: 2.8cm, left: 2.5cm, right: 2.5cm), | ||
| text-font: ("Atkinson Hyperlegible",), | ||
| math-font: ("New Computer Modern Math",), | ||
| fontsize: 11pt, | ||
| show-todolist: false, | ||
| ) | ||
|
|
||
| = Multiple-Choice | ||
| #task(points: 4, [Input Validation], [ | ||
| Select the most robust validation strategy for untrusted input. | ||
| ], []) | ||
|
|
||
| = Short Answer | ||
| #task(points: 6, lines: 4, [Authorization], [ | ||
| Explain why authorization checks should be performed server-side. | ||
| ], []) | ||
|
|
||
| = Extra | ||
| #task(extra: true, points: 3, [Bonus], [ | ||
| Give one real-world example of policy drift. | ||
| ], []) |
Binary file not shown.
This file contains hidden or 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,79 @@ | ||
| #import "../src/seminar-paper.typ" as seminar-paper | ||
|
|
||
| #set text(lang: "GB") | ||
|
|
||
| #show: seminar-paper.project.with( | ||
| title: [A Comparative Survey of Sandbox Security Models], | ||
| subtitle: [Template showcase with fake metadata], | ||
|
|
||
| submit-to: [Submitted to], | ||
| submit-by: [Submitted by], | ||
|
|
||
| university: [Northbridge Technical University], | ||
| faculty: [Faculty of Applied Computing], | ||
| institute: [Institute for Systems Engineering], | ||
| seminar: [Secure Software Seminar], | ||
| semester: [Spring 2026], | ||
| docent: [Dr. Avery Morgan], | ||
|
|
||
| author: "Legacy Single Author", | ||
| authors: ( | ||
| ( | ||
| name: "Alex Rowan", | ||
| email: "alex.rowan@example.edu", | ||
| student-number: "NTU-10482", | ||
| address: [11 Cedar Lane, Brookfield, MA 01010], | ||
| ), | ||
| ( | ||
| name: "Samira Hale", | ||
| email: "samira.hale@example.edu", | ||
| student-number: "NTU-10617", | ||
| address: [92 Pine Street, Lakeview, MA 01011], | ||
| ), | ||
| ), | ||
| student-number: "LEGACY-0000", | ||
| email: "legacy.author@example.edu", | ||
| address: [Legacy Address, Legacy City], | ||
|
|
||
| title-page-part: none, | ||
| title-page-part-submit-date: none, | ||
| title-page-part-submit-to: none, | ||
| title-page-part-submit-by: none, | ||
|
|
||
| sentence-supplement: [Example], | ||
|
|
||
| date: datetime(year: 2026, month: 2, day: 19), | ||
| date-format: (d) => if type(d) == type(datetime.today()) { | ||
| d.display("[month repr:long] [day], [year]") | ||
| } else { | ||
| d | ||
| }, | ||
|
|
||
| header: none, | ||
| header-left: none, | ||
| header-middle: none, | ||
| header-right: none, | ||
| show-header-line: true, | ||
|
|
||
| footer: none, | ||
| footer-left: none, | ||
| footer-middle: none, | ||
| footer-right: none, | ||
| show-footer-line: true, | ||
|
|
||
| show-outline: true, | ||
| show-todolist: true, | ||
| show-declaration-of-independent-work: true, | ||
|
|
||
| page-margins: (top: 2.6cm, bottom: 2.6cm, left: 2.6cm, right: 3.8cm), | ||
|
|
||
| fontsize: 11pt, | ||
| ) | ||
|
|
||
| = Scope | ||
| This file is a full-feature example for `seminar-paper.project` using fake names and sample metadata. | ||
|
|
||
| [Replace with your institution data.] | ||
|
|
||
| = Notes | ||
| The default header uses compact multi-author formatting (`first author, et al.`) when `authors` has more than one entry. |
Binary file not shown.
This file contains hidden or 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,74 @@ | ||
| #import "../src/slides.typ": slides, slide, focus-slide | ||
|
|
||
| #set text(lang: "GB") | ||
|
|
||
| #show: slides.with( | ||
| no: 7, | ||
| series: [Systems Security Colloquium], | ||
| title: [Policy-Driven Access Control], | ||
| topics: ([Motivation], [Architecture], [Threat Model], [Conclusions]), | ||
|
|
||
| head-replacement: none, | ||
| title-replacement: none, | ||
| footer: none, | ||
|
|
||
| author: [Legacy Single Author], | ||
| authors: ( | ||
| (name: "Alex Rowan", email: "alex.rowan@example.edu"), | ||
| (name: "Samira Hale", email: "samira.hale@example.edu"), | ||
| ), | ||
| email: "legacy.author@example.edu", | ||
|
|
||
| page-numbering: (n, total) => { | ||
| text(size: 0.75em, strong[#n.first()]) | ||
| text(size: 0.5em, [ \/ #total.first()]) | ||
| }, | ||
|
|
||
| show-title-slide: true, | ||
| show-author: true, | ||
| show-semester: true, | ||
| show-date: true, | ||
| show-outline: true, | ||
| show-todolist: false, | ||
| show-footer: true, | ||
| show-page-numbers: true, | ||
|
|
||
| box-task-title: [Task], | ||
| box-hint-title: [Hint], | ||
| box-solution-title: [Solution], | ||
| box-definition-title: [Definition], | ||
| box-notice-title: [Notice], | ||
| box-example-title: [Example], | ||
| sentence-supplement: [Example], | ||
|
|
||
| outline-title-text: [Outline], | ||
| outline-depth: 2, | ||
| heading-numbering: none, | ||
|
|
||
| fontsize: 24pt, | ||
| text-font: ("Atkinson Hyperlegible",), | ||
| math-font: ("New Computer Modern Math",), | ||
|
|
||
| date: datetime(year: 2026, month: 2, day: 19), | ||
| date-format: (d) => if type(d) == type(datetime.today()) { | ||
| [#d.display("[month repr:short] [day], [year]")] | ||
| } else { | ||
| d | ||
| }, | ||
| ) | ||
|
|
||
| #slide[ | ||
| = Why This Matters | ||
| Authorization bugs often appear when policy and implementation drift over time. | ||
| ] | ||
|
|
||
| #slide[ | ||
| = Model | ||
| - Inputs are untrusted. | ||
| - Policy decisions are centralized. | ||
| - Enforcement is explicit at each boundary. | ||
| ] | ||
|
|
||
| #focus-slide[ | ||
| Defense-in-depth beats single-point trust. | ||
| ] |
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.
I think we already have enough example files and the examples don't need to display every possible version of a document. So I think it'd be best if no new example files are added.