Commit Graph

338 Commits

Author SHA1 Message Date
skodak
a69be0d861 improved handling of resource file/directory references when renaming and deleting files in file manager. It is now fully configurable too. MDL-6132 2006-09-25 14:12:46 +00:00
moodler
d7e8ffebbf Merged fixes from 1.6 2006-09-22 13:27:56 +00:00
vyshane
b1e06f5fa0 Removed mod/resource:view 2006-09-22 03:05:46 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
skodak
43a8ceeaf1 fixed missing ; 2006-09-20 15:04:01 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
skodak
7f5bc80b78 backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files 2006-09-17 06:49:26 +00:00
skodak
0d5a9a94c1 fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE 2006-09-16 18:15:40 +00:00
skodak
5434bacabe backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE 2006-09-16 17:15:18 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
stronk7
42173f5121 Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
dbfa9ccd8d Bug #5996 - block+resource=problem; merged from MOODLE_16_STABLE 2006-07-03 06:26:38 +00:00
moodler
feec09eecf Merged fix for bug 5830 into dev 2006-06-16 09:42:38 +00:00
skodak
7f9ba24ef2 fixed - unable to disable blocks; merged from MOODLE_16_STABLE 2006-06-01 19:13:52 +00:00
stronk7
6985c78c6b XHTML validation. Bug 5332.
(http://moodle.org/bugs/bug.php?op=show&bugid=5332)

Merged from MOODLE_16_STABLE
2006-05-03 18:22:21 +00:00
stronk7
e857af01f8 No need to display the iframe because now it's never hidden. 2006-04-28 13:18:49 +00:00
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
stronk7
7071d6d908 Deleted a bunch of js code and trying another (the last) way
to resize the iframe properly. Tests at home 100% reliable.
I hope it'll work ok remotely... Depending of results  we'll
decide the final system.
2006-04-27 19:45:00 +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
81c7ef5ada Supresing footer() output in this page because it continues causing
important problems under Safari and I really think it isn't critical
to have it here at all costs.
2006-04-26 00:09:00 +00:00
stronk7
d860c55c84 Handle some debugs properly. 2006-04-25 23:52:42 +00:00
stronk7
d9f9d943b5 Now the deploy-all button works! 2006-04-25 23:47:46 +00:00
stronk7
5adb5b02db And the standard footer is back again. Andrew Walker, the
JavaScript Superman did the work! B-) Tested under FF, IE
and Safari.
2006-04-25 15:44:34 +00:00
stronk7
206548dc4b Apply latest changes from resource type to repository
(double head out, cool resize javascript, XHTML and
navigation menu)

TODO: Fix the 'deploy all' button
2006-04-24 23:55:29 +00:00
stronk7
dc04f6e346 Now navigation menu is properly created (XHTML + 508) 2006-04-24 22:17:10 +00:00
vyshane
93642edd6a Fixed inserts for log_display. 2006-04-24 08:38:03 +00:00
toyomoyo
f21cc86bca changed formats for log_display table 2006-04-24 08:10:55 +00:00
stronk7
b692e95816 Looking much better now! B-)
More tests tomorrow (IE, mainly)
2006-04-24 00:11:59 +00:00
skodak
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
stronk7
0e8d48e9d5 Now the resize script supports both resources with and
without navigation menu.
2006-04-23 17:22:45 +00:00
stronk7
57eb7bb905 Styles are now 100% out from here. 2006-04-23 17:00:18 +00:00
stronk7
af6f079c3c Moving some harcoded styles in ims cp to standard 2006-04-23 11:49:33 +00:00
stronk7
3f5e294b97 Now the resize script hasn't anymore harcoded widths. 2006-04-23 09:59:04 +00:00
stronk7
0a1cf79f5f TOC needs _parent because it's rendered in the iframe. 2006-04-23 02:21:00 +00:00
stronk7
dce3a7cb61 Now double-headers are out 100%
Some incorrect targets are out.
Scorm API (dummy) is working fine.

TODO: Move css styles to standard.
2006-04-23 01:57:02 +00:00
stronk7
282bf4a3f3 Moving script to a proper place (for XHTML validation)
(although the page still continues with some errors)
2006-04-22 22:52:34 +00:00
stronk7
13615e23c6 Avoid some warnings... 2006-04-22 22:51:15 +00:00
wildgirl
4c85af7b01 Added a check for is_object($item) to prevent possible warnings in preview_ims_generate_toc
Restored use of textlib in preview_ims_generate_toc
2006-04-20 06:53:07 +00:00
wildgirl
676fb87edc Added a check for isset($this->resource->reference) to prevent warnings in resource_ims
Added a check for is_object($item) to prevent warnings in ims_generate_toc
Restored use of textlib in ims_generate_toc
2006-04-20 06:51:55 +00:00
wildgirl
824c9dc7c6 resource.class.php changes:
1. Added logic to process repository paths. A repository path is marked with a # as the first character of the reference field.
2. Added a new error code for repository items not being deployed / bad reference.

ims.html change:
Added a button to link to the repository browser.

New files:
finder.php – browser for the repository
preview.php – cut down display routine from resource.class.php, forces sidemenu etc.
repository_deploy.php – deploy for repository items (same results as deploy.php)
repository_config.php (repository disabled by default)
resize.js - for iframe resizing
dummyapi.js - dummy SCORM API

(Tom's work, with help from Andy)
2006-04-18 18:04:30 +00:00