]>
CyberLeo.Net >> Repos - SourceForge/phpwiki.git/log
rurban [Tue, 13 Jul 2004 15:23:23 +0000 (15:23 +0000)]
Test all available backends, not just file
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3905
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 14:03:31 +0000 (14:03 +0000)]
just some comments
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3904
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 13:59:15 +0000 (13:59 +0000)]
postpone all errors, fixed assertion, added memory usage for _DEBUG_TRACE
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3903
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 13:08:25 +0000 (13:08 +0000)]
fix PEAR memory waste issues
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3902
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 13:07:27 +0000 (13:07 +0000)]
improved DB_SESSION logic
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3901
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 10:22:54 +0000 (10:22 +0000)]
added the new wikipedia sisterprojects (only english so far)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3900
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 13 Jul 2004 10:17:17 +0000 (10:17 +0000)]
added the missing /wiki suffix to some wikipedia languages. De already had it.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3899
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 10 Jul 2004 13:22:34 +0000 (13:22 +0000)]
Finally wrap the logo on MSIE, as with Mozilla
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3898
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 10 Jul 2004 08:50:24 +0000 (08:50 +0000)]
applied patch by Philippe Vanhaesendonck:
pass column list to iterators so we can FETCH_NUM in all cases.
bind UPDATE pramas for huge pagedata.
portable oracle backend
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3897
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 13:05:34 +0000 (13:05 +0000)]
just aesthetics
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3896
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 12:50:50 +0000 (12:50 +0000)]
references are declared, not enforced
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3895
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 12:49:46 +0000 (12:49 +0000)]
no limit, no sorting
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3894
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 12:48:52 +0000 (12:48 +0000)]
dont use if loading the plugin fails
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3893
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 12:47:45 +0000 (12:47 +0000)]
dont cache _ cached_html and pagename in flatfile page iterators
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3892
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 12:29:26 +0000 (12:29 +0000)]
Properly save and restore the request args for each test.
Improved DumpHtml test, fixed dumphtml for browser request.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3891
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 10:25:52 +0000 (10:25 +0000)]
fix the args parser
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3890
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 10:06:50 +0000 (10:06 +0000)]
Use backend specific sortby and sortable_columns method, to be able to
select between native (Db backend) and custom (PageList) sorting.
Fixed PageList::AddPageList (missed the first)
Added the author/creator.. name to AllPagesBy...
display no pages if none matched.
Improved dba and file sortby().
Use &$request reference
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3889
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 9 Jul 2004 09:52:57 +0000 (09:52 +0000)]
wording
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3888
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 21:33:15 +0000 (21:33 +0000)]
minor test optimizations
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3887
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 21:32:36 +0000 (21:32 +0000)]
Prevent from more warnings, minor db and sort optimizations
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3886
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 20:30:07 +0000 (20:30 +0000)]
plugin->run consistency: request as reference, added basepage.
encountered strange bug in AllPages (and the test) which destroys ->_dbi
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3885
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 19:14:57 +0000 (19:14 +0000)]
more metadata fixes
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3884
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 19:04:49 +0000 (19:04 +0000)]
more unittest fixes (file backend, metadata RatingsDb)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3883
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 18:01:48 +0000 (18:01 +0000)]
fix cache issues on purging, check against php test.php cmdline
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3882
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 17:31:43 +0000 (17:31 +0000)]
improve numPages for file (fixing AllPagesTest)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3881
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 17:30:00 +0000 (17:30 +0000)]
purge testbox only on SetupWiki test
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3880
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 17:29:36 +0000 (17:29 +0000)]
run only requested tests
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3879
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 16:56:16 +0000 (16:56 +0000)]
use the backendType abstraction
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3878
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 15:35:17 +0000 (15:35 +0000)]
renamed the four PearDB backends to have a PearDB_ prefix, to be consistent
with the ADODB backend. (files and classnames)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3877
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 15:23:59 +0000 (15:23 +0000)]
less verbose for tests
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3876
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 15:22:17 +0000 (15:22 +0000)]
added testImportOldMarkup
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3875
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 13:50:33 +0000 (13:50 +0000)]
various unit test fixes: print error backtrace on _DEBUG_TRACE; allusers fix; new PHPWIKI_NOMAIN constant for omitting the mainloop
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3874
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 13:48:08 +0000 (13:48 +0000)]
Simplify MockRequest and user objects to run through all pages and plugins.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3873
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 11:12:49 +0000 (11:12 +0000)]
quiet the testruns
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3872
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 8 Jul 2004 11:11:33 +0000 (11:11 +0000)]
config.php needs an user agent
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3871
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 7 Jul 2004 21:00:53 +0000 (21:00 +0000)]
Argh .. get rid of silly DOS \rs
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3870
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 7 Jul 2004 19:47:36 +0000 (19:47 +0000)]
Fixes to get PreferencesApp to work-- thanks syilek
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3869
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 7 Jul 2004 19:46:39 +0000 (19:46 +0000)]
WikiLens preferences-showing app
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3868
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 7 Jul 2004 15:02:26 +0000 (15:02 +0000)]
Take out if that prevents column sorting
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3867
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 7 Jul 2004 15:01:44 +0000 (15:01 +0000)]
Allow ratingvalue, ratingwidget, prediction, numbacklinks columns to be sortable
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3866
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 6 Jul 2004 09:15:23 +0000 (09:15 +0000)]
cache groups, added load and save tests
(all pgsrc files must be able to be transformed)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3865
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 14:12:59 +0000 (14:12 +0000)]
sqlite sql syntax fixes
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3864
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 13:57:03 +0000 (13:57 +0000)]
sqlite autoincrement fix
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3863
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 13:12:58 +0000 (13:12 +0000)]
allow table,tr,td
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3862
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 13:09:37 +0000 (13:09 +0000)]
ENABLE_RAW_HTML_LOCKEDONLY, ENABLE_RAW_HTML_SAFE
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3861
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 13:04:47 +0000 (13:04 +0000)]
new RawHtml policies: ENABLE_RAW_HTML_LOCKEDONLY, ENABLE_RAW_HTML_SAFE
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3860
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 12:57:54 +0000 (12:57 +0000)]
add mysql timeout
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3859
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 5 Jul 2004 12:56:48 +0000 (12:56 +0000)]
autocreate non-existing sqlite db
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3858
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 4 Jul 2004 10:28:06 +0000 (10:28 +0000)]
DBADMIN_USER fix
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3857
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 4 Jul 2004 10:24:43 +0000 (10:24 +0000)]
forgot the expressions
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3856
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 4 Jul 2004 08:44:08 +0000 (08:44 +0000)]
updated the date for action=upgrade
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3855
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 4 Jul 2004 08:41:39 +0000 (08:41 +0000)]
added PhpWikiDocumentation footers
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3854
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sun, 4 Jul 2004 08:34:35 +0000 (08:34 +0000)]
added this missing doc
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3853
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 17:26:19 +0000 (17:26 +0000)]
added DBADMIN_USER:DBADMIN_PASSWD
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3852
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 17:21:28 +0000 (17:21 +0000)]
updated docs: submitted new mysql bugreport (#1491 did not fix it)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3851
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 16:51:06 +0000 (16:51 +0000)]
optional DBADMIN_USER:DBADMIN_PASSWD for action=upgrade (if no ALTER permission)
added atomic mysql REPLACE for PearDB as in ADODB
fixed _lock_tables typo links => link
fixes unserialize ADODB bug in line 180
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3850
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 14:48:18 +0000 (14:48 +0000)]
Tested new mysql 4.1.3-beta: binary search bug as fixed.
=> fixed action=upgrade,
=> version check in PearDB also (as in ADODB)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3849
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 08:19:40 +0000 (08:19 +0000)]
trap recursive redirects
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3848
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 08:04:19 +0000 (08:04 +0000)]
fixed implicit PersonalPage login (e.g. on edit), fixed to check against create ACL on create, not edit
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3847
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 07:36:28 +0000 (07:36 +0000)]
do not get unneccessary content
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3846
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Sat, 3 Jul 2004 07:35:45 +0000 (07:35 +0000)]
give plugins a (not unique) ID tag of the plugin name
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3845
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Fri, 2 Jul 2004 18:49:02 +0000 (18:49 +0000)]
Change one line so that if addPageList() is passed null, it is still
okay. The unit tests do this (ask to list AllUsers where there are no
users, or something like that).
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3844
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Fri, 2 Jul 2004 18:46:10 +0000 (18:46 +0000)]
Comment out _maxlen assertion, because it didn't work, not quite sure why.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3843
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 2 Jul 2004 11:03:53 +0000 (11:03 +0000)]
renamed WikiFormMore to WikiFormRich: better syntax, no eval (safer)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3842
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 2 Jul 2004 10:30:36 +0000 (10:30 +0000)]
always disable getimagesize for < php-4.3 with external png's
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3841
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Fri, 2 Jul 2004 09:55:58 +0000 (09:55 +0000)]
more stability fixes: new DISABLE_GETIMAGESIZE if your php crashes when loading LinkIcons: failing getimagesize in old phps; blockparser stabilized
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3840
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Thu, 1 Jul 2004 15:41:54 +0000 (15:41 +0000)]
Make calls to plugins more correct to satisfy new picky unit tests
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3839
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Thu, 1 Jul 2004 15:40:59 +0000 (15:40 +0000)]
Comment out 2 tests for parsing images, because I couldn't get them to
work. Sad. :-( Basically, they require a working web server to get
image size, and that didn't seem compatible with the current unit test
setup.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3838
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Thu, 1 Jul 2004 15:38:39 +0000 (15:38 +0000)]
- printSimpleTrace() to print out a nice stack trace
- Replace the error handler, too, so the tests get more picky
- Use new "testbox" backend
- Use mock request, to get the tests to work
- Make a MockUser object
- Make MockRequest::getArg() more friendly, add MockRequest::getGroup()
- Only print out test detail if the tests fail
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3837
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 13:59:25 +0000 (13:59 +0000)]
enhanced to allow arbitrary order of args and stricter eval checking
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3836
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Thu, 1 Jul 2004 13:29:43 +0000 (13:29 +0000)]
Add minimal data for functioning unit tests with this file backend
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3835
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 13:14:01 +0000 (13:14 +0000)]
desc only
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3834
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 13:11:53 +0000 (13:11 +0000)]
more generic forms
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3833
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 09:29:40 +0000 (09:29 +0000)]
fixed another DbSession crash: wrong WikiGroup vars
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3832
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 09:05:41 +0000 (09:05 +0000)]
support pages and exclude arguments for all 4 dump methods
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3831
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 08:51:22 +0000 (08:51 +0000)]
dumphtml: added exclude, print pagename before processing
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3830
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 08:49:38 +0000 (08:49 +0000)]
obsolete php5-patch.php: minor php5 login problem though
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3829
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 08:15:10 +0000 (08:15 +0000)]
improved make
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3828
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Thu, 1 Jul 2004 06:31:23 +0000 (06:31 +0000)]
doc upcase only
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3827
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 20:12:09 +0000 (20:12 +0000)]
+ Change numbacklinks function to use existing core functions.
It's slower, but it'll work.
+ Change ratingvalue column to get its specific user as column 5 (index 4).
+ ratingwidget column uses WikiPlugin_RateIt's RatingWidgetHtml
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3826
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 20:06:44 +0000 (20:06 +0000)]
Use RatingsDb singleton.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3825
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 20:05:36 +0000 (20:05 +0000)]
+ Add getTheRatingsDb() singleton.
+ Remove defaulting of dimension, userid, pagename in getRating--
it didn't work
+ Fix typo in get_rating.
+ Fix _sql_get_rating_result
+ Fix sql_rate(). It's now not transactionally safe yet, but at least it
works.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3824
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 20:00:20 +0000 (20:00 +0000)]
For CategoryPage plugin, to list items in a category
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3823
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 19:59:07 +0000 (19:59 +0000)]
Make changes suitable so that wikilens theme (and wikilens.org) work properly.
+ Remove predictions (for now)
+ Use new RatingsDb singleton.
+ Change RatingWidgetHtml() to use parameters like a normal PHP function
so we can have PHP check that we're passing the right # of them.
+ Change RatingWidgetHtml() to be callable static-ally
(without a plugin object)
+ Remove the "RateIt" button for now, because we don't use it on wikilens.org.
Maybe if someone wants the button, there can be an arg or flag for it.
+ Always show the cancel button, because UI widgets should not hide.
+ Remove the "No opinion" button for now, because we don't yet store that.
This is a useful thing, tho, for the future.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3822
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 19:54:17 +0000 (19:54 +0000)]
UserRatings for WikiLens
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3821
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
dfrankow [Wed, 30 Jun 2004 19:51:30 +0000 (19:51 +0000)]
CategoryPage for WikiLens
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3820
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Wed, 30 Jun 2004 11:30:43 +0000 (11:30 +0000)]
get db params from config/config.ini
only db root is needed for Makefile now
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3819
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 18:47:40 +0000 (18:47 +0000)]
use predefined constants, and added sf.net defaults
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3818
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 18:09:20 +0000 (18:09 +0000)]
better desc
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3817
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 12:36:34 +0000 (12:36 +0000)]
outcomment KEYWORD_LINK_REGEXP. This is never read
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3816
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 10:52:40 +0000 (10:52 +0000)]
updates
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3815
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 10:09:06 +0000 (10:09 +0000)]
better desc
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3814
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 10:07:40 +0000 (10:07 +0000)]
added dump of all revisions by format=backup (screen and download)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3813
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 09:30:42 +0000 (09:30 +0000)]
force string hash
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3812
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 09:11:10 +0000 (09:11 +0000)]
More memory optimization:
don't cache unneeded _cached_html and %content for content and size columns
(only if sortable, which will fail for too many pages)
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3811
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 08:52:24 +0000 (08:52 +0000)]
Use ...version() $need_content argument in WikiDB also:
To reduce the memory footprint for larger sets of pagelists,
we don't cache the content (only true or false) and
we purge the pagedata (_cached_html) also.
_cached_html is only cached for the current pagename.
=> Vastly improved page existance check, ACL check, ...
Now only PagedList info=content or size needs the whole content, esp. if sortable.
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3810
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 08:47:42 +0000 (08:47 +0000)]
Memory optimization (reference to parent, smart bool %content)
Fixed class grouping in table
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3809
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Tue, 29 Jun 2004 06:48:04 +0000 (06:48 +0000)]
Improve LDAP auth and GROUP_LDAP membership:
no error message on false password,
added two new config vars: LDAP_OU_USERS and LDAP_OU_GROUP with GROUP_METHOD=LDAP
fixed two group queries (this -> user)
stdlib: ConvertOldMarkup still flawed
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3808
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 28 Jun 2004 19:00:01 +0000 (19:00 +0000)]
removed non-portable LIMIT 1 (it's getOne anyway)
removed size from info=most: needs to much memory
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3807
96ab9672 -09ca-45d6-a79d-
3d69d39ca109
rurban [Mon, 28 Jun 2004 18:58:18 +0000 (18:58 +0000)]
fixed another pass-by-reference
git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3806
96ab9672 -09ca-45d6-a79d-
3d69d39ca109