| Commit message (Collapse) | Author | Age |
|\
| |
| | |
handle bz (bzip not bzip2) better
|
| |
| |
| |
| |
| | |
in fact .tbz is tar.bz (bzip1) and .tbz2 is what tar.bz2 is used
commonly.
|
|\ \
| |/
|/| |
fixes from bee9f377bc547c99fe99b4e38199cb92cf668554 commit notes
|
|/ |
|
|\
| |
| | |
Added unit tests
|
| |\
| | |
| | |
| | | |
Hurray, tests pass!
|
| | |
| | |
| | |
| | |
| | | |
Currently both the 2nd and the third assertions fail
(the first one is just for upcoming non-regression)
|
| | | |
|
|\ \ \
| |_|/
|/| | |
wiki.getAttachments returns 'perms' according to documentation
|
| | |
| | |
| | | |
Because wiki.getAttachments now returns 'perms' instead of 'perm'
|
| | | |
|
|\ \ \
| | | |
| | | | |
Check search limit depth with an inequality
|
| | | |
| | | |
| | | |
| | | | |
At least if we want to be consistent with search_universal
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise, when we check for equality, the test fails if the search start beneath
the max depth.
Eg: if I have the page ns1:ns2:mypage in my wiki, and launch the xmlrpc query
getPagelist("ns1", "depth => 1"), without this patch, it retrieves mypage
|
|\ \ \ \
| |_|_|/
|/| | | |
Don't remove page version from result if uneeded
|
| |/ /
| | |
| | |
| | | |
It may happen when the page has few versions
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this change the last modification time was taken from metadata
and then the revision that was specified there was loaded from the
attic. Now revisions from attic are only loaded when the page has been
modified more recently and the date is normally the last modification
time of the page source. This was a problem when the most recent change
was an external edit, then an older revision was shown in the feed.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Indexer: Add the PID to INDEXER_PAGE_ADD and add getPID/getPageFromPID functions
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids problems with test cases that use the indexer and the PID
cache - the index is cleaned between test cases but the PID cache
wasn't cleaned. Now PHPUnit can unset the global $Indexer between test
cases.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids re-reading of the page index file for every getPID()-call by
using a simple FIFO cache, limited to 10 items. In idx_addPage() and the
functions that it calls getPID() is called 3 times for the same PID.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows plugins to get the PID for a page and also to get the page
for a certain PID. That way plugins can build their own index that uses
numeric ids.
|
|\ \ \
| | | |
| | | | |
Made auth_aclcheck always return int
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The returned type is important in particular when we deal with xmlrpc. Indeed,
this value is directly returned to the client eg when the wiki.getAllPages method
is queried.
Currently the 'perms' attribute may be either an int or a string, and its up to
the xmlrpc client to resolve it (although Dokuwiki's documentation only tells it
can be an int).
This patch makes sure we'll always return perms as int.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
xmlrpc putPage and appendPage should return bool
|
| | | |
|
|/ /
| |
| |
| |
| | |
According to dokuwiki's documentation (https://www.dokuwiki.org/devel:xmlrpc#wikiputpage),
those methods should return booleans, not int.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
added option to enable automatic popularity data in installer
|
| | | |
|
| |/ |
|
|\ \
| |/
|/| |
de/de-informal: language updates / added "sidebar"
|
|/ |
|
|
|
|
|
|
| |
Before this change the GIF wasn't sent at all when the PHP settings
indicate that sending of the GIF needs to be deferred and it was sent
when the debug output was on.
|
| |
|
|
|
|
|
|
|
| |
This changes the previously static lastsecid into an instance variable,
this leads to consistent section edit ids when the xhtml renderer is
used more than once in a request. This makes it possible for test cases
to know the exact section edit id for an instruction array.
|
|\
| |
| | |
support CONNECT for tunneling SSL via HTTP proxies FS#2431
|
| | |
|