1667 Commits

Author SHA1 Message Date
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
Dongsheng Cai
22e719d9c3 "fixed filemanager parameters" 2010-05-02 04:23:34 +00:00
David Mudrak
530d2d72e4 MDL-21695 Forum module now uses new help strings
AMOS BEGIN
 HLP forum/assessaggregate.html,[aggregatetype_help,mod_forum]
 HLP forum/attachment2.html,[attachment_help,mod_forum]
 HLP forum/displayperiod.html,[displaystart_help,mod_forum]
 HLP forum/displayperiod.html,[displayend_help,mod_forum]
 HLP forum/forumtype.html,[forumtype_help,mod_forum]
 HLP forum/forumtypenews.html,[namenews_help,mod_forum]
 HLP forum/manageposts.html,[blockperiod_help,mod_forum]
 HLP forum/manageposts.html,[blockafter_help,mod_forum]
 HLP forum/manageposts.html,[warnafter_help,mod_forum]
 HLP forum/maxattachments.html,[maxattachments_help,mod_forum]
 HLP forum/maxattachmentsize.html,[maxattachmentsize_help,mod_forum]
 HLP forum/mods.html,[modulename_help,mod_forum]
 HLP forum/ratings.html,[separatedandconnectedinfo,core]
 HLP forum/rssarticles.html,[rssarticles_help,mod_forum]
 HLP forum/rsstype.html,[rsstype_help,mod_forum]
 HLP forum/subscription2.html,[subscriptionmode_help,mod_forum]
 HLP forum/subscription.html,[subscription_help,mod_forum]
 HLP forum/trackingtype.html,[trackingtype_help,mod_forum]
AMOS END
2010-04-30 16:35:55 +00:00
Andrew Davis
aa3c639984 rating MDL-21657 removed reference to rate_ajax.js 2010-04-28 06:58:50 +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
dbbd8e9fd1 MDL-21695 adding help strings 2010-04-26 08:28:50 +00:00
Helen Foster
a1397e4f88 MDL-21695 adding help strings 2010-04-24 21:11:39 +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
Helen Foster
3c9076c2e1 MDL-21695 adding help strings 2010-04-22 15:38:54 +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
Eloy Lafuente
4bfdcfcf60 MDL-21432 backup 2.0 - initial commit. Enable forum backup 2010-04-21 14:17:11 +00:00
Eloy Lafuente
a8fb453011 MDL-21432 backup 2.0 - initial commit. forum moodle2 backup 2010-04-21 09:35:30 +00:00
Sam Hemelryk
afef965e28 mod-forum MDL-22114 Enhanced navigation options for forum in regards to subscription. 2010-04-21 08:05:03 +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
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
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +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
ffbb41f48f MDL-21694 Moving Forum strings 2010-03-29 20:49:05 +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
Penny Leach
599777551b portfolio MDL-21034 fixed syntax error caused by too long lines and patching 2010-03-23 06:26:42 +00:00
Penny Leach
b2488578dc portfolio MDL-21034 add extra leap2a metadata to forum export 2010-03-22 14:34:15 +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
Penny Leach
2b76d67441 portfolio/forunm MDL-21034 add on the discussion title
when exporting a full forum thread as leap2a to the selection entry
2010-03-21 17:20:16 +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
Petr Skoda
17e5633cab MDL-21876 fixed incorrect uses of bound parameters - patch by Ashley Holman, thanks! 2010-03-20 11:49:48 +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
Penny Leach
549c1ae680 portfolio MDL-21508 fixed broken forum attachment export
- fixed a lot of logic in the format conflict stuff
- fixed a very specific bug in forum export when exporting a single
  attachment.
2010-03-16 19:07:53 +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
Penny Leach
c2d2f7a987 portfolio/forum MDL-21156 fixed a small error in attached files when exporting a full thread 2010-02-26 15:28:43 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Sam Hemelryk
9ae71e9cc0 mod-forum MDL-21590 Fixed spelling error pic_icon to pix_icon 2010-02-18 05:49:36 +00:00
Petr Skoda
8cea545e0b MDL-20204 started refactoring of html_table + more cleanup 2010-02-17 19:33:24 +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
f9fc1461ba MDL-21590 fixed recent regression in nav icons - now using new pix_icon instead of urls, have to rework extra icon handling in resources though 2010-02-14 09:29:44 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +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
Petr Skoda
f83b9b63ae MDL-20204 legacy time selects converted, please note we should always use mforms if possible 2010-02-10 14:27:03 +00:00
Petr Skoda
f1a3e072fa MDL-20204 using url_select 2010-02-10 10:55:51 +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
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00