263 Commits

Author SHA1 Message Date
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
skodak
a2a537db28 merged from MOODLE_15_STABLE 2005-07-02 20:35:43 +00:00
thepurpleblob
1270a3a7ed Replaced _variable() style calls with _param() style calls plus other
mods to suit.
2005-06-16 10:15:02 +00:00
thepurpleblob
d53839aa6d Whoops - typo! 2005-06-10 13:25:23 +00:00
stronk7
8a12a13250 Tabs are out 2005-05-16 23:42:48 +00:00
stronk7
9f7fa650a5 Now resource autolinking filter is optimised too, so all the autolinking
filters are using latest improvements.
Only Bug 3138 remains open and is important. I've its solution at home and
I'll post it in some hours. Just testing it against PHP4 and PHP5.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-06 18:15:21 +00:00
moodler
f39752c6f9 Actually, better to do it for all of them (gap after summary) 2005-04-18 14:48:09 +00:00
moodler
3eff21803c Make the gap between summary and full text a little larger 2005-04-18 14:45:23 +00:00
moodler
3cc633011d Hack fix for course languages in resources (bug 2922) 2005-04-15 07:05:59 +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
thepurpleblob
fa33cfe99e Version 2005041100. Update converts wiki-like resources to Markdown. 2005-04-11 12:33:47 +00:00
thepurpleblob
c0de5d55a5 Added update to convert wiki-like format to Markdown format 2005-04-11 12:32:46 +00:00
gustav_delius
8035268825 complete the renaming of get_user_timezone to get_user_timezone_offset started by Martin 2005-04-08 14:24:10 +00:00
moodler
bfe839b8ce Fixed missing bracket 2005-04-06 16:52:07 +00:00
stronk7
72f6ad8627 Now resource->name is working under filterall. 2005-04-05 22:37:06 +00:00
moodler
713d78eafa New feature for resources ... Local File Resources
A Resource Parameter controls this (it defaults to OFF).

When on, you see a third button when selecting a file, which lets
you select a LOCAL file on your own filesystem (but it isn't uploaded).

The local file is included in the web page when viewed.  All users see
a link that helps them set up a user_preference for the location of
these files on their own system (usually a CD_ROM drive).
2005-04-02 12:11:27 +00:00
stronk7
ea9572f68f Manual links from lesson pages to resources are now preserved
between backup/restore anywhere.
(see discussion http://moodle.org/mod/forum/discuss.php?d=21044)

Merged from MOODLE_14_STABLE
2005-04-02 00:13:49 +00:00
moodler
2699de70b7 Call the new MP# player properly 2005-03-15 17:08:09 +00:00
moodler
d38577e226 Simplify autolink styles to "modulename autolink" 2005-03-15 08:38:27 +00:00
moodler
5913e88f78 Consistent file styles 2005-03-13 17:17:11 +00:00