Commit graph

34264 commits

Author SHA1 Message Date
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
danmarsden
54370d105b MDL-17128 SCORM backuplib generates invalid XML - causes backup to fail. thanks to Mark Nielsen for patch. 2008-11-04 20:33:03 +00:00
stronk7
05ed3df5e0 MDLSITE-548 - langconfig: Adding thousands separator. Merged from 19_STABLE 2008-11-04 16:53:16 +00:00
stronk7
e026d8af8f MDLSITE-548 - langconfig: Adding thousands separator. 2008-11-04 16:26:08 +00:00
wildgirl
9102a38303 MDL-13702 example replaced with simpler one 2008-11-04 12:27:13 +00:00
mudrd8mz
0c49565b34 Set images base path to Moodle dirroot 2008-11-04 12:13:04 +00:00
tjhunt
2660377f72 user preferences: MDL-17123 cope correctly with multiple sessions.
This steals the logic from accesslib used to detect dirty contexts and so reload cached access data when permissions are changed.

Here, we track when user preferences are changed, so that if necessary we can trigger a reaload. This helps in two situations:
1. When you are logged into Moodle with two different browsers.
2. When someone else changes one of your preferences.
After this change, you will see the changed user pref immediately in all sessions.

This adds one cheap DB query to any page that tries to access a user preference (which is almost all of them, because of deciding whether to show the messaging pop-up). It adds a few more queries in the cases when a user preference is changed. This is in the name of correctness.
2008-11-04 10:49:31 +00:00
tjhunt
2bea836d9b user selector: MDL-16966 Minor code cleanup. 2008-11-04 10:08:37 +00:00
tjhunt
e7b7583cc3 user selection: MDL-17073 add options to control the search in a collapsible region - Fix IE layout glitch. 2008-11-04 09:14:03 +00:00
tjhunt
1ae7210784 user selector: MDL-16966 use a JavaScrip event name that works cross-browser for watching the check-boxes. 2008-11-04 09:13:41 +00:00
tjhunt
4099f71f12 user selection: MDL-17073 add options to control the search in a collapsible region - Fix JavaScript error. 2008-11-04 07:51:49 +00:00
tjhunt
09c660e407 user selection: MDL-17072 Polishing the role assign page: Do processing before print_header in line with best practice. 2008-11-04 07:26:32 +00:00
tjhunt
cf0a341faf Slight tidy up for how the JS is included and initialised. 2008-11-04 07:25:43 +00:00
tjhunt
cca4c120dd user selection: MDL-17073 add options to control the search in a collapsible region - fix the preserve-selected option. 2008-11-04 07:24:07 +00:00
tjhunt
c679952e09 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - minor layout improvements for IE. 2008-11-04 07:22:23 +00:00
jerome
74b4fa56d0 MDL-10021: display iframe when the resource is on another domain, merged from 19 2008-11-04 05:19:01 +00:00
tjhunt
904998d8f9 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
tjhunt
67c8a3e870 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
jerome
b54327f0b4 MDL-10021: fix xhtml/javascript + build_navigation(), merged from 1.9 2008-11-04 02:27:23 +00:00
moodlerobot
9dadb456f2 Updated the HEAD build version to 20081104 2008-11-04 02:02:13 +00:00
moodlerobot
b4fba9347a Automatic installer.php lang files by installer_builder (20081104) 2008-11-04 01:41:07 +00:00
skodak
23a766143d MDL-17110 snoopy: imported new version 1.2.4 2008-11-03 07:55:46 +00:00
tjhunt
c9e4326c39 user selection: MDL-17073 Clear button next to the search box 2008-11-03 06:42:41 +00:00
tjhunt
c9f8e118c9 user selection: MDL-17072 Polishing the role assign page:
* Make the role being assigned clear in the title
* Make the options in the middle of the page be in a collapsable options section, collapsed by default.
* Put them in a smaller font too.
* Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.
2008-11-03 06:06:08 +00:00
tjhunt
5f1ae48d2c weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - improve the images by giving them a transparent background. 2008-11-03 06:04:41 +00:00
tjhunt
512c5901fe weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before. 2008-11-03 05:27:10 +00:00
dongsheng
aa19998a72 "MDL-16954, use rebert\'s patch to clean notice/warning in cron job via php cli, merged from 1.9" 2008-11-03 05:25:30 +00:00
tjhunt
f2eb500238 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference. 2008-11-03 05:04:23 +00:00
tjhunt
71ef682259 user selector: MDL-16996- followup - change optgroup label escaping funciton to keep Nicolas Martignoni happy. I can's say I full understand this issue. 2008-11-03 05:03:00 +00:00
dongsheng
1e08b5cf79 "MDL-13766, support iframe repository" 2008-11-03 04:44:53 +00:00
dongsheng
18729a5138 "MDL-16341, fix parameters list" 2008-11-03 03:58:23 +00:00
dongsheng
b3e6e8047b "MDL-16341, add upload function for flickrlib" 2008-11-03 03:22:55 +00:00
moodlerobot
c1ded42472 Updated the HEAD build version to 20081103 2008-11-03 01:45:49 +00:00
skodak
c765b6b73f fixed my silly typo from db conversion 2008-11-02 21:37:41 +00:00
moodlerobot
d75d327465 Updated the HEAD build version to 20081102 2008-11-02 01:43:12 +00:00
moodlerobot
bb99e29d44 Automatic installer.php lang files by installer_builder (20081102) 2008-11-02 01:24:07 +00:00
skodak
cb4709dccd MDL-17027: protect user profile images if $CFG->forcelogin enabled; merged from MOODLE_19_STABLE 2008-11-01 22:30:18 +00:00
skodak
25a79c16a1 MDL-17065 user: profile iamges of deleted users are not accessible anymore; merged from MOODLE_19_STABLE 2008-11-01 19:37:07 +00:00
mudrd8mz
f9a064f9f5 MDL-17094 Automatic language update can be disabled via $CFG->skiplangupgrade settings. Merged from MOODLE_19_STABLE 2008-11-01 19:35:43 +00:00
skodak
0cde3ede1c MDL-11789 fixed regressions preventing file caching when default used; merged from MOODLE_19_STABLE 2008-11-01 19:28:31 +00:00
skodak
a857b7ea38 MDL-17099 htmlpurifier: new version from upstream 2008-11-01 18:58:29 +00:00
skodak
b50f80dd6f CONTRIB-849 phpPgAdmin integration hook; merged from MOODLE_19_STABLE 2008-11-01 17:54:04 +00:00
moodlerobot
ed70b4634f Updated the HEAD build version to 20081101 2008-11-01 01:40:58 +00:00
stronk7
0e442226f3 MDL-14952 - roles: 'moodle/legacy:guest' was preventing admins to post
new discussions in fron page if $CFG->defaultfrontpageroleid = guest. Merged from 19_STABLE
2008-11-01 00:30:55 +00:00
stronk7
4436a63b64 MDL-14998 - roles: add mod/forum:viewdiscussion protection to forum_get_discussions() ; merged from 19_STABLE 2008-10-31 21:50:08 +00:00
nicolasconnault
8470c13829 MDL-17091 Removing superfluous Zend framework files 2008-10-31 21:36:57 +00:00
mudrd8mz
66439e36ce MDL-17094 Allow translators to disable automatic language update during Moodle upgrade.
One needs just add $CFG->skiplangupgrade = true; to their config.php and keep their language pack up-to-date manually. This is intended for lang pack maintainers with CVS access only.

This is backpported from MOODLE_19_STABLE admin/index.php
2008-10-31 21:11:46 +00:00
stronk7
5e71406d93 MDL-14998 - roles: User needs to have mod/forum:viewdiscussion to be able to see news block. Merged from 19_STABLE 2008-10-31 19:05:56 +00:00
nicolasconnault
647a1a8289 MDL-17091 Added zend framework to include_path 2008-10-31 15:34:23 +00:00
nicolasconnault
5ab88978b9 MDL-17091 Adding part of GoogleData API from the Zend Framework, in order to support portfolio and repository functions. Also completed basic portfolio plugin. 2008-10-31 15:33:45 +00:00