Page MenuHomePhorge

RemarkupProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Recent Activity

Sun, Feb 16

waldyrious updated the task description for T15644: Support backticks in inline and block code by wrapping with multiple backticks.
Sun, Feb 16, 19:22 · Feature Requests, Remarkup
aklapper closed D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.
Sun, Feb 16, 18:57 · Remarkup
aklapper updated the diff for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

git rebase master

Sun, Feb 16, 18:52 · Remarkup
aklapper updated the diff for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

./bin/celerity map as this touches a JS file

Sun, Feb 16, 17:13 · Remarkup

Fri, Feb 7

aklapper added a comment to T15323: Add support for embedding Videos from Wikimedia Commons into Remarkup.

I do not recommend, because https://phabricator.wikimedia.org/T293139 - Phorge displays whatever it gets, especially if the video got deleted in the meantime. Same behavior for Youtube.

Fri, Feb 7, 12:42 · Feature Requests, Remarkup, Affects-Wikimedia

Mon, Feb 3

valerio.bozzolan updated the test plan for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.
Mon, Feb 3, 08:00 · Remarkup
valerio.bozzolan updated the diff for D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

add little cute comment and newline, to make it clear that the comment belongs only to that line, and really nothing else lol

Mon, Feb 3, 08:00 · Remarkup
valerio.bozzolan accepted D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs.

It works on my computer. Thaaaanks \o/

Mon, Feb 3, 08:00 · Remarkup

Jan 17 2025

Cigaryno moved T15323: Add support for embedding Videos from Wikimedia Commons into Remarkup from Backlog to Feature Requests on the Affects-Wikimedia board.
Jan 17 2025, 11:08 · Feature Requests, Remarkup, Affects-Wikimedia

Dec 31 2024

Cigaryno moved T15323: Add support for embedding Videos from Wikimedia Commons into Remarkup from Backlog to Feature Requests on the Remarkup board.
Dec 31 2024, 11:01 · Feature Requests, Remarkup, Affects-Wikimedia
Cigaryno added a project to T15323: Add support for embedding Videos from Wikimedia Commons into Remarkup: Feature Requests.
Dec 31 2024, 11:01 · Feature Requests, Remarkup, Affects-Wikimedia

Dec 29 2024

Cigaryno moved T15075: Add support for @link in diviner from Backlog to Feature Requests on the Remarkup board.
Dec 29 2024, 16:54 · Feature Requests, Diviner, Remarkup
Cigaryno added a project to T15075: Add support for @link in diviner: Feature Requests.
Dec 29 2024, 16:54 · Feature Requests, Diviner, Remarkup
Cigaryno moved T15973: Fix unit test PhutilRemarkupEngineTestCase from Backlog to Bug Reports on the Remarkup board.
Dec 29 2024, 16:53 · Bug Reports, User-valerio.bozzolan, Remarkup
Cigaryno added a project to T15973: Fix unit test PhutilRemarkupEngineTestCase: Bug Reports.
Dec 29 2024, 16:53 · Bug Reports, User-valerio.bozzolan, Remarkup
Cigaryno moved T15743: Support for math (LaTeX) in Remarkup from Backlog to Feature Requests on the Remarkup board.
Dec 29 2024, 16:44 · Feature Requests, Remarkup
Cigaryno added a project to T15743: Support for math (LaTeX) in Remarkup: Feature Requests.
Dec 29 2024, 16:44 · Feature Requests, Remarkup
Cigaryno added a project to D25764: Leave fullscreen editor when displaying "Upload File" and "Meme" dialogs: Remarkup.
Dec 29 2024, 16:43 · Remarkup
Cigaryno added a project to D25847: Fix regression in Remarkup unit tests and harden: Remarkup.
Dec 29 2024, 15:47 · Remarkup

Dec 28 2024

Cigaryno moved T15245: Continue bulleted/numbered list during new line from Backlog to Feature Requests on the UX board.
Dec 28 2024, 11:47 · UX, Feature Requests, Remarkup

Dec 22 2024

Cigaryno added a watcher for Remarkup: Cigaryno.
Dec 22 2024, 15:50
Cigaryno removed a member for Remarkup: Cigaryno.
Dec 22 2024, 15:49

Dec 19 2024

avivey added a comment to T15643: Support marking text with <ins> in Remarkup.

If the goal is to make it denote "inserted text", I think it should be visually different to "underline" - something more similar to the green we use for actual diff views, maybe more subtle. Will need special handling in the color-blindness themes.

Dec 19 2024, 08:09 · Feature Requests, Remarkup
Cigaryno moved T15245: Continue bulleted/numbered list during new line from Backlog to Feature Requests on the Remarkup board.
Dec 19 2024, 07:33 · UX, Feature Requests, Remarkup
Cigaryno moved T15643: Support marking text with <ins> in Remarkup from Backlog to Feature Requests on the Remarkup board.
Dec 19 2024, 07:32 · Feature Requests, Remarkup
Cigaryno moved T15644: Support backticks in inline and block code by wrapping with multiple backticks from Backlog to Feature Requests on the Remarkup board.
Dec 19 2024, 07:32 · Feature Requests, Remarkup
Cigaryno moved T15967: Fix unit test PhutilPygmentizeParserTestCase from Backlog to Bug Reports on the Remarkup board.
Dec 19 2024, 07:32 · Bug Reports, User-valerio.bozzolan, Remarkup
Cigaryno moved T15733: IDN not in a punycode format is not recognized as a link from Backlog to Bug Reports on the Remarkup board.
Dec 19 2024, 07:32 · Remarkup, Bug Reports

Dec 9 2024

valerio.bozzolan added a revision to T15974: Do not consider emails and custom protocols as internal links: D25847: Fix regression in Remarkup unit tests and harden.
Dec 9 2024, 11:42 · User-valerio.bozzolan, Remarkup
valerio.bozzolan removed a revision from T15974: Do not consider emails and custom protocols as internal links: D25847: Fix regression in Remarkup unit tests and harden.
Dec 9 2024, 11:21 · User-valerio.bozzolan, Remarkup
valerio.bozzolan added a revision to T15974: Do not consider emails and custom protocols as internal links: D25847: Fix regression in Remarkup unit tests and harden.
Dec 9 2024, 11:21 · User-valerio.bozzolan, Remarkup
valerio.bozzolan created T15974: Do not consider emails and custom protocols as internal links.
Dec 9 2024, 11:10 · User-valerio.bozzolan, Remarkup
valerio.bozzolan added a revision to T15973: Fix unit test PhutilRemarkupEngineTestCase: D25847: Fix regression in Remarkup unit tests and harden.
Dec 9 2024, 09:52 · Bug Reports, User-valerio.bozzolan, Remarkup
valerio.bozzolan created T15973: Fix unit test PhutilRemarkupEngineTestCase.
Dec 9 2024, 09:43 · Bug Reports, User-valerio.bozzolan, Remarkup

Dec 5 2024

pppery closed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing as Resolved by committing rP9c73d62c4466: Rewrite regex for project names to be not prone to catastrophic backtracking.
Dec 5 2024, 17:40 · Bug Reports, Remarkup, Affects-Wikimedia
valerio.bozzolan added a revision to T15967: Fix unit test PhutilPygmentizeParserTestCase: D25847: Fix regression in Remarkup unit tests and harden.
Dec 5 2024, 15:52 · Bug Reports, User-valerio.bozzolan, Remarkup
valerio.bozzolan updated the task description for T15967: Fix unit test PhutilPygmentizeParserTestCase.
Dec 5 2024, 15:50 · Bug Reports, User-valerio.bozzolan, Remarkup
valerio.bozzolan created T15967: Fix unit test PhutilPygmentizeParserTestCase.
Dec 5 2024, 15:48 · Bug Reports, User-valerio.bozzolan, Remarkup

Nov 23 2024

pppery claimed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Nov 23 2024, 21:17 · Bug Reports, Remarkup, Affects-Wikimedia
pppery renamed T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing from RuntimeException in preg_replace_callback: Text disappears due to Remarkup parsing to RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.
Nov 23 2024, 21:17 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a revision to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing: D25838: Rewrite regex for project names to be not prone to catastrophic backtracking.
Nov 23 2024, 21:08 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Digging deeper, the problem is specific to ProjectRemarkupRule::getObjectIDPattern. That returns:

Nov 23 2024, 20:45 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Step 2: Remove irrelevant character class exclusions:

Nov 23 2024, 20:33 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Disentangling that monster regex, step 1:

Nov 23 2024, 20:30 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

Indeed https://devina.io/redos-checker says the aformentioned regex is exponential time worst-case

Nov 23 2024, 20:20 · Bug Reports, Remarkup, Affects-Wikimedia
pppery added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

I monkeypatched the code to print preg_last_error when the problematic preg_match returns null. The error is "Backtrack limit exhausted".

Nov 23 2024, 20:18 · Bug Reports, Remarkup, Affects-Wikimedia

Oct 25 2024

aklapper added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

This exception happens once $rule in the loop foreach ($this->getMarkupRules() as $rule) in PhutilRemarkupBlockRule::applyRules($text) becomes ProjectRemarkupRule. That's where it blows up.

Oct 25 2024, 10:19 · Bug Reports, Remarkup, Affects-Wikimedia

Sep 16 2024

valerio.bozzolan added a comment to T15075: Add support for @link in diviner.

Taking the best from the two: what about assuming a default @link /book/group/best-document-ever-about-link - but still allowing custom @link to allow easy migrations?

Sep 16 2024, 14:45 · Feature Requests, Diviner, Remarkup

Aug 5 2024

aklapper added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to catastrophic backtracking regex in Remarkup parsing.

This is an issue in https://we.phorge.it/source/phorge/browse/master/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php . In getObjectEmbedPattern(), preg_quote($prefix) returns \# and the method finally returns (\B{\#([^.\s?!,:;{}#\(\)"'\*/~]+(?:[^\s?!,:;{}#\(\)"'\*/~]*[^.\s?!,:;{}#\(\)"'\*/~]+)*)([,\s](?:[^}\\]|\\.)*)?}\B)u.
Within apply($text), $text becomes null after that first preg_replace_callback, so the second call barks.

Aug 5 2024, 12:44 · Bug Reports, Remarkup, Affects-Wikimedia

Aug 4 2024

avivey raised the priority of T15401: Make the Remarkup Help Page Extensible from Wishlist to Low.
Aug 4 2024, 07:54 · Documentation, Remarkup