Page MenuHomePhorge

Wikimania Hackathon 2023 Singapore
Updated 477 Days AgoPublic

NOTE: This page presents some goals discussed during Wikimedia Hackaton 2023. Thanks for contributing!

What is Phorge?

Your Libre, Open Source, opinionated, software management platform for git and Subversion and Mercurial developers, system administrators, and meme lovers.

image.png (916×1 px, 359 KB)

Image credits:

https://commons.wikimedia.org/wiki/File:Phorge_Workboard_-_2023_with_Chat.png

https://commons.wikimedia.org/wiki/File:Computer-kitten.jpg

Context

Wikimedia Hackaton in Athens was GREAT!

Wikimedia Hackaton 2023 Athens Code Sprint

Thanks Athens!

Phorged Phings in SingaPhore

____________________________________ / Here some Phorged Phings on Phorge \ | during Wikimania PHackaton in | \ SingaPhore 2023! <3 / ------------------------------------ \ . . \ / `. .' " \ .---. < > < > .---. \ | \ \ - ~ ~ - / / | _____ ..-~ ~-..-~ | | \~~~\.' `./~~~/ --------- \__/ \__/ .' O \ / / \ " (_____, `._.' | } \/~~~/ `----. / } | / \__/ `-. | / | / `. ,~~| ~-.__| /_ - ~ ^| /- _ `..-' | / | / ~-. `-. _ _ _ |_____| |_____| ~ - . _ _ _ _ _>

Minor Phings

BeforeAfter
screenshot-phorge-bug-darkmode-ponder-answer-before.png (434×1 px, 23 KB)
screenshot-phorge-bug-darkmode-ponder-answer-after.png (434×1 px, 26 KB)

D25393: Fix answer background color when using Dark Mode in Ponder - hacker: bob minion


BeforeAfter
Before.png (836×780 px, 131 KB)
After.png (836×780 px, 221 KB)

D25407: Line counters: do not wrap when over 999 on mobile hacker: valerio, reviewer: avivey


Screenshot 2023-04-13 8.49.27 AM.png (116×986 px, 17 KB)

D25402: Fix hovercard background color when using Dark Mode hacker: bob minion, reviewer: valerio


BeforeAfter
Choose User Icon Dark Mode - Broken.png (329×582 px, 14 KB)
Choose User Icon Dark Mode - Fixed.png (329×582 px, 16 KB)

D25384: Fix icon background color when using Dark Mode hacker: bob minion, reviewer: Matthew, valerio

D25410: Documentation: fix unexisting path sshd_config.phabricator.example

D25061: Fix editing a Calendar import ICS URI regression

D25409: Fix PHP 8.1 arc patch strlen(null) binary file error

D25412: PHP 8 and Diviner Technical Documentation

D25398: Fix a PHP 8.1 deprecated use of strlen with a NULL argument bug browsing Subversion - hacker: bob minion

D25399: Fix a PHP 8.1 deprecated use of strlen with a NULL argument bug browsing Subversion - hacker: bob minion

D25403: Improve CelerityDarkModePostprocessor shade colors bug in Dark mode

D25397: Fix a PHP 8.1 deprecated use of preg_match with a NULL argument bug browsing Subversion and Mercurial - hacker: bob minion

D25387: Error handling: send Deprecation messages as explicit Event - hacker: avivey

D25386: log deprecation events in Dark Console - hacker: avivey

D25343: Rebrand: Add "path" entries to PlatformSymbols - rebrand issue - hacker: avivey

D25408: Fix Exception in Chat room when you are not a Participant - hacker: valerio

D25406: Fix PHP 8.1 "strlen(null)" exception creating a Phriction doc without slug in Conduit - hacker: aklapper, reviewer: valerio

D25405: Fix PHP 8.1 "strlen(null)" exception creating a Paste without content in Conduit paste.create - hacker: aklapper, reviewer: valerio

D25394: Fix a PHP 8.1 deprecated use of strlen with a NULL argument bug during setup wizard - hacker: bob, reviewer: valerio

D25401: Fix a PHP 8.1/8.2 deprecated use of strlen a NULL argument bug in websocket notifications - hacker: bob, reviewer: valerio

D25382: Fix a PHP 8.1/8.2 deprecated use of ltrim and rtrim with a NULL argument bug in notification server URI - hacker: bob, reviewer: v., avivey

D25404: Fix typo "this this server" hacker: aklapper, reviewer: avivey

D25395: Fix PHP 8.1 "strlen(null)" exception on "Link External Account" page at login hacker: aklapper, reviewer: valerio

D25396: Fix source code viewer background color when using Dark Mode in Diffusion hacker: bob minion, reviewer: valerio

D25392: Fix PHP 8.1 "strlen(null)" exception listing >100 task search results hacker: aklapper, reviewer: valerio

D25379: Fix PHP 8.1 "strlen(null)" exception adding "Build with Buildkite" build step in Harbormaster hacker: aklapper, reviewer: Matthew

D25370: Fix PHP 8.1 "strlen(null)" exception setting Passphrase Credential hacker: aklapper, reviewer: Matthew

D25391: Fix call to undefined method PhutilJSON::encodeAsObject() hacker: aklapper, reviewer: valerio

D25389: Fix PHP 8.1 "strlen(null)" exceptions editing a form when custom field of type Date exists hacker: aklapper, reviewer: valerio

D25383: Fix a PHP 8.1/8.2 deprecated use of strlen deprecated call with a NULL argument hacker: bob minion, reviewer: valerio

Nice to review

D25079: Trigger: Add Sound "Coin" - hacker: valerio


D25066: Workboard: Milestone Name easily editable (instead of surfing 3 pages)

Milestone quick editable name.png (237×822 px, 20 KB)


https://duckduckgo.comChange Log#anchorhttps://we.phorge.it//config/
Before this changeexternalinternalinternalexternalexternal
After this changeexternalinternalinternalinternalinternal

D25118: Remarkup: make less internal links open in new tabs


BeforeAfter
Screenshot 2023-06-20 at 07-27-41 Editing-team (Kanban Board) · Workboard.png (2×3 px, 759 KB)
Screenshot 2023-06-20 at 07-32-20 Editing-team (Kanban Board) · Workboard.png (2×3 px, 774 KB)

D25305: Workboard: have thin scrollbars - hacker: matmarex

D25413: Show a link to the Phorge homepage

D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists - hacker: aklapper

D25341: Fix ArcanistExternalLinter on Windows hacker: matmarex, reviewer: avivey

D25374: Fix PHP 8.1 "urlencode(null)" exception blocking account registration redirect for custom OAuth provider hacker: aklapper, reviewer: Matthew

D25362: Show more in Application Detail and List view hacker: Matthew, reviewer: valerio, avivey

Show me again Recent Phings

New Confirmation Dialog when Closing a Modal by mistake

On a Workboard, if you press the Esc key by mistake, now you see a kind Confirmation Dialog. Your volatile edits are more safe:

Phorge confirmation dialog.png (953×1 px, 156 KB)

Patch: D25015

Drag & Drop Popup: Fast access to Edit Permissions

Phorge File upload screenshot.png (68×280 px, 6 KB)

Now the destination link of the Drag & Drop popup changed:

BeforeAfter
https://we.phorge.it/file/data/6uyork7a6q2rlun6xvde/PHID-FILE-2omhdvzx3jekqlfzxttz/Phorge_File_upload_screenshot.pnghttps://we.phorge.it/F267760

So you can visit its Edit button to change Permissions in 2 clicks, etc. Also, the link now opens in a new tab: less possibilities to loss your work in your current tab ✨

Patches: D25074, D25077

All Search Results supporting ctrl+click

Patch: D25069

Self-Descriptive API pages

Conduit API proposed Summary field.png (572×831 px, 88 KB)

Patch: D25063

Diffusion repositories: editable from Mobile

Now Diffusion repositories can be edited from Tablet and Mobile users, using the Actions button:

BeforeAfter
Diffusion before D25109.png (366×670 px, 32 KB)
Diffusion after D25109.png (366×670 px, 33 KB)

Patch: D25109

Deleted Comments: less distracting

Now every Deleted Comment is a bit more docile, so you gain extra focus:

BeforeAfter
Comments deleted Before D25096.png (319×340 px, 16 KB)
Comments deleted After D25096.png (298×343 px, 15 KB)

Patch: D25096

Better Homepage on Mobile

For some reasons the Homepage was a bit weird on Mobile. Now you see contents instead of a duplicated menu:

BeforeAfter
Gitpull Before D25107.png (537×324 px, 30 KB)
Gitpull After D25107.png (537×324 px, 37 KB)

Patch: D25107

Support for GitHub/GitLab/StackOverflow/... code-blocks in Markdown

We added support to this syntax:

```php
$asd = 1;
```

Before this change, this was the only supposed syntax in Remarkup, with an explicit "lang=":

```lang=php
$asd = 1;
```

This change introduces a minor risk to eat legitimate Remarkup content, since Remarkup allows
to do a multi-line in this way:

```$asd = 1;
$asd = 2;```

The above example still works, but, there is a chance that hardcore Remarkup people
have a problem when doing a code block to mention programming languages.

In short, this can be problematic since "cpp" will be eaten from this list:

```cpp
php
python
```

Using the above example is not socially nice because it is not usable in GitLab, GitHub and Stack Overflow.

If your first line is eaten:

Just *add* a newline on the top to reach a valid raw Markdown list (suggested, valid in Remarkup + Markdown):

```
cpp
php
python
```

Or, just add "text" to specify that as language (suggested, valid in Remarkup + Markdown):

```text
cpp
php
python
```

Or, just *remove* a newline from the bottom to reach a valid raw Remarkup list (Remarkup-only):

```cpp
php
python```

Or, just specify that you are writing in the language "text" (Remarkup-only):

```lang=text
cpp
php
python```

To reduce impact and help you, the logic of this strict implementation is:

  • must have backticks
  • must not have any valid remarkup option, like lang=, counterexample, etc.
  • must not have content in the same line of the last backticks
  • must have a known language in our proposed subset

If everything is OK, we remove that language from the content since it would be otherwise displayed.

Interestingly, this could improve performance when rendering README files or snippets from external
websites, since - in case - we do not need to guess the language using our deep dark magic.

Patch: D25299

What next?

Hackers: review and code!

T15056: Improve Dark Mode

Free screenshots

You can share lovely screenshots on Wikimedia Commons!

https://commons.wikimedia.org/wiki/Category:Phorge_screenshots

THANKS!

sgtm

_________________ < Join Phorge! <3 > ----------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/

https://we.Phorge.it

Tags
None
Referenced Files
F343635: Phorge written on Wikipedian shirt.png
Aug 30 2023, 07:42
F274942: Gitpull After D25107.png
Aug 28 2023, 16:39
F274941: Gitpull Before D25107.png
Aug 28 2023, 16:39
F274835: Comments deleted After D25096.png
Aug 28 2023, 16:39
F274834: Comments deleted Before D25096.png
Aug 28 2023, 16:39
F276113: Diffusion after D25109.png
Aug 28 2023, 16:39
F276115: Diffusion before D25109.png
Aug 28 2023, 16:39
F252990: Conduit API proposed Summary field.png
Aug 28 2023, 16:39
Subscribers
Last Author
valerio.bozzolan
Last Edited
Aug 28 2023, 16:39