17920 Commits

Author SHA1 Message Date
toyomoyo
816039b5fa adding back up and restore functionality, but the user back up and restore part is not working yet 2006-01-18 06:58:50 +00:00
mits
0c49ab89c0 translated a new string for assignment. 2006-01-18 05:09:09 +00:00
moodler
f7de547886 Guests can no longer submit an online assignment (Bug 4604) 2006-01-18 04:45:12 +00:00
moodler
fcafeb6a9b Guests can no longer submit online assignment (Bug4604) 2006-01-18 04:34:55 +00:00
patrickslee
cc86131d78 Fixed embargoed time settings is not kept in the form when re-editing by error 2006-01-18 04:14:50 +00:00
mits
46dce76ab2 polished. 2006-01-18 02:47:14 +00:00
stronk7
2984a975f9 Just work in progress... 2006-01-18 00:23:57 +00:00
mits
3e1aea5348 translated a new string. 2006-01-18 00:11:55 +00:00
mjollnir_
e49c4d3075 Fixing wishlist bug # 4357: different icon & wording in admin block for metacourse importstudents 2006-01-17 23:54:14 +00:00
mjollnir_
824f1c40fc cache category_parent_visible so as to avoid doing millions of database queries 2006-01-17 23:46:42 +00:00
mits
24488c4752 changed based on /lang/en/forum.php:
"Cache strings for my moodle, don't call get_string over and over again"
2006-01-17 23:45:39 +00:00
mjollnir_
5aa23eead3 Cache strings for my moodle, don't call get_string over and over again 2006-01-17 22:03:48 +00:00
mjollnir_
454be164a3 My moodle forum overview small bugfix, counting new posts should not count adding discussions 2006-01-17 20:59:19 +00:00
mjollnir_
185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
gbateson
c5e66883ed use clean_filename for filename of text file download 2006-01-17 13:24:13 +00:00
gbateson
47edd30ca7 uses 4-spaces (Moodle standard) instead of tabs for code indenting 2006-01-17 13:15:16 +00:00
gbateson
43b4804860 micro increment version number to 2.1.8 2006-01-17 12:49:25 +00:00
gbateson
6ed5989c4a in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only) 2006-01-17 12:48:37 +00:00
gbateson
8d4632772a mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions 2006-01-17 12:46:26 +00:00
mits
bdbe7b3cc3 polished. 2006-01-17 10:47:16 +00:00
mits
9aecf1c865 polished. 2006-01-17 10:42:24 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
moodler
9833289841 Added default values for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:10:56 +00:00
gbateson
20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
dlnsk
a4f13903dc "" 2006-01-17 05:01:36 +00:00
dlnsk
6a6f46ed8f " " 2006-01-17 05:00:31 +00:00
gbateson
747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +00:00
toyomoyo
ab638383d2 bug fix for 4594 2006-01-17 04:29:33 +00:00
gbateson
f78640f467 fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells 2006-01-17 04:16:37 +00:00
mjollnir_
b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
martinlanghoff
1ab3490ec9 admin/uploaduser: fix password update bug, safer renames, optimized execution
This patch bundles 3 changes:

    + password inserts/updates were not being md5()d
    + skip the user altogether when the rename fails, to
      avoid clobbering the existing user account
    + get_courses() has moved outside the main loop so
      it is called only once -- huge difference in
      performance and number of DB queries
2006-01-16 23:54:52 +00:00
stronk7
572f46d3d2 This is going to be the frontend. Just reseting the file
to its minimum for now.
2006-01-16 23:31:05 +00:00
stronk7
f58b518fec After thinking a bit about it, this file is, exactly,
one library, so add it here. The admin/environment.php
will be the interface to handle all this stuff. ;-)
2006-01-16 23:25:14 +00:00
mjollnir_
460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
skodak
68913aecd0 ignore set_time_limit() errors 2006-01-16 22:55:17 +00:00
mits
2f84eb91dd polished. 2006-01-16 22:34:39 +00:00
skodak
8914cb828c ignore ini_set() result 2006-01-16 22:23:52 +00:00
skodak
4c8c65ecd5 added byteserving, fixed cookieless mode, changed timeout handling, minor code cleanup 2006-01-16 22:21:41 +00:00
stronk7
9bdc03bc06 Added the higer level check_moodle_environment()
It's the only one to be used from the rest of code.
Changed recommended to optional.
2006-01-16 22:07:59 +00:00
stronk7
36372e0cde Changed recommended to optional. 2006-01-16 22:06:15 +00:00
mjollnir_
f332bd025c Added cast to string in choose_from_menu_nested as well as choose_from_menu 2006-01-16 21:50:57 +00:00
stronk7
21ee1ca9f7 The logic is now completed and DB, PHP and PHP_EXTENSIONS
can be checked, so I commit this.
Just starting to build the presentation layer of the stuff.
2006-01-16 19:32:14 +00:00
stronk7
302c93aec4 Put some real data about reqs, both for 1.5 and 1.6. 2006-01-16 19:29:50 +00:00
stronk7
5deb5563f5 fit PHP_EXTENSION under PHP_EXTENSIONS container. 2006-01-16 18:08:11 +00:00
andreabix
b384ef6a6c Typo corrected. Thanks to Daniele Cordella 2006-01-16 15:55:32 +00:00
mits
44963ec934 translated 2 new help files and some strings for forum. 2006-01-16 15:31:32 +00:00
stronk7
95e8227bb9 Initial model of Moodle compatibility matrix to be
checked from admin, install and upgrade. Now it includes
one "false" version to be able to test it.
2006-01-16 13:53:30 +00:00
stronk7
79cccd507d Added categoryboxcontent to properly display the list of categories. 2006-01-16 11:08:23 +00:00
stronk7
ff4651e6e5 Part of Bug 4583. Now insert_record() always unset the primary key
(instead of the first, non-cached, invocation). Also, modified one
condition with no sense now. Needs testing (specially from PostgreSQL,
although it should work and the bug would be solved.
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:36:59 +00:00
stronk7
b1a88d0413 Part of Bug 4583. Now backup tables are moodle-style compliant.
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:23:48 +00:00