38164 Commits

Author SHA1 Message Date
stronk7
b3fab0f876 MDL-12922 'moodle/restore:rolldates' capability - added missing string. Merged from 19_STABLE 2009-10-06 01:58:36 +00:00
stronk7
81b06e9b17 MDL-12922 'moodle/restore:rolldates' capability - Implement logic on restore. Merged from 19_STABLE 2009-10-06 01:27:37 +00:00
stronk7
982e45af49 MDL-12922 adding 'moodle/restore:rolldates' cap to control who can roll dates on restore
(defaults to current settings: only course creators (and admins) are able to roll) Merged from 19_STABLE
2009-10-06 01:14:47 +00:00
moodlerobot
bb56e8e5a8 Updated the HEAD build version to 20091006 2009-10-06 00:37:45 +00:00
moodlerobot
3210d8330c Automatic installer.php lang files by installer_builder (20091006) 2009-10-06 00:27:46 +00:00
stronk7
4eb9f9cc84 MDL-18469 restore checksums - add error message string. Merged from 19_STABLE 2009-10-05 17:45:02 +00:00
stronk7
cf59fbc036 MDL-18469 checksum restore in-session objects - both in manual restore and
import, create checksums of the critical in-session objects (info, course_header
and restore) to be able to check in restore_execute.html that all the information
has arrived properly without any trim/error. Merged from 19_STABLE
2009-10-05 17:23:31 +00:00
skodak
f1064cca78 MDL-19039 improved default frontpage role capability evealuation, needs to be manually enabled in config.php 2009-10-05 17:08:16 +00:00
stronk7
0a6baa4e47 NOBUG. Restoring of backups performed in different TZ/DST was causing incorrect roll to happen.
Prevent any roll of dates if differences are < 24h. Merged from 19_STABLE
2009-10-05 16:56:52 +00:00
stronk7
53fd7cae8d MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was
causing restore dates to be rolled based in the course where the backupfile is stored
and not in the target course. Merged from 19_STABLE
2009-10-05 16:32:15 +00:00
stronk7
5758d88262 MDL-18469 restore missing session info - add a quick re-test of xml file
before any further processing by restore_execute(). More coming. Merged
from 19_STABLE
2009-10-05 10:31:46 +00:00
dongsheng
4c211e95c4 "MDL-20422, check courses category before moving, hideing, showing courses, merged from 1.9" 2009-10-05 07:44:45 +00:00
jerome
05d5801ace quizz MDL-20421 remove php notice when Enable Safe Exam Browser integration is not activated, merged from 1.9 2009-10-05 03:09:55 +00:00
moodlerobot
2aa9452a91 Updated the HEAD build version to 20091005 2009-10-05 00:37:43 +00:00
tjhunt
1c0932462e quiz: MDL-20420 Not all quizzes use best grade (e.g. some use average). Change column title. 2009-10-04 18:49:08 +00:00
tjhunt
bf659cf05e blocks upgrade: MDL-19511 Oops. contextid is unsigned, so use 0 as a dummy value, not -1 2009-10-04 18:20:08 +00:00
moodlerobot
85879df923 Updated the HEAD build version to 20091004 2009-10-04 00:37:34 +00:00
tjhunt
1f54c33bdd install: MDL-20417 Install was failing on upgradesettings.php
Only $PAGE->generaltype 'maintenance' works before the site is fully installed.
We were specifying that on all other relevant pages, but it was missed out here.
2009-10-03 09:02:21 +00:00
tjhunt
ddfa1863d3 revert last change. I used the wrong commit comment and it was totally misleading.
Will recommit with a good comment.
2009-10-03 08:56:59 +00:00
tjhunt
67e84a7f5e output: MDL-19797 fix some fallback code in print_header. 2009-10-03 08:54:30 +00:00
tjhunt
f94f09b523 groups: NOBUG fix syntax error seen on http://moodle.org/mod/cvsadmin/view.php?tab=syntax
PHP Fatal error:  Can't use function return value in empty call.
2009-10-03 07:57:50 +00:00
nicolasconnault
c6fc16efbe MDL-16940 Applied the patch for visibility of dropdown menus in course view for IE6 when AJAX is on. Merged from MOODLE_19_STABLE 2009-10-03 02:32:13 +00:00
nicolasconnault
8c3c518f98 MDL-20415 Modified the behaviour of AJAX moving of sections when in "weekly" format, so that dates don't get moved along with the sections. This reflects the final, saved state. Merged from MOODLE_19_STABLE 2009-10-03 01:53:17 +00:00
moodlerobot
39e810e9cc Updated the HEAD build version to 20091003 2009-10-03 00:37:19 +00:00
wildgirl
730bac4409 multichoice question help file: MDL-16791 corrected wording thanks to Ralf Hilgenstock 2009-10-02 13:27:50 +00:00
stronk7
eb25bbcbc8 MDL-18469 Minor changes to restore silenty/import before implementing checksum. Merged from 19_STABLE 2009-10-02 12:50:19 +00:00
skodak
c9c5cc81e9 MDL-12886 external lib parameter validation routine + some unit tests 2009-10-02 12:13:56 +00:00
mudrd8mz
f60ecadf2c NOBUG: Fixed PAGE->set_url() regression
$PAGE->set_url() is already properly called by admin_externalpage_setup()
with a required 'section' param included. We can't override the PAGE's
URL and throw away the params set previously. This may be an issue at
other external admin pages, too.
2009-10-02 11:42:53 +00:00
tjhunt
7409013e79 moodlelib: MDL-19764 change get_list_of_countries so admins can more easily control the list.
* New admin setting $CFG->allcountrycodes - on Location page.
* Same rules used to translate country names as any other string.
* With unit tests.
2009-10-02 11:30:11 +00:00
nicolasconnault
49c4d8caa4 MDL-10221 Simulating the HTTP DELETE method by using a URL param (action), because some web servers don't allow DELETE. AJAX Course and Block deletion now works as expected. Merged from MOODLE_19_STABLE 2009-10-02 07:53:01 +00:00
nicolasconnault
50569ba3ac MDL-15262 Added a two capabilities to prevent certain users from changing a course's fullname and shortname. merged from MOODLE_19_STABLE 2009-10-02 07:05:02 +00:00
dongsheng
3a8f4b907f "MDL-18723, role required to display search box should be viewparticipants, merged from 1.9" 2009-10-02 06:51:56 +00:00
moodler
183ea48968 user/view MDL-18800 Sort courses consistently with everything else 2009-10-02 06:34:12 +00:00
dongsheng
b9f6ca7052 "MDL-19118, add comments counter" 2009-10-02 06:22:17 +00:00
moodler
0e2afc47d8 calendar html MDL-17528 Add H2 to the "block" headers to make consistent with everything 2009-10-02 06:20:52 +00:00
moodlerobot
45154d7c1d Updated the HEAD build version to 20091002 2009-10-02 00:37:38 +00:00
skodak
8c772ad78f MDL-12886 updating groups external API 2009-10-01 21:53:58 +00:00
skodak
c29cca3023 MDL-12886 WS param and return description classes 2009-10-01 21:53:14 +00:00
skodak
b4c1a34ea9 MDL-12886 updating groups external API 2009-10-01 21:41:37 +00:00
skodak
b038c32c82 MDL-12886 WS param and return description classes 2009-10-01 21:33:33 +00:00
stronk7
1c13ff2330 NOBUG: Just adding some "database" words here and there to help a bit when debugging problems. 2009-10-01 15:02:00 +00:00
mudrd8mz
bf66a674ce removing deletions from {blog_association} from the core
The {blog_association} is not defined but it is still referenced in the
core functions. This seems to be some blog subsystem mess that prevents
the core from removing any activity module and the context. I am sorry
Nico if I break something in your current work...
2009-10-01 14:41:20 +00:00
mudrd8mz
5ac27e270b NOBUG: Fixed moodle_url issue in module removing confirmation
Plain 'mod.php' does not seem to be supported at the moment as a valid $url for the Confirm button
2009-10-01 14:23:48 +00:00
tjhunt
964c571975 question import/export: MDL-20299 fix regression I introduced yesterday in hotpot import/export 2009-10-01 10:12:29 +00:00
tjhunt
d0fdb92ccf question preview: MDL-19820 set_url and generaltype = popup on question preview page 2009-10-01 10:09:59 +00:00
tjhunt
f38f2d474d quiz: fix debugging notice ->classes = to set_classes. 2009-10-01 10:07:09 +00:00
skodak
9950c88ff9 MDL-20385 better access control checks for frontpage activities; merged from MOODLE_19_STABLE 2009-10-01 09:58:08 +00:00
moodler
9b610c986c calendar MDL-19940 Don't require login for site calendar when forcelogin is false 2009-10-01 07:04:18 +00:00
moodler
7e13493675 form/recaptcha MDL-20144 Don't specify tabindex, for accessibility 2009-10-01 06:54:45 +00:00
dongsheng
45fa433ee1 "MDL-16597, fixed callback function" 2009-10-01 06:51:23 +00:00