History log of /plugin/publish/_test/mail.unit.test.php (Results 1 – 13 of 13)
Revision Date Author Comments
# 453cca20 23-May-2018 Michael Große <grosse@cosmocode.de>

test: slightly improve mail body test

replacing sleep with waitForTick should make the test faster, this also tests that we have the
correct summary in the mail


# faf1789a 23-May-2018 Michael Große <grosse@cosmocode.de>

fix: don't prevent creator from a new page's metadata ��

Calling pageinfo() durint IO_WIKIPAGE_WRITE of newly created pages
caused the page's metadata file to be written prematurely which in turn
ca

fix: don't prevent creator from a new page's metadata ��

Calling pageinfo() durint IO_WIKIPAGE_WRITE of newly created pages
caused the page's metadata file to be written prematurely which in turn
caused the creator to be omitted from the page's metadata.

This reworks the create_mail_body action to no longer call pageinfo().

See also splitbrain/dokuwiki#2401

show more ...


# 2f82ebfc 17-Nov-2015 Michael Große <grosse@cosmocode.de>

Use correct links in every environment

credit issue splitbrain/dokuwiki#1315


# 2caf0be8 17-Nov-2015 Michael Große <grosse@cosmocode.de>

Fix coverage information


# eb718fbb 15-Apr-2015 Michael Große <grosse@cosmocode.de>

Fix wrong username when sending approve mail.


# c447490b 09-Apr-2015 Michael Große <grosse@cosmocode.de>

Store mail templates in extra files


# f31c6595 09-Apr-2015 Michael Große <grosse@cosmocode.de>

Fix wrong language in comment and rename function


# e6206222 07-Apr-2015 Michael Große <grosse@cosmocode.de>

Reduce signature of create_mail_body

Only the action string is actually necessary.


# bc4555ca 07-Apr-2015 Michael Große <grosse@cosmocode.de>

Handle body creation both for change and approve

The mail-bodies for change and approval mails are very similar and can
be handled in one method. Using an extra method for this text creation
makes i

Handle body creation both for change and approve

The mail-bodies for change and approval mails are very similar and can
be handled in one method. Using an extra method for this text creation
makes it easier to test.

show more ...


# 39e87974 07-Apr-2015 Michael Große <grosse@cosmocode.de>

Add test for change mail body


# efec8cf1 07-Apr-2015 Michael Große <grosse@cosmocode.de>

Finish diff-link test


# 1d7b4c34 02-Apr-2015 Michael Große <grosse@cosmocode.de>

Update tests


# abc3ac64 01-Apr-2015 Michael Große <grosse@cosmocode.de>

Fixed existing tests and added some for mail

Implemented workaround for Issue splitbrain/dokuwiki#1099