Damyon Wiese
ce5867a178
MDL-41188 javascript: Prevent scrolling to top
...
This fix is for dialogues that are not created until some time after the page
has loaded.
2013-09-18 20:21:34 +08:00
Eloy Lafuente (stronk7)
1ee2fb5a11
Merge branch 'MDL-41188-master' of git://github.com/damyon/moodle
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-09-17 20:04:08 +02:00
Marina Glancy
4a91055f7c
Merge branch 'MDL-39959-master' of git://github.com/ankitagarwal/moodle
2013-09-17 11:08:27 +10:00
Marina Glancy
a8fd33b02c
MDL-41715 Increase size of char fiels in user table
2013-09-16 17:51:05 +10:00
Ankit Agarwal
63deb5c379
MDL-39959 events: Replace add_to_log() calls with events for course module actions (create, delete and update)
2013-09-16 15:29:56 +08:00
Ankit Agarwal
0158650f59
MDL-39959 events: Add course module events
...
Added event course_module_created
Added event course_module_updated
Added event course_module_deleted
2013-09-16 13:42:37 +08:00
Sam Hemelryk
da8cd86f17
Merge branch 'MDL-38194-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
lib/upgrade.txt
2013-09-16 13:56:05 +12:00
Sam Hemelryk
cf13da65e1
Merge branch 'MDL-36316-master' of git://github.com/danpoltawski/moodle
2013-09-16 13:13:41 +12:00
Sam Hemelryk
0d5c80e298
Merge branch 'MDL-41662_master' of https://github.com/totara/openbadges
2013-09-16 10:48:20 +12:00
sam marshall
137885b7e9
MDL-38194 Files: Allow download of large backup files
...
The PHP readfile function does not work for files more than 2GB.
This commit provides a wrapper that can be used so that files less
than 2GB are sent with readfile, and files larger than 2GB are
sent manually.
The change applies to all uses of pluginfile.php, although in
reality, backup files are probably the only ones likely to be more
than two gigabytes.
2013-09-13 14:59:57 +01:00
Rajesh Taneja
2b503e40f2
MDL-31560 Messages: Deprecated generate_email_supportuser
...
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Rajesh Taneja
3bcf6b3cdd
MDL-31560 Messages: Added support for noreply and support users
...
This is used by messaging system for sending/receiving message
to/from noreply or support user. message_send api will now use
core_user class to get noreply or support user and then
send/receive message depending on user state.
2013-09-13 16:13:26 +08:00
Dan Poltawski
378b3eac83
MDL-36316 useragent: Reduce user agent sniffing
...
* core_useragent: Introduce is_vendor methods to improve readability
when we are just detecting if a browser is from a vendor, rather than
the exact version
* Remove uncessary browser version checks when we are just detecting
vendors - this makes the intention of our sniffing clearer.
* Remove sniffing for browsers which we do not support, grades/ajax/tinymce
all support modern browsers so there is no need to sniff for them.
2013-09-13 14:25:37 +08:00
David Monllao
f59f6b6b75
MDL-41555 behat: Fixing catch statement location
...
The exception is thrown when getting the
browser session, not when accessing the first
URL.
2013-09-12 15:51:24 +08:00
Damyon Wiese
2a808cef8f
MDL-41188 javascript: Change full screen dialogue to position: fixed
...
This fixes all sorts of bother with the fullscreen dialogues. It also means that
you don't lose your scroll position in the document when the full screen popup
opens/closes.
It prevents several bugs on mobile where the dialogue could get scrolled off
the page (and handles orientation changes better).
Contains one other tiny tweak to make the close button on the dialogue
a bit bigger so it's easier to click (only for fullscreen).
2013-09-12 14:18:12 +08:00
Jason Fowler
c1f10ffb24
MDL-41238 atto - fixing autoclose of style menu for firefox
2013-09-12 13:28:18 +08:00
Tim Gus
c4012e7e82
MDL-38570 admin: fix cron_delete_from_temp on windows
2013-09-12 11:33:32 +08:00
Ankit Agarwal
ef9ca10699
MDL-21415 reports: We should fetch active group from session not page params
...
Also donot allow active group to be set to something that user doesn't have access to
2013-09-12 11:18:25 +08:00
Marina Glancy
aba4d0090d
MDL-37028 fixed course-module generation
...
still conditionlib should be using API functions and not inserting the data directly in DB but will fix in another issue
2013-09-11 10:47:49 +08:00
Dan Poltawski
111c649600
MDL-41565 events: fix unit test
2013-09-11 10:25:31 +08:00
Frederic Massart
de170aacda
MDL-41436 modinfo: Concatenate SQL fields instead of passing array
2013-09-11 10:02:41 +08:00
Sam Hemelryk
214816fb19
Merge branch 'MDL-40742-master' of git://github.com/ankitagarwal/moodle
2013-09-11 10:13:29 +12:00
Eloy Lafuente (stronk7)
a13f06aec0
Merge branch 'MDL-41619_master' of https://github.com/markn86/moodle
2013-09-10 23:45:20 +02:00
Sam Hemelryk
087bc6ba67
Merge branch 'MDL-41238-master' of git://github.com/phalacee/moodle
2013-09-11 09:28:42 +12:00
Sam Hemelryk
f773cb2e94
Merge branch 'MDL-41630-master' of git://github.com/FMCorz/moodle
2013-09-11 09:20:53 +12:00
Sam Hemelryk
cde5c4a58e
Merge branch 'MDL-41632-master' of git://github.com/FMCorz/moodle
2013-09-11 09:12:32 +12:00
Sam Hemelryk
3623d74adc
Merge branch 'wip-MDL-41578-master' of git://github.com/marinaglancy/moodle
2013-09-11 09:00:54 +12:00
Sam Hemelryk
994009ddfe
Merge branch 'MDL-41599-master' of git://github.com/ankitagarwal/moodle
2013-09-11 08:54:26 +12:00
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