Commit graph

243 commits

Author SHA1 Message Date
Petr Skoda
adfc4d7c25 commenting out unused code so that it does not confuse IDEs 2010-09-17 09:39:00 +00:00
David Mudrak
60dfef5b82 NOMDL report_cutomlang: fixed ILIKE SQL escaping after recent improvements of sql_like() 2010-09-16 09:03:54 +00:00
Eloy Lafuente
2959db4a2b MDL-16106 report - fix old double-column trick causing problems in backup logs. Merged from 19_STABLE 2010-09-08 16:56:42 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda
2225fb4809 MDL-24080 fixed debug warning and converted NOT LIKE 2010-09-04 14:43:11 +00:00
Petr Skoda
bbec5b9183 MDL-24079 spam cleaner now using new sql_like() 2010-09-04 11:53:04 +00:00
Petr Skoda
323f79a36c MDL-24079 spam cleaner now using new sql_like() 2010-09-04 11:52:36 +00:00
Petr Skoda
cdce125542 MDL-24079 custom lang report now using new sql_like() 2010-09-04 11:50:18 +00:00
Petr Skoda
4287c1c2a0 MDL-24058 fixed sql injection, addslashes must not be used any more 2010-09-02 12:16:24 +00:00
Petr Skoda
d8fa45505c MDL-23984 using standard checkdirexists for lang packs 2010-08-29 09:38:08 +00:00
David Mudrak
5e90252679 MDL-23934 customlang: MySQL does not like SELECT field, * 2010-08-25 11:52:49 +00:00
David Mudrak
03ff3b4f0c MDL-21696 Added new admin report for language customization 2010-08-24 23:19:11 +00:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Petr Skoda
5402c577eb MDL-23784 fixed docs icon from security report 2010-08-12 18:22:34 +00:00
Petr Skoda
0f17961d4a fixed incorrect report name string 2010-08-12 18:18:47 +00:00
Petr Skoda
320e7de869 MDL-22620 new report that lists roles with unsupported context level assignments 2010-07-18 13:32:24 +00:00
Petr Skoda
835d78ff9e MDL-22056 simplified component name handling + converting reports to proper pluginname
AMOS BEGIN
 MOV [capability,report_capability],[pluginname,report_capability]
 MOV [questioninstances,report_questioninstances],[pluginname,report_questioninstances]
 MOV [reportsecurity,report_security],[pluginname,report_security]
 MOV [spamcleaner,report_spamcleaner],[pluginname,report_spamcleaner]
AMOS END
2010-07-15 17:13:45 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Petr Skoda
50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
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