1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 19:55:46 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
silverpill 0bcbce25de Fix test_clean_markdown failure (#869)
Fixes test failure introduced in https://codeberg.org/fediverse/fep/pulls/868

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/869
2026-06-27 18:00:06 +02:00
Timothy Cyrus 7eefb5cf57 escape html characters in clean_markdown (#868)
The site page for [FEP-61cf](https://fediverse.codeberg.page/fep/fep/61cf/) is currently bugged because of unescaped double quotes.
The YAML issue could be solved with something like `yaml.safe_dump`, but there's also an HTML issue (mkdocs doesn't escape quotes).
`clean_markdown` now uses the built-in `html.escape()` (`nh3.escape()` escapes too much)

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/868
2026-06-27 17:33:50 +02:00
silverpill 7dfa44a3cf Website: Escape double quotes when producing page description (#825)
Double quotes are escaped to fix FEP-db0e and FEP-7b29 pages.
Removed ':' replacement, it is no longer necessary.

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/825
2026-06-25 16:04:39 +02:00
silverpill 32c3288453 Validate URLs in discussionsTo and trackingIssue fields (#817)
This PR improves validation of proposal metadata. Empty strings in `discussionsTo` and `trackingIssue` fields will not be allowed.

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/817
Reviewed-by: helge <helge@noreply.codeberg.org>
Co-authored-by: silverpill <silverpill@firemail.cc>
Co-committed-by: silverpill <silverpill@firemail.cc>
2026-04-15 21:16:14 +02:00
silverpill f68a69fc79 Website: Display proposal type and implementation counts in table (#747)
This PR addresses https://codeberg.org/fediverse/fep/issues/686 and https://codeberg.org/fediverse/fep/issues/194

The "Type" column is added to all FEP lists, the value is either "informational" or "implementation (N)".

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/747
Reviewed-by: helge <helge@noreply.codeberg.org>
Co-authored-by: silverpill <silverpill@firemail.cc>
Co-committed-by: silverpill <silverpill@firemail.cc>
2026-03-07 17:43:33 +01:00
silverpill 14311a2932 Website: Fix FEP-0151 rendering (#746)
Fixes https://codeberg.org/fediverse/fep/issues/743

It breaks because summary starts with a `[`

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/746
Reviewed-by: helge <helge@noreply.codeberg.org>
Co-authored-by: silverpill <silverpill@firemail.cc>
Co-committed-by: silverpill <silverpill@firemail.cc>
2026-01-09 12:30:41 +01:00
Helge bcc68d8646 Ensure script works when writing a new fep (#712)
Reviewed-on: https://codeberg.org/fediverse/fep/pulls/712
Co-authored-by: Helge <helge.krueger@gmail.com>
Co-committed-by: Helge <helge.krueger@gmail.com>
2025-11-04 20:22:55 +01:00
Helge e4683fbcda Create a FEP static site (#673)
### Preview version

https://helge.codeberg.page/fep/

click there to judge

### Tasks done

- [x] Add a proper index.md instead of final.md .... needs me to filter the readme.md
- [x] search is broken  --> will resolve itself when all feps are part of it
- [x] Update https://codeberg.org/fediverse/fep/src/branch/main/fep/7d8c/fep-7d8c.md
- [x] The admonition format (according to copilot I can blame this format on Microsoft https://learn.microsoft.com/en-us/contribute/content/markdown-reference#alerts-note-important-tip-warning-caution)

    ```
    >[!NOTE]
    >ActivityPub [requires][ActivityPub-Collections] ordered collections to be presented in reverse chronological order. However, an [erratum][ActivityPub-Errata] was proposed to relax this requirement.
    ```
    is not the one supported by python, see https://python-markdown.github.io/extensions/admonition/ . One can probably resolve this by adapting the code https://github.com/Python-Markdown/markdown/blob/f39cf84a24124526c1a0efbe52219fa9950774f6/markdown/extensions/admonition.py

- [x] FEPs miss meta information ....
- [x] Meta information for tracking issue and discussion to link should be formatted
- [x] copy script has problems with contained directories
- [x] add codeberg link to meta, e.g. https://helge.codeberg.page/fep/fep/1b12/
- [x] include implementation counts -> https://codeberg.org/fediverse/fep/issues/686

Co-authored-by: silverpill <silverpill@firemail.cc>
Reviewed-on: https://codeberg.org/fediverse/fep/pulls/673
Reviewed-by: silverpill <silverpill@noreply.codeberg.org>
Co-authored-by: Helge <helge.krueger@gmail.com>
Co-committed-by: Helge <helge.krueger@gmail.com>
2025-11-01 08:40:20 +01:00