skodak
c643c2f513
MDL-17806 fixed sql_bit_and use which returns number and that is why it is not suitable for SQL conditions; thanks penny!
...
Fixed DML docs too.
2009-01-07 18:55:32 +00:00
skodak
84b88cfde7
MDL-11061 removed wwwroot tests from admin/index.php, now in setuplib.php
2009-01-07 15:31:54 +00:00
skodak
37ccf1fec9
MDL-17802 fixed wwwroot without any subdirectory issue
2009-01-07 09:54:09 +00:00
tjhunt
3169d49c84
unit tests: MDL-17803 test Db instatiate being called from two places, which was overwriting the reference to the real DB.
2009-01-07 08:59:13 +00:00
tjhunt
a7b7f075df
unit tests: MDL-17803 test classes were not getting destroyed at the right time, which was breaking the code that reset the test DB to the normal DB.
2009-01-07 08:58:41 +00:00
tjhunt
efacb22422
weblib: improve comment.
2009-01-07 06:28:00 +00:00
skodak
45dda59af2
MDL-14123 Full IPv6 support - reimplemented cleanremoteaddr(), it now accepts local ips too
2009-01-06 22:18:01 +00:00
skodak
656be89301
MDL-14123 Full IPv6 support - updating all db fields to theoretical 45 char limit
2009-01-06 18:14:28 +00:00
skodak
b62dff9939
MDL-17789 fixed typo
2009-01-06 12:46:55 +00:00
skodak
991ec2ee51
MDL-17777 fixed request string encoding in ISS
2009-01-06 12:33:32 +00:00
skodak
f98cfb53d1
MDL-17789 prevent potential XSS problems through PHP_SELF
2009-01-06 12:31:20 +00:00
skodak
f1e715ff88
MDL-9276 reverse proxy and normal access can not be mixed - it would valiate the one address per moodle rule, sorry
2009-01-06 10:10:19 +00:00
tjhunt
807a1a8427
question bank database: MDL-17608 Drop originalquestion field from the question_states table - it was never used for anything.
2009-01-06 05:20:21 +00:00
skodak
6d04a2fd0c
MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore
2009-01-05 22:45:06 +00:00
skodak
1870f24166
MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore
2009-01-05 22:45:06 +00:00
skodak
21517960b3
MDL-17777 improved IIS rewrite rule
2009-01-05 22:32:15 +00:00
skodak
11e7b506ce
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support
2009-01-05 21:37:20 +00:00
skodak
a91b910e4f
MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception)
2009-01-03 14:28:02 +00:00
skodak
e8b7114d5e
MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user()
2009-01-03 13:16:59 +00:00
skodak
9bda43e6be
MDL-16613 refactore session IP tracking; MDL-14213 improved message when IP changes; MDL-17754 SID is regenerated when terminating session and old session is deleted
2009-01-02 23:49:29 +00:00
skodak
93f66983cc
MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks
2009-01-02 22:56:48 +00:00
skodak
27df7ae8a5
MDL-17754 $USER object initialisation cleanup
2009-01-02 21:27:18 +00:00
skodak
eb85959b5c
MDL-16613 sesskey initialisation refactored
2009-01-02 21:20:00 +00:00
skodak
1b813f5c2a
MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup
2009-01-02 21:05:16 +00:00
skodak
b7b64ff2e0
MDL-17754 next round of session related refactoring
2009-01-02 20:32:05 +00:00
skodak
85f6b737a4
MDL-17767 yet more loginas refactoring
2009-01-02 15:29:20 +00:00
skodak
6132768ecb
MDL-17767 loginas refactoring and simplification; full SESSION switching implemented
2009-01-02 15:15:26 +00:00
skodak
542797b4e8
MDL-17767 loginas internals refactoring - code moved to sessionlib.php
2009-01-02 14:53:02 +00:00
skodak
8d1964c4f8
MDL-17754 loginas internals refactoring - code moved to sessionlib.php
2009-01-02 13:58:12 +00:00
skodak
0ad6b20cb2
MDL-17754 session code refactoring; removing test cookie which will be replaced by wwwroot checks
2009-01-02 13:42:43 +00:00
skodak
973d2660e6
MDL-16613 sesskey cleanup
2009-01-02 10:51:26 +00:00
skodak
d4a1fcaf11
MDL-16613 sesskey cleanup
2009-01-02 10:36:25 +00:00
skodak
d1aa1e4855
MDL-17758 fixed hardcoded /admin/ links
2009-01-01 14:25:29 +00:00
skodak
81f2bb8122
MDL-14992 new database based session table - not used yet
2008-12-31 12:24:19 +00:00
skodak
af9b269cb8
MDL-15928 PHP 5.2.8 has new zip support - all know problems seem to be solved - yay!
2008-12-30 19:17:39 +00:00
skodak
d993468db0
MDL-17556 fixed whitespace
2008-12-30 16:29:38 +00:00
skodak
27134b7dde
MDL-17682 added default value for city field
2008-12-29 21:46:59 +00:00
skodak
920337d1d0
MDL-17637 fixed adobe XSS protection
2008-12-29 21:18:02 +00:00
skodak
ce5a068b2f
MDL-17738 fixed uninitialised setting
2008-12-28 18:42:35 +00:00
mjollnir_
ee1efe0b0f
MDL-17694: very small stickyblocks improvements (Merged from MOODLE_19_STABLE)
2008-12-19 09:49:33 +00:00
mjollnir_
0e4e1a43f1
MDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields to return. These are used by messaging/emailing. (Merged from MOODLE_19_STABLE)
2008-12-19 08:56:25 +00:00
mjollnir_
a65cfba54d
MDL-17692: count_role_users now accepts an int or an array of ints for roleid - this is now consistent with get_role_users. (Merged from MOODLE_19_STABLE)
2008-12-19 08:45:44 +00:00
dongsheng
9e3f34d1c7
"FILTER/MDL-14582, filters 2.0, compatible with old filters"
2008-12-19 02:16:00 +00:00
sam_marshall
00653161b5
MDL-17556: Improve performance of get_fast_modinfo when courses have many activities
2008-12-18 17:52:29 +00:00
sam_marshall
82bd6a5ea9
MDL-15499: Conditional availability of activities
2008-12-17 16:37:35 +00:00
fmarier
588acd0608
MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster)
2008-12-17 02:55:33 +00:00
stronk7
294c03a996
MDL-17647 accesslib - cleaning some candoanything in comments. Merged from 19_STABLE
2008-12-17 00:33:32 +00:00
stronk7
c362878ed7
MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions.
2008-12-15 21:41:09 +00:00
tjhunt
212235d3e2
accesslib: MDL-17647, MDL-17648 and MDL-17649 Bug fix, improvement and unit test.
...
MDL-17647 was referring to moodle/site:candoanything insstead of moodle/site:doanything
MDL-17648 Let get_users_by_capability take an array of capabilities, like has_any_capability
MDL-17649 get_users_by_capability must have unit tests (HEAD only).
The unit tests were briefly working (apart from the system context, which I had to set up by hand in the test contexts table). Then I made the mistake of trying to upgrade the test tables, and it all went horribly wrong (MDL-17644).
2008-12-15 06:22:18 +00:00
tjhunt
b1bc126319
unit tests: MDL-17646 Arrgh! edited the wrong file after making testsimpletestlib.php by copying testaccesslib.php!
2008-12-15 03:08:22 +00:00