Skip to content

Releases: wunderio/drupal-ping

Rename custom ping script

21 Sep 06:56
Compare
Choose a tag to compare

Renamed _ping.custom.php to _ping.custom.example.php to avoid delays in misconfigured systems.
composer.json must contain a proper dropin-paths configuration or this package will pollute the webroot.

Better Memcached handling. +Improvements

27 Jun 13:59
2dae56b
Compare
Choose a tag to compare
  • Produce 'warning' instead of 'error' if Memcached fails. Reason: Drupal still keeps going, although slower.
  • Add Drupal logging if available. Reason: Not all systems use syslog() or error_log().
  • Capture output during the checks execution phase and display it. Reason: Sometimes if anything produces unexpected output that spoils response headers. So need to handle them differently.

Credits go to @hkirsman for the improvements of this release!

Dev env refactor. Remove some mtime code.

24 Apr 08:51
e35989b
Compare
Choose a tag to compare
  • Remove test file existence checking. It was fixed by keeping mtime in the filename.
  • README: Refactor development and testing documentation
  • Update tests
  • Refactor testing environment

NFS mtime fix

20 Apr 07:06
434bf5c
Compare
Choose a tag to compare

Fix the NFS mtime issue by storing the timestamp in the filename.

NFS weirdnesses handling

19 Apr 13:52
333ac1e
Compare
Choose a tag to compare

Try to handle NFS shortcomings that show up especially when the ping is executed very frequently on a multi-container environment, in parallel. The main problems are:

  • Filesystem test tiles show up much later after the creation, so immediate file operations on that file would fail.
  • Mtime on those test files is random, usually much less than a current timestamp. This prevents ping to understand if the file is a leftover from some earlier execution or from a running parallel ping.

D10 compatibility

30 Jan 09:07
126a8a8
Compare
Choose a tag to compare
  • Added D10 constraint to the info file

Bugfix

05 Jul 14:14
Compare
Choose a tag to compare

Ping failed when it could not write to the public dir.
This is fixed now and covered by two new additional tests.

Improvement

11 May 14:29
Compare
Choose a tag to compare
  • Env variable values containing newlines provide inconsistent debug tokens. Fixed.

Tuning

09 May 10:08
Compare
Choose a tag to compare

Tuning

  • Do not use GIT or PHP prefixes for the debug token calculation. They tend to differ between web and shell. This would lead to a situation where the shell-generated token is unusable over the web.

Refactor

29 Apr 06:01
Compare
Choose a tag to compare

Refactor

  • Refactor error messages into JSON for easier automation
  • Refactor debug token generation