In D25521#14952, @speck wrote:Thanks!
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Jan 22 2024
Jan 22 2024
bekay added a comment to D25521: Adds "Locate File" input to every browse directory view in Diffusion.
Remove bottom margin from embedded remarkup images
valerio.bozzolan accepted D25515: Avoid exception setting project profile image when GD not installed.
(By the way the Filesystem::readFile() does not return a pointer to a (potentially read-only) resource, but it just returns its content - so the concern was nonsense)
valerio.bozzolan added a comment to D25515: Avoid exception setting project profile image when GD not installed.
In D25515#14983, @aklapper wrote:In D25515#14842, @valerio.bozzolan wrote:I wonder if it then, upon deletion of the profile image, it attempts to delete the builtin image
@valerio.bozzolan How is attempting to delete a built-in (!) profile image related to this patch? If I misunderstood, please elaborate. Thanks!
aklapper added a comment to D25515: Avoid exception setting project profile image when GD not installed.
In D25515#14957, @avivey wrote: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?
aklapper added a comment to D25515: Avoid exception setting project profile image when GD not installed.
In D25515#14842, @valerio.bozzolan wrote:I wonder if it then, upon deletion of the profile image, it attempts to delete the builtin image
Nice. Maybe a start-extension Arcanist workflow is a bit overkill, but a boilerplate extension would be lovely
Thanks again. Since this is a WIP, let's mark as such.
valerio.bozzolan 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:
valerio.bozzolan added a comment to D25517: Mark manually created Diffs as new objects to fix empty Feed transaction entries.
I've read your awesome travel in T15659 but I've also read this inline comment:
aklapper retitled D25522: Remove bottom margin from embedded remarkup images from Removes margin from embedded remarkup images
It's nice and it works. So... thanks!
@aklapper @valerio.bozzolan I think the styles for remarkup should stay seperated. We shouldn't blur modular css definitions just to safe some lines or multiple declarations.
- Seperates styles
## Contents - is Phorge good for my Organization? - differences between Phorge and GitLab, GitHub, Launchpad, Mantis, ... - what's new in Phorge (that is not in Phabricator) - practical workflows and pitfalls - how to join the Phorge community - how to propose code patches
Jan 21 2024
Jan 21 2024
Uh, right. So maybe we can:
aklapper updated the diff for D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
Also remove unused $result array
aklapper added a comment to D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
I propose to remove that unused $result array. It's been unused before and looks we were not aware of any issues created by that fact.
Original change which triggered this: rP324470e39b0d4539a7487c2144157d686f5d0906
I cannot test it now, can you check who was setting that margin? Maybe we can try to avoid that !important
Jan 20 2024
Jan 20 2024
avivey 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?
bekay added a comment to T15473: Give embedded image files with transparency (alpha channel) a checkered background.
User content is also content, thus yes.
Jan 19 2024
Jan 19 2024
valerio.bozzolan added a comment to T15322: Footer: specify a default Libre license for Phorge contents.
Good question. Maybe also related to L2.
valerio.bozzolan awarded T15322: Footer: specify a default Libre license for Phorge contents a Love token.
aklapper added a comment to D25390: Fix PHP 8.1 "json_decode(null)" exception editing a form when custom field of type Users exists.
I'm still puzzled by the unused $result variable in line 46.
Is it assumed that using the site will automatically license the user’s content under these, or should there be a line for that?
In T15322#15031, @aklapper wrote:+1 on 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.
Thanks!
In T15645#15201, @speck wrote:@bekay while in this area of code would you have any pointers on these other issues I’d like to fix at some point?
- File browse widget doesn’t work unless logged in, for publicly accessible repos
- The search results pop up width is often too narrow to show the full results path, and truncates the end of the path instead of beginning.
avivey added a comment to T15716: Remarkup header have a fixed line height and are less readable with increased size.
Values given in em units may produce unexpected results...
bekay updated the diff for D25521: Adds "Locate File" input to every browse directory view in Diffusion.
Adds return value to annotation and fixes wrong path when locating file from within a directory.
Tested locally and works in most cases, however would love to avoid creating broken (404) URIs due to T15579 before merging
aklapper added a comment to T15579: Legalpad and Phame: "Quote Comment" destination is a "not found" page.
Note that at least for Phame, http://phorge.localhost/J1 seems to always redirect to http://phorge.localhost/phame/post/view/1/blogpost/ instead of keeping the monogram in the URI.
So the baseURI is already wrong (not being http://phorge.localhost/ only) before concatenating the $ref (monogram and anchor).
As an ugly workardound, could probably make "Quote Comment" work by calling getObjectNamePrefix() in PhamePostRemarkupRule and LegalpadDocumentRemarkupRule and then use them in a preg_match to remove the monogram from the $ref but function is protected and... still ugly.
Jan 18 2024
Jan 18 2024
@bekay while in this area of code would you have any pointers on these other issues I’d like to fix at some point?
- File browse widget doesn’t work unless logged in, for publicly accessible repos
- The search results pop up width is often too narrow to show the full results path, and truncates the end of the path instead of beginning.
speck added a comment to D25521: Adds "Locate File" input to every browse directory view in Diffusion.
Looks good! Thank you so much for this!
aklapper added a comment to D25505: Improve handling queries with "Current Viewer" set while not logged in.
In D25505#14533, @avivey wrote:How about other functions that might require a logged-in user? "current Viewer's Projects" for example?
valerio.bozzolan added a comment to T15322: Footer: specify a default Libre license for Phorge contents.
Yes. I think we should wait for a kind Administrator to implement the first one.
bekay retitled D25521: Adds "Locate File" input to every browse directory view in Diffusion from Adds "Locate File" input to every browse view in Diffusion
@speck @valerio.bozzolan My revision is ready to be tested 😄
bekay requested review of D25521: Adds "Locate File" input to every browse directory view in Diffusion.
bekay updated the test plan for D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
bekay updated the diff for D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
- Adds map
bekay added a comment to D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
In D25520#14909, @avivey wrote:Thanks
also - need to run bin/celerity map before landing?
valerio.bozzolan updated the task description for T15209: The Celerity unit tests are not automatically run when touching whatever CSS or JS file.
avivey added a comment to D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
Thanks
also - need to run bin/celerity map before landing?
bekay retitled D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search from Show title completly and cut of secondary information grave in typeahead results of main search
bekay retitled D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search from Increases usability of typeahead results of main search to Show title completly and cut of secondary information grave in typeahead results of main search.
avivey added a comment to D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
please make the title more descriptive of the actual change (what it's doing) - "improve usability" is very vague.
maybe "don't hide title in search" or something like that.
valerio.bozzolan accepted D25520: Show title entirely and cut of secondary information gracefully in typeahead results of main search.
Tested and I like it. Thanks :3
bekay triaged T15715: Typehead results of main search should not truncate important information as Normal priority.
Uh thanks! You are now co-speaker
valerio.bozzolan added a comment to T15715: Typehead results of main search should not truncate important information.
BTW I like the proposed screenshot. So I also agree to: feel free to share the solution 👍
aklapper added a comment to T15715: Typehead results of main search should not truncate important information.
My fix would work with this css class
I did not realize you had a fix. Please share it. :)
bekay added a comment to T15715: Typehead results of main search should not truncate important information.
In T15715#15174, @aklapper wrote:I guess you could get the result that you're looking for by editing the file webroot/rsrc/css/aphront/typeahead.css and removing the line white-space: nowrap; from the definition of div.jx-typeahead-results a.jx-result. I just don't know which side effects this may have in other places...
speck added inline comments to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
Jan 17 2024
Jan 17 2024
For parallel popcorn consumption, a slightly related (and slightly hung over) FOSDEM talk from 2015 with some shattered dreams included, from the perspective of an organization at that time: https://archive.fosdem.org/2015/schedule/event/wikimedia_adopts_phabricator/
aklapper added a comment to T15715: Typehead results of main search should not truncate important information.
I guess you could get the result that you're looking for by editing the file webroot/rsrc/css/aphront/typeahead.css and removing the line white-space: nowrap; from the definition of div.jx-typeahead-results a.jx-result. I just don't know which side effects this may have in other places...
aklapper added inline comments to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
speck added inline comments to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
aklapper committed rP7702772b2b86: preg_match() null exception setting custom user profile image with empty files..
preg_match() null exception setting custom user profile image with empty files.
If it's only for a small number of such words, they should probably just be added to the blacklist remarkup.ignored-object-names - in fact, we should probably add S3 at least as a default; And probably find a way to expose this config option. Maybe a button on the Remarkup box that will help adding things to the blacklist?
aklapper added a comment to D25518: Allow setting default value for SearchFields; set Maniphest Page Size to 100.
This patch is a cleaner approach to tackle T15676 than D25479 was.
In future steps,
- T15700: An "Integer" search field could be addressed (patch available for review),
- the type of the "Page Size" field in ManiphestTaskSearchEngine.php could be switched from PhabricatorSearchTextField to PhabricatorIntTextField - see T15723: Convert "Page Size" field in ManiphestTaskSearchEngine.php to PhabricatorSearchIntField,
- an AphrontFormIntControl class could be introduced to set type="number" for the control in the HTML,
- we could introduce an overwrite validateControlValue() function in PhabricatorSearchTextField.php as in theory, future code could accidentally pass invalid data types to setDefaultValue() - see T15714: Validate PhabricatorSearchTextField value
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