| f7f7fb6c | 22-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make reuse of mediamanager popup easier
This introduces a mechanism to override what happens when a media item is selected in the media manager popup by providing a callback name in the URL. The def
make reuse of mediamanager popup easier
This introduces a mechanism to override what happens when a media item is selected in the media manager popup by providing a callback name in the URL. The default implementation just does what dw_mediamanager.insert did before and calls insertTags()
show more ...
|
| 0476c521 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
added travis configuration for mysql checks |
| 0cec3e2a | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
cache groups during a request |
| 36726b91 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
marked authmyslq and authpgsql as deprecated |
| 67234204 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
removed isset() from blank() function
As discussed in #1471, an uninitialized variable will always be implicitly created when passed to the blank() function. Calling isset() is thus a no-op. A warni
removed isset() from blank() function
As discussed in #1471, an uninitialized variable will always be implicitly created when passed to the blank() function. Calling isset() is thus a no-op. A warning about this behavior has been added to the function comment.
show more ...
|
| 3258ecf1 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
deny access to .git directories in .htaccess |
| 6fc7ffc9 | 19-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
use proper JSON in mediaupload response. fixes #1474 |
| b24d9195 | 18-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (
refactor page saving and introduce COMMON_WIKIPAGE_SAVE
This makes the saveWikiText() function a little easier to read and moves external edit handling to its own function. Behavior stays the same (tests are unchanged).
In addition a new event COMMON_WIKIPAGE_SAVE is introduced that makes intercepting and acting on page saves much easier than possible before.
Developers can:
* prevent saves by either preventing the default action or overwriting the contentChanged field in a BEFORE hook * enforce saves even when no content changed by overwriting the contentChanged field in a BEFORE hook * Adjust the saved content by modifying the newContent field in a BEFORE hook * Adjust the stored change log information (summary, type, extras) in an AFTER hook * Easily know if a page was deleted, created or edited by inspecting the changeType field * what ever they want before or after a wiki page is saved
show more ...
|
| 023953f0 | 17-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added test for saveWikiTest()
for possible upcoming refactoring |
| 014eefaa | 14-Feb-2016 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| df01249e | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
added fluxbb dump to the tests.
now all capabilities are covered |
| 07a11e2a | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
prepend default group
this makes sure manually assigned groups win on systems where only one group is supported. |
| 358942b5 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
skip leaving unknown groups |
| 745947b2 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
ignore whitespace in capability testing |
| 964d95c6 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
added a few more tests for wordpress |
| 14119d44 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
make sure integers are quoted as integers
otherwise limit and offsets break in mysql |
| 3f4d1534 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
first go at using real database dumps for tests
this configures a minimal wordpress setup |
| f695c447 | 12-Feb-2016 |
Andreas Gohr <andi@splitbrain.org> |
fix non-SELECT queries |
| e70ecfc9 | 11-Feb-2016 |
Romano <romanocl@outlook.com> |
translation update |
| a38bc7e6 | 03-Feb-2016 |
Masoud Sadrnezhaad <masoud@sadrnezhaad.ir> |
translation update |
| 1600c7cc | 30-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
finally not available on old PHP releases |
| c27579a6 | 30-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
added translations and metadata |
| 337d8a30 | 30-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
removed generic test
|
| 29a1d291 | 30-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
skip tests if sqlite or pdo is missing |
| 0d586afd | 30-Jan-2016 |
Andreas Gohr <andi@splitbrain.org> |
capability checks added |