157 Commits

Author SHA1 Message Date
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
patrickslee
08e1fad13f Completed postgres binary upgrade block for wiki module 2006-03-29 05:16:59 +00:00
patrickslee
e989c7699a Convert fields refs and content in wiki_pages to binary for postgres 2006-03-29 04:48:30 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
moodler
dd0b8fe1d4 fixing typos 2006-02-06 01:51:03 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
stronk7
13ca56cf52 Solving double addslashes to DB when the site is running with
magic_quotes_gpc() disabled (because Moodle addslashes to
everything). Not a pretty hack, but it seems to work.
(http://moodle.org/mod/forum/discuss.php?d=38127)

Merged from MOODLE_15_STABLE
2006-01-27 23:01:34 +00:00
stronk7
5e0b242bfc Avoid one wrong primarykey parameter that, after latest
changes to insert_record() was breaking the wiki module
completely!
2006-01-22 23:54:09 +00:00
stronk7
e734dbb66b There! :-P :-D
(just looking for one BIG problem in wiki - pagename is lost, so page
is never detected, so the edit page is showed once and again and again,
and again.......)
2006-01-22 20:27:11 +00:00
moodler
6bd4ccef92 bug fixes 2006-01-19 07:26:45 +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
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
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +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
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
stronk7
2bc0b7a0c4 Now ewiki should work pretty fine under any charset. UTF-8 included,
of course!

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:53:03 +00:00
toyomoyo
fc7fc3c005 merged, wrong param type for $page 2005-12-21 03:26:19 +00:00
toyomoyo
c07a004c40 merged, fixed a bug that student can't remove wiki pages in group mode 2005-12-16 07:19:59 +00:00
mjollnir_
dcfb30bb16 Merged from MOODLE_15_STABLE: Fixing a fatal error in updating a wiki (lib.php included twice ) 2005-12-11 21:29:56 +00:00
moodler
aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
moodler
fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
skodak
4c19b6ec04 fixed input validation in admin and formating+cleaning in diff and editing SC#160; merged from MOODLE_15_STABLE 2005-11-03 23:47:28 +00:00
stronk7
713efedc31 Changed one call to gethostbyaddr() to use numeric
ip instead. Such information is only stored in DB
(page->author) and not critical at all. Suggested
by Derry in http://moodle.org/mod/forum/discuss.php?d=32171
because it was causing important delays when clients
weren't DNS-registered.

Merged from MOODLE_15_STABLE
2005-11-01 17:47:20 +00:00
stronk7
3043912d9b Commiting some old unmerged changes. 2005-10-15 10:30:15 +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
stronk7
ad6bf17871 Added the $Id$ tag
Merged from MOODLE_15_STABLE
2005-07-24 10:29:23 +00:00
stronk7
0d1b48960a Now paging of older versions is showed and working properly. It was
really buggy! One string added to wiki lang file too. Bug 3750.
(http://moodle.org/bugs/bug.php?op=show&bugid=3750)

Merged from MOODLE_15_STABLE
2005-07-21 23:40:27 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7
a118d51709 The hardcoded limit of 1000 was breaking long pages display in Moodle.
I've changed it to a variable limit depending of the page lenght. Bug 3039.
(http://moodle.org/bugs/bug.php?op=show&bugid=3039)

Merged from MOODLE_15_STABLE
2005-07-09 16:41:58 +00:00
skodak
dd5de88921 fixed comments - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:29:07 +00:00
skodak
4c2740fc5c fixed searching - SC #61; merged from MOODLE_15_STABLE 2005-07-05 08:18:38 +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
stronk7
26ccd11c60 New lightspeed wiki filter (using the static and nothingtodo technologies now) 2005-05-06 17:57:08 +00:00
moodler
7328a56c81 Fix for the jumpy flickering HTML editor! 2005-05-04 10:45:39 +00:00
moodler
b8a11dfff9 Only add a Wiki edit log entry when we have submitted changes. (SE) 2005-04-29 23:24:25 +00:00
stronk7
c3cc897b83 Deleted one debug message and added one minor change. 2005-04-10 16:47:03 +00:00
stronk7
973ec7b671 Now wiki->name supports $CFG->filterall
(specifying a multilang name allows to have different start pages too!)

I've found some bad XHTML in this module and some inconsistencies
with different cased page-names. Are wikipages different if their name case is
different? If no, we should fix it.
2005-04-10 15:30:04 +00:00
moodler
43070bc1a3 Replace HTTP_POST_VARS and HTTP_GET_VARS with _POST and _GET 2005-04-02 11:54:46 +00:00
moodler
41682d287c Now uses the new tab structure (SE) 2005-03-15 09:58:14 +00:00
moodler
d38577e226 Simplify autolink styles to "modulename autolink" 2005-03-15 08:38:27 +00:00
moodler
b9dc937d01 Removed some redundant wrappers 2005-03-13 16:25:30 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
69ad0d6928 Better logging and recent activity 2005-03-10 14:11:07 +00:00