Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to **tiny_fastpix** (FastPix video for TinyMCE) are documented
here. This project follows [Semantic Versioning](https://semver.org/).

## 1.1.0 — 2026-06-10

### Changed
- **Course-scoped picker.** The picker now lists only the signed-in user's own
videos that belong to the **current course** (referenced by a FastPix activity
in it) — previously it listed the user's videos across all courses. The listing
stays owner-scoped, ready-only and embeddable-only (public, non-DRM).
- **Course-context capability gating.** `mod/fastpix:uploadmedia` is now resolved
at the editor's **course context**, both for showing the toolbar button
(`plugininfo`) and in the `get_my_videos` web service. Students (no capability)
get no button and a rejected service call; they can still **watch** embeds via
`filter_fastpix` (`mod/fastpix:view`).

### Removed
- **Whole-library search.** With the list scoped to a single course it is no
longer needed; the `query` parameter and the modal search box are gone.

## 1.0.0 — 2026-06-05

First stable release.
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ you already have.
1. A teacher opens any TinyMCE editor — a forum post, a Page, a Book chapter, a
label.
2. They click **Insert FastPix video** (or **Insert → FastPix video**).
3. A dialog shows *their* videos. They can scroll, or type to search the whole
library by name.
3. A dialog shows *their* videos for **this course**.
4. They click one. `{fastpix:pb_<id>}` appears at the cursor.

When someone later reads that content, `filter_fastpix` swaps the short code for a
Expand All @@ -42,13 +41,11 @@ actually play:
| Rule | Why |
| --- | --- |
| **Your videos only** | The dialog is scoped to the signed-in user — you never see another teacher's library. |
| **This course only** | Only videos uploaded through a FastPix activity *in the current course* are listed, so a course's editors see just that course's media. |
| **Ready only** | Videos still uploading or processing are hidden until FastPix finishes them. |
| **Playable only** | DRM-protected videos are left out — `filter_fastpix` can't embed them, so offering them would only insert a dead short code. |
| **Named, not numbered** | Each result shows the video's activity name (falling back to *Untitled video*), not a raw UUID. |

Searching looks across your whole library by activity name and title, so a big
collection is still one keystroke away — not just the most recent handful.

## Setting it up

**You need the rest of the FastPix suite first.** This is a picker, not a
Expand Down Expand Up @@ -82,7 +79,7 @@ capability to manage:

| Capability | Effect | Owned by |
| --- | --- | --- |
| `mod/fastpix:uploadmedia` | Holders see the toolbar button and can list their own videos; everyone else gets no button at all. | `mod_fastpix` |
| `mod/fastpix:uploadmedia` | Checked at the **course context**: holders see the toolbar button and can list their own videos in that course; everyone else gets no button at all. | `mod_fastpix` |

## Good to know

Expand All @@ -91,7 +88,8 @@ capability to manage:
them, so content written elsewhere (or by hand) still plays.
- **No uploading here.** New videos come in through a `mod_fastpix` activity and
surface in the picker once they're ready. An upload tab is on the roadmap.
- A video only appears for the teacher recorded as its owner.
- A video only appears for the teacher recorded as its owner, and only in the
course it was uploaded to.

## Privacy

Expand Down
2 changes: 1 addition & 1 deletion amd/build/commands.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/commands.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions amd/build/options.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/options.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading