Berlin
Account created on 14 September 2007, about 18 years ago
#

Merge Requests

More

Recent comments

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

Rebased. Test-Only fails.

But I will also test the fix in a real use-case.

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

tobiasb created an issue.

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

MR was merged.

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

tobiasb created an issue.

🇩🇪Germany tobiasb Berlin

Fyi: bef_datepickers.js does nothing, because $.fn.datepicker is not defined without a loaded jquery_ui_datepicker/datepicker.. Which was removed in 📌 Remove dependency on jquery_ui_datepicker Needs work .

When jquery_ui_datepicker/datepicker is loaded, then the date input has the jquery datepicker widget behind the native date picker from the browser. :D

🇩🇪Germany tobiasb Berlin

Thanks, committed with small changes to make PHPStan happy.

🇩🇪Germany tobiasb Berlin

Thx commited.

🇩🇪Germany tobiasb Berlin

tobiasb changed the visibility of the branch 3061935-fatal-error-trait to hidden.

🇩🇪Germany tobiasb Berlin

The issue 🐛 Move content_translation I18nQueryTrait to migrate module Active was fixed in Drupal core and is part of 11.2. So I think we do not need this anymore.

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

Thx commited.

For the log:

CR of drupal: https://www.drupal.org/node/3363700

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

With NULL as value, we get an error.

Cannot load the "date_format" entity with NULL ID.

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

This hook can not be used by core/contrib.

When you update a module, you export the changed config locally and commit these changes. (drush updb/drush cex)

Deploy the code + config.

Then you can run drush deploy on the live site.

🇩🇪Germany tobiasb Berlin

Both will be added to the view via update hook openculturas_map_update_10004.

🇩🇪Germany tobiasb Berlin
🇩🇪Germany tobiasb Berlin

I can not change the maintainer list. I just forgot once again. That I need to enable notifications for the project.

🇩🇪Germany tobiasb Berlin

Saw the same.

ace.config.set was overridden by the old way, only workerPath worked

I replaced it and updated to latest version.

🇩🇪Germany tobiasb Berlin

We do not use a patch atm.

🇩🇪Germany tobiasb Berlin

we use now ECA v2.

🇩🇪Germany tobiasb Berlin

Patches are part of tour v2.

🇩🇪Germany tobiasb Berlin

I removed the INSTALL.txt. A composer require is enough today.

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

Thx. Commited toi

🇩🇪Germany tobiasb Berlin

It needs some love to make phpstan/rector happy.

🇩🇪Germany tobiasb Berlin

@avpaderno

Sure.

🇩🇪Germany tobiasb Berlin

The same problem with cookies module.

Remove header:true everything seems to be ok.

But there is also a problem with navigation-utils.js because it does not use "Drupal~behavior", so DOM can be not ready/fully loaded.

🇩🇪Germany tobiasb Berlin

No answer until now.

Time for the next step.

🇩🇪Germany tobiasb Berlin

I relabeled as a bug report, because I cherry-picked it into 2.4.x.

🇩🇪Germany tobiasb Berlin

I relabeled as a bug report, because I cherry-picked it into 2.4.x.

🇩🇪Germany tobiasb Berlin

D7 is gone. So bumping Version to 4.x.

🇩🇪Germany tobiasb Berlin

I created a new MR, because I can change the target branch.

🇩🇪Germany tobiasb Berlin

tobiasb changed the visibility of the branch 2985400-urlcreatefromrequest-ignores-query to hidden.

🇩🇪Germany tobiasb Berlin

tobiasb made their first commit to this issue’s fork.

🇩🇪Germany tobiasb Berlin

Seems to work fine. It still try to find a translation for en (see screenshot), but not for remote, when the remote uri is build with default server pattern. (ftp.drupal.org)

🇩🇪Germany tobiasb Berlin

So with PrivateStream and \Drupal\Core\StreamWrapper\PrivateStream::getExternalUrl the view links to system/files/my.po, which does not exists, but that is ok. The file is then removed, when file_cron cleanups temporary files.

Better would be. Upload file -> import translation -> remove file. But this is out of scope.

🇩🇪Germany tobiasb Berlin

Rethinking.

Based on LocalStream -> getExternalUrl-> exception -> yes please.
Based on PrivateStream -> getExternalUrl -> exception -> why?

Removing \Drupal\locale\StreamWrapper\TranslationsStream::getExternalUrl would use \Drupal\Core\StreamWrapper\PrivateStream::getExternalUrl then and no Change record is required.

I need to review it in a real drupal installation.

🇩🇪Germany tobiasb Berlin

We need to find the place where drupal tries to fetch the translation from l.d.o, so that we ca avoid the step.

The installer needs all languages for InstallerTranslationMultipleLanguageKeepEnglishTest.

And I believe we locale_translation_batch_status_check() is right place to start.

🇩🇪Germany tobiasb Berlin

I added the changes from 104 + native typehint. But then I saw getExternalUrl was removed, which I added again.

🇩🇪Germany tobiasb Berlin

Ok, forget it. setTimestamp wants a int. Unless we are calling the origin DateTime::createFromTimestamp in >= php8.4.

I move the test to the unit test.

🇩🇪Germany tobiasb Berlin

Co-maintainer Oliver Bethke https://www.drupal.org/u/ollibolli wrote me, he can not add me as a co-maintainer.

🇩🇪Germany tobiasb Berlin

The test was a one-liner at the end. :D

🇩🇪Germany tobiasb Berlin

Other examples https://git.drupalcode.org/project/openculturas/-/tree/2.5.x/profile/mod...

Use https://api.usps.com/oauth2/v3/authorize for authorization_uri.

🇩🇪Germany tobiasb Berlin

Fyi: 8.4 comes with native \DateTime::createFromTimestamp, which allows int|float. https://github.com/php/php-src/commit/88f2dc626862b4c40ea20b8029838a8d0d....


$timestamp = 2147483647/1.1;

// Origin float
var_dump($timestamp);

$timestamp_casted = (int) $timestamp;

// Casted as int
var_dump($timestamp_casted);

// Output with float
var_dump(DateTime::createFromTimestamp($timestamp));

// Output with casted float
var_dump(DateTime::createFromTimestamp($timestamp_casted));

Output in 8.4.6:

float(1952257860.9090908)
int(1952257860)
object(DateTime)#1 (3) {
  ["date"]=>
  string(26) "2031-11-12 13:51:00.909091"
  ["timezone_type"]=>
  int(1)
  ["timezone"]=>
  string(6) "+00:00"
}
object(DateTime)#1 (3) {
  ["date"]=>
  string(26) "2031-11-12 13:51:00.000000"
  ["timezone_type"]=>
  int(1)
  ["timezone"]=>
  string(6) "+00:00"
}

So the best is to follow php-core.

Production build 0.71.5 2024