202 Commits

Author SHA1 Message Date
stronk7
01c3c55960 Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
stronk7
4121848035 XMLDB schema initial commit for the journal module 2006-08-11 17:29:47 +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
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
vyshane
670b1364a0 Fixed inserts for log_display. 2006-04-24 08:26:33 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +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
patrickslee
6c1a3ce7db Added missing alias in SQL statements 2006-03-07 02:20:30 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
37d7e71a0b bug fixning 2006-01-25 06:11:00 +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
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +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
moodler
b779602b0e No journal on new installs, merged from stable 2005-07-12 07:11:33 +00:00
moodler
be27364137 Very quick fix to remove notices (but loses some colors) 2005-05-17 19:55:37 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
stronk7
a2779dba53 This clean_text() shouldn't be here. Primary I changed it
to param_clean(PARAM_HTMLTEXT) but examining how other modules
do the work, I've deleted it finally.
2005-04-29 10:35:16 +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
thepurpleblob
f0e13cf157 Whoops - forgot the db prefix in the where clause 2005-04-12 20:04:50 +00:00
thepurpleblob
a8093758b1 Whoops - new strings now taken from correct lang file. 2005-04-12 15:26:57 +00:00
thepurpleblob
14333242e3 Made mail subject line text in language pack, not hardcoded. 2005-04-12 14:10:41 +00:00
thepurpleblob
bdbbb0b6f3 Now 2005041100: Wiki-like formatted text converted to Markdown 2005-04-11 13:38:12 +00:00
thepurpleblob
ad96fa8e28 Wiki-like format converted to Markdown in journal intro and journal entries 2005-04-11 13:37:33 +00:00
stronk7
8a2381f6b9 Now Journal mails support filterall. 2005-04-10 22:38:22 +00:00
stronk7
c2dd62a773 Now journal->name supports filterall. 2005-03-30 19:26:23 +00:00
moodler
61f0aace2a Some more CSS changes (SE) 2005-03-24 13:59:59 +00:00
moodler
6aed9d10c2 Changes for XHTML, accessibility compatibility.
Removed THEME variable, inserted CSS classes where appropriate. (SE)
2005-03-24 12:43:22 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
mjollnir_
5ad4a39da5 Merged from MOODLE_14_STABLE: Add new line after url in journal mailout to prevent /mod/journal/view.php?id=1----- type requests 2005-03-08 20:56:30 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
mjollnir_
58336c87a2 Merged from MOODLE_14_STABLE: Indexes for journal and version bump (honoring partial freeze) 2004-11-19 02:02:38 +00:00
moodler
d7d21c383c Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
gustav_delius
1c5d9bbbec closed some br tags 2004-09-12 22:29:44 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
moodler
36d9d5f70e Merged fixes from stable 2004-08-30 06:29:54 +00:00