160 Commits

Author SHA1 Message Date
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda
633d5a07af MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
Eloy Lafuente (stronk7)
26635fd7f9 Merge branch 'MDL-28169' of git://github.com/nebgor/moodle 2011-07-07 10:21:32 +02:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Aparup Banerjee
728ebac7f2 MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/" 2011-07-05 14:27:31 +08:00
David Mudrak
c5c315e2a7 MDL-27718 Migrate files embedded in the activity intro fields
Contains various fixed spotted through the way, too.
2011-06-05 17:37:58 +02:00
David Mudrak
f6f7a7266c Merge branch 'master' into backup-convert
Conflicts:
	backup/util/xml/parser/processors/simplified_parser_processor.class.php
	backup/util/xml/parser/simpletest/testparser.php
2011-05-26 17:30:27 +02:00
David Mudrak
d777f26837 MDL-27445 Fixed the deprecated call 2011-05-25 12:13:26 +02:00
Aparup Banerjee
d1711071f4 MDL-27445 added moodle1 backup converter for label 2011-05-25 12:08:00 +02:00
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Petr Skoda
e83a6a22d4 MDL-26106 fix lable typo
credit goes to fautrero
2011-01-23 15:36:06 +01:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
David Mudrak
370d793c98 MDL-23318 Consistent usage of 'pluginadministration' string for the Settings block
AMOS BEGIN
 MOV [assignmentadministration,mod_assignment],[pluginadministration,mod_assignment]
 MOV [dataadministration,mod_data],[pluginadministration,mod_data]
 MOV [feedbackadministration,mod_feedback],[pluginadministration,mod_feedback]
 MOV [folderadministration,mod_folder],[pluginadministration,mod_folder]
 MOV [forumadministration,mod_forum],[pluginadministration,mod_forum]
 MOV [glossaryadministration,mod_glossary],[pluginadministration,mod_glossary]
 MOV [chatadministration,mod_chat],[pluginadministration,mod_chat]
 MOV [choiceadministration,mod_choice],[pluginadministration,mod_choice]
 MOV [imscpadministration,mod_imscp],[pluginadministration,mod_imscp]
 MOV [labeladministration,mod_label],[pluginadministration,mod_label]
 MOV [lessonadministration,mod_lesson],[pluginadministration,mod_lesson]
 MOV [pageadministration,mod_page],[pluginadministration,mod_page]
 MOV [quizadministration,mod_quiz],[pluginadministration,mod_quiz]
 MOV [resourceadministration,mod_resource],[pluginadministration,mod_resource]
 MOV [scormadministration,mod_scorm],[pluginadministration,mod_scorm]
 MOV [surveyadministration,mod_survey],[pluginadministration,mod_survey]
 MOV [urladministration,mod_url],[pluginadministration,mod_url]
 MOV [wikiadministration,mod_wiki],[pluginadministration,mod_wiki]
 MOV [workshopadministration,mod_workshop],[pluginadministration,mod_workshop]
AMOS END
2010-08-17 17:35:12 +00:00
Petr Skoda
611b0a0c9b MDL-23628 removed more log_display upgrade leftovers 2010-08-04 09:48:04 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Eloy Lafuente
c26f918842 MDL-23479 backup - oops! deleted too much in my prev commit. Decode contents are back 2010-07-30 23:27:16 +00:00
Eloy Lafuente
c61b92fd49 MDL-23479 backup - label revised & old code deleted (but restore logs) 2010-07-30 23:01:20 +00:00
Dan Marsden
6751fcbd80 MDL-23479 missed check for intro files. 2010-07-28 01:57:12 +00:00
Dan Marsden
6517017975 MDL-23479 Page Restore code - fix comments in label code. 2010-07-28 01:35:56 +00:00
Dan Marsden
8508a59fff MDL-23479 Label Restore code 2010-07-28 01:17:29 +00:00
Petr Skoda
9516942ac6 MDL-21249 improved php docs and adding copyright blocks 2010-07-25 11:06:52 +00:00
Petr Skoda
d4dfc6e654 MDL-23204 fixed label intro format upgrade 2010-07-16 09:20:22 +00:00
Petr Skoda
e21b850a05 MDL-23318 adding missing label string, hopefully to be renamed later 2010-07-15 20:16:47 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Eloy Lafuente
f58a9e3707 MDL-22151 backup - added label module backup 2010-05-04 20:21:13 +00:00
Helen Foster
50f623590b MDL-21695 adding help strings 2010-04-27 14:32:09 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
d8a8183033 MDL-21694 Moving Label strings 2010-03-29 20:50:12 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
Petr Skoda
31dadc6fee MDL-20204 more steps away from old popup_form 2010-02-10 11:25:17 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Petr Skoda
86342d631f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:03:10 +00:00
samhemelryk
e2dbe3e8a9 mod-label MDL-19799 Added set_url calls, replaced deprecated functions 2009-09-24 07:51:37 +00:00
stronk7
fe8ce24aac NOBUG: Fix wrong(4) default for label->introformat. Must be 0 2009-08-04 13:57:00 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
stronk7
3e17976332 MDL-19350 upgrade blocks - fixing minor bits in modules 2009-06-03 17:01:51 +00:00
samhemelryk
44a87f630a mod lib MDL-19294 Added boilerplate and phpdocs 2009-05-28 02:48:34 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00