Moodle - the world's open source learning platform https://moodle.org/
Find a file
David Mudrák 19168d0934 MDL-52036 tablelib: Fix the behaviour of resetting table preferences
The problem with the previous implementation was that the table's
$this->prefs can contain valid non-empty value in its default state -
the default column to sort by. On resetting, we must not throw away
these default prefs.

This patch simplifies the TABLE_VAR_RESET interpretation. If such an
HTTP parameter is passed via the request, the table simply behaves as if
there were no previously stored preferences (does not matter if coming
from the current session, or from the persistent cross-session storage).

The logic that decides on whether or not the reset widget should be
displayed is put into a new method can_be_reset() with unit tests
attached.

Finally, the previously private method render_reset_button() is now
protected and the reset widget is given a new semantic CSS class.
2015-11-04 15:07:17 +01:00
admin Merge branch 'MDL-52018-master-enfix' of git://github.com/mudrd8mz/moodle 2015-11-03 17:56:21 +01:00
auth MDL-52018 lang: Merge English strings from the en_fix language pack 2015-11-02 22:12:06 +01:00
availability Merge branch 'MDL-51652-master' of https://github.com/sammarshallou/moodle 2015-10-15 13:45:10 +01:00
backup MDL-49545 backup: Restore does not respect some capabilities 2015-10-15 02:45:27 +00:00
badges Merge branch 'MDL-51408-master' of git://github.com/marinaglancy/moodle 2015-10-05 13:49:00 +08:00
blocks MDL-52018 lang: Merge English strings from the en_fix language pack 2015-11-02 22:12:06 +01:00
blog MDL-51296 blog: Added title that reflects the blog's editing mode 2015-09-14 10:52:09 +08:00
cache Merge branch 'wip-MDL-50932-master' of git://github.com/marinaglancy/moodle 2015-08-17 11:43:42 +08:00
calendar MDL-49561 core_lib: added info to bennu readme 2015-09-04 19:38:55 -07:00
cohort MDL-51241 cohorts: Update to cohort query. 2015-09-18 07:30:37 +08:00
comment Merge branch 'MDL-47773-master-commentui' of git://github.com/mudrd8mz/moodle 2015-04-07 11:34:23 +08:00
completion MDL-48117 behat: Use form field to check checkbox 2015-10-19 17:00:24 +08:00
course MDL-51993 course: Set valid default for section_edit_control_menu 2015-11-03 10:29:38 +08:00
enrol MDL-52018 lang: Fix behat tests to use the new strings 2015-11-02 22:30:46 +01:00
error MDL-49360 core_lib: add new method get_local_referer() 2015-07-27 11:11:24 +08:00
files MDL-51083 admin: Prevent password autofill in authentication settings 2015-10-09 14:04:34 +08:00
filter MDL-51222 Javascript: Trigger events for filters on DOM insertion 2015-09-22 15:40:51 +08:00
grade MDL-51999 user: remove unnecessary continue 2015-11-02 10:53:43 +08:00
group MDL-50647 groups: Documentation fix 2015-10-16 11:28:06 +08:00
install Automatically generated installer lang files 2015-11-04 00:04:21 +08:00
iplookup MDL-47321 iplookup: Prevent guest users from using iplookup 2014-11-04 10:01:43 +13:00
lang MDL-52018 lang: Merge English strings from the en_fix language pack 2015-11-02 22:12:06 +01:00
lib MDL-52036 tablelib: Fix the behaviour of resetting table preferences 2015-11-04 15:07:17 +01:00
local MDL-49643 navigation: Fix API for extending navigation in local plugins 2015-03-26 12:17:15 +01:00
login Merge branch 'MDL-51217-master' of git://github.com/lucisgit/moodle 2015-09-14 10:04:08 +08:00
message MDL-51673 messages: Added codes for the unit tests 2015-10-16 16:05:30 -05:00
mnet MDL-51162 core: replace all HTTP_RAW_POST_DATA usages 2015-10-20 10:27:26 +08:00
mod Merge branch 'wip-mdl-52020' of https://github.com/rajeshtaneja/moodle 2015-11-03 17:56:22 +01:00
my MDL-46878 my: Behat tests to cover reset of all customised pages 2015-09-18 11:40:09 +08:00
notes MDL-51536 webservices: fix invalid param definitions 2015-10-13 19:01:42 +01:00
pix NOBUG: Fixed SVG browser compatibility 2015-10-14 10:49:00 +01:00
plagiarism MDL-39752 fix whitespace errors 2015-03-10 14:13:20 +00:00
portfolio MDL-50183 upgrade: add 2.9.0 separation line to all upgrade scripts 2015-05-12 00:21:05 +02:00
question Merge branch 'MDL-52018-master-enfix' of git://github.com/mudrd8mz/moodle 2015-11-03 17:56:21 +01:00
rating MDL-49823 webservice: Support gravatar profile images 2015-10-01 09:36:31 +02:00
report Merge branch 'MDL-51399' of https://github.com/andrewhancox/moodle 2015-10-14 15:02:50 +01:00
repository MDL-51083 admin: Prevent password autofill in authentication settings 2015-10-09 14:04:34 +08:00
rss MDL-33564 rss: Fixing missing param type 2015-09-15 17:58:05 +08:00
tag MDL-51260 core_tag: Use new tag autocomplete for related tags 2015-10-15 12:03:52 +08:00
theme Merge branch 'MDL-51921-master' of git://github.com/junpataleta/moodle 2015-10-29 10:35:03 +00:00
user MDL-51981 behat: No need for JS tag 2015-10-30 11:29:52 +08:00
userpix MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
webservice MDL-51435 Web Services: E_WARNING in core_webservice_get_site_info 2015-10-09 09:00:07 +01:00
.csslintrc MDL-48277 css: enable some helpful csslint warnings 2014-11-18 22:11:36 +00:00
.gitignore MDL-49840 testing: Stop ignoring composer.lock 2015-04-14 11:25:29 +08:00
.jshintrc MDL-51222 Javascript: Trigger events for filters on DOM insertion 2015-09-22 15:40:51 +08:00
.shifter.json MDL-42774 JavaScript: Ensure that shifter cleans build directories before running 2013-11-11 18:29:35 +08:00
.travis.yml MDL-51906 testing: Hardcode branch name 2015-10-27 18:31:23 +08:00
behat.yml.dist MDL-37046 behat: Adding empty Behat config file 2013-01-29 08:40:37 +08:00
brokenfile.php
composer.json MDL-51660 behat: Upgarde behat and phpunit 2015-10-06 10:53:01 +08:00
composer.lock MDL-51660 behat: Upgarde behat and phpunit 2015-10-06 10:53:01 +08:00
config-dist.php MDL-49329 admin: Clean up disabling of plugins code management features 2015-10-10 09:11:19 +02:00
COPYING.txt
draftfile.php MDL-31501 rework user session architecture 2013-09-21 13:11:56 +02:00
file.php MDL-48799 Files API: fixed legacy directory fallback. 2015-02-01 09:02:37 +01:00
Gruntfile.js MDL-50766 grunt: Check that there are yui modules before running shifter 2015-09-11 15:11:48 +08:00
help.php MDL-48389 forms: added page title to help text 2014-12-09 15:21:06 +13:00
help_ajax.php MDL 38508 JavaScript: Split out AJAX and non-AJAX help 2013-04-08 21:01:20 +01:00
index.php MDL-49811 lib: Added js to skiplinks 2015-10-05 06:17:58 -05:00
install.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
package.json MDL-50277 Javascript: Hardcode nodejs dependencies 2015-05-20 09:41:17 +08:00
phpunit.xml.dist MDL-50926 phpunit: Upgrade to phpunit 4.x 2015-08-11 02:35:11 +02:00
pluginfile.php MDL-40719 pluginfile.php: the file API is now stable, so hide debug. 2013-07-19 12:06:00 +01:00
README.txt MDL-38048 documentation: Typo in README file 2013-02-15 13:14:39 +08:00
tags.txt MDL-48855 dev: Fix ctags command to handle extra whitespace 2015-01-23 10:59:29 +08:00
TRADEMARK.txt
version.php Moodle release 3.0rc1 2015-11-03 19:00:58 +01:00

QUICK INSTALL
=============

For the impatient, here is a basic outline of the
installation process, which normally takes me only
a few minutes:

1) Move the Moodle files into your web directory.

2) Create a single database for Moodle to store all
   its tables in (or choose an existing database).

3) Visit your Moodle site with a browser, you should
   be taken to the install.php script, which will lead
   you through creating a config.php file and then
   setting up Moodle, creating an admin account etc.

4) Set up a cron task to call the file admin/cron.php
   every five minutes or so.


For more information, see the INSTALL DOCUMENTATION:

   http://docs.moodle.org/en/Installing_Moodle


Good luck and have fun!
Martin Dougiamas, Lead Developer