198 Commits

Author SHA1 Message Date
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
2762ca176d fixing typos 2006-01-19 03:55:02 +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
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
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
stronk7
b089856647 Now Choice is using the new Excel generation API
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:33:29 +00:00
moodler
39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
thepurpleblob
ac04332685 Removed check for student/teacher on submit and replaced with check for (not)
guest, as (a) it didn't stop guests and (b) it broke the studentview mode
2005-09-20 09:22:06 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
danmarsden
3ddb684e57 Fixes for Bug #3876, Bug #3816 2005-08-14 21:59:09 +00:00
thepurpleblob
440dcd3123 require_variable() changed to required_param(). 2005-08-09 12:07:09 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
skodak
72693c64a6 fixed PostgreSQL warning; merged from MOODLE_15_STABLE 2005-07-09 08:24:01 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
danmarsden
af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
thepurpleblob
07bc47e0e5 require_variable() replaced with required_param() 2005-06-10 11:09:39 +00:00
danmarsden
9e1fc2da9c XHTML fix, 2005-05-23 22:13:15 +00:00
danmarsden
5634beeaa5 -shouldn't have been using Javascript there! - few more fixes coming. - choice mod limit function doesn't seem to be working properly - doesn't seem to display results anymore! 2005-05-18 21:50:45 +00:00
moodler
51e041f42e Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00
danmarsden
48ee8c68f6 partial bug fix for mysql 5 - release is a reserved word - mysql.php probably still needs fixing - see bug #3062 2005-05-03 01:14:53 +00:00
moodler
232b51bb7b SPacing fixes 2005-04-22 19:17:06 +00:00
moodler
c9338a4f3c Remember to addslashes on choice upgrade - lesson learned from moodle.org 2005-04-22 13:19:47 +00:00
danmarsden
a11b4f3d8d $lim should be $limitfieldlist 2005-04-20 20:59:20 +00:00
mjollnir_
f3799277d7 Another fix for choice for pg. We now install cleanly! Woohoo! 2005-04-19 23:27:33 +00:00
mjollnir_
31c0603dc8 Fixing choice for postgres (I assume responses was renamed to answers at some point) 2005-04-19 23:22:46 +00:00
moodler
8672ee3267 Slight re-arranging 2005-04-15 12:54:25 +00:00
thepurpleblob
86cc5db12a get_record(...)->field generates a parse error on my machine, so I split
it into two steps where it occurs.
2005-04-15 08:13:27 +00:00
danmarsden
cabf7c2397 show user what selection they made when updates are not allowed. 2005-04-15 01:40:22 +00:00
stronk7
7cfc54b918 Now user reports support filterall.
Bug 2930 fixed too.
(http://moodle.org/bugs/bug.php?op=show&bugid=2930)
2005-04-14 22:37:43 +00:00
danmarsden
c9ff813c41 new limit feature in choice. 2005-04-14 21:10:39 +00:00
stronk7
09972dd340 Some minor things:
- Clean filename.
  - Applied format_string to choice->name and answers.
  - Better parameter handling.
Remaining:
  - A lot of notices in line 148, breaking output with debug enabled!
2005-04-14 19:00:23 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
danmarsden
ae2f3b4cbc output to excel and text now checks whether unanswered column should be shown before outputing data. 2005-04-12 22:53:22 +00:00
danmarsden
7b056dd39a problem with "not answererd yet" column on anon responses page. - diplaying admins and hidden teachers. 2005-04-12 20:49:51 +00:00
danmarsden
647396597a now allows download of choice responses to excel or text file 2005-04-11 22:59:32 +00:00
danmarsden
b9135eca2c fix for Bug #2883 - Choice Mod, - can't delete an existing option 2005-04-11 20:34:13 +00:00
thepurpleblob
7ae84175d9 Now 2005041100. Update wiki-like text format to Markdown. 2005-04-11 12:54:17 +00:00
thepurpleblob
68854d74ec Update all wiki-like text to Markdown. 2005-04-11 12:53:35 +00:00
stronk7
05097bb889 Now choice report log action is supported by restore. 2005-04-10 16:57:08 +00:00
stronk7
408f7c41b4 choice report log action wasn't saving cmid in logs table. 2005-04-10 16:55:32 +00:00
danmarsden
03ff2092c4 $options used by something else. 2005-04-07 22:22:22 +00:00
danmarsden
a3e22b3b9d no backticks in postgres!! 2005-04-07 03:17:43 +00:00
danmarsden
db38d2c92e wrong table names! :-) Bug #2848 2005-04-07 01:18:51 +00:00
mjollnir_
28a858cf02 Syntax fix for postgres upgrade for choice (now upgrades cleanly). Postgres7.sql missing a table, I think. Bug #2848 2005-04-06 21:20:10 +00:00
danmarsden
6308ca52a5 fix of postgres db upgrade. - Penny please test! :-) 2005-04-06 09:34:17 +00:00
danmarsden
abd7dfb38c this is all wrong - will try to clean up later tonight 2005-04-06 04:10:27 +00:00