History log of /plugin/gitbacked/action/editcommit.php (Results 1 – 25 of 30)
Revision Date Author Comments
# 477c7cb4 17-Feb-2026 Sam Edwards <sam@samedwards.ca>

Apply %mail% and %user% substitutions to all commit messages, add page %ns% substitution


# 41fa3ce7 11-Nov-2025 mhoffrog <45703410+mhoffrog@users.noreply.github.com>

�� Automatic code style fixes


# 19993fa1 10-Nov-2025 ribsey <lukas.ribi@gmail.com>

Refactor user info retrieval methods

fix warnings:
E_WARNING: Trying to access array offset on null/storage/lib/plugins/gitbacked/action/editcommit.php(96)

E_WARNING: Trying to access array offs

Refactor user info retrieval methods

fix warnings:
E_WARNING: Trying to access array offset on null/storage/lib/plugins/gitbacked/action/editcommit.php(96)

E_WARNING: Trying to access array offset on null/storage/lib/plugins/gitbacked/action/editcommit.php(100)

show more ...


# aeb41f7d 03-Mar-2025 Markus Hoffrogge <mhoffrogge@gmail.com>

Followup fix of Automatic code style fixes


# c365e7db 03-Mar-2025 mhoffrog <45703410+mhoffrog@users.noreply.github.com>

�� Automatic code style fixes


# 2762023d 03-Mar-2025 Markus Hoffrogge <mhoffrogge@gmail.com>

Format code to comply with DW standard code style rules

- add code formatter definitions:
- .editorconfig
- .vscode/settings.json

- update code to meet code style:
- conf/default.php,
con

Format code to comply with DW standard code style rules

- add code formatter definitions:
- .editorconfig
- .vscode/settings.json

- update code to meet code style:
- conf/default.php,
conf/metadata.php,
lang/de/settings.php,
lang/en/settings.php:
- fix for white space code style

- classes/*.php:
- attach classes to plugin specific namespace
- format to meet DW code style
- refactor method names to fix PSR1.Methods.CamelCapsMethodName.NotCamelCaps

- loader.php:
- add autoloader for plugin specific namespace classes

- action/editcommit.php:
- replace use of deprecated DW class definitions
by non deprecated class definitions
- followup code formatting of classes/*.php
- make use of auto loader loader.php

show more ...


# b08c3d51 03-Mar-2025 Markus Hoffrogge <mhoffrogge@gmail.com>

Refactor lib/*.php to classes/*.php as prep for DW conform unit testing

- no functional code change


# 8087f601 03-Mar-2025 Markus Hoffrogge <mhoffrogge@gmail.com>

Split GitRepo class from Git.php to GitRepo.php

- no functional code change


# a2effbcb 19-Dec-2024 msx80 <msx80@github>

update index on pull


# dd477e30 07-May-2023 Markus Hoffrogge <mhoffrogge@gmail.com>

Fix DokuWiki deprecation warnings

- action/editcommit.php:
- remove obsolete require_once for action.php
- comment dbglog(...) code lines
Note: These did not yet have been replaced by DW Log

Fix DokuWiki deprecation warnings

- action/editcommit.php:
- remove obsolete require_once for action.php
- comment dbglog(...) code lines
Note: These did not yet have been replaced by DW Logger::debug(...)
since this would break compatibility to DW releases before Igor

- closes #86

show more ...


# eeb1a599 10-Feb-2023 Markus Hoffrogge <mhoffrogge@gmail.com>

Fix: support cyrillic commit message

- editcommit.php:
- initialize field var temp_dir by GitBackedUtil::getTempDir()
- GitBackedUtil.php:
- add static function getTempDir()
to manage this p

Fix: support cyrillic commit message

- editcommit.php:
- initialize field var temp_dir by GitBackedUtil::getTempDir()
- GitBackedUtil.php:
- add static function getTempDir()
to manage this plugins temp dir in a central place
- add static function createMessageFile($message)
to wirte the git commit message to a temp file
- Git.php:
- write the commit message for commit() and add_tag()
to a temp file and let git it read from that file to fix
any escapeshellarg effects

fixes #82

show more ...


# dee8dca1 09-Feb-2023 Markus Hoffrogge <mhoffrogge@gmail.com>

Improve absolute path determination to support Windows OS

- action/editcommit.php:
- improve absolute path determination
- apply absolute path determination for repoWorkDir as well
- allow emp

Improve absolute path determination to support Windows OS

- action/editcommit.php:
- improve absolute path determination
- apply absolute path determination for repoWorkDir as well
- allow empty work dir
- conf/default.php:
- update default for repoWorkDir as empty string
-lib/GitBackedUtil.php:
- added for common util functions

show more ...


# 467b71c5 12-Aug-2022 sjv0 <samjvaughan@gmail.com>

Accept Absolute Path in 'repoPath'

Don't concatenate DOKU_INC and repoPath if repoPath is an absolute path.


# e8224fc2 25-Mar-2021 Markus Hoffrogge <mhoffrogge@gmail.com>

Extension to send error messages to a configurable eMail address

- plugin.info.txt:
- added myself to the list of authors
- updated date to 19-Mar-2021

- editcommit.php:
- pass plugin instanc

Extension to send error messages to a configurable eMail address

- plugin.info.txt:
- added myself to the list of authors
- updated date to 19-Mar-2021

- editcommit.php:
- pass plugin instance to GitRepo cTor
- added error notification helper methods
- catch Exceptions from underlying GitRepo or Git methods
to hide errors from end user rahter than sending error message by eMail

- Git.php:
- Git:
- added plugin instance to methods as paramater
- GitRepo:
- added plugin instance to cTor as parameter

- default.php, metadata.php, settings.php:
- added config 'emailAddressOnError'
- added config 'notifyByMailOnSuccess'

- lang/en:
- added localizations for error messages
- added eMail templates for mail notifocations

Signed-off-by: Markus Hoffrogge <mhoffrogge@gmail.com>

show more ...


# a6cdc68c 10-May-2016 Michael Sorg <michael.sorg@diehl.com>

corrected method-signature for php7-compatibility


# 635161d0 03-Oct-2015 Carsten Teibes <dev@f4ke.de>

Allow to set the path to the git binary
Implements #8.


# 985a1bc7 03-Oct-2015 Carsten Teibes <dev@f4ke.de>

Fix passing additional arguments to git binary

This fixes a regression introduced in 01bf4c860c8
"Update library Git.php to 0.1.4"

The hard-coded string $git_path does not exit anymore, there is no

Fix passing additional arguments to git binary

This fixes a regression introduced in 01bf4c860c8
"Update library Git.php to 0.1.4"

The hard-coded string $git_path does not exit anymore, there is now an
api to get and set the git executable.

show more ...


# 66f21a70 09-Apr-2015 Wolfgang Gassler <wolfgang@gassler.org>

added setting ignorePaths to ignore specified paths in add/commit-process


# 38f8ac72 26-Nov-2014 Wolfgang Gassler <wolfgang@gassler.org>

dokuwiki Farm fix

issue #20 when using dokuwiki Farm


# 2377428f 03-Nov-2014 Danny Lin <danny0838@gmail.com>

Coding compliance change: move handle_periodic_pull down, together with other "handle"s.


# 0d7cb616 02-Nov-2013 Birkir A. Barkarson <birkirb@stoicviking.net>

Allow name and mail user variables in addParams.


# 4eba9b44 19-Oct-2013 Danny Lin <danny0838@gmail.com>

Add an option for customizing git working tree


# 00ce3f12 19-Oct-2013 Danny Lin <danny0838@gmail.com>

Use relative path for Git.php and $conf['tempdir'] for temp file.


# e7471cfa 19-Oct-2013 Danny Lin <danny0838@gmail.com>

Coding compliance change, tabs to spaces, fix typos.


# b92b117a 12-Nov-2012 Wolfgang Gassler <wolfgang@gassler.org>

periodic pull implemented


12