Sam Hemelryk
33636b4040
Merge branch 'MDL-41587_master' of git://github.com/dmonllao/moodle
2013-09-11 08:52:52 +12:00
Sam Hemelryk
f605403fe2
Merge branch 'MDL-41555_master' of git://github.com/dmonllao/moodle
2013-09-11 08:51:02 +12:00
Sam Hemelryk
c4f5f0ee59
Merge branch 'MDL-40471_master' of https://github.com/totara/openbadges
2013-09-11 08:42:37 +12:00
Sam Hemelryk
e0a8b60f5d
Merge branch 'MDL-41236-master' of git://github.com/phalacee/moodle
2013-09-11 08:36:54 +12:00
Dan Poltawski
4bdabf5968
Merge branch 'MDL-41565-master' of git://github.com/FMCorz/moodle
2013-09-10 15:21:49 +08:00
Damyon Wiese
a01914128d
MDL-41237 Atto: Add missing js method docs.
2013-09-10 14:30:02 +08:00
Jason Fowler
2b6361305d
MDL-41237 Atto - Adjusting the text styles for the editor
2013-09-10 14:30:02 +08:00
Dan Poltawski
3b46f8dfe1
MDL-41235 fix whitespace
2013-09-10 14:26:53 +08:00
Dan Poltawski
03608c253d
Merge branch 'MDL-41235-master' of git://github.com/phalacee/moodle
2013-09-10 14:25:48 +08:00
Jason Fowler
37b16441b8
MDL-41235 atto - Matching the width of the html view to the wysiwyg view
2013-09-10 14:13:14 +08:00
Ankit Agarwal
28c4399b6b
MDL-21415 reports: Adding support of groups to course participation reports
...
Also introducing new api groups_allgroups_course_menu() that generates a selector for all groups in course"
2013-09-10 13:14:33 +08:00
Marina Glancy
64501eeec9
MDL-41436 Remove DB fields course.modinfo and sectioncache
2013-09-10 14:11:52 +10:00
Marina Glancy
4cc819adf0
MDL-41436 Allow user=-1 in get_fast_modinfo()
...
Remove ref to nonexisting course.modinfo in MNET auth, use get_fast_modinfo() for user=-1 instead
2013-09-10 14:11:51 +10:00
Marina Glancy
1cf1d6e62a
MDL-41436 Save extra DB query since 'enablecompletion' is cached
2013-09-10 14:11:51 +10:00
Marina Glancy
4a3fb71c4f
MDL-41436 Removing references to fields course.modinfo, sectioncache
...
Also add the field cacherev to the lists of default fields in course retrieval functions
2013-09-10 14:11:51 +10:00
Marina Glancy
299cfee5f2
MDL-41436 Move course content cache to MUC
...
added cache definition and DB field course.cacherev for cache validation
2013-09-10 14:11:45 +10:00
Petr Škoda
d82993dc7f
MDL-41436 implement new increment_revision_number() function
...
This is intended as a revision counter for local modinfo caching. It should be a lot more reliable and faster than doing it in PHP. Please note you need to invalidate all course caches after using this.
2013-09-10 14:11:44 +10:00
Marina Glancy
44ddd2a115
MDL-41219 course: Make properties of course_modinfo read-only
...
added phpdocs and unittests
2013-09-10 14:11:37 +10:00
Marina Glancy
cbd6b1fc63
MDL-41192 course: Added unittests for cm_info properties
2013-09-10 14:11:37 +10:00
Marina Glancy
6d04c4f2a2
MDL-41192 course: Added property-read cm_info::effectivegroupmode
2013-09-10 14:11:36 +10:00
Marina Glancy
d872881f2a
MDL-41192 course: Properties of cm_info are read-only and calculated on request
...
Also added phpdocs
2013-09-10 14:11:31 +10:00
Marina Glancy
88715ba2c0
MDL-41192 course: Can not write to the read-only properties of cm_info
2013-09-10 14:11:30 +10:00
Marina Glancy
4e4309064d
MDL-41218 Object section_info calculates expensive data on demand only
...
Added phpdocs and unittests, removed unnecessary fields such as course and userid because they can be retrieved from modinfo
2013-09-10 14:11:24 +10:00
Damyon Wiese
cc93ed2698
Merge branch 'MDL-41451_master' of https://github.com/pauln/moodle
2013-09-10 11:59:29 +08:00
Dan Poltawski
f841aa780d
Merge branch 'MDL-38570-master' of https://github.com/timgus/moodle
2013-09-10 11:13:29 +08:00
Dan Poltawski
76c88eaffb
Merge branch 'MDL-41438' of git://github.com/rwijaya/moodle
2013-09-09 14:23:41 +08:00
Damyon Wiese
437b86f0ad
MDL-18275 Calendar types: Add a major version + redirect for ci server fail.
2013-09-09 11:25:02 +08:00
Damyon Wiese
1320c3177b
Merge branch 'MDL-18375_master' of git://github.com/markn86/moodle
2013-09-09 10:41:12 +08:00
Dan Poltawski
d95e8420df
Merge branch 'MDL-41151-master' of git://github.com/sammarshallou/moodle
2013-09-09 10:22:02 +08:00
Rossiani Wijaya
699e2fd0de
MDL-41438 core_renderer: Update the parameters for heading() and heading_with_help().
...
heading(), change the default value for classes from 'main' to null.
heading_with_help(), add 2 additional parameters for level and classnames. Default value of level is set to 2 and classnames is set to null.
With the changes for heading_with_help(), icon image vertical alignment needs to be adjusted, so it display in the middle of the heading.
Also added some notes in theme/upgrade.txt file.
2013-09-09 09:39:03 +08:00
Yuliya Bozhko
497c676f0e
MDL-41662 badges: Fix viewing user profile when not logged in
2013-09-09 11:21:39 +12:00
Paul Nicholls
59de735095
MDL-41451 - formslib: use create_function instead of inline function
...
As per MDL-39432, closure-style inline functions can result in fatal
errors when using eAccelerator and thus should be avoided.
2013-09-09 11:21:33 +12:00
Sam Hemelryk
58cc269d0c
Merge branch 'w37_MDL-28094_m26_subdirs' of https://github.com/skodak/moodle
2013-09-09 10:19:00 +12:00
Sam Hemelryk
0b7a2b7bec
Merge branch 'MDL-41460-master' of https://github.com/FMCorz/moodle
2013-09-09 08:58:44 +12:00
Petr Škoda
4db9d48253
MDL-28094 add function that detects if subdirs used and fix subdirs option in form editor
2013-09-07 11:30:18 +02:00
Eloy Lafuente (stronk7)
d037dba81c
MDL-41623 ensure all rss links are valid urls.
2013-09-07 04:04:54 +02:00
Jason Fowler
21f6c5292b
MDL-41238 atto - close menu style when clicking anywhere outside it
2013-09-06 14:46:45 +08:00
Frederic Massart
5975d573ab
MDL-41632 core_component: All version hash did not consider plugin type
2013-09-06 12:03:51 +08:00
Ankit Agarwal
32dea43930
MDL-40742 blogs: Replace blog_entry_updated with events2
...
AMOS BEGIN
MOV [entryupdated,core_blog],[evententryupdated,core_blog]
AMOS END
2013-09-06 11:43:01 +08:00
Frederic Massart
0e6ee5e9e2
MDL-41630 oauth: Throw exception instead of dying on error
2013-09-06 10:46:17 +08:00
Paul Nicholls
85b82a9c2f
MDL-41451 - Large forms are truncated by max_input_vars
...
By parsing php://input in chunks, we can bypass max_input_vars for
forms which do not use the "multipart/form-data" enctype. This can
be (and is) safely skipped if there are fewer than max_input_vars
fields submitted as part of $_POST.
2013-09-06 14:16:20 +12:00
Marina Glancy
961403c4bf
MDL-41578 Fixed bug in coursecat::has_course_overviewfiles
2013-09-06 10:50:59 +10:00
sam marshall
71ab7e512b
MDL-41151 Files: Zip packer should have way to indicate progress
2013-09-05 16:41:57 +01:00
Mark Nelson
5999e40f01
MDL-41619 events: ensure direct access to event class files is prohibited
2013-09-05 18:43:58 +08:00
Mark Nelson
deed22ea39
MDL-18375 calendar: removed usage of the calendar type in the usergetdate function
...
The usergetdate function is not only used to display dates, it is also passed
to the function make_timestamp. This means users using another calendar type
other than Gregorian will generate incorrect timestamps which may be saved in
the DB or used to populate the date_selector and date_time_selector elements.
For example, when creating an assignment using another calendar type other
than Gregorian, the mod_form.php file calls $this->apply_admin_defaults()
which uses the function usergetmidnight to set the "Allow submissions from"
date to today's date and the "Due date" field to 7 days in the future. The
usergetmidnight function calls usergetdate which is then passed to
make_timestamp. Since the usergetdate function was using the calendar
type's timestamp_to_date_array function the date being passed to
make_timestamp was not in Gregorian. So, when using the hijri calendar the
year 1434 was being passed which was generating a large negative number as
the timestamp which was then used to populate the date fields.
2013-09-05 18:32:16 +08:00
Mark Nelson
6eafa4ddba
MDL-18375 calendar: changed the name of the function factory to be more descriptive
2013-09-05 18:32:16 +08:00
Mark Nelson
5989677e0f
MDL-18375 calendar: added the Gregorian calendar type to the standard list of plugins
2013-09-05 18:32:16 +08:00
Mark Nelson
f59ab4adc8
MDL-18375 calendar: renamed the userdate/usergetdate functions and changed them to abstract
...
Renamed the userdate/usergetdate functions in the calendar type to be more
descriptive and made them abstract to ensure developers implement this
functionality in their calendar type.
Also tidied up PHPDocs for these functions.
2013-09-05 18:32:16 +08:00
Mark Nelson
022745acd2
MDL-18375 calendar: implemented the usage of the recently introduced automatic class loading
2013-09-05 18:32:16 +08:00
Mark Nelson
62321a7ba0
MDL-18375 calendar: edited the calendartype column in the install.xml file and created an upgrade path
2013-09-05 18:32:15 +08:00