Commit graph

9728 commits

Author SHA1 Message Date
jonathanharker
e6e13284f9 MDL-16875 New Moodle setting - sessioncookiedomain
Added new sessioncookiedomain setting to session handling section.
 * allows you to change the domain that the Moodle cookies are available
   from. This is useful for Moodle customisations (i.e. Squirrelmail SSO
   or enrolment plugins) that need to share Moodle session information
   with a web application on another subdomain.
 * Will NOT work if the moodle host does not have a domain - i.e. just a
   hostname, e.g. 'localhost' or 'myhostname'. Needs a FQDN
 * Currently the setting is set to PARAM_TEXT length 50 since PARAM_HOST
   does not allow a leading dot e.g.  '.mydomain.com'
 * TODO: do we make up a new PARAM_COOKIEDOMAIN which is the same as
   PARAM_HOST but allows leading dots? Using PARAM_HOST and prepending a
   dot may not always be desirable.
2008-12-14 22:28:39 +00:00
dongsheng
73c763b75d "MDL-14129, update forum module language file" 2008-12-12 05:53:48 +00:00
dongsheng
771dc7b298 "MDL-14129, fix error() in moodle2" 2008-12-12 05:45:43 +00:00
dongsheng
60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
jonathanharker
3b8c248237 MDL-17549 auth/radius: add CHAP and MSCHAP auth support, detect PHP extension
* Added support for CHAP and MSCHAP authentication schemes
       contributed by Stanislav Tsymbalov http://www.tsymbalov.net/
       original code at http://sourceforge.net/projects/moodleradius/
     * Tweak the detection of PHP RADIUS extension and Pear code
     * Update the warning notices to use more Moodly CSS classes

    lib/pear: Add RADIUS and CHAP PEAR libs

     * Add PEAR Auth_RADIUS and Crypt_CHAP packages to lib/pear


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2008-12-12 04:44:53 +00:00
dongsheng
f77b3caa37 "MDL-14129, update language file for feedback module" 2008-12-12 03:02:16 +00:00
dongsheng
12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
danmarsden
07ee03ce04 missed a comma:MDL-17612 2008-12-11 21:36:55 +00:00
danmarsden
411928890e fix typo, improve text a bit:MDL-17612 2008-12-11 21:34:40 +00:00
tjhunt
bf14070fa7 multianswer qtype help: Fix HTML errors. 2008-12-11 05:14:34 +00:00
tjhunt
e8f99abc68 quiz manual grading: MDL-5517 manual grading pop-up is too small. HTML editor does not fit. Merged from MOODLE_19_STABLE.
Also MDL-17585 Improve layout of manual grading forms to make them look more like formslib forms. The standard trick of stealing the HTML and class names that formslib works, so the standard style rules apply to your form.
2008-12-10 09:11:30 +00:00
tjhunt
b166403f18 javascript cleanup: MDL-16583 clean up the close_window function in weblib.php. 2008-12-10 08:57:50 +00:00
moodler
f94824dbbe admin MDL-17429 Move registration button to admin menu, and make registration page a proper admin page, also fix bad DML call
admin MDL-16867 Change "Optional subsystems" menu item to "Advanced features"

(Sorry for the mixed checkin)
2008-12-10 06:23:35 +00:00
tjhunt
e452210a18 course request: MDL-17575 and MDL-6160 further improvements:
1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
2008-12-10 02:57:41 +00:00
tjhunt
8a1b1c328d course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.
* Note: this would never lead to problems with default role definions.
* Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed.
* New helper function require_all_capabilities, a bit like require_any_capability.
2008-12-08 07:28:19 +00:00
skodak
826725329a MDL-15785 new options for enforcing of enrolment key commplexity and requirements 2008-12-06 21:20:42 +00:00
skodak
cea67da005 MDL-11265 added shorter log retention periods and a warning that it might have some side effects 2008-12-06 17:44:57 +00:00
tjhunt
77eddcd527 course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:56:54 +00:00
pilpi
74c640b3a7 quiz editing: MDL-17409 converted string to use $a
created new string
2008-12-04 15:53:30 +00:00
pilpi
5af1b21ab2 quiz editing: MDL-17409 converted strings to use $a
converted concatenation to use $a instead for new (committed with the rest of Quiz UI redesign project) strings, created new strings for old strings that did not yet use $a
2008-12-04 15:13:22 +00:00
pilpi
3e6ad1d7a4 quiz editing: MDL-17409 removed ":" from source
removed ":" from source where they occured with new (committed with the rest of Quiz UI redesign project) strings and changed the strings accordingly
2008-12-04 13:28:20 +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
dongsheng
b423b4af24 REPOSITORY, FILEMANGER FORM ELEMENT/MDL-16597
new ajax filemanager.
2008-12-02 07:05:15 +00:00
dongsheng
ab118fc2c7 REPOSITORY/MDL-15488
lang strings for flickr public plugin
2008-12-02 07:03:54 +00:00
stronk7
fed640276f MDL-13202 Windows Installer: Add new string to show mysqli usage 2008-11-30 23:22:28 +00:00
poltawski
83b510875d repository: New Picasa Web Albums Plugin MDL-17473 2008-11-30 17:37:06 +00:00
skodak
283ebb7147 MDL-11984 blocks: new capability block/online_users:viewlist which may be used to restrict viewing of list of online users, if cap not allowed only number of users dispalyed, I hope this will be also faster because only one query used now (insetad of two); for BC reasons enabled by default in all legacy roles 2008-11-30 15:42:48 +00:00
skodak
358e2a0bd2 MDL-17464 profile reports are now respecting course report caps 2008-11-30 12:04:27 +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
piers
7554f67190 MDL-16651 - add in delete attempt capability - thanks Dan/Tim. 2008-11-29 17:51:47 +00:00
skodak
7035aa3a4a MDL-17372 new course reports string - role definition improvement; merged from MOODLE_19_STABLE; fixed merging 2008-11-29 16:43:18 +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
e0f81e94a6 MDL-17465 - separate live log capability adn admin tree link 2008-11-29 16:15:40 +00:00
skodak
c25cedf2a5 MDL-17463 - renamed outline to activity report - merged from MOODLE_19_STABLE 2008-11-29 15:09:50 +00:00
skodak
a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
pichetp
54db4df23e MDL-17264 minor corrections (spaces) 2008-11-29 09:34:14 +00:00
pilpi
439d9cbe90 quiz editing: MDL-17452 customized the link tooltip to "Remove empty page" for the link for deleting an empty page 2008-11-28 16:33:48 +00:00
pilpi
9cdcf82665 quiz editing: MDL-17398 cleaned up random question display in the edit subtab
made the link in an empty random question more readable, added a link to show category contents after the list of sample questions of a random question
2008-11-28 14:07:06 +00:00
danmarsden
d54e2145ba add time restriction MDL-12588 - add ability to restrict the viewing of SCORM objects using a time/date restriction like most other modules already allow. 2008-11-28 09:20:59 +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
wildgirl
37ba8a281d admin lang string configextrauserselectorfields typo fix 2008-11-27 14:47:18 +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
thepurpleblob
94babb8c14 MDL-14155
$a in string no longer required. Changed the text slightly to make it make some sense.

Merged from STABLE_19
2008-11-26 11:51:53 +00:00
tjhunt
d7129a519f accessibility / lang strings: MDL-17359 remove > being used as an arrow - screen readers don't like it. 2008-11-25 13:15:53 +00:00
tjhunt
4d4b70378b Fix typo. 2008-11-25 13:06:57 +00:00
jamiesensei
bbf4f440ee MDL-15326 "allow for per report capabilities to replace mod/quiz:viewreports" 2008-11-25 12:11:27 +00:00
moodler
4d8bccf447 filter/mediaplugin MDL-16650 Added a Youtube search/replace to turn links to Youtube into embedded videos
Could use a quick security review!
2008-11-25 07:52:52 +00:00
jerome
a054cfa7d2 database: MDL-16999 update 'Required Entries' warning message, merged from 19 2008-11-25 02:50:00 +00:00
tjhunt
ff493b6b24 roles / profile: MDL-14937 A the user's roles report from contrib to core. Finish. 2008-11-24 06:33:35 +00:00