summaryrefslogtreecommitdiff
path: root/_test
Commit message (Collapse)AuthorAge
* Fix backlinks for internal links with parametersMichael Hamann2013-08-17
| | | | | | | This adds the parameter extraction code from the xhtml renderer to the metadata renderer in order to not to include the parameters in the id that is recorded as link target. A test case checks that the link is actually returned as backlink (fails without the fix).
* Merge pull request #237 from splitbrain/changelogtestsonlyAndreas Gohr2013-08-04
|\ | | | | Added tests for getRevisions and getRevisionInfo from page changelog
| * Merge remote-tracking branch 'origin/master' into changelogtestsonlyKlap-in2013-08-03
| |\
| * | Fixed file names of test classesKlap-in2013-07-20
| | |
| * | Added tests for getRevisions and getRevisionInfo from page changelogKlap-in2013-07-20
| | |
* | | FS#2677 support arrays in to, cc, bcc headers in MailerAndreas Gohr2013-08-03
| | | | | | | | | | | | This does not fix FS#2677, it only adds support for fixing it later.
* | | fixed cleanPath bug in tar library FS#2802Andreas Gohr2013-08-03
| |/ |/| | | | | | | | | | | | | | | | | | | | | This time the test case was correct and actually showed a bug in the tar library. The error occured only on the first build (directory build/0/) where the zero was stripped from the path name. I added unit tests to the cleanPath function and discovered another bug with handling relative directories. I rewrote the cleanPath() function and now it should finally work. Unit tests FTW!
* | Merge pull request #224 from splitbrain/fetchimagetokexternalAndreas Gohr2013-08-03
|\ \ | | | | | | Added check of token in fetch.php for external images.
| * \ Merge remote-tracking branch 'origin/master' into fetchimagetokexternalKlap-in2013-08-02
| |\ \
| * \ \ Merge remote-tracking branch 'origin/master' into fetchimagetokexternalKlap-in2013-08-01
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/master' into fetchimagetokexternalKlap-in2013-08-01
| |\ \ \ \
| * | | | | Updated tests, removed hashKlap-in2013-08-01
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into fetchimagetokexternalKlap-in2013-07-21
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | update hashes in testsKlap-in2013-06-09
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into fetchimagetokexternalKlap-in2013-06-09
| |\ \ \ \ \
| * | | | | | fix some minor typos in fetch_imagetoken.test.phpKlap-in2013-05-21
| | | | | | |
| * | | | | | tests for fetch.php of external filesKlap-in2013-05-21
| | | | | | |
* | | | | | | Merge branch 'FS#2751' of git://github.com/splitbrain/dokuwiki into ↵Andreas Gohr2013-08-02
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pull-request-245 * 'FS#2751' of git://github.com/splitbrain/dokuwiki: coding corrections. correct type hint, remove unused variable assignment de/de-informal: localization updates (delete user function) unit tests for self deleting of user accounts FS#2751 - self deletion of user account
| * | | | | | | unit tests for self deleting of user accountsChristopher Smith2013-07-31
| | | | | | | |
| * | | | | | | Fix the useheading cache invalidation for hidden pages, add testsMichael Hamann2013-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new parameter to ft_backlinks() to ignore permissions which is needed for invalidating the cache of linking pages with useheading enabled. This also adds various test cases for ft_backlinks().
| * | | | | | | Fixed instructions on PHPunitGuy Brand2013-07-31
| | | | | | | |
* | | | | | | | HTTPClient don't pull too much bytes when no content-length is givenAndreas Gohr2013-08-02
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | FS#2802 correctly fix tar testsAndreas Gohr2013-08-02
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the DokuWiki install was in a deep namespace, the used path name could land in the >100 char limit and trigger ustar format where the filename and directory name are split. This would fail the test.
* | | | | | fixed tar tests FS#2809Andreas Gohr2013-08-01
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Tars strip the leading slash so the tests where wrong. Not sure why they stilldid work sometimes
* | | | | use http_build_query() in HTTPClientAndreas Gohr2013-08-01
| | | | | | | | | | | | | | | | | | | | this ensures nested POST data is correctly encoded
* | | | | increase test coverage for code and fileChristopher Smith2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | code - test correct recognition of downloadable filename token file - test correct recognition of syntax name & downloadable filename tokens
* | | | | Index media file usage in the metadata index and use it in ft_mediause()Michael Hamann2013-08-01
| | | | |
* | | | | Fix the useheading cache invalidation for hidden pages, add testsMichael Hamann2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new parameter to ft_backlinks() to ignore permissions which is needed for invalidating the cache of linking pages with useheading enabled. This also adds various test cases for ft_backlinks().
* | | | | Fixed instructions on PHPunitGuy Brand2013-08-01
| | | | |
* | | | | Add AES from phpseclib and use it for cookie encryptionMichael Hamann2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | This replaces the deprecated and broken Blowfish implementation that has previously been used and should provide a lot more security.
* | | | | Add truly random numbers and use them in places where randomness mattersMichael Hamann2013-08-01
| | | | |
* | | | | Simple test cases for code and file token fixGuy Brand2013-07-31
|/ / / /
* | | / added test case for FS#1442Andreas Gohr2013-07-30
| |_|/ |/| |
* | | Merge pull request #225 from splitbrain/fetchftpAndreas Gohr2013-06-16
|\ \ \ | | | | | | | | Add media_isexternal
| * \ \ Merge remote-tracking branch 'origin/master' into fetchftpKlap-in2013-06-09
| |\ \ \ | | | |/ | | |/|
| * | | tests for media_isexternalKlap-in2013-05-21
| | |/ | |/|
* | | Merge pull request #180 from splitbrain/FS#2415Andreas Gohr2013-06-16
|\ \ \ | |_|/ |/| | FS#2415, add $INFO to mediamanager
| * | (incl. the refactored file)Christopher Smith2013-02-25
| | |
| * | refactor info functions testChristopher Smith2013-02-25
| | | | | | | | | | | | | | | | | | | | | | | | pageinfo() test no longer required, unit test committed elsewhere and verified against both previous and updated versions of pageinfo() fn. basicinfo() and mediainfo() tests separated each into their own test file.
| * | Merge branch 'master' into FS#2415Christopher Smith2013-02-25
| |\ \
| * | | another test todoChristopher Smith2013-02-21
| | | |
| * | | some unit test, more requiredChristopher Smith2013-02-18
| | | |
* | | | update common_ml test for hash changeKlap-in2013-06-09
| | | |
* | | | Merge pull request #223 from splitbrain/rootids_in_mlAndreas Gohr2013-06-08
|\ \ \ \ | | | | | | | | | | Clean internal ids in ml(), that it matches with fetch.php
| * | | | Add some tests about handling of semicolonsKlap-in2013-05-21
| | | | | | | | | | | | | | | | | | | | Informative as sample implementation too
| * | | | Clean internal ids in ml(), that it matches with fetch.phpKlap-in2013-05-21
| | |_|/ | |/| | | | | | | | | | The resize token was broken because fetch.php cleans the id before the token calculation, while ml() uses the raw id
* / | | added HMAC support to PassHash class FS#2794Andreas Gohr2013-05-30
|/ / /
* | | added missing test case filesAndreas Gohr2013-05-09
| | |
* | | tar library: another fix for lone zero blocksAndreas Gohr2013-05-09
| | |
* | | fixed test nameAndreas Gohr2013-05-06
| | |