In D25501#14443, @aklapper wrote: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/
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Jan 2 2024
Jan 2 2024
Dec 31 2023
Dec 31 2023
valerio.bozzolan renamed T15703: Workboard Cover Image: the cropped "Transform" is orphan from Workboard Cover Image: the cropped "Transform" is not shown to Workboard Cover Image: the cropped "Transform" is orphan.
valerio.bozzolan renamed T15163: The Task Cover Image is visible only to the uploader (invisible to Task participants) from Auto-Attach a File when dropping it as Task cover image to The Task Cover Image is visible only to the uploader (invisible to Task participants).
valerio.bozzolan triaged T15703: Workboard Cover Image: the cropped "Transform" is orphan as Normal priority.
Dec 30 2023
Dec 30 2023
valerio.bozzolan updated the name of F686883: Task with Cover Image.png from "image.png" to "Task with Cover Image.png".
valerio.bozzolan updated the name of F686881: Task with Cover Image.png from "image.png" to "Task with Cover Image.png".
20after4 added a comment to D25501: Feed: Do not query and display data of uninstalled applications.
20after4 added inline comments to D25501: Feed: Do not query and display data of uninstalled applications.
Dec 29 2023
Dec 29 2023
So, as default, a transform is created. Should we attach that transform instead?
Dec 28 2023
Dec 28 2023
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
Would you like to propose a small cute patch for this? It's just a matter of running arc diff or ../arcanist/bin/arc diff
In addition, it seems only the owner can see their stuff here.
avivey added a comment to D25479: Display default "Page Size" value in Maniphest Advanced Search form.
unknown magic accepts any kind of input (e.g. letters) and converts it into a 0.
valerio.bozzolan added a comment to D25500: Add getQueryApplicationClass() to *TransactionQuery.php classes.
Thanks! some quick tips maybe relevant:
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).
valerio.bozzolan added a comment to D25499: Composing a custom project picture: Remove misaligned empty icon.
If it still works, feel free to land
Dec 24 2023
Dec 24 2023
avivey added a comment to T15699: Inaccessible task: "Matched token key "3Z" while processing remarkup block, but this token does not exist in the token map.".
probably "low", but might be interesting to investigate.
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
avivey added inline comments to D25479: Display default "Page Size" value in Maniphest Advanced Search form.
aklapper updated the diff for D25499: Composing a custom project picture: Remove misaligned empty icon.
Improve performance (as proposed by Valerio)
Yeah, looks like IntField isn't doing much now (yet?)
Dec 21 2023
Dec 21 2023
waldyrious added a comment to D25419: Fix the whitespace issue in the message "Access Denied: Restricted File".
That's so weird! My instinct is of course to say that it should be completely unrelated to this patch since no CSS is touched in this one-line change... I have no idea how to debug this ☹️
mneimne added a comment to T15282: Fix/avoid/simplify similar fatal: detected dubious ownership in repository at '/var/www/phorge'.
I ended up running this
20after4 awarded rP6c8329fb6614: Include 'published' date of posts in Phame Atom feeds a Love token.
20after4 added a comment to T15698: Do not expose "Packages" field as Audit query form field when Packages application uninstalled.
I think it might be applicable here and in several other places that follow the general pattern of “look up all subclasses of a given feature and then loop over all of them to run extension hooks “
avivey updated subscribers of T15698: Do not expose "Packages" field as Audit query form field when Packages application uninstalled.
@20after4 suggested an "is-application-installed"-aware class-finder recently - I wonder if that would also handle this?
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 20 2023
Dec 20 2023
pppery awarded T15697: When deleting the last Sub-project, restore its Root Project a Like token.
They have no space at FOSDEM 2024 for Phorge, nor in Collaboration and..., nor in Lightning talks :(
I close this as invalid since we received no additional feedback. Feel free to add more details :) Thanks \o/
valerio.bozzolan updated the answer details for Q95: Maniphest task: strlen(): Passing null to parameter #1 ($string) of type string is deprecated (Answer 117).
valerio.bozzolan added a comment to D25499: Composing a custom project picture: Remove misaligned empty icon.
Nah my friend, sorry me, my example was incomplete. I've updated that.
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). :)
valerio.bozzolan updated the task description for T15697: When deleting the last Sub-project, restore its Root Project.
valerio.bozzolan triaged T15697: When deleting the last Sub-project, restore its Root Project as Wishlist priority.
I think that the best alternative we have for that, is YunoHost. So, an Open Source suite to easily deploy applications on your server. Give it a try. If you like it, I think that, there, Phorge may land.
Just for some micro-optimization, note that preg_replace() has a 5th parameter called $count
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
The only trouble with maintaining a separate arcanist package is keeping the version in sync with phorge. Phabricator never followed anything like semantic versioning and there was never really any stable api version to depend on. Perhaps we could think about versioning and release cycles that follow a more predictable major version release cycle with API compatibility guarantees. It is certainly more convenient (for the upstream) to avoid all of that but it offloads quite a bit of burden on anyone trying to use the software.
20after4 added a comment to T15642: Feed Transaction Logs: Exception: Query overheated: examined more than 1,010 raw rows without finding 101 visible objects..
Phacility was very much against this kind of things, but I actually favor supporting some packages, at least for Arcanist on the big package-managers - if nothing else, it would allow us to make sure the package with the right name is doing the right thing.
Feel free to review, in case:
Unfortunately they have not accepted our proposal in the track Collaboration and Content Management. I've proposed that again as Lightning talk as suggested to me by FOSDEM ex-speakers.
Avoid "Undefined index" error in project.search API when…
valerio.bozzolan closed T15693: Fix Arcanist commit in PHP 8.1 (Subversion), a subtask of T15187: Fix Arcanist in PHP 8.1+ (testing the Phorge repo), as Resolved.
valerio.bozzolan closed T15693: Fix Arcanist commit in PHP 8.1 (Subversion) as Resolved by committing rARC6142fcd5264f: Fix Subversion "commit" support in PHP 8.1.
Fix Subversion "commit" support in PHP 8.1
I keep arcanist cloned in /home/kuba/bin/arcanist. /home/kuba/bin/arc is this executable file:
Add example systemd unit for sshd in Diffusion docs
I've managed to land the diff with arc --config-file ~/.arcrc land
do you have an entry for "https://we.phorge.it/api/" in your ~/.arcrc ?
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 16 2023
Dec 16 2023
also, arc get-config hosts --verbose - but note that it will actually print out the tokens, hide those.
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