Page MenuHomePhorge
Feed All Stories

Oct 5 2021

dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.

We can have a i18n option for both confirmDialog and alertDialog.... Let's do this, who is down?

Oct 5 2021, 03:38 · Maniphest (archived)
dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.
In D25015#793, @dcog wrote:
In D25015#792, @dcog wrote:

Thanks -- Can anyone think of a more generic solution here as far as dialogs? Something for both confirm() and prompt().

One thing to note here: Native JavaScript blocks execution when these functions are used. This is apparently nearly impossible behavior to mimic exactly, but we can solve this with asynchronous functions with our generic and platform-specific confirm() and alert() functions. Otherwise, should there be an always-available global translation for both alert() and confirm()?

Example of custom confirm():

JX.confirm({
  message: "Form data may have changed. Are you sure you want to close this dialog?",
  buttonConfirm: "Discard Changes",
  buttonCancel: "Cancel",
  onConfirm: function() {
    // Something something
  }
});

But it would need translation added...

Oct 5 2021, 03:37 · Maniphest (archived)
dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.
In D25015#792, @dcog wrote:

Thanks -- Can anyone think of a more generic solution here as far as dialogs? Something for both confirm() and prompt().

One thing to note here: Native JavaScript blocks execution when these functions are used. This is apparently nearly impossible behavior to mimic exactly, but we can solve this with asynchronous functions with our generic and platform-specific confirm() and alert() functions. Otherwise, should there be an always-available global translation for both alert() and confirm()?

Oct 5 2021, 03:36 · Maniphest (archived)
dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.

Thanks -- Can anyone think of a more generic solution here as far as dialogs? Something for both confirm() and prompt().

Oct 5 2021, 03:35 · Maniphest (archived)

Oct 4 2021

Ekubischta updated the task description for T15051: default.pem in Arcanist is out of date - maybe remove it completely?.
Oct 4 2021, 13:49 · Arcanist
Ekubischta updated the summary of D25023: Updated Arcanist default.pem with the most recent one from Mozilla.
Oct 4 2021, 13:37
Ekubischta requested review of D25023: Updated Arcanist default.pem with the most recent one from Mozilla.
Oct 4 2021, 13:34
Ekubischta added a revision to T15051: default.pem in Arcanist is out of date - maybe remove it completely?: D25023: Updated Arcanist default.pem with the most recent one from Mozilla.
Oct 4 2021, 13:34 · Arcanist
Ekubischta updated the task description for T15051: default.pem in Arcanist is out of date - maybe remove it completely?.
Oct 4 2021, 13:24 · Arcanist
kerberizer updated kerberizer.
Oct 4 2021, 13:20

Oct 3 2021

vedranmiletic added a comment to T15049: Segoe UI Symbol provides bad user experience.
In T15049#1329, @avivey wrote:

Sague font family is probably important on Windows.

... available by default for some reason on Garuda Linux, while Segoe UI is not available.

This might be a bug in Garuda? That sounds like a strange choice.

Oct 3 2021, 10:57 · Fonts
vedranmiletic updated the diff for D25021: Added cross-platform default fonts.

This revision only adds cross-platform default fonts and doesn't remove any of the existing ones.

Oct 3 2021, 10:55
vedranmiletic retitled D25021: Added cross-platform default fonts from Remove variants of Segoe UI except default from fonts list and add more useful defaults
Oct 3 2021, 10:53
sau226 updated sau226.
Oct 3 2021, 05:59

Oct 1 2021

DigitalWork updated DigitalWork.
Oct 1 2021, 11:22
bekay added a comment to T15039: Add a button to copy key information.

The clone repo modal could really use some copy buttons.

Oct 1 2021, 09:06 · Differential
bekay awarded T15039: Add a button to copy key information a Like token.
Oct 1 2021, 09:02 · Differential
bekay added a comment to D25022: Added the Jxxx Monogram to Phame Post Tab Titles.

Then maybe just show the monogram when logged in.

Oct 1 2021, 08:02 · Phame (archived)

Sep 30 2021

Ekubischta updated the task description for T15051: default.pem in Arcanist is out of date - maybe remove it completely?.
Sep 30 2021, 21:27 · Arcanist
Ekubischta created T15051: default.pem in Arcanist is out of date - maybe remove it completely?.
Sep 30 2021, 21:26 · Arcanist
20after4 added a comment to T15048: Allow awarding Tokens to individual Comments.
In T15048#1311, @Leon95 wrote:

^^ Awarding a Token to a "... awarded a token." Message would be a weird case. But what about removing this Message completely? (or add the Option to hide them) It bloats the history of some Objects imensely and is not that usefull in my opinion.

Sep 30 2021, 13:59 · Comments
20after4 awarded T15048: Allow awarding Tokens to individual Comments a Love token.
Sep 30 2021, 13:55 · Comments

Sep 26 2021

Ekubischta added a comment to D25022: Added the Jxxx Monogram to Phame Post Tab Titles.
In D25022#768, @speck wrote:

Thinking about this a little more it could be intentional for these to not have monograms displayed in the page title. Tasks, Revisions, etc. are more meant to be directed to internal users of the system while Phame blog posts may also be directed to external users where a monogram might be more confusing. What do you think?

Sep 26 2021, 02:18 · Phame (archived)

Sep 25 2021

speck added a comment to T15050: Add Monograms to Phame Post Titles.

I mentioned on the diff but also mentioning here. Blog posts can be directed to users external of the system where monograms might be more confusing. Maybe we can find another place on the page to put the monogram that doesn't affect the title?

Sep 25 2021, 16:52
speck requested changes to D25022: Added the Jxxx Monogram to Phame Post Tab Titles.

Marking as request changes during discussion

Sep 25 2021, 16:50 · Phame (archived)
speck added a comment to D25022: Added the Jxxx Monogram to Phame Post Tab Titles.

Thinking about this a little more it could be intentional for these to not have monograms displayed in the page title. Tasks, Revisions, etc. are more meant to be directed to internal users of the system while Phame blog posts may also be directed to external users where a monogram might be more confusing. What do you think?

Sep 25 2021, 16:50 · Phame (archived)
speck accepted D25022: Added the Jxxx Monogram to Phame Post Tab Titles.

lgtm - I compared to a few other views just to confirm this is the same approach for adding monogram to the title. Thanks!

Sep 25 2021, 16:42 · Phame (archived)

Sep 24 2021

Ekubischta updated the summary of D25022: Added the Jxxx Monogram to Phame Post Tab Titles.
Sep 24 2021, 18:03 · Phame (archived)
Ekubischta updated the summary of D25022: Added the Jxxx Monogram to Phame Post Tab Titles.
Sep 24 2021, 18:02 · Phame (archived)
Ekubischta added a revision to T15050: Add Monograms to Phame Post Titles: D25022: Added the Jxxx Monogram to Phame Post Tab Titles.
Sep 24 2021, 18:01
Ekubischta requested review of D25022: Added the Jxxx Monogram to Phame Post Tab Titles.
Sep 24 2021, 18:01 · Phame (archived)
Ekubischta created T15050: Add Monograms to Phame Post Titles.
Sep 24 2021, 17:41
vedranmiletic added a comment to T15049: Segoe UI Symbol provides bad user experience.
In T15049#1329, @avivey wrote:

Sague font family is probably important on Windows.

Sep 24 2021, 08:51 · Fonts
avivey added a comment to T15049: Segoe UI Symbol provides bad user experience.

Sague font family is probably important on Windows.

Sep 24 2021, 08:31 · Fonts

Sep 23 2021

Ekubischta added a comment to T15048: Allow awarding Tokens to individual Comments.

Referencing this "short" discussion that I remember from Discourse

Sep 23 2021, 13:36 · Comments

Sep 22 2021

vedranmiletic updated vedranmiletic.
Sep 22 2021, 23:04
vedranmiletic updated vedranmiletic.
Sep 22 2021, 23:03
vedranmiletic added a comment to T15049: Segoe UI Symbol provides bad user experience.

Another, perhaps more useful example.

Sep 22 2021, 23:02 · Fonts
vedranmiletic requested review of D25021: Added cross-platform default fonts.
Sep 22 2021, 23:00
vedranmiletic added a revision to T15049: Segoe UI Symbol provides bad user experience: D25021: Added cross-platform default fonts.
Sep 22 2021, 23:00 · Fonts
vedranmiletic created T15049: Segoe UI Symbol provides bad user experience.
Sep 22 2021, 22:55 · Fonts
G awarded T15048: Allow awarding Tokens to individual Comments a Mountain of Wealth token.
Sep 22 2021, 21:13 · Comments
pasik added a comment to T15047: Officially raise minimum required PHP version to 7.2.

and yes, I'm also running phabricator on top of CentOS 7 (using PHP 7.x via SCL).

Sep 22 2021, 20:55 · Phorge
pasik added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Isn't Centos End of Life soon?

Sep 22 2021, 20:55 · Phorge
Leon95 awarded T15048: Allow awarding Tokens to individual Comments a The World Burns token.
Sep 22 2021, 20:21 · Comments
Leon95 added a comment to T15048: Allow awarding Tokens to individual Comments.

^^ Awarding a Token to a "... awarded a token." Message would be a weird case. But what about removing this Message completely? (or add the Option to hide them) It bloats the history of some Objects imensely and is not that usefull in my opinion.

Sep 22 2021, 20:11 · Comments
speck renamed T15047: Officially raise minimum required PHP version to 7.2 from Oficially raise minimum required PHP version to 7.2 to Officially raise minimum required PHP version to 7.2.
Sep 22 2021, 19:44 · Phorge
speck added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Is it possible to pick a branching off point?

Yep I think this makes sense and is why I think our first release should still support PHP 5.4 but we can move off it after that.

Sep 22 2021, 19:43 · Phorge
Ekubischta added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Is it possible to pick a branching off point?

Sep 22 2021, 19:35 · Phorge
avivey added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Also, https://secure.phabricator.com/T7413 for the phone-home feature.

Sep 22 2021, 19:02 · Phorge
avivey added a comment to T15047: Officially raise minimum required PHP version to 7.2.

The kind of teams that use Centos/Redhat are very conservative - they're exactly the teams that would not install PHP from an "alternative" source (or from source code). They also tend to keep to older OS versions, as long as they are supported, and would not be happy with a single machine being different from the rest.
All that to say, it would make these teams sad to require an upgrade.

Sep 22 2021, 19:02 · Phorge
chris awarded T15048: Allow awarding Tokens to individual Comments a Mountain of Wealth token.
Sep 22 2021, 18:53 · Comments
taavi added a comment to T15047: Officially raise minimum required PHP version to 7.2.

I'm mostly a Debian person (so I'm not aware of CentOS specifics) but my understanding is that CentOS 7 shipped with PHP 5.4 and has newer versions available via alternative repositories (not sure if official or not), while CentOS 8 (and Rocky Linux 8, if that matters) had PHP 7.2 by default and shipped a few years back. Is there a reason we're not basing our PHP support on latest distro releases (plus something like a year or two for a transition buffer), especially if newer PHP versions are available for older distro versions available as backports? I don't think requiring PHP / distro upgrades every few years is unreasonable.

Sep 22 2021, 18:38 · Phorge
Ekubischta added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Isn't Centos End of Life soon?

Sep 22 2021, 18:23 · Phorge
Ekubischta awarded T15048: Allow awarding Tokens to individual Comments a Mountain of Wealth token.
Sep 22 2021, 18:22 · Comments
avivey created T15048: Allow awarding Tokens to individual Comments.
Sep 22 2021, 16:15 · Comments
avivey added a comment to T15047: Officially raise minimum required PHP version to 7.2.

+1 for CentOS 7.

Sep 22 2021, 16:04 · Phorge
eax added a comment to T15047: Officially raise minimum required PHP version to 7.2.

Agreed. We should aim to follow some specific conservative release. CentOS 7 seems reasonable.

Sep 22 2021, 04:23 · Phorge
speck added a comment to T15043: Automatically move tasks between columns on project boards.

Expressing the desired behavior here seems difficult to fit into Herald.

  • Level: Global
  • Trigger: When a task's status is changed
  • Action: Move the task to a different column X on project Y
Sep 22 2021, 01:46 · Workboard
speck added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.
In D25015#735, @avivey wrote:

I may be late for the party, but can't the translated verbiage be provided to the dialog in the $form_attributes in AphrontDialogView.php:337, and read using form.getAttribute(key) in the js?

I looked at the $form_attributes a week or so back but I think those end up being transformed into the literal HTML attributes of the dialog's <form> element. I think we need to add a new field to the dialog, something like setMetadata() that @dcog found in the workboard view.

Sep 22 2021, 01:16 · Maniphest (archived)
speck added a comment to T15012: Update Diviner documentation to reference Phorge.

We should include the Diviner and tech docs generation as part of the upgrade process of this server, that should ensure it's always up to date.

Sep 22 2021, 01:09 · Phorge
speck added a comment to T15010: Vision Statement.

@MikeCripps welcome aboard! I added you to trusted contributors group.

Sep 22 2021, 00:52 · Phorge, Governance
speck changed the image for Image Macro "shipit".
Sep 22 2021, 00:51
speck changed the image for Image Macro "chadyes".
Sep 22 2021, 00:51
speck added a member for Trusted Contributors: MikeCripps.
Sep 22 2021, 00:50
speck added a comment to T15047: Officially raise minimum required PHP version to 7.2.

I think our general strategy here should be focused around the versions of PHP available from the default/common package repositories for major server-based Linux distributions. There might be some situations where those package repositories only support very old versions (e.g. CentOS 7) which we should only plan to provide documentation for how to get the required version of PHP installed.

Sep 22 2021, 00:49 · Phorge
speck added a comment to D25016: Make Datepicker translatable.

Thanks for submitting this update!

Sep 22 2021, 00:45 · Calendar
speck closed D25016: Make Datepicker translatable.
Sep 22 2021, 00:45 · Calendar
speck committed rPb293e6ffed0d: Make Datepicker translatable (authored by Leon95).
Make Datepicker translatable
Sep 22 2021, 00:45

Sep 20 2021

avivey added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.

I may be late for the party, but can't the translated verbiage be provided to the dialog in the $form_attributes in AphrontDialogView.php:337, and read using form.getAttribute(key) in the js?

Sep 20 2021, 15:04 · Maniphest (archived)

Sep 18 2021

MacFan4000 added a comment to T15012: Update Diviner documentation to reference Phorge.

I will note that also the tech docs aren’t fully generated since there should be docs for most of the phorge/phabricator classes. Also the arcanist docs aren’t generated at all.

Sep 18 2021, 18:11 · Phorge
Leon95 added a comment to T15012: Update Diviner documentation to reference Phorge.

The Server also needs to periodically rebuild the Diviner Books to keep them in sync with Source Code. Eg. just set up a crontab entry. Or later, if more traffic is on the page: rebuild it once a commit affecting the Docs is committed.

Sep 18 2021, 14:53 · Phorge

Sep 17 2021

Ekubischta added a comment to T15043: Automatically move tasks between columns on project boards.

The Herald rule should be project specific. If X happens then move task to Project->Column

Sep 17 2021, 15:35 · Workboard
dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.

What if, to get this functionality pushed through, we for now change the verbiage to two English words -- "Discard changes?"

Sep 17 2021, 02:17 · Maniphest (archived)
dcog added a comment to T15010: Vision Statement.

Any chance that anyone has insight on D25015? Specifically, a way to get l18n (internationalization/translation) information from PHP into JavaScript from a minimalist approach

Sep 17 2021, 00:14 · Phorge, Governance
dcog added a comment to T15010: Vision Statement.

Really glad to see Phabricator will live on - I've previously managed some bugfixes in an external repo and would love to try to get them into upstream. I've run Phabricator instances for 7 of the last 9 years (and was unable to convince my previous employer to switch) so I've got a bit of experience on the managing side as well.

Sep 17 2021, 00:11 · Phorge, Governance

Sep 16 2021

MikeCripps added a comment to T15010: Vision Statement.

Really glad to see Phabricator will live on - I've previously managed some bugfixes in an external repo and would love to try to get them into upstream. I've run Phabricator instances for 7 of the last 9 years (and was unable to convince my previous employer to switch) so I've got a bit of experience on the managing side as well.

Sep 16 2021, 22:17 · Phorge, Governance
MikeCripps updated MikeCripps.
Sep 16 2021, 22:08
MikeCripps updated MikeCripps.
Sep 16 2021, 22:07
TitanNano updated the task description for T15047: Officially raise minimum required PHP version to 7.2.
Sep 16 2021, 15:59 · Phorge
TitanNano created T15047: Officially raise minimum required PHP version to 7.2.
Sep 16 2021, 15:58 · Phorge

Sep 15 2021

TitanNano added a comment to T15043: Automatically move tasks between columns on project boards.
In T15043#1258, @CSharp wrote:

Maybe the "move to column" rule should only apply if the task is already assigned to the project, if it isn't, it gets ignored.

Sep 15 2021, 08:30 · Workboard

Sep 14 2021

CSharp added a comment to T15043: Automatically move tasks between columns on project boards.
In T15043#1256, @speck wrote:

Making this an object rule is not possible as it has to be a Maniphest Task rule, which do not support object rules.
My main reason to explore this, is that without column types, we can only create rules like this "If task status changes to complete, then move task into column DONE in Project A.". Which means we have to create this rule for every project. In the rule builder UI we would also have to load a list of all project boards and their columns, which could be quite a few. The herald rule doesn't know with which project a task will be connected.

Ah okay - I was thinking this would be a Project rule rather than Maniphest, which would allow it to determine what possible columns can be used in the rule/action definitions.

Sep 14 2021, 20:33 · Workboard
20after4 updated 20after4.
Sep 14 2021, 12:38
20after4 updated 20after4.
Sep 14 2021, 12:38
TitanNano added a comment to T15043: Automatically move tasks between columns on project boards.
In T15043#1256, @speck wrote:

I think this will work out technically but it feels a bit nebulous to me, in that the rule isn't really clear about what it's doing as it's very dependent on the project workboard that gets triggered. For example some workboards might be roadmaps/planning and want to have columns for e.g. inbox, backlog, next_version, etc. but other workboards might be categorical in nature rather than planning and there would be no overlap between what column types exist on those boards. I think a solution revolving around Project-based rules should be investigated - for example is it reasonable/possible to have a herald rule on a project that says, "when a task on this project board changes status to: x, then move to column y"?

Sep 14 2021, 08:33 · Workboard

Sep 13 2021

dcog added a comment to D25015: Show confirmation dialog when closing a modal if form contents have been changed.

Dug up some more info as well...

Sep 13 2021, 20:29 · Maniphest (archived)
speck added a comment to T15043: Automatically move tasks between columns on project boards.

Making this an object rule is not possible as it has to be a Maniphest Task rule, which do not support object rules.
My main reason to explore this, is that without column types, we can only create rules like this "If task status changes to complete, then move task into column DONE in Project A.". Which means we have to create this rule for every project. In the rule builder UI we would also have to load a list of all project boards and their columns, which could be quite a few. The herald rule doesn't know with which project a task will be connected.

Ah okay - I was thinking this would be a Project rule rather than Maniphest, which would allow it to determine what possible columns can be used in the rule/action definitions.

Sep 13 2021, 14:35 · Workboard
TitanNano added a comment to T15043: Automatically move tasks between columns on project boards.
In T15043#1251, @speck wrote:

Maybe the herald rule should only apply to specific objects? I think there’s a concept like this already where certain rules can only be made at the object level and not global level, possibly for similar reasons.

Sep 13 2021, 07:59 · Workboard
speck updated subscribers of D25015: Show confirmation dialog when closing a modal if form contents have been changed.

@Leon95 updated/included some translated text for calendar widgets under D25016 which may also be useful as reference. However one big difference is that the calendar widget has its own explicit view/behavior, whereas front-end workflows have multiple varying uses with different content.

Sep 13 2021, 00:12 · Maniphest (archived)

Sep 12 2021

speck accepted D25016: Make Datepicker translatable.

Thank you! This looks good and the translation stuff you used here answers some questions for me about how to get translated text into the front-end, something that has come up in D25015. I'll try to get this landed shortly.

Sep 12 2021, 23:56 · Calendar
Leon95 added a project to D25016: Make Datepicker translatable: Calendar.
Sep 12 2021, 09:55 · Calendar

Sep 11 2021

speck added a comment to T15024: Landbot discussion(s), and generally ensuring that what is landed is what was reviewed.

Came across someone else's notes about submit/merge queues - https://epage.github.io/dev/submit-queue/

Sep 11 2021, 16:10 · Discussion Needed

Sep 10 2021

Leon95 updated the test plan for D25016: Make Datepicker translatable.
Sep 10 2021, 23:07 · Calendar
Leon95 updated the diff for D25016: Make Datepicker translatable.
  • use weekdays.length
Sep 10 2021, 22:20 · Calendar
Leon95 added inline comments to D25016: Make Datepicker translatable.
Sep 10 2021, 21:58 · Calendar
speck added inline comments to D25016: Make Datepicker translatable.
Sep 10 2021, 21:19 · Calendar
Idreffz25 updated Idreffz25.
Sep 10 2021, 20:50
speck added a comment to T15043: Automatically move tasks between columns on project boards.

I started to implement this as a new herald action. There is just one major problem. I would have to load all columns from every project and present them to the user. A user could then select one specific column of one specific project for his herald action... This seems kind of pointless to me. It's way too specific to be usable.

I think we first need some way to target project columns in a more generic way. If columns had a type, like "backlog" or "in_progress", then we could say, move this task on every related workboard into a column of type "in_progress".

Sep 10 2021, 16:36 · Workboard
TitanNano added a comment to T15035: Discuss communications channels (IRC, etc).

This describes how to set up an IRC nick for matrix users: https://gist.github.com/LorbusChris/d44a5dd4671796cbf8528ca133dd909b

Sep 10 2021, 14:39 · phorge.it install