Commit graph

17388 commits

Author SHA1 Message Date
Mark Nelson
29cb1e83b0 MDL-18375 calendar: only display the YUI2 calendar when the Gregorian type is used 2013-09-05 18:30:05 +08:00
Mark Nelson
2f00e1b245 MDL-18375 calendar: huge refactor of the initial patch
1) Moved the calendar types location to a sub-folder in the calendar directory.
2) Removed/moved language strings.
3) Removed calendar types that should be downloaded as plugins.
4) Removed a Non-English language pack for the Gregorian calendar type that
should be downloaded separately.
5) Removed custom files responsible for checking for updates and uninstalling
calendar types, which should be done by core.
6) Removed JS from the calendar_month block as there is no non-JS alternative
provided and the JS written does not make use of the YUI library to ensure
multiple browser support.
7) Removed code from the base class responsible for creating timestamps that
are saved in the DB.
8) Added PHPDocs.

Note: In the original patch we are editing core functions responsible for saving
time in the database in the calendar base class. This is very dangerous, we do
not want to touch these functions as it could cause a complete fubar of the
database. There are places we are forcing the use of the gregorian calendar as
we are passing dates generated by the PHP date function, where as sometimes
we pass dates from usergetdate (which was being overwritten to return the
date specific to the calendar). We can not expect third party modules to
change the calendar type depending on the format they pass to these functions.
2013-09-05 18:30:05 +08:00
Shamim Rezaie
6dd59aabfa MDL-18375 calendar: added multiple calendar support
Conflicts:

	course/edit_form.php
	lib/db/install.xml
	lib/form/dateselector.php
	lib/form/datetimeselector.php
	lib/setup.php
2013-09-05 18:30:05 +08:00
Ankit Agarwal
77037e27a5 MDL-41599 events: Set relateduserid instead of userid in blog events 2013-09-05 17:10:34 +08:00
Frederic Massart
3274c5db89 MDL-41460 core_component: Validate cache against version.php 2013-09-05 14:45:09 +08:00
David Monllao
19f6703d8b MDL-41587 tool_behat: Adding site name constant 2013-09-05 10:13:25 +08:00
David Monllao
3b7d3fb8d7 MDL-41555 tool_behat: Improving behat & selenium exceptions messages
Also moving the 'selenium not running'
checking to a proper place as it was
not thrown since the homepage start
visit() was introduced.
2013-09-05 10:12:57 +08:00
Tim Gus
179961e8a4 MDL-38570 administration: Temporary file deletion
Added new function "cron_delete_from_temp" to delete old files and
directories under $CFG->tempdir during cron run. Unit test included.
2013-09-04 13:48:01 -04:00
Dan Poltawski
259dfc2521 Merge branch 'wip-MDL-41369-master' of git://github.com/marinaglancy/moodle 2013-09-04 11:09:30 +08:00
Dan Poltawski
4f9c5f332b Merge branch 'wip-MDL-41395-master' of git://github.com/marinaglancy/moodle 2013-09-04 10:33:33 +08:00
Jason Fowler
f477b698ab MDL-41236 atto - Improving visibility of disabled buttons and making atto match the file manager 2013-09-04 07:52:55 +08:00
Eloy Lafuente (stronk7)
4e6f199203 MDL-41267 fix phpunit tests 2013-09-04 01:11:54 +02:00
Eloy Lafuente (stronk7)
f875599462 Merge branch 'w36_MDL-41267_m26_toolsubplugins' of https://github.com/skodak/moodle
Conflicts:
	lib/upgrade.txt
2013-09-04 01:08:37 +02:00
Yuliya Bozhko
a72c2cd681 MDL-40471 badges: Fixes around badge capabilities and navigation 2013-09-04 11:03:35 +12:00
Eloy Lafuente (stronk7)
58c80b03a8 Merge branch 'MDL-40566_master' of git://github.com/dmonllao/moodle 2013-09-03 20:38:53 +02:00
Marina Glancy
85708da63b MDL-41395 Improved phpdocs for coursecatlib.php 2013-09-03 19:23:44 +10:00
Sam Hemelryk
1eac203343 MDL-41395 improved phpdoc's for coursecatlib.php 2013-09-03 19:09:07 +10:00
Dan Poltawski
1f34b19a33 Merge branch 'mdl41304-master' of git://github.com/tlock/moodle 2013-09-03 16:05:38 +08:00
Frederic Massart
28f1ff8def MDL-41565 event: Correct inclusion path of observers includefile 2013-09-03 15:54:20 +08:00
Dan Poltawski
5c1ba238d2 Merge branch 'MDL-41440_master' of https://github.com/markn86/moodle 2013-09-03 14:10:02 +08:00
Yuliya Bozhko
ed23ad31c7 MDL-41228 phpunit: Reset message processors list in unit tests 2013-09-03 17:43:53 +12:00
Dan Poltawski
4ffd70f315 Merge branch 'wip-MDL-41179-master' of git://github.com/marinaglancy/moodle 2013-09-03 11:48:45 +08:00
David Monllao
db5f2d3360 MDL-40566 behat: Adding info about the deprecated attr. 2013-09-03 10:29:28 +08:00
David Monllao
17344d4c8f MDL-40566 behat: Moving from behat_command to behat_selectors 2013-09-03 10:28:42 +08:00
David Monllao
ecf5b898e2 MDL-40566 behat: Adding behat_selectors
Class that manages moodle selectors transition
to behat default selectors.
2013-09-03 10:28:41 +08:00
Dan Poltawski
6affe9e695 Merge branch 'wip-MDL-31890-master' of git://github.com/marinaglancy/moodle 2013-09-03 09:53:22 +08:00
Damyon Wiese
8a1b820bc5 Merge branch 'w36_MDL-20045_m26_customlevels' of https://github.com/skodak/moodle 2013-09-03 09:35:16 +08:00
Dan Poltawski
ee0be46957 Merge branch '41214-26' of git://github.com/samhemelryk/moodle
Conflicts:
	lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2013-09-02 17:32:08 +08:00
Rajesh Taneja
bb78e249cd MDL-39961 Events: Replace Legacy events - User
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Dan Poltawski
6b25e62f48 Merge branch 'MDL-35925-master' of git://github.com/phalacee/moodle
Conflicts:
	lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
2013-09-02 15:23:05 +08:00
Damyon Wiese
fb692af13b Merge branch 'MDL-41516-m' of git://github.com/andrewnicols/moodle 2013-09-02 14:56:49 +08:00
Dan Poltawski
7cefa10220 MDL-40676 tests: fix null byte test. 2013-09-02 13:58:53 +08:00
Yuliya Bozhko
2d3c0faef1 MDL-40924 badges: Add caching to external badges 2013-09-02 13:40:41 +08:00
Petr Škoda
bff1d60c05 MDL-40676 ignore null bytes 2013-09-02 12:25:02 +08:00
Dan Poltawski
70189e7ad2 Merge branch 'MDL-41328-master' of git://github.com/damyon/moodle 2013-09-02 11:44:51 +08:00
Andrew Nicols
ff73a6d1fb MDL-41328 Editor: Work around another iOS issue with TinyMCE
We apply this only on touchend and not touchstart or touchmove. The
location is not guaranteed until the end of the gesture, and there's no
need to keep applying focus on every move.
2013-09-02 09:41:27 +08:00
Andrew Nicols
59849f7925 MDL-41516 Themes: Ensure that blocks are set up early
Blocks can require JavaScript which must be set up early in the page
lifecycle.
In order to do so, we should ensure that content is created in the standard
head setup before any other output is created so that any subsequent use of
block instances are no longer the first such use when they may already be
too late in the lifecycle.
2013-09-01 23:53:52 +01:00
Paul Charsley
9028d9b513 MDL-31890 added core_grading_get_gradingform_instances web service
function
2013-09-02 09:00:39 +12:00
Sam Hemelryk
3f47974fc0 MDL-41432 output: several action_menu improvements
The following improvements have been made:
* Items no longer MUST have an icon, it can now be null instead.
* You can specify the icon displayed to toggle the dropdown menu.
* You can add text in front of the aforementioned icon.
2013-09-02 08:34:54 +12:00
Sam Hemelryk
f2b235cb14 MDL-41214 notification: now looks at menubar zIndex as well 2013-09-02 08:29:53 +12:00
Petr Škoda
0aa535bf1d MDL-20045 add support for custom context levels 2013-08-31 11:47:44 +02:00
Petr Škoda
ac2b2713ba MDL-41267 add support for subplugins in admin tools 2013-08-31 11:40:44 +02:00
Marina Glancy
3e439915d3 MDL-41179 is_user_access_restricted_by_capability() must look at specified user and not current 2013-08-30 14:29:57 +10:00
Damyon Wiese
4a5a5f6902 ie9 svg compatibility fixes 2013-08-30 09:29:10 +08:00
Damyon Wiese
77bb4425e1 Revert "MDL-39871 Find a solution to handling RTL switching in CSS"
This reverts commit 2e68b1254f.
This reverts commit 5b2ed8b5ff.
2013-08-29 15:39:25 +08:00
Jason Fowler
2eaaae00be MDL-35925 File picker - Improving accessibility by adding focus and removing unnecessary alt attribs 2013-08-28 14:05:13 +08:00
Damyon Wiese
c492d41f3b MDL-41098 atto: Enable atto text editor on upgrade
TinyMCE is still the default.
2013-08-27 21:36:21 +08:00
Damyon Wiese
ceaef9a9cc MDL-41098 atto: Fix min-height on firefox. 2013-08-27 21:09:32 +08:00
Mark Nelson
f192414ed8 MDL-41440 event: fixed incorrect treatment of get_string as a class 2013-08-27 17:03:07 +08:00
Damyon Wiese
5df7c45409 Merge branch 'MDL-41364' of git://github.com/timhunt/moodle 2013-08-27 16:31:36 +08:00