282 Commits

Author SHA1 Message Date
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
martinlanghoff
10741fb26e mod/resource: dos2unix on the Hive code
Some Windows newlines got in there somehow. Cleanup.
2006-03-10 01:05:52 +00:00
moodler
1ec13950d1 Checking in some unchecked-in code 2006-03-09 01:51:22 +00:00
skodak
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
stronk7
4128597a44 Solved one bug when decoding encoded links for
resource->reference
(http://moodle.org/mod/forum/discuss.php?d=38801)

Merged from MOODLE_15_STABLE
2006-02-01 19:10:30 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
f36c4b9601 took out an echo 2006-01-27 04:29:11 +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
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
stronk7
f4ba785b13 Solved one problem with frames and activitynames filter.
(http://moodle.org/mod/forum/discuss.php?d=28382)

Merged from MOODLE_15_STABLE
2006-01-11 15:22:13 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
stronk7
84e4d32e37 More uses for current_charset()
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:46:19 +00:00
stronk7
092a022695 More uses for current_charset().
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:44:55 +00:00
moodler
39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
stronk7
760eefb641 Some strings are now properly displayed. End of work in IMS for now. 2005-12-06 10:41:24 +00:00
stronk7
2396b0d0c2 Fixed one typo-bug! :-P 2005-12-06 10:28:53 +00:00
stronk7
4e7a03f68e Added suport to read submanifests (not deployed yet but loaded) 2005-12-06 10:22:52 +00:00
stronk7
bf74b55720 Check the IMS package has been deployed before delete dir. 2005-12-06 10:17:03 +00:00
stronk7
5e6c566167 Now IMS Content Packaging resources are deleted properly
(both DB records and deply files under moddata)
2005-12-06 00:12:56 +00:00
stronk7
f0c6abbfe9 Now delete_instance() in resource classes receives the
full $resource record instead of the $id alone. Needed
to be able to specialize such method in some resource types.

Merged from MOODLE_15_STABLE
2005-12-06 00:02:40 +00:00
moodler
cd7d299942 Tidying ... 2005-11-08 05:14:52 +00:00
stronk7
7b6f4f9c1f Fixed encoding of page title of framed IMS CP resources
(mimic of skodak's work in other frames)
2005-11-05 16:19:23 +00:00
skodak
539d335c2f fixed bug #4030 - filemtime for time modified; merged from MOODLE_15_STABLE 2005-11-04 11:32:48 +00:00
skodak
9c5afdf214 fixed encoding of page title of framed resources; merged from MOODLE_15_STABLE 2005-11-04 10:00:28 +00:00
stronk7
33e9836968 Solve copy/paste bug. Now items are properly checked. 2005-10-13 22:02:44 +00:00
stronk7
4cce92bdb4 Make some extra chacks because there were some problems
with invalid manifests and PHP5.
2005-10-01 21:51:26 +00:00
stronk7
af0b56397d Minor bug with some unclosed tags solved. 2005-09-27 16:09:58 +00:00
stronk7
1c8564642d xml:base attribute can be inside the manifest tag too. Thanks
to SCORM specifications clarifying this IMS CP detail! :-)
2005-09-24 17:59:51 +00:00
stronk7
52966535a1 Small hack to see Table of Contents correctly both under UTF-8 and
ISO-8859-1 sites. We will delete this once Moodle was migrated to UTF-8.
2005-09-23 22:41:40 +00:00
stronk7
1d317869c8 Changed a bit how <xml:base> works, instead of priorizate one of them,
simply concatenate them.
2005-09-23 22:25:59 +00:00
stronk7
d86a923ba5 Now the IMS CP resource works fine with packages using the <xml:basde> tag
(both at global and individual levels, following the priorization specs)
2005-09-23 00:21:26 +00:00
stronk7
9b50609c8e Error messges improved & detect some exceptions ins the manifest file
(strange chars)
2005-09-21 12:34:50 +00:00
stronk7
406e4672f7 Problem with reference parameters solved under PHP 4.x. Bug 4102.
(http://moodle.org/bugs/bug.php?op=show&bugid=4102)
2005-09-21 10:27:04 +00:00
stronk7
baceaf91f0 First version of the IMS CP resource module.
Known limitations:
    - IMS Metadata is not loaded (soon it will be).
    - IMS submanifests are not supported (is anybody using them?).
    - Need to convert loaded data to SITE->charset, have to think a bit about it.

But it loads IMS CP packages like a charm! ;-)
2005-09-19 16:53:02 +00:00
stronk7
bcbebdc53b Avoid empty or unlinkable activity names.
Merged from MOODLE_15_STABLE
2005-09-05 22:34:18 +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
mjollnir_
0283911078 Merged from MOODLE_15_STABLE: Preventing another warning. In some cases in the calendar blocks, resource filtering gets called with no courseid 2005-08-31 06:13:26 +00:00
moodler
e2cc29f41c Minor change to displaying resources with course blocks (SE) 2005-08-14 06:06:29 +00:00
moodler
a7b6e9e14d Can now display course blocks when composing a text or web page. (SE). 2005-08-14 05:57:12 +00:00
moodler
0440482f1d Two methods added to allow resources to be displayed with the course
blocks. Uses the outstanding Page class code by Jon P. (SE)
2005-08-14 05:34:56 +00:00
mikewaters
94d78cc663 Modified Files:
repository.html  - added help buttons and changed hive buttons
     resource.class.php  - hive/makelink.php added version and format options
     hive/openhive.php  - obsolete
 Added Files:
     hive/hp-footer-hive-powered.gif - hive logo
     hive/openlitebrowse.php  - new openhive option
     hive/openlitesearch.php  - new openhive option
2005-07-29 08:08:42 +00:00
moodler
a99b1e91ce More Hive stuff for integration 2005-07-15 07:37:36 +00:00
moodler
3714735752 Hide repository type by default 2005-07-15 07:22:23 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +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