🏄‍♂️🇦🇺Sydney, Australia
Account created on 24 September 2008, over 16 years ago
  • Co-Founder and Technical Director at PreviousNext 
  • Co-Founder and Technical Director at Skpr 
#

Merge Requests

More

Recent comments

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Committed to 2.x and 3.x. Thanks!

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper created an issue.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I reverted the autowiring of SearchApiConverter as the BC logic in there was too complex. Created a follow up for that 📌 [PP-1] Autowire SearchApiConverter service Postponed

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper created an issue. See original summary .

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper created an issue.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper created an issue.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I don't think it qualifies as a bug if you manually put in a url with missing params.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Updated the issue summary and added a change record.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Oops! Not sure how to best manage multiple analyzers.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I realize this will conflict with 📌 [pp-3] Split up and refactor system_requirements() into OOP hooks Active is therefore postponed on that, but wanted to make a start to see what changes are needed.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Working on this.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I pushed up my work in progress in case it's useful later.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Damn. I wish I saw your comment before I started converting system_requirements() 😓

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Looks like drupal_requirements_url() is the only caller of drupal_current_script_url() so both of these can be deprecated. I don't think putting them on the RequirementSeverity enum is the right place. These functions are used by the install script to pass query params around.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Reviewed the changes. Looks nice and simple.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I think this can be closed as 📌 Create enums for RequirementSeverity and RequirementPhase Active went in which deprecates the REQUIREMENT_* constants.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Yeah i don't think we want to do any of that on the Drupal side.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Manually tested and confirmed adding the synonyms filter to the default analyzer fixes this issue.

Committed to 2.x and 3.x. Thanks!

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Committed to 2.x and 3.x. Thanks!

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Should just be 'verify' => false according to the docs. https://docs.guzzlephp.org/en/stable/request-options.html#verify

As for the exception in #2, that just looks like an authentication error?

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

FYI the docs say quotes for array keys in array shapes aren't needed but I added them anyway https://phpstan.org/writing-php-code/phpdoc-types#array-shapes

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Thanks for the reviews. Resolved all threads.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Do you mean constructor params? This may just be the limitation of the underlying call to stream_wrapper_register() which just takes a class name. See https://www.php.net/manual/en/function.stream-wrapper-register.php

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Adding a related issue saying we should prevent duplicates Drupal should prevent uploading of duplicates for managed files Postponed: needs info

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Actually this is a feature request.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Ran the test-only job and confirmed it fails.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Should we close this issue in favour of 📌 Create enums for RequirementSeverity and RequirementPhase Active ?

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x

I also switch the file install config to replace_whitespace: true. I'm not sure this is sufficient as a default or whether we want to go the extra step and enable it via an update hook. This will be disruptive as per #2

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Feedback has been resolved and all tests are green 🟢. Back to NR.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Looks like \Drupal\package_manager\ValidationResult was created using int values in Add Alpha level Experimental Package Manager module Needs review before this could get commited. 😞 Created a follow up 📌 [PP-1] ValidationResult should use RequirementSeverity enum Active

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper created an issue.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Added a CR about the new setting.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I'm working on rebasing this. Now most of the hooks are converted to OOP we can see what is left over.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 11.x to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I think this might get more attention if it were under theme system.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Looks like permissions aren't set correctly in your file system. Did you follow the setup instructions here? https://www.drupal.org/docs/administering-a-drupal-site/security-in-drup...

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Changes should be against 3.x and need to be in a MR to trigger the CI pipeline.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Looks like some legit test fails.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper made their first commit to this issue’s fork.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Updated title.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Updated IS to reflect latest proposed resolution.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Added a default mime type constant of \Drupal\Core\File\MimeType\MimeTypeGuesser::DEFAULT_MIME_TYPE with value 'application/octet-stream' and use that instead of empty string.

Hiding some older patches and MRs.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 3469280-drupalfileiconmimetypes-doesnt-handle to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 3469280-File-mime-type-null to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Changing from a bug to a feature request.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I think this is a performance improvement rather than a bug so changing to a task.

Tagging as needs issue summary update to add in the template, and rename title to replace drupal_move_uploaded_file() which no longer exists.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

According to https://www.drupal.org/about/core/policies/core-dependency-policies/depe... we need framework and release manager signoff on adding a new dependency on psr/clock. 🤷

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x Tests green again.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

TBH I don't have a strong opinion on which characters should be included or excluded. I'll happily defer to those with a stronger security background. I _do_ think removing whitespace will be disruptive to site owners.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Based on #10 I think we can RTBC this now.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Left some suggestions.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I think we agreed on stripping special characters. It was more about which characters to strip. I have a feeling stripping whitespace might be contentious.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I had to look into why unset($transaction) works and it's because we have a \Drupal\Core\Database\Transaction::__destruct() method that calls
$this->transactionManager()->unpile()

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Looking at the solution were all options taken?

Do you mean are all the special characters included?

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Test fail looks unrelated

Drupal\Tests\big_pipe\FunctionalJavascript\BigPipeRegressionTest::testPlaceholderHtmlEdgeCases
WebDriver\Exception\UnknownError: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
  (Session info: chrome-headless-shell=123.0.6312.58)
  (Driver info: chromedriver=123.0.6312.58 (6b4b19e9dfbb93aa414dc045bd445287977d8d7a-refs/branch-heads/6312_46@{#3}),platform=Linux 5.10.234-225.921.amzn2.x86_64 x86_64)
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia
🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 3519726-fix-incorrect-mimetype-service to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 10.4.x to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper changed the visibility of the branch 11.x to hidden.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Created a MR from the commit in #2

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

This bug only exists in 10.4.x as it triggers a deprecation that was removed in 11.0.x.

Updated the title and IS.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

kim.pepper made their first commit to this issue’s fork.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Reviewed the code changes and agree with moving legacy tests. Unfortunately a test-only run doesn't not fail to confirm the bug is fixed as the code that would fail has been moved to a new test class. Not sure if it's worth it pursuing?

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Addressed feedback and updated the IS.

I think we can create a new requirements check for the config setting. However, there was some pushback (#44_) on showing warnings on a standard install, so we need to be sure this is considered.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

@mondrake created https://www.drupal.org/project/sophron/issues/3519605 📌 SophronMimeTypeMapFactory should just override MimeTypeMapFactory::doCreateMap() Active

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Tests back to green.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

I re-ran the pipeline a couple of times to see if it was a random failure, but still getting the fails.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Back to NR for the feedback from @acbramley

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Rebased on 11.x and added docs to default.settings.php

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

This feature request was posted against D7 which is no longer supported. If there is a feature request that would apply to Drupal 11+ then please feel free to update the Issue Summary and describe the details of that request.

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Attempted to write a test for this, but couldn't work out why the invalid operation was not being passed through to \Drupal\Core\StreamWrapper\LocalStream::stream_lock() correctly. 🤔

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Updated the IS saying we propose to return FALSE for unknown operations.

Production build 0.71.5 2024