3910 Commits

Author SHA1 Message Date
moodler
bfadc7ef00 New field for menus 2006-01-19 08:22:01 +00:00
moodler
f5d4ea3242 New field type for radio buttons 2006-01-19 08:18:27 +00:00
moodler
6bd4ccef92 bug fixes 2006-01-19 07:26:45 +00:00
moodler
12836b50a4 a lot of bug fixes 2006-01-19 06:45:14 +00:00
moodler
99c5cb5052 bug fixes 2006-01-19 05:48:07 +00:00
moodler
2762ca176d fixing typos 2006-01-19 03:55:02 +00:00
moodler
5054fba2cc fixing some typos 2006-01-19 03:32:47 +00:00
moodler
add19b0736 Cleaned up test code.
Committed by Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-19 03:11:12 +00:00
moodler
2eac7ec168 Removed submit online assignment button for guest. (bug: 4604) 2006-01-19 02:41:11 +00:00
moodler
b4ede3f342 Committing icon.gif. This is just a temporary icon. We need to replace it eventually.
Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-18 08:36:15 +00:00
moodler
9e1ae324f9 Textarea field type support for the data module.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-18 08:31:14 +00:00
toyomoyo
9b52161279 some small fix 2006-01-18 08:02:16 +00:00
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
moodler
f7de547886 Guests can no longer submit an online assignment (Bug 4604) 2006-01-18 04:45:12 +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
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
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
gbateson
20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
gbateson
747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +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
mjollnir_
460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
mjollnir_
abfd14da26 Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) 2006-01-16 08:59:20 +00:00
mjollnir_
a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
moodler
5d7a2722d5 more bugs 2006-01-16 07:57:56 +00:00
ikawhero
89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
mjollnir_
325a76ead3 Fixing missing prefix (copy & paste error) in forum type upgrade from very recent commit 2006-01-16 05:36:33 +00:00
mjollnir_
098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
moodler
e746e4dd99 added missing semicolon in &nbsp (bug#4592) 2006-01-16 04:29:41 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
stronk7
c34855c2ed Now ewiki supports initial load of contents from course file area.
Original preg_match() was a bit strange so I've replaced it with
clean_filename() + !is_dir() check. Bug 3830.
(http://moodle.org/bugs/bug.php?op=show&bugid=3830)

Merged from MOODLE_15_STABLE
2006-01-15 11:58:46 +00:00
gbateson
ff4fad2701 improved readability of "foreign key could not be updated" error message 2006-01-15 02:08:34 +00:00
gbateson
249daa5d3c if foreign keys are missing, backup will not abort, but record will not be restored 2006-01-15 01:47:08 +00:00
gbateson
1a4969431c optimzed SQL query in hotpot_get_participants to return only user ids (not whole user record) 2006-01-14 04:04:57 +00:00
gbateson
b84defd2ad corrected spelling of "Potatatoes" to "Potatoes" on some table comments 2006-01-13 23:07:47 +00:00
michaelpenne
b4f4f09ca8 [Fixed] Fails gracefully when no course modules are found.
[Fixed] Does not remove other modules from the activity link options due to same ids.
2006-01-13 21:57:42 +00:00
michaelpenne
6ef1c83de6 [Fixed] Display error in Windows IE. Slideshow div would move on link rollover. This is now fixed. 2006-01-13 21:24:52 +00:00
michaelpenne
aeb8148a57 [Changed] Now when a teacher edits a page with the "Edit page contents" button and then saves or cancels, s/he gets redirected back to the lesson navigation. This will help to streamline the editing
[Fixed] The cancel button on the edit page now works.
2006-01-13 18:41:37 +00:00
gbateson
49b67b7be1 corrected the spelling of "Potatatoes" to "Potatoes" in the comments of several tables 2006-01-13 08:44:40 +00:00
gbateson
e42fa8c5da add questions_name_idx and strings_stirng _idx 2006-01-13 08:37:10 +00:00
gbateson
abe2308eab if starttime and endtime are empty, set them to zero 2006-01-13 07:57:50 +00:00
gbateson
729b2dfad2 remove unused microreportid field from postgre7 database 2006-01-13 07:56:33 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00