Page MenuHomePhorge
Feed All Stories

Feb 21 2024

bekay added a comment to T15728: Repo home view and browse view share the same menu tab.

I tried to understand the situation. Thanks.

In your opinion: on the repo view (with clone buttons) is it really important to link to the other similar "reduced" view (without clone buttons)?

Feb 21 2024, 10:15 · Discussion Needed, Diffusion
valerio.bozzolan added a project to T15048: Allow awarding Tokens to individual Comments: Comments.
Feb 21 2024, 09:29 · Comments
valerio.bozzolan added a comment to T15728: Repo home view and browse view share the same menu tab.

I tried to understand the situation. Thanks.

Feb 21 2024, 08:03 · Discussion Needed, Diffusion

Feb 20 2024

avivey added a comment to Q111: How to disable noreply mailbox? (Answer 143).

Ok, see here: https://we.phorge.it/book/phorge/article/configuring_outbound_email/#outbound-quot-from-quot-and-quot

Feb 20 2024, 07:30
sicenul added a comment to Q111: How to disable noreply mailbox? (Answer 143).
  • I have setup cluster.mailers using smtp type (phorge-mailer@gmail.com (example only))
  • those messages are receive in phorge-mailer@gmail.com from google mailer, informing that noreply@phorge.domain.com is not reachable so it bounce.
  • I assume, it happened because phorge send outbound email:
    • using noreply@phorge.domain.com as "To" address
    • "cc" address to recipients
    • "From" with format "Username (Fullname) <phorge-mailer@gmail.com>"
  • Is it possible to disable or change "To" address other than noreply@phorge.domain.com, because I didn't setup phorge.domain.com to receive email.
Feb 20 2024, 03:22

Feb 19 2024

avivey added a comment to T15512: Make Flags more useful.

btw, for the "search" use-case I'm describing, I'm imagining something like a Function on Users/project, so I can search, for example "Tasks that are assigned to users which I flagged with a green flag" or "Tasks that have a tag that I flagged with a blue flag".
And also, "Revisions that I flagged with any flag".

Feb 19 2024, 21:59
avivey added a comment to T15512: Make Flags more useful.

I looked into this again.

Feb 19 2024, 21:54
avivey added Q111: How to disable noreply mailbox? (Answer 143).
Feb 19 2024, 19:59
sicenul asked Q111: How to disable noreply mailbox?.
Feb 19 2024, 11:11

Feb 17 2024

avivey edited the content of How to Write Extensions.
Feb 17 2024, 13:33 · Extension Development
avivey created an object: How to Install Extensions.
Feb 17 2024, 13:32 · Extension Development
20after4 awarded R11:741e2946b93f: license a Like token.
Feb 17 2024, 12:52
avivey committed R11:741e2946b93f: license.
license
Feb 17 2024, 11:13
avivey committed R11:f9e20362b385: Fix nestes lists and work on Inputs too.
Fix nestes lists and work on Inputs too
Feb 17 2024, 11:13
avivey committed R11:b77da03b97ce: Create lightweight RTL extension.
Create lightweight RTL extension
Feb 17 2024, 11:13
Iniquity added a comment to D25491: Improve contrast of Links in Dark Mode.

Hello! Are you sure changing the links color is a good idea? Perhaps we should just make the background darker?

Feb 17 2024, 10:46 · UX, Accessibility
Iniquity awarded T15056: Improve Dark Mode a Love token.
Feb 17 2024, 10:36 · User-Cigaryno, User-valerio.bozzolan, Accessibility, User-Bukkit

Feb 16 2024

Wikivu resigned from rPaf06bfb1cc49: Make Changeset ID for render cache explicit.

Wiki volkankaos

Feb 16 2024, 16:07
Wikivu added 1 auditor(s) for rPaf06bfb1cc49: Make Changeset ID for render cache explicit: Wikivu.
Feb 16 2024, 16:06
bekay added a comment to T15048: Allow awarding Tokens to individual Comments.

Just asking for a friend: Is there some progress on this?

Feb 16 2024, 12:43 · Comments
bekay updated subscribers of Q108: Phorge and Mermaid Js (Answer 139).

Maybe this could be integrated in the Diagrams extension...? I mean: the entire infrastructure is there - you just have to decide, what lib you wanne use when creating a new diagram. @mturdus What do you think about this?

Feb 16 2024, 12:35
avivey created an object: How to Write Extensions.
Feb 16 2024, 11:05 · Extension Development
avivey created an object: Extensions.
Feb 16 2024, 11:05
valerio.bozzolan added a comment to Q110: Non working URL for query overheated explanation page.

It would be a pleasure to receive a patch from you :) The file should be this one:

Feb 16 2024, 11:00
valerio.bozzolan updated the question details for Q110: Non working URL for query overheated explanation page.
Feb 16 2024, 10:57
avivey added Q110: Non working URL for query overheated explanation page (Answer 142).
Feb 16 2024, 10:57
sicenul changed the visibility for F1375625: image.png.
Feb 16 2024, 10:40
sicenul changed the visibility for F1375613: image.png.
Feb 16 2024, 10:39
sicenul asked Q110: Non working URL for query overheated explanation page.
Feb 16 2024, 10:39
avivey edited the content of Community Resources.
Feb 16 2024, 10:25
avivey created an object: Community Resources.
Feb 16 2024, 10:06
avivey added a comment to D25535: T15011: Update support for XHPast on Windows.

Maybe this is wild, but: should we consider removing the compiled xhpast.exe file from the repository, and host is externally?
I think it's only used for working on PHP on Windows; The equivalent xhpast isn't included, presumably because compiling stuff on Windows is harder.
My argument for this is that the normal way to install arcanist is git clone, which downloads all the history (and 95% of users won't need this particular file).

Feb 16 2024, 08:08

Feb 15 2024

valerio.bozzolan added inline comments to D25535: T15011: Update support for XHPast on Windows.
Feb 15 2024, 23:48
valerio.bozzolan added inline comments to D25535: T15011: Update support for XHPast on Windows.
Feb 15 2024, 23:47
valerio.bozzolan accepted D25535: T15011: Update support for XHPast on Windows.

Passed a week. Nobody commented. I blindly trust you in this field :3 Approve.

Feb 15 2024, 23:46
valerio.bozzolan accepted D25537: Update PHP versions in install guide: Remove 5, Add 8..

sgtm

Feb 15 2024, 23:43
valerio.bozzolan edited the content of Next Up.
Feb 15 2024, 23:15
bekay attached a referenced file: F1360344: image.png.
Feb 15 2024, 19:01
bekay attached a referenced file: F1368592: image.png.
Feb 15 2024, 19:01
bekay 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

https://video.fosdem.org/2024/h2215/fosdem-2024-3610-unpack-phabricator-welcome-phorge-forking-the-opinionated-open-source-project-manager.av1.webm

Feb 15 2024, 18:59 · Blessed Communicators, Phorge
bekay closed D25536: Implements copy button in clone repo modal.
Feb 15 2024, 18:38
bekay committed rP89a5d3132c94: Implements copy button in clone repo modal.
Implements copy button in clone repo modal
Feb 15 2024, 18:38
bekay updated the diff for D25536: Implements copy button in clone repo modal.
Feb 15 2024, 18:35
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

Premising that I've already accepted I noticed also this minor possible thing:

Feb 15 2024, 16:55
valerio.bozzolan accepted D25536: Implements copy button in clone repo modal.

Lovely thanks :)

Feb 15 2024, 16:49
bekay added a comment to D25536: Implements copy button in clone repo modal.

I really have struggled to find any device in our company that can't do await/async. I strongly bevlieve it is a non issue. Let us land this thing now and see if we get any feedback of an error.

Feb 15 2024, 16:29
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Changes the order of the variables and function calls
Feb 15 2024, 16:29
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Extends select behavior and only select content on first click
Feb 15 2024, 16:23
avivey added a comment to D25536: Implements copy button in clone repo modal.

The ".then()" part is pure hackness; The async/await is the sane way to do async programming.

Feb 15 2024, 10:39
bekay added a comment to D25536: Implements copy button in clone repo modal.

Again, non-blocking opinion:

Are we aware that the "async" keyword (that was never used in Phorge) may just cause a crash by syntax error (almost-immediately even without clicking?) by that kind of browsers, so, breaking the page, just because we want to provide a copy function and we want to avoid .then()?

I think we can introduce breaking changes, but it's strange to do that, now, with this minor feature.

If we are aware of this minor risk, indeed let's land.

Feb 15 2024, 10:08
valerio.bozzolan added inline comments to D25536: Implements copy button in clone repo modal.
Feb 15 2024, 10:07
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

Again, non-blocking opinion:

Feb 15 2024, 09:43
bekay added a comment to D25536: Implements copy button in clone repo modal.

Additional non-blocking thing:

Maybe should be copy(text) with var data defined outside

Bonus point: copy() not defined during every call of JX.Stratcom.listen, but outside (?)

Feb 15 2024, 09:23
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

Additional non-blocking thing:

Feb 15 2024, 09:13
valerio.bozzolan awarded D25536: Implements copy button in clone repo modal a Like token.
Feb 15 2024, 09:08
bekay added a comment to D25536: Implements copy button in clone repo modal.

Yes, we can avoid async.

So, this is just a tip, to avoid async and also to have everything a little more modular for no reason:

  1. remove async from copy()
  2. rename copy() to copyWithoutFeedback() and have the function that always return a Promise
    • so copyWithoutFeedback() has return navigator.clipboard.writeText(text); to always return a Promise
    • so copyWithoutFeedback() can use copyWithFeedback() but after that it return Promise.resolve(true) to always return a Promise
    • so copyWithoutFeedback() can fail with just return Promise.reject() to always return a Promise
  3. so we can create the function with feedback, copyWithFeedback(), that just calls the previous one, so, copyWithoutFeedback().then(function() { show_success_message() } ); with also a chained .fail( function() { show_error_message(); } ) or something similar
Feb 15 2024, 08:52
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Updates map
Feb 15 2024, 08:36
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • Ignores async jshint
Feb 15 2024, 08:35
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

First of all, I tested this, and this is super-lovely, really better than I thought, I love this. Thanks.

Feb 15 2024, 08:11

Feb 14 2024

avivey added a comment to D25536: Implements copy button in clone repo modal.

oh, for this one we can just ignore it. arc only shows these for new lines

Feb 14 2024, 18:42
bekay edited the content of Organizations Using Phorge.
Feb 14 2024, 17:36
bekay requested review of D25538: Separate repository home and browse view in tab menu.
Feb 14 2024, 17:27
bekay added a revision to T15728: Repo home view and browse view share the same menu tab: D25538: Separate repository home and browse view in tab menu.
Feb 14 2024, 17:27 · Discussion Needed, Diffusion
bekay added a comment to D25536: Implements copy button in clone repo modal.

I'll try to see if there's config for the jshint to allow async.

Feb 14 2024, 16:36
avivey accepted D25536: Implements copy button in clone repo modal.

I'm happy about the JS stuff, and I'm ok with any UI solution here.
I'll try to see if there's config for the jshint to allow async.

Feb 14 2024, 16:32
bekay added a comment to D25536: Implements copy button in clone repo modal.

Well, now I have tried to satisfy every wish.

Feb 14 2024, 16:05
bekay updated the diff for D25536: Implements copy button in clone repo modal.
  • use async/await for copy promise hell
  • make the io button to just a type icon
  • select entire text when clicking inside the input field
  • patch JsShrink to shrink await/async syntax
Feb 14 2024, 16:01
bekay updated the summary of D25536: Implements copy button in clone repo modal.
Feb 14 2024, 15:49
avivey added a comment to D25536: Implements copy button in clone repo modal.

We can probably just pull the JsShrink fix in for now, and later replace both it and jsxmin (which I'll bet nobody have) with something else that is maintained, like JShrink.

Feb 14 2024, 12:41
bekay added a comment to D25536: Implements copy button in clone repo modal.

(This Quickfix would help: https://github.com/vrana/JsShrink/pull/6/commits/5b2dd500d25b29ace2fbd76fc95b4518ef22abfc 😆 )

Feb 14 2024, 12:39
bekay added a comment to D25536: Implements copy button in clone repo modal.

await/async won't go through the shrink process without destroying the entire syntax. And if it will go through this jsxmin binary, who can know? Note for the future: Maybe replace the entire shrink process with a new and used php shrinker like JShrink.

Feb 14 2024, 12:13
avivey added a comment to D25536: Implements copy button in clone repo modal.

(Just to clarify, and sorry if late comment again - I was proposing to avoid to add buttons, and simply auto-select and auto-copy the input text the first time it receives a click. Bonus: with "copied" message feedback - I have untested this sorry)

Feb 14 2024, 11:20
bekay added a comment to D25536: Implements copy button in clone repo modal.

@avivey worst case is a syntax error because the operators are not known. Even that could be wrapped inside a try/catch.
@valerio.bozzolan could be done with the current behavior but this kind of implicit actions seems not the phorge way...?

Feb 14 2024, 10:10
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

(Just to clarify, and sorry if late comment again - I was proposing to avoid to add buttons, and simply auto-select and auto-copy the input text the first time it receives a click. Bonus: with "copied" message feedback - I have untested this sorry)

Feb 14 2024, 09:37
avivey added a comment to D25536: Implements copy button in clone repo modal.

Our policy in general is "support things way after the go EOL", but with the cost of supporting IE 11 (this kind of hell), I think we can make an exception and throw it under the bus. Worst case, we're talking about an error in the logs and "nothing happening" from the user POV, right?

Feb 14 2024, 09:29
sirocyl edited the content of Organizations Using Phorge.
Feb 14 2024, 09:26
valerio.bozzolan added a comment to Organizations Using Phorge.

I've successfully updated our Phabricator instance to Phorge today. After paying very careful attention to everything it went smoothly without any issues. Glad that this project has not died. Phabricator grew on me as well.

Feb 14 2024, 09:24
bekay added a comment to D25536: Implements copy button in clone repo modal.

Yes, I insist on using the absolute required minimum of Promise-style coding.

Feb 14 2024, 08:56
sirocyl added a comment to Organizations Using Phorge.

Should we add FreeBSD to this list? It uses Phorge now (as of June 2023) and has many users.
(Much of their documentation still refers to it as "Phabricator", despite this.)

Feb 14 2024, 00:52
sirocyl updated the answer details for Q18: Lowest and Highest supported PHP (Answer 141).
Feb 14 2024, 00:10
sirocyl added Q18: Lowest and Highest supported PHP (Answer 141).
Feb 14 2024, 00:09

Feb 13 2024

20after4 added a comment to T15705: Lower the search ranking of disabled user accounts.

I agree, disabled users should be hidden in the global search typeahead results.

Feb 13 2024, 23:22 · Spam mitigation, UX
20after4 added a comment to T15736: JavaScript modernization (umbrella task).
In T15736#15681, @bekay wrote:
  • Get rid of the JX namespace and the the require comments - use import and export like it is done in modern js
Feb 13 2024, 23:21 · UX, Discussion Needed
aklapper closed T15720: Improve messages when no image formats are supported (due to GD not installed) as Resolved by committing rPe2bec4c1f58b: Improve messages when no image formats are supported (due to GD not installed).
Feb 13 2024, 16:07
aklapper closed D25525: Improve messages when no image formats are supported (due to GD not installed).
Feb 13 2024, 16:07
aklapper committed rPe2bec4c1f58b: Improve messages when no image formats are supported (due to GD not installed).
Improve messages when no image formats are supported (due to GD not installed)
Feb 13 2024, 16:07
aklapper updated the diff for D25502: Make PhabricatorSearchIntField validate its input.

Remove unreached return call as pointed out by speck

Feb 13 2024, 15:58
aklapper added a comment to D25502: Make PhabricatorSearchIntField validate its input.
In D25502#15384, @speck wrote:

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

Feb 13 2024, 15:56
valerio.bozzolan added a comment to D25536: Implements copy button in clone repo modal.

Sorry for my late comment

Feb 13 2024, 14:28
avivey added a comment to D25536: Implements copy button in clone repo modal.

Yes, I insist on using the absolute required minimum of Promise-style coding.
I don't know if we have any other example of a Promise-based API used - there might be an example somewhere on how to break away from it and go back to sane code.

Feb 13 2024, 09:53
bekay added a comment to D25536: Implements copy button in clone repo modal.

I have to wait for the success or failure of the copy action, so I think this ui example makes no sense for my case. The notification should not be triggered by a button click.

Feb 13 2024, 09:42
bekay added a comment to D25536: Implements copy button in clone repo modal.
Feb 13 2024, 09:35
avivey added a comment to D25536: Implements copy button in clone repo modal.
try {
  if (new_copy) {
    new_copy(text);
  } else {
    old_copy(text);
  } 
  show_message(good);
} catch (ex) {
  show_message(bad);
}
Feb 13 2024, 09:34
avivey requested changes to D25536: Implements copy button in clone repo modal.

Don't do that thing to the JS file. To add a notification, use the existing notification feature we already have - see https://we.phorge.it/uiexample/view/PhabricatorNotificationUIExample/ (https://we.phorge.it/source/phorge/browse/master/src/applications/uiexample/examples/PhabricatorNotificationUIExample.php).

Feb 13 2024, 09:21
avivey added a comment to T15739: Replace celerity postprocessors with real css variables.

I'm not against replacing the mechanism - It's just that the original task description doesn't specify why that would be good (i.e., what the benefit would be).
That's clear from the discussion now, but should generally be included in the ticket description - the "describe "what", not "how"" principle.

Feb 13 2024, 07:57 · Discussion Needed
sirocyl added a comment to T15739: Replace celerity postprocessors with real css variables.

A big benefit of using client-side variables in CSS, is that one can use the browser's prefers-color-scheme media query to select light or dark mode based on the user's browser or system setting, automatically, and that the transition from light to dark mode, or to other accent/highlight color schemes, requires no reload.

Feb 13 2024, 04:02 · Discussion Needed
sirocyl closed T15737: Include information for installing required PHP version in Diviner docs as Wontfix.
Feb 13 2024, 03:34 · PHP 8 support, Good Starter Task, Documentation

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