Commit Graph

222 Commits

Author SHA1 Message Date
Sam Marshall 31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Tim Hunt c8a9f066f7 unit tests: MDL-22175 Still more improvements unit test failure display.
Thanks to Eloy for suggesting these improvements:
1. We display debuginfo if it is there.
2. If the exception refers to a missing lang string, we output as much
information as we have.
2010-04-26 15:25:56 +00:00
Tim Hunt 39321e0faf unit tests: MDL-22175 Further improvements unit test failure display.
Exceptions are now also shown with a pruned stack trace.
And 2.0 code for displaying PHP5 error types backported to 1.9.
2010-04-23 17:22:55 +00:00
Tim Hunt f99b19c58d unit tests: MDL-22175 Improve unit test failure display.
When you are using helper funcitions, show all the interesting bits of the stack trace,
rather that just the line in the helper function where the failed asset was called.
2010-04-23 11:22:30 +00:00
Eloy Lafuente 16d0b44022 NOBUG: Improve vis. of exception params. 2010-04-21 09:37:26 +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 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 89422374d1 MDL-21694 Moving admin report strings into plugin space 2010-03-29 20:45:38 +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
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
Eloy Lafuente d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +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 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
Eloy Lafuente 40be01445b MDL-20204 checkboxes small regression - two "showsearch" are way too much! :-P 2010-02-10 17:01:44 +00:00
Petr Skoda 6bacd33926 MDL-20204 converting to new checkboxes 2010-02-09 18:17:21 +00:00
Petr Skoda 2b728cb5e1 MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
Petr Skoda 9cd2295b20 MDL-21400 adding missing ; 2010-02-04 21:40:20 +00:00
Penny Leach c71ade2f41 mnet MDL-21261 moving upgrade functions to lib/upgrade.php 2010-02-02 21:16:56 +00:00
Petr Skoda 2b8c3f8c1a MDL-21435 api changes and simplification needed for JS caching and compression 2010-01-26 08:33:21 +00:00
Petr Skoda 4222342283 MDL-21400 improved coding style 2010-01-24 18:24:18 +00:00
Petr Skoda 81bd56ad4f MDL-21400 improved coding style 2010-01-24 18:11:25 +00:00
Petr Skoda f104d38212 MDL-21400 removed unnecessary yui2 includes 2010-01-24 10:59:10 +00:00
Petr Skoda d825355a76 MDL-21400 fixed whitespace, sorrry 2010-01-23 18:30:16 +00:00
Petr Skoda 9edea336a7 MDL-21400 spamcleaner converted to YUI3 2010-01-23 18:09:54 +00:00
Petr Skoda 3b01539ccc MDL-21400 global Y revisited, I really think it is better to pass it around properly, this could help a lot in future if we have multiple versions of YUI installed; reverted js_function_call() and added new js_init_call() instead which should be hopefully easier to use and in theory could replace all other $PAGE->requires->js_*; finished implemenetation of js_module() 2010-01-23 17:08:18 +00:00
Petr Skoda 7beccff9a1 MDL-21422 migration to YUI3 2010-01-21 22:36:44 +00:00
Petr Skoda 6e9bad56e8 MDL-21422 migration to YUI3 2010-01-21 22:29:28 +00:00
Petr Skoda 9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +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
Petr Skoda 2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Eloy Lafuente 6f5a517f68 MDL-21007 - take out the box saying FakeTests are disabled. Not needed anymore. 2009-11-30 23:33:24 +00:00
Eloy Lafuente 2319bdedd6 MDL-21007 UnitTestCaseUsingDatabase misconfigured unit tests now reported as skipped 2009-11-30 23:18:34 +00:00
Andrew Davis 2b4d40c9ac unit tests MDL-19060 unified the two checks for CVS directories 2009-11-30 01:14:30 +00:00
Andrew Davis f6607a9c16 unit test MDL-19060 prevent unit tests from scanning cvs and .git directories 2009-11-27 05:39:35 +00:00
Martin Dougiamas b1a59fb900 security report MDL-20834 Fixed DML for the backup risk checker for HEAD 2009-11-26 09:18:32 +00:00
Sam Hemelryk 08f9410378 admin MDL-20980 Touched up regex that determines weak password salts 2009-11-26 09:03:38 +00:00
Martin Dougiamas dbec9afd01 security report MDL-20834 Merged 'report_security_check_riskbackup' check from 1.9 2009-11-26 08:32:48 +00:00
Tim Hunt 9aa653f124 Unit tests: Change the parent class to avoid a deprecated class.
This is necessary to make it work in PHP 5.3 (as well as PHP 4).
2009-11-24 21:44:59 +00:00
Sam Hemelryk e019158c7d security MDL-18807 Changed language strings: Thanks for the new strings Helen 2009-11-18 09:55:03 +00:00
Petr Skoda af2d263f99 MDL-18006 MDL-18807 MDL-20853 warn that the default salt is definitely weak 2009-11-17 16:36:23 +00:00
Petr Skoda 4c1ba3ffc7 MDL-18006 MDL-18807 MDL-20853 merging sam's changes from MOODLE_19_STABLE, going to fix some more problems in this new code soon 2009-11-17 16:11:25 +00:00
Andrew Davis 1e252026e8 report backup MDL-19903 Fixed backup report table header 2009-11-13 06:09:54 +00:00