904 Commits

Author SHA1 Message Date
Eloy Lafuente
d3ce7c2cc7 MDL-22151 backup - glossary implemented 2010-05-03 23:18:33 +00:00
David Mudrak
4be9b12824 MDL-21695 Help strings use Markdown format from now on 2010-05-03 16:49:07 +00:00
David Mudrak
94c8a38626 MDL-21695 Glossary module now uses new help strings
AMOS BEGIN
 HLP glossary/aliases2.html,[aliases_help,mod_glossary]
 HLP glossary/allowcomments.html,[allowcomments_help,mod_glossary]
 HLP glossary/allowduplicatedentries.html,[allowduplicatedentries_help,mod_glossary]
 HLP glossary/allowprintview.html,[allowprintview_help,mod_glossary]
 HLP glossary/attachment2.html,[attachment_help,mod_glossary]
 HLP glossary/attachment.html,[attachment_help,mod_glossary]
 HLP glossary/casesensitive.html,[casesensitive_help,mod_glossary]
 HLP glossary/defaultapproval.html,[defaultapproval_help,mod_glossary]
 HLP glossary/destination.html,[destination_help,mod_glossary]
 HLP glossary/displayformat.html,[displayformat_help,mod_glossary]
 HLP glossary/editalways.html,[editalways_help,mod_glossary]
 HLP glossary/filetoimport.html,[filetoimport_help,mod_glossary]
 HLP glossary/fullmatch.html,[fullmatch_help,mod_glossary]
 HLP glossary/globalglossary.html,[isglobal_help,mod_glossary]
 HLP glossary/linkcategory.html,[linkcategory_help,mod_glossary]
 HLP glossary/mainglossary.html,[glossarytype_help,mod_glossary]
 HLP glossary/rssarticles.html,[rssarticles_help,mod_glossary]
 HLP glossary/rsstype.html,[rsstype_help,mod_glossary]
 HLP glossary/shows.html,[showspecial_help,mod_glossary]
 HLP glossary/shows.html,[showalphabet_help,mod_glossary]
 HLP glossary/shows.html,[showall_help,mod_glossary]
 HLP glossary/usedynalinkentry.html,[entryusedynalink_help,mod_glossary]
 HLP glossary/usedynalink.html,[usedynalink_help,mod_glossary]
AMOS END
2010-05-03 09:51:47 +00:00
Dongsheng Cai
51f93f4a1c "MDL-19118, fixed glossary module comment migration" 2010-05-03 08:05:43 +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
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
Jamie Pratt
c7a2b2c84f MDL-22252 "couple of typos causing errors when importing glossary contents" 2010-04-30 06:20:19 +00:00
Dongsheng Cai
28925062d6 "MDL-19118, fix course id for comments api" 2010-04-29 09:07:49 +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
Helen Foster
0c92a05ed4 MDL-21695 adding help strings 2010-04-27 08:48:28 +00:00
Helen Foster
5a944254f6 MDL-21695 adding help strings 2010-04-26 20:06:30 +00:00
Helen Foster
5fbd8c0b07 MDL-21695 adding help strings 2010-04-26 13:36:22 +00:00
Patrick Malley
d427d6095e Removed embedded CSS and properly named a few elements 2010-04-25 19:20:35 +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
David Mudrak
62b1d51be9 MDL-21657 Fixing regression - wrong SQL upgrade code
Would be nice if core developers actually tried to run the code before
they commit it into the repository.
2010-04-22 22:30:33 +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
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
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
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +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
3158eb9350 MDL-21694 Moving Glossary strings 2010-03-29 20:49:28 +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
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +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
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
3ff163c597 MDL-21235 html_writer now supports select form elements 2010-01-16 17:00:22 +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
Penny Leach
a322cbb90d portfolio/glossary MDL-21158 make sure full glossary export is in a leap2a selection 2010-01-04 03:57:47 +00:00
Penny Leach
7923b376b4 portfolio NOBUG just fixed some code wrapping in a long line 2010-01-04 03:43:18 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00