838 Commits

Author SHA1 Message Date
Andrew Davis
e404dffd59 rating MDL-21657 added a space in if statement to not break upgrade safety checking script 2010-05-17 09:33:33 +00:00
Andrew Davis
9e86f2e7a9 rss MDL-22204 fixed rss autodiscovery and made the RSS UI elements placement consistent 2010-05-13 08:44:35 +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
Andrew Davis
eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +00:00
Dongsheng Cai
8fd603a26a "MDL-19118, fixed data module comment migration" 2010-05-03 07:49:59 +00:00
Andrew Davis
198ff49840 Rating MDL-22270 Prevented fetching of ratings when ratings are turned off 2010-05-03 02:31:22 +00:00
Penny Leach
c3e1b5bd5a portfolio & data MDL-21032 add leap2a to database module
This commit changes drastically the previous portfolio api support in
mod/data to get rid of csv etc and add leap2a, refactor and tidy up a
lot.
2010-05-02 18:01:19 +00:00
Andrew Davis
fcce139aa3 RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php 2010-05-02 11:43:57 +00:00
Penny Leach
5fcbdc6bf0 portfolio MDL-22272 remove portfolio stuff from export tab 2010-05-02 06:38:59 +00:00
David Mudrak
7719b4db37 MDL-21695 Database module now uses new help strings
AMOS BEGIN
 HLP data/exportzip.html,[exportaszip_help,mod_data]
 HLP data/fields.html,[newfield_help,mod_data]
 HLP data/fieldmappings.html,[fieldmappings_help,mod_data]
 HLP data/importcsv.html,[csvimport_help,mod_data]
 HLP data/importfromfile.html,[fromfile_help,mod_data]
 HLP data/maxentries.html,[maxentries_help,mod_data]
 HLP data/requireapproval.html,[requireapproval_help,mod_data]
 HLP data/requiredentries.html,[requiredentries_help,mod_data]
 HLP data/requiredentriestoview.html,[requiredentriestoview_help,mod_data]
 HLP data/savepreset.html,[saveaspreset_help,mod_data]
 HLP data/tags.html,[availabletags_help,mod_data]
 HLP data/usepreset.html,[usestandard_help,mod_data]
AMOS END
2010-04-30 14:56:41 +00:00
Andrew Davis
cfe3ba15bb rating MDL-21657 removed definitions of data_ratings and glossary_ratings 2010-04-28 04:00:17 +00:00
Andrew Davis
8546cdd414 rating MDL-21657 added a check for the old rating tables before trying to migrate data 2010-04-28 03:50:56 +00:00
Andrew Davis
cbf964dfac rating MDL-21657 removed old per module rating implementations 2010-04-28 03:19:19 +00:00
Andrew Davis
c506e35496 rating MDL-21657 updated rating upgrade process that drops old rating tables 2010-04-28 03:12:49 +00:00
Andrew Davis
d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Helen Foster
38d207acca MDL-21695 adding help strings 2010-04-21 18:12:44 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
David Mudrak
5e1bccd227 MDL-21657 Fixing incorrect usage of relative path in require_once() and tab indentation 2010-04-15 19:56:41 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Andrew Davis
c7b9082a6a rating MDL-22063 made the scale id column signed to allow for the +ve -ve scale id hack 2010-04-13 05:50:25 +00:00
Sam Hemelryk
dca032a15f mod-glossary mod-data MDL-22065 Changed support for these two modules for ratings to false until Andrews next ratings patch gets commit 2010-04-12 09:01:19 +00:00
Petr Skoda
3c7e56c4b8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [decsep,core],[decsep,core_langconfig]
  MOV [listsep,core],[listsep,core_langconfig]
  MOV [thousandsep,core],[thousandsep,core_langconfig]
AMOS END
2010-04-10 17:40:58 +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
Dongsheng Cai
866354a905 MDL-21951, improve comments performance 2010-04-09 09:03:51 +00:00
Eloy Lafuente
1a6b93675b NOBUG: BOM rebombed from 19_STABLE 2010-04-08 18:16:26 +00:00
Petr Skoda
846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
33aadb2d70 MDL-21694 Moving Database module strings into module space 2010-03-29 20:31:40 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Eloy Lafuente
cea304d432 NOBUG: comment is a reserved word for oracle. I reserve my comments about it ;-) 2010-03-22 17:49:42 +00:00
Sam Hemelryk
0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Andrew Davis
67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Andrew Davis
9288633dd7 rating MDL-21657 shifted the rating migration code out of the main upgrade script and into the modules 2010-03-19 08:26:38 +00:00
Andrew Davis
5db9b119bd rating MDL-21657 moved upgrade of data table to mod/data/ upgrade script and updated install.xml 2010-03-17 05:50:08 +00:00
Andrew Davis
6c5fcef746 rating MDL-21657 changing from ratings (plural) to rating (singular) 2010-03-16 09:37:31 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Dongsheng Cai
ff3cf1c937 "MDL-15405, simplified filemanager initilising in database module" 2010-03-15 06:31:41 +00:00
Dongsheng Cai
e30d75ccdd "MDL-15405, perform filemanager init tasks in one function" 2010-03-08 03:28:22 +00:00
Dongsheng Cai
a14a933c2b "MDL-16596, fixed nonjs filemanager" 2010-03-07 16:40:25 +00:00
Petr Skoda
b67bb42201 MDL-21769 fixed input validation 2010-03-07 15:30:02 +00:00
Dongsheng Cai
26032c2d20 "MDL-15405, data module to use filemanager" 2010-03-05 05:37:09 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00