1563 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
21ba26e814 Merge branch 'w27_MDL-28158_m22_cookies' of git://github.com/skodak/moodle 2011-07-11 15:33:03 +02:00
Petr Skoda
0342fc3609 MDL-28158 add optional "Remember username" checkbox in login forms 2011-07-10 13:22:55 +02:00
Petr Skoda
cdbd37126d MDL-28279 remove flash client version blocking
Everybody is responsible for upgrades of Flash, there is no excuse any more.
2011-07-10 11:03:02 +02:00
Petr Skoda
b216a820a1 MDL-28161 precreate htmlpurifier dir when resetting caches
Includes sloppy whitespace fix.
2011-07-04 09:48:03 +02:00
Eloy Lafuente (stronk7)
a092e9bc42 Merge branch 'wip-MDL-25249-master-r1' of git://github.com/samhemelryk/moodle 2011-06-30 00:55:20 +02:00
Sam Hemelryk
797cedc7cf MDL-25249 Tidied up calendar variable passing and removed session abuse 2011-06-29 14:50:38 +08:00
jamiepratt
13264f3505 MDL-27162 "localize strings in mathslib" needed to add mathslib file
to list of core language files in moodlelib.
2011-06-23 12:33:32 +01:00
Eloy Lafuente (stronk7)
4a9e5fbe91 MDL-27759 fix whitespace 2011-06-14 17:01:20 +02:00
Rajesh Taneja
b4e29077d3 MDL-27759 Fixed conflicts for integration 2011-06-14 10:45:03 +08:00
Rajesh Taneja
ccc77f9152 MDL-27759 user webservice - added new PARAM for timezone PARAM_TIMEZONE, to validate timezone input in webservice while deling with user information 2011-06-14 10:15:00 +08:00
David Mudrak
a0166f5507 MDL-27792 Fixed missing core subsystem 2011-06-09 16:19:51 +02:00
Eloy Lafuente (stronk7)
2cb791ebc5 Merge branch 'wip-mdl-27577-master' of git://github.com/rajeshtaneja/moodle 2011-06-09 00:59:11 +02:00
Sam Hemelryk
96e0194c05 Merged branch 'MLD-27551' of git://github.com/mouneyrac/moodle.git with changes 2011-06-08 17:34:17 +08:00
Jerome Mouneyrac
c1b658832d MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service) 2011-06-08 15:10:26 +08:00
Sam Hemelryk
7bff5441c8 Merged changes for MDL-25394 2011-06-08 10:58:42 +08:00
Rajesh Taneja
6a0bf5c4b0 MDL-27577 moodlelib - fixed dst offset in userdate, usergetdate and make_timestamp functions 2011-06-03 09:50:38 +08:00
Sam Hemelryk
e5824bb9c6 MDL-25394 Tidied up several things in order to get this integrated 2011-05-31 14:28:03 +08:00
Anthony Forth
37959dd471 MDL-25394 Improved support for mobile and device themes 2011-05-31 14:25:52 +08:00
Tim Hunt
39759ac468 MDL-27408 fix a few minor bugs with the upgrade from 2.0.
More testing, and adaptive mode, still to come.
2011-05-12 21:03:24 +01:00
Tim Hunt
a2ac234956 MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
Conflicts:
	lib/filestorage/file_storage.php
	mod/quiz/attemptlib.php
	mod/quiz/lib.php
	mod/quiz/mod_form.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	mod/quiz/report/responses/responses_table.php
	mod/quiz/report/statistics/db/install.xml
	mod/quiz/report/statistics/qstats.php
	mod/quiz/report/statistics/report.php
	mod/quiz/report/statistics/statistics_question_table.php
	mod/quiz/report/statistics/statistics_table.php
	mod/quiz/report/statistics/version.php
	mod/quiz/review.php
	mod/quiz/reviewquestion.php
	mod/quiz/startattempt.php
	mod/quiz/styles.css
	mod/quiz/view.php
	question/type/essay/questiontype.php
	question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
	question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
	question/type/numerical/display.html
	question/type/numerical/questiontype.php
	question/type/questiontype.php
	question/type/random/questiontype.php
	question/type/shortanswer/questiontype.php
	theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Sam Hemelryk
d045b479f4 Merge branch 's9_MDL-26854_spam_comments_master_2' of git://github.com/dongsheng/moodle 2011-05-05 10:41:53 +08:00
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
David Mudrak
546b4bf59d MDL-26955 get_plugin_directory() respects $CFG->themedir
If $CFG->themedir is set (it is not usually) and the given theme is not
found in the standard location, then it is expected to be in the custom
$CFG->themedir directory.

Credit goes to Urs Hunkler for the idea of the patch.
2011-04-27 14:09:02 +02:00
Petr Skoda
5f27855ea4 MDL-26914 fix undefined CFG langcache property during install 2011-04-06 10:50:19 +02:00
David Mudrak
b9934a173a MDL-26784 Improved plugins check screen and the new plugins management screen
This patch introduces new lib/pluginlib.php library that provides
unified access meta-information about all present plugin types. The
library defines plugin_manager singleton that in turn gathers
information about all present plugins and their status. The list of
plugins can be rendered either as plugins check table or plugins control
panel.

This makes print_plugins_table() function obsolete and because it is not
expected to be called by any contrib plugin, the function is removed.
CSS for the legacy table generated by print_plugins_table() is cleaned
up.
2011-03-31 13:59:05 +02:00
Eloy Lafuente (stronk7)
df8248b035 Merge branch 'MDL-26804-langlistcache_master' of git://github.com/mudrd8mz/moodle 2011-03-28 14:48:38 +02:00
David Mudrak
a9cbd19bff MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).

The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
Andrew Davis (andyjdavis)
7e98f60bfb message MDL-26077 fixed up a problem with html tags being stripped out 2011-03-24 11:30:12 +08:00
David Mudrak
c198593b0e MDL-22478 Allow alternative location of strings disk cache
Administrators can now specify $CFG->langcacheroot in their config.php for
alternative location of strings disk cache. If the alternative location is
not set, Moodle uses default $CFG->dataroot/cache/lang
2011-03-11 12:34:52 +01:00
Petr Skoda
ed66022935 MDL-26625 do not look for session size if session not started 2011-03-08 10:31:16 +01:00
sam marshall
f07704d2a2 lib MDL-26625 Add session size info to perfdebug block 2011-03-04 15:52:19 +00:00
Tim Hunt
e2cba246b7 MDL-20636 Merge vle/master into ouqe2
Conflicts:
	mod/quiz/locallib.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	question/type/random/questiontype.php
2011-03-02 17:34:18 +00:00
Petr Skoda
8bdb31ed54 MDL-26564 fix regressions and other problems in csv user upload
This patch fixes incorrect password creating, updating and resetting, updating of user fields, unsupported auth plugins are correctly identified, modification of mnethostid is prevented, fixed problem with email duplicates, new password is generated for users without email, etc. It also includes coding style improvements, more inline docs, future TODOs and license information.
2011-02-28 08:27:31 +01:00
Daren Chandisingh
cb6b733232 Change 'Simbian' to 'Symbian' 2011-02-18 12:28:26 +00:00
Petr Skoda
4f97de7624 MDL-23939 do not load groups and profile for guest user because they can not have both 2011-02-12 23:22:22 +01:00
Aparup Banerjee
13801a49a2 MDL-23939 lazy load course_display with new course_get_display()
This change speeds up user login and makes the session smaller.
2011-02-12 22:45:17 +01:00
Tim Hunt
74c479f212 MDL-20636 Merge branch 'master' into qe2_wip
Conflicts:
	lib/questionlib.php
	question/type/calculated/lang/en/qtype_calculated.php
	question/type/questiontype.php
2011-02-03 11:18:40 +00:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
4714815123 MDL-25981 fix inverted instanceof in require_login 2011-01-31 22:35:17 +01:00
Petr Skoda
d4fb0e26e2 MDL-25981 make sure cm is defined 2011-01-31 22:19:36 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Eloy Lafuente (stronk7)
b967c54185 MDL-25708 recordsets - fix events/grade/group/moodle libs 2011-01-25 19:58:59 +01:00
Sam Hemelryk
e5654cad1e Merge branch 'MDL-25754_20_wip' of git://github.com/skodak/moodle 2011-01-18 13:47:31 +08:00
Petr Skoda
34b93e39a6 MDL-25754 improved tag sanitisation and fixed tag autocomplete 2011-01-13 23:40:43 +01:00
Tim Hunt
2b7da64586 MDL-20636 It is now possible to save a truefalse question you have created.
This includes all the necessary DB upgrades.

Also all unit tests in question/type/simpletest and question/type/truefalse now pass.
2011-01-13 18:35:41 +00:00
Petr Skoda
4e70708de9 MDL-25837 detect invalid course parameter when getting fast modinfo 2011-01-12 21:40:34 +01:00
Eloy Lafuente (stronk7)
a3b474ffa0 Merge branch 'wip-MDL-25370' of git://github.com/sammarshallou/moodle 2010-12-27 17:55:35 +01:00
Eloy Lafuente (stronk7)
1ac3e1f208 Merge branch 'MDL-25720' of git://github.com/timhunt/moodle 2010-12-27 16:36:17 +01:00
Tim Hunt
652599ecc3 MDL-25720 moodlelib new PARAM_RAW_TRIMMED.
Will be required by the new question engine.
2010-12-22 10:51:48 +00:00
andyjdavis
d8f1412819 message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00