Page MenuHomePhorge
Feed Advanced Search

Feb 13 2024

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

Feb 12 2024

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 · UX, Accessibility
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/8.4, 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
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

Feb 10 2024

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

Feb 8 2024

aklapper added a comment to T15630: Fix Fonts.

I am honestly happy that you have the privilege to afford getting bigger screens. Unfortunately not everyone has. The point I'm trying to make is: There may be valid + good reasons to increase font sizes, absolutely. However, "go with the time" and "times have changed" phrases are neither valid reasons nor argumentations. :)

Feb 8 2024, 16:03
aklapper added a comment to T15630: Fix Fonts.
In T15630#15561, @bekay wrote:

Times have changed and we all have very big screens.

Feb 8 2024, 12:09

Feb 6 2024

aklapper accepted D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries.
Feb 6 2024, 12:31
aklapper foisted D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries upon avivey.

Testing if "Foist Upon" does what I hope it does

Feb 6 2024, 12:31
aklapper added a comment to D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries.

@avivey Much cleaner and also works as expected (just tested). Thanks for finding that better approach! Now how can I approve your patch as I'm still set as original author, sigh?

Feb 6 2024, 12:30
aklapper added inline comments to D25526: Avoid exception in revision timeline when left diff does not exist.
Feb 6 2024, 10:45
avivey awarded D25533: Deprecate Fund and Phortune prototype applications a Yellow Medal token.
Feb 6 2024, 09:18
aklapper closed D25533: Deprecate Fund and Phortune prototype applications.
Feb 6 2024, 08:16
aklapper committed rP01b5bf9ea102: Deprecate Fund and Phortune prototype applications.
Deprecate Fund and Phortune prototype applications
Feb 6 2024, 08:16

Feb 5 2024

aklapper closed T15714: Validate PhabricatorSearchTextField value as Resolved by committing rPe3714c86a7d5: Validate PhabricatorSearchTextField value not to be an array.
Feb 5 2024, 21:42
aklapper closed D25519: Validate PhabricatorSearchTextField value not to be an array.
Feb 5 2024, 21:42
aklapper committed rPe3714c86a7d5: Validate PhabricatorSearchTextField value not to be an array.
Validate PhabricatorSearchTextField value not to be an array
Feb 5 2024, 21:42
aklapper requested review of D25533: Deprecate Fund and Phortune prototype applications.
Feb 5 2024, 21:39
aklapper added a comment to T15726: Remove dysfunctional Fund and Phortune prototype applications.

I'm not sure from the description if it's only broken on php 8. We also have PayPal integration)

Feb 5 2024, 21:28
aklapper accepted D25532: unbreak celerity/map.

Also my fault for obviously not testing /all/ steps in D25530

Feb 5 2024, 17:58
aklapper closed T15602: PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Feb 5 2024, 15:09 · PHP 8 support
aklapper closed T15602: PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists as Resolved by committing rPbb23e86dafc6: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of….
Feb 5 2024, 15:09 · PHP 8 support
aklapper closed D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
Feb 5 2024, 15:09
aklapper committed rPbb23e86dafc6: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of….
Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of…
Feb 5 2024, 15:09
aklapper closed D25524: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string.
Feb 5 2024, 13:11
aklapper committed rP25aebab655fd: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of….
Make misc get*ApplicationClass[Name]() calls return ::class constant instead of…
Feb 5 2024, 13:11

Feb 4 2024

aklapper added a comment to T15630: Fix Fonts.

cf a very similar discussion about default fonts in GNOME at https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/issues/52 regarding aspects to take into consideration

Feb 4 2024, 11:37

Feb 1 2024

aklapper added a revision to T15158: "Modernize" codebase to features available since PHP 5.5 (that is the actual announced minimum): D25524: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string.
Feb 1 2024, 14:12 · Phorge, Arcanist, User-valerio.bozzolan
aklapper updated the summary of D25524: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string.
Feb 1 2024, 14:12

Jan 28 2024

aklapper added a comment to D25524: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string.

@valerio.bozzolan Thanks. I guess I owe you a drink next weekend :)

Jan 28 2024, 18:17
aklapper closed D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.
Jan 28 2024, 16:10
aklapper committed rP064424c1b755: Add getQueryApplicationClass() to *TransactionQuery.php classes.
Add getQueryApplicationClass() to *TransactionQuery.php classes
Jan 28 2024, 16:10
aklapper requested review of D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
Jan 28 2024, 15:59
aklapper accepted D25530: Revert "Added cross-platform default fonts".
Jan 28 2024, 15:56
aklapper added a comment to T15726: Remove dysfunctional Fund and Phortune prototype applications.

@valerio.bozzolan: Which problem would that solve? :)

Jan 28 2024, 15:53

Jan 27 2024

aklapper planned changes to D25531: Remove dysfunctional Fund and Phortune prototype applications.

Test Plan still to be fully executed thus setting "Plan Changes"

Jan 27 2024, 13:30
aklapper requested review of D25531: Remove dysfunctional Fund and Phortune prototype applications.
Jan 27 2024, 13:29
aklapper added a revision to T15726: Remove dysfunctional Fund and Phortune prototype applications: D25531: Remove dysfunctional Fund and Phortune prototype applications.
Jan 27 2024, 13:29
aklapper renamed T15726: Remove dysfunctional Fund and Phortune prototype applications from Phortune: Stripe Payments Account API changes to Remove dysfunctional Fund and Phortune prototype applications.
Jan 27 2024, 13:28
aklapper closed T15727: Update external timezone information file from 2016 as Resolved by committing rP6a30dc039ea5: Update external timezone information.
Jan 27 2024, 12:29
aklapper closed D25529: Update external timezone information.
Jan 27 2024, 12:29
aklapper committed rP6a30dc039ea5: Update external timezone information.
Update external timezone information
Jan 27 2024, 12:29
aklapper added a comment to D25529: Update external timezone information.

I admit I did not test what happens when setting a (deprecated) timezone in Phorge to be removed by this patch, and then applying this patch.

Jan 27 2024, 12:28
aklapper updated the test plan for D25529: Update external timezone information.
Jan 27 2024, 12:20
aklapper added a comment to T15726: Remove dysfunctional Fund and Phortune prototype applications.

Makes sense.
Fund: Going to http://phorge.localhost/fund/create/ and creating a New Initiative anyway yields

EXCEPTION: (RuntimeException) Undefined array key "totalAsCurrency" at [<arcanist>/src/error/PhutilErrorHandler.php:273]
arcanist(head=master, ref.master=6c7caf3572f4), phorge(head=master, ref.master=c0191a039293)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:345]
Jan 27 2024, 12:12
aklapper added a comment to D25529: Update external timezone information.

I admit I did not test what happens when setting a (deprecated) timezone in Phorge to be removed by this patch, and then applying this patch.

Jan 27 2024, 08:35
aklapper requested review of D25529: Update external timezone information.
Jan 27 2024, 08:33
aklapper added a revision to T15727: Update external timezone information file from 2016: D25529: Update external timezone information.
Jan 27 2024, 08:33
aklapper closed D25528: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 27 2024, 08:20
aklapper closed T15725: PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3/8.4, as Resolved.
Jan 27 2024, 08:20 · PHP 8 support
aklapper closed T15725: PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune as Resolved by committing rPc0191a039293: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 27 2024, 08:20 · PHP 8 support
aklapper committed rPc0191a039293: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune
Jan 27 2024, 08:20
aklapper created T15727: Update external timezone information file from 2016.
Jan 27 2024, 08:19
aklapper updated the test plan for D25528: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 27 2024, 07:23

Jan 26 2024

aklapper created T15726: Remove dysfunctional Fund and Phortune prototype applications.
Jan 26 2024, 18:24
aklapper requested review of D25528: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 26 2024, 18:13
aklapper added a revision to T15725: PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune: D25528: Fix PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 26 2024, 18:13 · PHP 8 support
aklapper created T15725: PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune.
Jan 26 2024, 18:12 · PHP 8 support
aklapper created T15724: PHP 8.3: Usage of ldap_connect with two arguments is deprecated.
Jan 26 2024, 17:52 · Deprecation Notice, PHP 8 support
aklapper added a comment to D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries.

In an ideal world 1030-1313 could become just:

Jan 26 2024, 11:14
aklapper requested review of D25527: Convert "Page Size" field in Maniphest Advanced Search to PhabricatorSearchIntField.
Jan 26 2024, 11:01
aklapper added a revision to T15723: Convert "Page Size" field in ManiphestTaskSearchEngine.php to PhabricatorSearchIntField: D25527: Convert "Page Size" field in Maniphest Advanced Search to PhabricatorSearchIntField.
Jan 26 2024, 11:01
aklapper created T15723: Convert "Page Size" field in ManiphestTaskSearchEngine.php to PhabricatorSearchIntField.
Jan 26 2024, 10:55
aklapper requested review of D25526: Avoid exception in revision timeline when left diff does not exist.
Jan 26 2024, 10:42
aklapper added a revision to T15638: RuntimeException: "Undefined index" when left diff does not exist in DifferentialRevisionTimelineEngine.php: D25526: Avoid exception in revision timeline when left diff does not exist.
Jan 26 2024, 10:42

Jan 24 2024

aklapper added a comment to D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries.

// TODO: Once everything is on EditEngine, just use getIsNewObject()

So maybe this? but I'm not bold enough:

Jan 24 2024, 10:35
aklapper added a comment to T15720: Improve messages when no image formats are supported (due to GD not installed).

Before and after applying D25525:

Jan 24 2024, 10:16
aklapper requested review of D25525: Improve messages when no image formats are supported (due to GD not installed).
Jan 24 2024, 10:15
aklapper added a revision to T15720: Improve messages when no image formats are supported (due to GD not installed): D25525: Improve messages when no image formats are supported (due to GD not installed).
Jan 24 2024, 10:15
aklapper created T15720: Improve messages when no image formats are supported (due to GD not installed).
Jan 24 2024, 10:07
aklapper added inline comments to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
Jan 24 2024, 09:08 · Maniphest

Jan 23 2024

aklapper closed D25515: Avoid exception setting project profile image when GD not installed.
Jan 23 2024, 14:11
aklapper closed T15326: PHP 8.0 without GD installed: Unhandled Exception setting a project profile image: Call to undefined function imagecreatefromstring() as Resolved by committing rP7a86040f8a46: Avoid exception setting project profile image when GD not installed.
Jan 23 2024, 14:11 · Files, PHP 8 support
aklapper committed rP7a86040f8a46: Avoid exception setting project profile image when GD not installed.
Avoid exception setting project profile image when GD not installed
Jan 23 2024, 14:11
aklapper added inline comments to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
Jan 23 2024, 14:03 · Maniphest
aklapper updated the diff for D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.

and thus remove the only newly added call which returned null in src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php)

Jan 23 2024, 13:42
aklapper added a comment to D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.

Maybe we can return ClassName::class - that is supported since PHP 5.5

there's a lot more code to update in random *Query.php classes defining getQueryApplicationClass() functions, in a separate future patch

Jan 23 2024, 13:37
aklapper requested review of D25524: Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string.
Jan 23 2024, 13:36
aklapper added a comment to D25501: Feed: Do not query and display data of uninstalled applications.

Right. Sorry, my previous comment was very misleading!

Jan 23 2024, 07:40

Jan 22 2024

aklapper added a comment to D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.

Maybe we can return ClassName::class - that is supported since PHP 5.5

Note to myself: Makes sense; there's a lot more code to update in random *Query.php classes defining getQueryApplicationClass() functions, in a separate future patch

Jan 22 2024, 23:17
aklapper updated the diff for D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.

Revert turning getQueryApplicationClass() abstract in the parent class src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php and make it return null again (and thus remove the only newly added call which returned null in src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php); also return ::class as proposed by Valerio

Jan 22 2024, 23:14
aklapper updated the diff for D25501: Feed: Do not query and display data of uninstalled applications.

Fix D25501#14443: Do not show an "Query overheated" error when the user is anonymous and the application has been uninstalled

Jan 22 2024, 22:01
aklapper added a comment to D25501: Feed: Do not query and display data of uninstalled applications.

Are there any feed transactions that are visible to logged out users?

Jan 22 2024, 21:34
aklapper updated the diff for D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.

Play it safe by using phutil_nonempty_scalar() and do not assume that integers are actually integers (because "1" and such)

Jan 22 2024, 18:43
aklapper added a comment to D25515: Avoid exception setting project profile image when GD not installed.

I was able to trigger the "missing gd" warning (By uninstalling php*gd), so we're good there.
A bit puzzled about how you got the error if you already have it installed?

Jan 22 2024, 14:14
aklapper added a comment to D25515: Avoid exception setting project profile image when GD not installed.

I wonder if it then, upon deletion of the profile image, it attempts to delete the builtin image

Jan 22 2024, 14:13
aklapper retitled D25522: Remove bottom margin from embedded remarkup images from Removes margin from embedded remarkup images
Jan 22 2024, 10:24
aklapper accepted D25522: Remove bottom margin from embedded remarkup images.
Jan 22 2024, 10:23