126 Commits

Author SHA1 Message Date
Helen Foster
9f3e096899 MDL-39642 Merge English strings from the en_fix language pack 2013-05-13 09:58:43 +02:00
Eloy Lafuente (stronk7)
cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
Sam Hemelryk
7395c2b8e2 Merge branch 'MDL-37414_master' of https://github.com/markn86/moodle 2013-01-28 13:29:17 +13:00
Mark Nelson
d448625682 MDL-37414 blocks: re-added the ability to add some blocks to the My Moodle 2013-01-22 10:52:41 +08:00
David Monllao
6b21986911 MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
David Monllao
5c3c2c81be MDL-37457 testing Refactoring references 2013-01-15 11:07:43 +08:00
Mark Nelson
bfe20414c0 MDL-36455 blocks: removed ability to add blocks to the My Moodle page that did not make sense in that context 2012-12-18 11:32:35 +08:00
Jason Fowler
4ff849b7db MDL-36108 - Blocks - Online User block's user image's alt attribute is now empty to prevent repetition of text for screen readers 2012-12-11 15:49:50 +08:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Frederic Massart
3d3c7ecfac MDL-36630 usability: CSS related to online users block 2012-11-21 15:37:02 +08:00
Mark Nelson
70c9c1956d MDL-34270 blocks: Adding clonepermissionsfrom to the new capability definitions 2012-11-05 12:28:09 +08:00
Mark Nelson
b291b59d6a MDL-34270 blocks: adding new add block capabilities 2012-11-02 14:32:01 +08:00
Rossiani Wijaya
2628edb110 MDL-33815 Online Users block: Add query condition to filter out deleted users and lastaccess date greater than now 2012-10-11 16:02:16 +08:00
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Petr Skoda
9bb2b515ce MDL-32323 fix generator file name typos 2012-04-10 15:27:12 +02:00
Petr Skoda
3c4c51891c MDL-32323 improve phpunit data generators 2012-04-10 15:27:02 +02:00
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Petr Skoda
d68b3dbe72 MDL-30007 standard version file for all blocks 2011-11-29 20:57:30 +01:00
Dan Poltawski
10aeaf0f74 MDL-26568 block_online_users - reporting incorrect number of users
When over 50 users were online the count used in the listing was incorrect
2011-10-25 23:34:46 +02:00
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Petr Skoda
801dea0605 MDL-26262 fix online users block error on non-course pages 2011-02-06 22:04:44 +01:00
Petr Skoda
fb7dd39ce7 MDL-26045 fix invalid sql join when separate group mode enabled 2011-01-19 15:40:20 +01:00
Sam Hemelryk
63442fe14a block_online-users MDLSITE-1002 Fixed chrome issue by adding position css to positioned li 2010-10-06 06:24:09 +00:00
Petr Skoda
629e12fd81 MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:43:42 +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
Martin Dougiamas
0f47bf5809 MDL-22320 Fixed links to messaging (no longer to popup) 2010-07-12 13:13:09 +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
8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Andrew Davis
f816273a3e blocks MDL-22564 removed some commented out old code and set online users popup height and width to what they apparently should be 2010-05-26 02:05:58 +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
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
Dan Marsden
8702d4a0e0 Online users XHTML MDL-22302 thanks to Daniele Cordella for report. 2010-05-05 01:08:57 +00:00
Martin Dougiamas
16b5fdaf17 MDL-22054 Fixed some uppercasing errors. We Never Use This Format For Strings. 2010-04-30 02:42:18 +00:00
Petr Skoda
4bbe3bd83f MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [blockname,block_online_users],[pluginname,block_online_users]
AMOS END
2010-04-11 11:31:03 +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
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
7a563f0f35 MDL-21694 Moving blocks lang files into the plugin scope 2010-03-29 15:33:27 +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
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +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
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
4ca6cfbfd4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:00:47 +00:00
samhemelryk
4cdb8d70ae blocks MDL-19791 Upgrade deprecated function calls 2009-09-30 06:54:07 +00:00
nicolasconnault
cda9c83d16 MDL-19790 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:39 +00:00
tjhunt
e92c286c20 block contexts: MDL-19098 every block should have a context
even non-course and sticky blocks.

The parent context is block_instances.parentcontextid.

The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.

However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.

Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
tjhunt
f4d76b9cdf blocklib: MDL-19010 fix some minor problems with existing blocks. 2009-06-05 08:28:45 +00:00
tjhunt
f474a4e583 blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php 2009-05-07 08:55:10 +00:00