Page MenuHomePhorge

RemarkupProject
ActivePublic

Members

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

Recent Activity

Today

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

Tue, Dec 31

Cigaryno moved T15323: Add support for embedding Videos from Wikimedia Commons into Remarkup from Backlog to Feature Requests on the Remarkup board.
Tue, Dec 31, 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.
Tue, Dec 31, 11:01 · Feature Requests, Remarkup, Affects-Wikimedia

Sun, Dec 29

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

Sat, Dec 28

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

Sun, Dec 22

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

Thu, Dec 19

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.

Thu, Dec 19, 08:09 · Feature Requests, Remarkup
Cigaryno moved T15245: Continue bulleted/numbered list during new line from Backlog to Feature Requests on the Remarkup board.
Thu, Dec 19, 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.
Thu, Dec 19, 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.
Thu, Dec 19, 07:32 · Feature Requests, Remarkup
Cigaryno moved T15967: Fix unit test PhutilPygmentizeParserTestCase from Backlog to Bug Reports on the Remarkup board.
Thu, Dec 19, 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.
Thu, Dec 19, 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

Jul 29 2024

valerio.bozzolan closed T15161: Internal resources should avoid to become external links, as default as Resolved by committing rP349f006904fa: Remarkup: make less internal links open in new tabs.
Jul 29 2024, 10:42 · User-valerio.bozzolan, Discussion Needed, Remarkup

Jul 1 2024

valerio.bozzolan removed a revision from T15106: "Upload file" in remarkup text fields should attach by default : D25710: [STUB] Fix missing file attachment in Conpherence.
Jul 1 2024, 12:14 · Files, Remarkup
valerio.bozzolan added a revision to T15106: "Upload file" in remarkup text fields should attach by default : D25710: [STUB] Fix missing file attachment in Conpherence.
Jul 1 2024, 12:07 · Files, Remarkup
valerio.bozzolan added a revision to T15106: "Upload file" in remarkup text fields should attach by default : D25709: Fix missing file attachment in Conpherence.
Jul 1 2024, 11:58 · Files, Remarkup
valerio.bozzolan updated the task description for T15744: Render html color codes in remarkup.
Jul 1 2024, 07:00 · Discussion Needed, Remarkup
valerio.bozzolan added a comment to T15744: Render html color codes in remarkup.

I think GitHub allows that syntax only in comments 🤔

Jul 1 2024, 06:50 · Discussion Needed, Remarkup
20after4 added a comment to T15744: Render html color codes in remarkup.

I was unaware of `#0969DA` syntax from github/gitlab.

Jul 1 2024, 02:55 · Discussion Needed, Remarkup
20after4 added a comment to T15744: Render html color codes in remarkup.

I was unaware of #0969DA syntax from github/gitlab. I'm not sure if I like that syntax better than {} but I am generally in favor of using the same syntax as other systems in order to converge towards defacto standardization.

Jul 1 2024, 02:46 · Discussion Needed, Remarkup