forked from retoor/devplacepy
Render markdown in gist and project sidebar titles; add content visibility and GIF picker
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
retoor <retoor@molodetz.nl>
|
||||
|
||||
Every state-changing action in DevPlace records one append-only row through `devplacepy/services/audit/record.py` (`record` for a request-scoped actor, `record_system` for a background one). This file is the authoritative catalogue of the 380 event keys currently emitted, grouped by the category `services/audit/categories.py` `category_for` resolves them to.
|
||||
Every state-changing action in DevPlace records one append-only row through `devplacepy/services/audit/record.py` (`record` for a request-scoped actor, `record_system` for a background one). This file is the authoritative catalogue of the 385 event keys currently emitted, grouped by the category `services/audit/categories.py` `category_for` resolves them to.
|
||||
|
||||
## Rules
|
||||
|
||||
@@ -26,19 +26,19 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `backup` | 2 |
|
||||
| `cli` | 50 |
|
||||
| `container` | 41 |
|
||||
| `content` | 37 |
|
||||
| `content` | 39 |
|
||||
| `database` | 4 |
|
||||
| `devii` | 22 |
|
||||
| `email` | 6 |
|
||||
| `engagement` | 28 |
|
||||
| `game` | 19 |
|
||||
| `ingress` | 1 |
|
||||
| `message` | 2 |
|
||||
| `message` | 3 |
|
||||
| `moderation` | 12 |
|
||||
| `news` | 9 |
|
||||
| `news` | 10 |
|
||||
| `nodes` | 10 |
|
||||
| `notification` | 4 |
|
||||
| `project` | 12 |
|
||||
| `project` | 13 |
|
||||
| `project_files` | 14 |
|
||||
| `pubsub` | 1 |
|
||||
| `push` | 2 |
|
||||
@@ -133,6 +133,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `attachment.upload` | `routers/uploads.py` |
|
||||
| `attachment.upload_url` | `routers/uploads.py` |
|
||||
| `attachment.generate_image` | `routers/uploads.py` |
|
||||
| `attachment.giphy` | `routers/giphy.py` |
|
||||
|
||||
## Authentication (`auth`)
|
||||
|
||||
@@ -271,6 +272,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `gist.create` | `content.py` |
|
||||
| `gist.delete` | `content.py` |
|
||||
| `gist.edit` | `content.py` |
|
||||
| `gist.visibility.set` | `content.py` |
|
||||
| `issue.attachment.add` | `routers/issues/attachments.py` |
|
||||
| `issue.attachment.delete` | `routers/issues/attachments.py` |
|
||||
| `issue.comment` | `routers/issues/comment.py` |
|
||||
@@ -284,6 +286,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `post.create` | `content.py` |
|
||||
| `post.delete` | `content.py` |
|
||||
| `post.edit` | `content.py` |
|
||||
| `post.visibility.set` | `content.py` |
|
||||
| `quiz.attempt.answer` | `routers/quizzes/attempts.py` |
|
||||
| `quiz.attempt.finish` | `routers/quizzes/attempts.py` |
|
||||
| `quiz.attempt.start` | `routers/quizzes/attempts.py` |
|
||||
@@ -416,6 +419,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
|
||||
| Event key | Recorded in |
|
||||
|---|---|
|
||||
| `message.delete` | `services/messaging/removal.py`, `routers/messages.py` |
|
||||
| `message.read_on_view` | `routers/messages.py` |
|
||||
| `message.send` | `services/messaging/persist.py` |
|
||||
|
||||
@@ -444,6 +448,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `news.featured.toggle` | `routers/admin/news.py` |
|
||||
| `news.landing.toggle` | `routers/admin/news.py` |
|
||||
| `news.publish.toggle` | `routers/admin/news.py` |
|
||||
| `news.visibility.set` | `content.py`, `routers/admin/news.py` |
|
||||
| `news.service.draft` | `services/news/service.py` |
|
||||
| `news.service.ingest` | `services/news/service.py` |
|
||||
| `news.service.landing` | `services/news/service.py` |
|
||||
@@ -474,6 +479,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
|
||||
| `project.screenshots.add` | `routers/projects/index.py` |
|
||||
| `project.visibility.private` | `routers/projects/index.py` |
|
||||
| `project.visibility.public` | `routers/projects/index.py` |
|
||||
| `project.visibility.set` | `content.py`, `routers/projects/index.py` |
|
||||
| `project.zip.request` | `routers/projects/index.py` |
|
||||
|
||||
## Project files (`project_files`)
|
||||
|
||||
Reference in New Issue
Block a user