Commit graph

7428 commits

Author SHA1 Message Date
skodak
66e75f8d51 MDL-17491 experimental native oracle driver - still bugy and incomplete, this will require more core changes, grrrrrr 2008-12-05 00:10:27 +00:00
skodak
995821591d MDL-17534 simpletest: temporary fix for exception problems 2008-12-04 23:19:37 +00:00
skodak
9d833e931c MDL-17522 improved dml tests, fixed use of reserved word "number" 2008-12-04 23:16:35 +00:00
skodak
3ff8bf266b MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers 2008-12-04 11:52:53 +00:00
tjhunt
8ed5dd63ee course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
ericmerrill
62097c91ed weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it. 2008-12-03 16:31:49 +00:00
skodak
189f3ee9bf MDL-14679 enforce prefix for native pg driver 2008-12-02 10:07:03 +00:00
skodak
1638ad5317 MDL-14679 removed unnecessary CFG from native drivers 2008-12-02 10:01:01 +00:00
dongsheng
b423b4af24 REPOSITORY, FILEMANGER FORM ELEMENT/MDL-16597
new ajax filemanager.
2008-12-02 07:05:15 +00:00
poltawski
f6d3e2c486 lib: class curl does http proxy tunneling if http proxy set. Most
proxies do not permit this so I think its better to just use pure
pure http MDL-17482
2008-12-01 22:23:42 +00:00
mchurch
6795800d8b Fixed addslashes_object deprecated message. 2008-12-01 20:05:00 +00:00
skodak
3c7da16d2d MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport 2008-12-01 19:19:29 +00:00
tjhunt
5138f9623d Remove unnecessary extra $Id$ tag. It messes up the unmerged files list, and makes merging extra difficult. 2008-12-01 07:09:37 +00:00
tjhunt
df73f8d4e1 restore: MDL-17480 Potentially expensive function user_can_create_courses called repeatedly from restore UI. 2008-12-01 06:55:11 +00:00
stronk7
30d2832dd0 Added create_database() method (to be used at least by Win32 installers) 2008-11-30 19:29:37 +00:00
poltawski
83b510875d repository: New Picasa Web Albums Plugin MDL-17473 2008-11-30 17:37:06 +00:00
poltawski
ee91cf9591 portfolio: MDL-16417 - Adding googledocs/picasa plugins
* Added simple library for googleapi things
* Respository plugins to follow
2008-11-29 20:24:25 +00:00
skodak
0d13085755 MDL-17463 chnging progress report cap to new standard 2008-11-29 16:41:20 +00:00
skodak
9b1ad47be8 MDL-17372 new course reports string - role definition improvement; merged from MOODLE_19_STABLE 2008-11-29 16:33:58 +00:00
skodak
a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
skodak
088a4df8fc MDL-14679 improved limit handling 2008-11-29 13:32:56 +00:00
skodak
a1442d4e3e MDL-17436 fixed pg issue with char <> num comparison 2008-11-28 09:16:24 +00:00
skodak
b63a6a6338 MDL-17372 admin reports: Added full plugin support for admin reports - fixed sorting regression, plugins now loaded as last category 2008-11-28 08:04:23 +00:00
tjhunt
f24493ec9b random essay questions: MDL-8648 Allow essay questions to be selected by random question.
In the 1.9 branch this is controlled by a new option under Admin -> Experimental. In Moodle 2.0 dev it is not optional, it just works.

The main change is letting the manual grading report know which random questions might need manual grading. MDL-4004 - this depends on the random question under consideration, which requires a new questiontype method.

I also changed the random question code so that I could remove some global variables.
2008-11-28 06:07:11 +00:00
skodak
a7b4fc7f28 MDL-17399 workaround for missing mysqli ext 2008-11-27 22:28:56 +00:00
skodak
95f0446147 MDL-17372 course reports: Added full plugin support for course reports 2008-11-27 20:30:14 +00:00
tjhunt
df4e224454 question bank: MDL-14434 Cannot edit the only question category in a context. 2008-11-27 11:50:29 +00:00
tjhunt
004ff192d4 listlib: MDL-17422 Paging in listlib was badly screwed 2008-11-27 10:53:46 +00:00
tjhunt
1327f08eed formslib file upload: MDL-17403 try adding accept-charset="utf-8" to forms to fix occasional upload problems. 2008-11-27 02:49:02 +00:00
skodak
a0005f678f MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring 2008-11-26 19:27:40 +00:00
skodak
d994ced22b MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring 2008-11-26 19:27:39 +00:00
sam_marshall
002f56ef79 MDL-17412: Completion system unit tests were broken 2008-11-26 13:59:24 +00:00
tjhunt
24ada7b2b6 Yay! found a global variable that was not being used anywhere. Kill! Kill! 2008-11-26 08:55:24 +00:00
skodak
78a0635ccd MDL-17408 DML: new sql_modulo() method used in course sorting 2008-11-26 08:51:08 +00:00
skodak
415c4f78f3 MDL-17408 DML: new sql_modulo() method for oracle 2008-11-26 08:44:57 +00:00
skodak
e6df37346f MDL-17408 DML: new sql_modulo() method + test 2008-11-26 08:19:45 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
dongsheng
b318bb6db2 REPOSITORY/MDL-13766
pass mimetype and return value type to file picker to filter repository instances
2008-11-26 03:26:33 +00:00
skodak
b0a196ed69 MDL-14679 DML: fixed $rs typos 2008-11-25 22:49:46 +00:00
dongsheng
942995292e HTML_EDITOR, REPOSITORY/MDL-16650
media type should be returned.
2008-11-25 12:20:13 +00:00
jamiesensei
bbf4f440ee MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports" 2008-11-25 12:11:27 +00:00
dongsheng
f536910483 HTML_EDITOR, REPOSITORY/MDL-16650
Modify tinymce to return a youtube link instead a object tag.
When media filter enabled, this link will be translated to proper youtube video.
2008-11-25 10:44:04 +00:00
tjhunt
759adfffa9 user's role / capabiltiy report: sort the context tree. 2008-11-25 07:29:14 +00:00
dongsheng
28c5829404 cURL LIB/MDL-17382
make send raw post data possible
2008-11-25 04:55:31 +00:00
moodler
469337539f get_user_preferences() Fixed regression so that it returns single value when required 2008-11-25 02:30:27 +00:00
sam_marshall
cbb17d54a8 MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:21:30 +00:00
sam_marshall
0953a4e7bc MDL-15499 Database tables for conditional activities (code to follow! I hope) 2008-11-24 17:09:55 +00:00
skodak
d55132a769 MDL-17378 DML: fixed pg < 8.3 regression - found by sam, thanks 2008-11-24 11:58:59 +00:00
skodak
7fdcb77942 MDL-17377 DML: prefixless database regression in new native drivers 2008-11-24 09:31:43 +00:00
skodak
e6b854a01c MDL-17374 DML: improved BC in pg driver 2008-11-24 07:38:07 +00:00