Page MenuHomePhorge
Feed All Stories

Feb 12 2024

speck added a comment to D25502: Make PhabricatorSearchIntField validate its input.

Is it possible to check if anything is relying on this not working with negative numbers?

Feb 12 2024, 22:56
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

Well, I see a tremendous critism and scepticism concerning modern client side techniques here. The world of frontend tooling has changed tremendously in the last 5 years. And I understand concerns, but nobody has to write JavaScript for certain browsers anymore. Javelin for example tries to solve so many problems that Babel solves with one config entry. But that's okay and I like the architecture here and know we can't change everything at once.

Feb 12 2024, 21:05 · Discussion Needed
avivey requested review of D25537: Update PHP versions in install guide: Remove 5, Add 8..
Feb 12 2024, 20:35
avivey added a revision to T15047: Officially raise minimum required PHP version to 7.2: D25537: Update PHP versions in install guide: Remove 5, Add 8..
Feb 12 2024, 20:35 · Phorge
avivey added a revision to T15064: Make Phorge compatible with PHP 8.1/8.2/8.3: D25537: Update PHP versions in install guide: Remove 5, Add 8..
Feb 12 2024, 20:35 · PHP 8 support
avivey added a revision to T15554: Handling PHP deprecations: convert to Setup Issues: D25537: Update PHP versions in install guide: Remove 5, Add 8..
Feb 12 2024, 20:35 · Phorge
avivey added a revision to T15737: Include information for installing required PHP version in Diviner docs: D25537: Update PHP versions in install guide: Remove 5, Add 8..
Feb 12 2024, 20:35 · PHP 8 support, Good Starter Task, Documentation
avivey added a comment to T15739: Replace celerity postprocessors with real css variables.

Ok, I don't understand the specifics of css-vars, but if they're better, they're better.

Feb 12 2024, 20:18 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

The overwriting of variables with media queries could be configured inside the theming class. So possible breakpoints can be part of a theming API.

Feb 12 2024, 20:16 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

And my general approach is: when the client can do something (and that even better), why should the server do it?

Feb 12 2024, 20:04 · Discussion Needed
bekay added a comment to T15739: Replace celerity postprocessors with real css variables.

@avivey CSS vars are a vital part of modern modularized theming. They are versatile, can be overwritten with media queries or per class/element basis. They are editable in browser dev tools. If you would ask me: this step is pretty important.

Feb 12 2024, 20:01 · Discussion Needed
bekay added a comment to T15736: JavaScript modernization (umbrella task).

to have a working dev server when developing js - at the moment I have to ./bin/celerity map after every change to js and css to see my changes...

Are you sure about that? I thought celerity map was only needed when adding a file (in dev mode).

Feb 12 2024, 19:47 · UX, Discussion Needed
avivey added a comment to T15736: JavaScript modernization (umbrella task).

also, adding this file in src/extensions/ will let you have css/js files from src/extensions/rsrc/ loaded automatically:

Feb 12 2024, 19:46 · UX, Discussion Needed
avivey created P31 CelerityStuffFromExtensions.
Feb 12 2024, 19:45
avivey added a comment to T15736: JavaScript modernization (umbrella task).

to have a working dev server when developing js - at the moment I have to ./bin/celerity map after every change to js and css to see my changes...

Feb 12 2024, 19:44 · UX, Discussion Needed
avivey added a comment to T15739: Replace celerity postprocessors with real css variables.

Looks to me that the existing system is better at providing Themes? It allows real code, inheritance, etc. to set variable values.
That is, I think Extension Themes are better off writing PHP Post-Processor rather then CSS vars.

Feb 12 2024, 19:36 · Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 17:27 · Discussion Needed
bekay added a comment to T15039: Add a button to copy key information.
In T15039#1358, @bekay wrote:

The clone repo modal could really use some copy buttons.

image.png (282×854 px, 20 KB)

Preferably replacing the Read / Write Button.

Feb 12 2024, 16:50 · Differential
bekay updated the task description for T15735: Fix the various CSS inconsistencies of phui tags.
Feb 12 2024, 16:49
bekay renamed T15735: Fix the various CSS inconsistencies of phui tags from Fix the various inconsistenies of phui tags to Fix the various inconsistencies of phui tags.
Feb 12 2024, 16:49
bekay added a comment to T15705: Lower the search ranking of disabled user accounts.

I don't know if that is part of this task, but the global typeahead search should hide all disabled users, wikis and repos, shouldn't it? This is nothing you want as a fast suggestion...

Feb 12 2024, 16:46 · UX
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 16:42
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:40 · Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:32 · Discussion Needed
bekay updated the task description for T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:31 · Discussion Needed
valerio.bozzolan awarded T15739: Replace celerity postprocessors with real css variables a Like token.
Feb 12 2024, 16:31 · Discussion Needed
bekay created T15739: Replace celerity postprocessors with real css variables.
Feb 12 2024, 16:24 · Discussion Needed
valerio.bozzolan added a comment to T15152: MFA: Avoid to having to wait a minute so often, for example right after login.

I've better triaged my root problem.

Feb 12 2024, 16:16 · User-valerio.bozzolan
valerio.bozzolan updated the task description for T15152: MFA: Avoid to having to wait a minute so often, for example right after login.
Feb 12 2024, 16:09 · User-valerio.bozzolan
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 15:40
valerio.bozzolan added a comment to T15410: Discussion: stacked diffs / dependent revisions.

So maybe this is just a matter of parsing that commit part "Depends-on:" since everything else seem already implemented to me. Partially related quiz in T15738

Feb 12 2024, 13:49 · Differential
valerio.bozzolan triaged T15738: "parent"/"child" relationship for "Related Revisions" is different to "Related Tasks" as Wishlist priority.
Feb 12 2024, 13:43 · UX, Differential
bekay added a comment to T15735: Fix the various CSS inconsistencies of phui tags.

Just as a reminder for me: Using a css variable for the height of the tags would be best. I could be overwritten at any point.

Feb 12 2024, 13:06
bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 12 2024, 13:03
bekay added a comment to T15736: JavaScript modernization (umbrella task).

Well, my idea would be:

Feb 12 2024, 12:56 · UX, Discussion Needed
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Updates map
Feb 12 2024, 12:45
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Fixes some js linting warnings
Feb 12 2024, 12:44
bekay attached a referenced file: F1360344: image.png.
Feb 12 2024, 12:37
bekay attached a referenced file: Unknown Object (File).
Feb 12 2024, 12:37
deric added a comment to D25491: Improve contrast of Links in Dark Mode.

@aklapper Yeah, that would be great. Sorry, I don't have a working dev instance right now.

Feb 12 2024, 12:35
bekay requested review of D25536: Implements copy button in clone repo modal.
Feb 12 2024, 12:33
aklapper added a comment to D25491: Improve contrast of Links in Dark Mode.

@deric: Hi, would you like to arc land your patch, or do you need any help? Thanks in advance!

Feb 12 2024, 12:29
aklapper added a comment to D25502: Make PhabricatorSearchIntField validate its input.

For the records, adding public function getValueForQuery($value) is needed because otherwise Expected a numeric scalar or null for %d conversion. Query: project.projectDepth >= %d

Feb 12 2024, 12:28
aklapper added a comment to D25502: Make PhabricatorSearchIntField validate its input.

Would anyone fancy reviewing this? :)

Feb 12 2024, 12:27
aklapper closed T15685: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Feb 12 2024, 12:26 · PHP 8 support
aklapper closed T15685: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured as Resolved by committing rP052b5f41c705: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest….
Feb 12 2024, 12:26 · PHP 8 support
aklapper closed D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Feb 12 2024, 12:26
aklapper committed rP052b5f41c705: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest….
Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest…
Feb 12 2024, 12:26
speck accepted D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

whoops

Feb 12 2024, 12:23
valerio.bozzolan edited the content of Next Up.
Feb 12 2024, 11:11
aklapper closed T15129: Unmark Audit as a required application as Resolved by committing rP821708414eec: Allow to uninstall (hide) Audit application.
Feb 12 2024, 11:10 · Diffusion, User-Cigaryno
aklapper closed D25503: Allow to uninstall (hide) Audit application.
Feb 12 2024, 11:10
aklapper committed rP821708414eec: Allow to uninstall (hide) Audit application.
Allow to uninstall (hide) Audit application
Feb 12 2024, 11:10
aklapper updated the diff for D25525: Improve messages when no image formats are supported (due to GD not installed).

Make code more readable

Feb 12 2024, 11:01
aklapper added a comment to D25525: Improve messages when no image formats are supported (due to GD not installed).

Maybe simplify if (empty($v)) { to just if ($v) { and swapping the case

Feb 12 2024, 11:00
valerio.bozzolan closed T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML. as Resolved by committing rPb445e1d80df9: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML.
Feb 12 2024, 10:52 · Auth, Bug Reports
valerio.bozzolan closed D25512: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML.
Feb 12 2024, 10:52
valerio.bozzolan committed rPb445e1d80df9: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML (authored by doommius).
Fix config transaction rendering error on auth page by allowing PhutilSafeHTML
Feb 12 2024, 10:52
sirocyl added a comment to D25512: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML.

@sirocyl Does this fix your issue? if yes, I can help in landing

Feb 12 2024, 10:52
sirocyl added a comment to T15706: Phorge/auth/config/view/3/ Call to phutil_nonempty_string() expected null or a string, got: PhutilSafeHTML..

Heck yeah, changing phutil_nonempty_string() to phutil_nonempty_stringlike() there fixed the issue I had mentioned in a comment in T15737: Include information for installing required PHP version in Diviner docs.

Feb 12 2024, 10:50 · Auth, Bug Reports
valerio.bozzolan updated subscribers of D25512: Fix config transaction rendering error on auth page by allowing PhutilSafeHTML.

@sirocyl Does this fix your issue? if yes, I can help in landing

Feb 12 2024, 10:47
sirocyl added a comment to T15737: Include information for installing required PHP version in Diviner docs.

On it, thank you!

Feb 12 2024, 10:47 · PHP 8 support, Good Starter Task, Documentation
valerio.bozzolan added a comment to T15737: Include information for installing required PHP version in Diviner docs.

My friend, I think you are affected by this change, and this applies to whatever PHP version

Feb 12 2024, 10:46 · PHP 8 support, Good Starter Task, Documentation
valerio.bozzolan accepted D25525: Improve messages when no image formats are supported (due to GD not installed).

I super-like the result of this in /project/manage/1/, so approved.

Feb 12 2024, 10:38
sirocyl added a comment to T15737: Include information for installing required PHP version in Diviner docs.

I'm on the latest pull, commit f81e821abf2b275d1778d02a018a4d0af7208be8.
A bit off topic here :) but I'll quickly sum up the issue I'm having (and am in the middle of trying things to fix):

  • Visiting https://[phorge instance]/auth/config/view/2/, where my Github auth item is, makes nginx dump a blank 502 page, no further info.
  • First instinct is to check the /var/log/nginx/error.log, where I get a PHP stack trace concatenated into one line, and an nginx header length error (reformatted for readability. the PHP error is truncated):
Feb 12 2024, 10:35 · PHP 8 support, Good Starter Task, Documentation
avivey added a comment to T15737: Include information for installing required PHP version in Diviner docs.

Oh, totally possible that I forgot to update it :)

Feb 12 2024, 10:14 · PHP 8 support, Good Starter Task, Documentation
valerio.bozzolan closed D25484: fix PHP 8 "strlen(null)" when moving paths with missing options.
Feb 12 2024, 10:05
valerio.bozzolan committed rPa7fb04f96c92: fix PHP 8 "strlen(null)" when moving paths with missing options (authored by jeanguyomarch).
fix PHP 8 "strlen(null)" when moving paths with missing options
Feb 12 2024, 10:05
valerio.bozzolan added a comment to D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

(@speck red light)

Feb 12 2024, 10:03
valerio.bozzolan accepted D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

Whops, forgot to approve this. Sorry! And thanks.

Feb 12 2024, 10:01
sirocyl added a comment to T15737: Include information for installing required PHP version in Diviner docs.

I'll take your word on it that it's supported, though the current installation guide says otherwise.
Further, I had a few roadbumps on a fresh install to a new server with PHP 8, that I suspect may relate to strlen(NULL) behavior, but I did need to set up PHP 7 to make sure that was or wasn't the case.
(I'm in the process of reproducing those and working out a possible cause or trace. Some manifested as warning banners, one as a 502 on my end in the GitHub auth provider.)

Feb 12 2024, 10:01 · PHP 8 support, Good Starter Task, Documentation
avivey added a comment to T15737: Include information for installing required PHP version in Diviner docs.

We already support PHP 8...

Feb 12 2024, 09:44 · PHP 8 support, Good Starter Task, Documentation
sirocyl updated the task description for T15737: Include information for installing required PHP version in Diviner docs.
Feb 12 2024, 07:38 · PHP 8 support, Good Starter Task, Documentation
sirocyl updated the task description for T15737: Include information for installing required PHP version in Diviner docs.
Feb 12 2024, 07:37 · PHP 8 support, Good Starter Task, Documentation
sirocyl created T15737: Include information for installing required PHP version in Diviner docs.
Feb 12 2024, 07:36 · PHP 8 support, Good Starter Task, Documentation

Feb 11 2024

20after4 triaged T15736: JavaScript modernization (umbrella task) as Wishlist priority.
Feb 11 2024, 22:32 · UX, Discussion Needed
20after4 added a subtask for T15736: JavaScript modernization (umbrella task): T15168: Improve JavaScript i18n.
Feb 11 2024, 22:32 · UX, Discussion Needed
20after4 added a parent task for T15168: Improve JavaScript i18n: T15736: JavaScript modernization (umbrella task).
Feb 11 2024, 22:32 · User-valerio.bozzolan, Localization
20after4 created T15736: JavaScript modernization (umbrella task).
Feb 11 2024, 22:31 · UX, Discussion Needed
sirocyl added a comment to T15630: Fix Fonts.

Agreed. We should not link fonts from outside our own assets (those hosted on an instance of Phorge.) I don't think I suggested that, but I don't disagree.

Feb 11 2024, 05:17

Feb 10 2024

bekay updated the task description for T15734: CSS modernization (umbrella task).
Feb 10 2024, 16:12
avivey added a comment to T15734: CSS modernization (umbrella task).

maybe include "allow extensions to provide themes" here...

Feb 10 2024, 16:00
avivey added a comment to T15630: Fix Fonts.

We should pack the fonts internally, not use an external source.
We pack all the assets we use, for cases where network access is limited by infosec types or by other reasons.
Just serving few font files from the site would be much simpler, and the extra bandwidth requirements are miniscule anyway.

Feb 10 2024, 15:47
sirocyl added a comment to T15630: Fix Fonts.

As far as bold/italic variants are concerned, for fonts that support it, you can preferentially serve the "variable" version and only fall back on specific font variants when that isn't supported, to save on bandwidth in most cases - since the e.g., Inter Variable font file "includes" the bold and italic, condensed and expanded versions, essentially "for free", as they're generated by the font engine/renderer on the fly from the base font.

Feb 10 2024, 15:16
bekay added a comment to T15630: Fix Fonts.

For consideration of the bigger picture, I'd like to mention https://collinmbarrett.com/block-web-fonts (performance etc) and for example Firefox 118+ blocking font fingerprinting in private windows (yes, private only, but I can vaguely imagine expansion).

Feb 10 2024, 15:09
sirocyl added a comment to T15630: Fix Fonts.

Inter and Noto look best to me (1080p laptop screen, Linux, Firefox, no scaling) given all default sizings in Phorge (as a drop-in replacement). Noto, I believe has a lot more Unicode symbol coverage, and a larger file size as a result; but Inter has variable font properties (e.g., more weights than "bold" and "regular", as well as condensed and expanded forms, letter variants for differentiating I/l O/0, etc).

Feb 10 2024, 14:44
aklapper added a comment to T15630: Fix Fonts.

For consideration of the bigger picture, I'd like to mention https://collinmbarrett.com/block-web-fonts (performance etc) and for example Firefox 118+ blocking font fingerprinting in private windows (yes, private only, but I can vaguely imagine expansion).

Feb 10 2024, 14:42
bekay updated the task description for T15735: Fix the various CSS inconsistencies of phui tags.
Feb 10 2024, 14:22
bekay added a comment to T15630: Fix Fonts.

Broader CSS discussion: T15734

Feb 10 2024, 14:21
bekay created T15735: Fix the various CSS inconsistencies of phui tags.
Feb 10 2024, 14:18
bekay added a parent task for T15056: Improve Dark Mode: T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit
bekay added a subtask for T15734: CSS modernization (umbrella task): T15056: Improve Dark Mode.
Feb 10 2024, 14:07
bekay added a parent task for T15630: Fix Fonts: T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07
bekay added a subtask for T15734: CSS modernization (umbrella task): T15630: Fix Fonts.
Feb 10 2024, 14:07
bekay created T15734: CSS modernization (umbrella task).
Feb 10 2024, 14:07
avivey added Q109: Multiple commits in one Audit? (Answer 140).
Feb 10 2024, 09:46
speck added a comment to Q108: Phorge and Mermaid Js (Answer 137).

A mermaid-js one could be written based on the old graphviz one:

Feb 10 2024, 03:54

Feb 9 2024

bekay added Q108: Phorge and Mermaid Js (Answer 139).
Feb 9 2024, 17:26
20after4 added a comment to T15673: Phorge participation at FOSDEM 2024.

TRUST ME - YOU DON'T WANT TO LISTEN MY ENGLISH :D :D

Btw now the video is here :D :D AGAIN SORRY PHORGE FOR MY MISTAKES <3 <3

Feb 9 2024, 17:10 · Blessed Communicators, Phorge
philj0st asked Q109: Multiple commits in one Audit?.
Feb 9 2024, 14:08 · Diffusion, Differential