In D25505#14525, @20after4 wrote:Is this needed simply because PhabricatorApplicationSearchController doesn't actually have a try { } block to catch this particular case? Maybe we could improve the exception handling instead of return null?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jan 11 2024
Jan 11 2024
Jan 7 2024
Jan 7 2024
valerio.bozzolan awarded D25503: Allow to uninstall (hide) Audit application a Like token.
Jan 6 2024
Jan 6 2024
aklapper added a comment to D25505: Improve handling queries with "Current Viewer" set while not logged in.
aklapper committed rPd92ed9ce0c0c: Hide "Packages" field in Diffusion Commits query form when application….
Hide "Packages" field in Diffusion Commits query form when application…
Jan 4 2024
Jan 4 2024
aklapper added a comment to T15704: Cryptic exception when listing tasks "Closed By: Current Viewer" while logged out.
Without D25505 applied:
aklapper requested review of D25505: Improve handling queries with "Current Viewer" set while not logged in.
Remove a forgotten debug line
This is not ready for merge yet.
Jan 2 2024
Jan 2 2024
aklapper added a comment to D25479: Display default "Page Size" value in Maniphest Advanced Search form.
Indeed ideally I'd prefer to convert the current use of PhabricatorSearchTextField for an integer value to a functioning PhabricatorSearchIntField (which should return a future new AphrontFormIntControl()) instead, thus I'm reluctant to land this (though it remains a mystery to me how to set a default value (not: placeholder) in any non-dropdown field).
Replace minus dash by its UTF8 representation to pass lint
Dec 27 2023
Dec 27 2023
aklapper committed rP428f9686c417: Composing a custom project picture: Remove misaligned empty icon.
Composing a custom project picture: Remove misaligned empty icon
aklapper added a comment to D25479: Display default "Page Size" value in Maniphest Advanced Search form.
In D25479#14404, @avivey wrote:Yeah, looks like IntField isn't doing much now (yet?). It could get setDefault() like PhabricatorSearchSelectField, plus validateControlValue()
Dec 26 2023
Dec 26 2023
aklapper planned changes to D25501: Feed: Do not query and display data of uninstalled applications.
This also needs rework because I still get a Query overheated when not being logged in and going to http://phorge.localhost/feed/transactions/query/all/
aklapper added a comment to D25501: Feed: Do not query and display data of uninstalled applications.
There might be room for performance improvements - currently for each $query, PhabricatorApplication::isClassInstalledForViewer is called again though some queries share the same application.
Dec 25 2023
Dec 25 2023
aklapper updated the test plan for D25501: Feed: Do not query and display data of uninstalled applications.
aklapper updated the test plan for D25501: Feed: Do not query and display data of uninstalled applications.
aklapper requested review of D25501: Feed: Do not query and display data of uninstalled applications.
aklapper updated the diff for D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.
Document abstract function that it can return string|null
aklapper added inline comments to D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.
aklapper requested review of D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.
aklapper added a comment to T15642: Feed Transaction Logs: Exception: Query overheated: examined more than 1,010 raw rows without finding 101 visible objects..
Also looked into very hackish $application_of_query = preg_split('/(?=[A-Z])/', get_class($query)); but the *TransactionQuery.php class naming scheme is too inconsistent, e.g. PhabricatorSpacesTransactionQuery instead of SpacesTransactionQuery (same for Slowvote, Phurl, Owners, Badges, Calendar, Packages, Paste, maybe more).
Dec 24 2023
Dec 24 2023
aklapper updated the task description for T15699: Inaccessible task: "Matched token key "3Z" while processing remarkup block, but this token does not exist in the token map.".
Dec 23 2023
Dec 23 2023
aklapper updated the diff for D25499: Composing a custom project picture: Remove misaligned empty icon.
Improve performance (as proposed by Valerio)
Dec 21 2023
Dec 21 2023
aklapper added a comment to T15698: Do not expose "Packages" field as Audit query form field when Packages application uninstalled.
Argh, note to myself: Simply define $hide_packages = (!id(new PhabricatorPackagesApplication())->isInstalled()); and add ->setIsHidden($hide_packages)...
Dec 19 2023
Dec 19 2023
aklapper added a comment to D25499: Composing a custom project picture: Remove misaligned empty icon.
I'm too stupid to see the exact optimization, performance-wise (but probably not important). :)
aklapper updated the summary of D25499: Composing a custom project picture: Remove misaligned empty icon.
aklapper requested review of D25499: Composing a custom project picture: Remove misaligned empty icon.
Dec 18 2023
Dec 18 2023
aklapper added a comment to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
I can confirm that this patch fixes the string problem. However, I am super super puzzled that after applying this patch, the CSS definition line-height: 22px for .phabricator-wordmark is suddenly missing in both Chromium 120 and Firefox 120, moving the wordmark a bit higher in the upper left corner (on my two screenshots, that is "Phoriorge").
aklapper updated the diff for D25494: Fix PHP 8.1 exception creating task when custom select field configured.
I assumed that $this->newStringIndex($value) in the next line implies a string here but let's play safe, indeed.
aklapper updated the diff for D25492: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
Right, makes sense as I do not fully know the internal logic.
As PhabricatorStandardCustomField is generic, also keep null check type-generic
Avoid "Undefined index" error in project.search API when…
Dec 17 2023
Dec 17 2023
aklapper commandeered D25267: Fix PHP 8.2 "trim(null)" exception which causes Conduit's user.whoami to fail.
Abandoning as superseded by rP1c098c273d06ea3cf8215245ea109f41c59593d9 (which first requires commandeering)
aklapper committed rPfe1122bd4d6d: Catch RuntimeException: mb_convert_encoding(): Illegal character encoding….
Catch RuntimeException: mb_convert_encoding(): Illegal character encoding…
Dec 15 2023
Dec 15 2023
aklapper added a comment to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
In D25419#12616, @waldyrious wrote:Should I go ahead and submit a different patch? Or could I somehow contribute the edit to this patch?
Dec 10 2023
Dec 10 2023
aklapper requested review of D25494: Fix PHP 8.1 exception creating task when custom select field configured.
Dec 9 2023
Dec 9 2023
aklapper updated the task description for T15691: PHP 8.1 "strlen(null)" exception creating Maniphest task when custom select field configured.
Dec 6 2023
Dec 6 2023
aklapper added a comment to D25493: Avoid "Undefined index" error in project.search API when project_customfieldstorage table has additional fields not requested.
Note that I did *not* test this locally yet; just putting it here so it does not get lost (again)
aklapper added a revision to T15688: "Undefined index: PHID-PROJ-***" in project.search API when project_customfieldstorage table has additional fields not requested: D25493: Avoid "Undefined index" error in project.search API when project_customfieldstorage table has additional fields not requested.
aklapper updated the diff for D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Still WIP, was just checking that nothing explodes locally (yet)
aklapper closed T15686: Include 'published' date in Phame atom feeds as Resolved by committing rP6c8329fb6614: Include 'published' date of posts in Phame Atom feeds.
aklapper committed rP6c8329fb6614: Include 'published' date of posts in Phame Atom feeds (authored by 20after4).
Include 'published' date of posts in Phame Atom feeds
git commit --amend --author="Mukunda Modell"
aklapper requested review of D25492: Fix PHP 8.1 "strlen(null)" exception when custom select field configured.
aklapper added a comment to D25489: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom int field configured.
Urgh, indeed not the brightest proposed patch (though it worked locally).
Also need to rework/expand patch because there are several more places in this very file to fix.
More stacktraces triggered by going to http://phorge.localhost/maniphest/ :
aklapper committed rP5ddca7da55e3: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest….
Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest…
aklapper updated the diff for D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Also fix line 14
valerio.bozzolan awarded T15686: Include 'published' date in Phame atom feeds a Like token.
Dec 5 2023
Dec 5 2023
aklapper committed rPe610e739cb42: Fix PHP 8.1 exceptions rendering task when custom select field configured.
Fix PHP 8.1 exceptions rendering task when custom select field configured
aklapper added a comment to D25488: Fix PHP 8.1 "strlen(null)" exception rendering dashboard panel with latest tasks when custom text field configured.
Hmm, I guess the patch should also change line 14 in the same way? I managed to reach that line with the same problem but do not remember the exact steps I performed...
aklapper committed rPacedbd022d45: Fix exception in Transaction Log after renaming Pholio Mock image: Call to….
Fix exception in Transaction Log after renaming Pholio Mock image: Call to…
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0