First pass, these one do not apply to us (and some of them do not apply to anyone at all):
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 15 2024
(I've put a note in Dependencies for now)
I guess we could also try to cache the individual rendered code-blocks.
(and I made sure this new function isn't exported to the arc lib namespace)
extract to function
Mar 14 2024
Yeah, it's probably not impossible to so safely - especially since people has been working on it for over a decade - but it's hard to do right. I know Wikipedia allows user-uploaded SVGs in some way, so maybe this is a solved problem.
I fixed arc test-traits in R12 (45f900a587).
Update: I've installed pygments (2.15.1), and it took about 3 seconds to render. It takes about 14 seconds here (with pygments 2.3.1).
mm, dumping this file in my dev env renders pretty much immediately; that's a good sign that it's the code blocks, because (1) pygments is known to be slow and (2) I don't have it installed.
"slow remarkup" often boils down to 1-2 inefficient regexp in a rule somewhere.
In D25051#15888, @valerio.bozzolan wrote:I'm a little worried about this migration; Do we have garbage collector for this? it would be safer to let it run.
You are concerned for performance reasons because it doesn't limit the results. Right?
Mar 13 2024
Looks good to me. @speck
Mar 12 2024
Look into the "is creation xaction" - we had a similar diff recently about creating Revision from raw diff that had a similar behavior.
Mar 11 2024
Also, maybe combine with the ArcanistXUnitTestResultParser.
Mar 10 2024
So maybe rename the parser to JUnitTestResult, or something like that (If that's the right name for the format and if phpunit is using the same format)?
- (Yes, arc liberate --clean. I'll also run it in Phorge).
- I'll check it again, I refactored some things and maybe I broke that.
Mar 9 2024
Mar 8 2024
Yeah, in this one special place it doesn't matter; But that page already have a special body, so we can save even the extra click by putting the message right there...
But in Diffusion, that button is hidden behind a "Actions -> Manage" button, inside a screen that also has dozens of other admin actions. The clutter cost there is minimized.
In that case, we don't even need another button - just add a line to the "deleted message" that says something like "To completely remove the history from the database, contact your admin".
I feel that adding such a button would clutter the UI.
Users should generally "know" that in order to really delete things, they need to go to the admin, because they don't have the permissions anyway; And adding that just for the once-in-a-while that the admin needs this...
I don't think we actually allow "deleting" from the web ui, only hiding it (in the sense that the data is not removed from the database).
Mar 7 2024
Mar 6 2024
It also effects the PhabricatorCustomField::ROLE_APPLICATIONSEARCH condition, and possibly actually storing the data in some search-able table.
But try other roles - maybe it will work anyway.
Mar 5 2024
Mar 4 2024
Mar 3 2024
Mar 2 2024
Mar 1 2024
small fix
Feb 29 2024
So after working on this for a day or so, and making much progress, I found that I already built this once 🤦♂️
https://secure.phabricator.com/D17004
I think we already did - @valerio.bozzolan ?
Feb 28 2024
It's a Phacility server, managed at https://secure.phabricator.com/phurl/
I've looked down some of the links of this request, and it looks like the definition of "new user" should be install-specific, and open to interpretation.
Feb 27 2024
I changed my mind again. No need for edges (short story is, getting the "color" property from the edge is annoying).
Feb 26 2024
Feb 25 2024
Feb 24 2024
Yeah, I don't like the diviner page.
For other included 3rd parties, we often put a license file right next to the asset:
- https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/externals/font/lato/LICENSE.txt
- https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/externals/d3/LICENSE
- https://we.phorge.it/source/phorge/browse/master/externals/mimemailparser/LICENSE
- and, https://we.phorge.it/source/phorge/browse/master/externals/octicons/LICENSE which is not next to the actual content.
Feb 23 2024
Feb 22 2024
This was both harder and easier then I expected. I got to crash the IDE and hard-code a bunch of stuff, but this actually works. Didn't even start on the Edges implementation yet - I'm directly using the Flags table.
Feb 21 2024
We can probably add a checkbox, and some nicer handling for the exception. Or possibly, just adding the word "regex" might solve this from the "user expectation" side.
The word "pattern" was meant to imply "regex pattern".
Specifically - the ability to search for a regex is much more useful then a plain-text only search (and costs us basically nothing).
Feb 20 2024
Feb 19 2024
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".
I looked into this again.