Dan Poltawski
f7290156ad
Merge branch 'MDL-33126-master' of git://github.com/sammarshallou/moodle
2012-05-21 20:17:12 +08:00
sam marshall
57a42a24ad
MDL-33126 Fix error on first view of new course page
2012-05-21 12:05:30 +01:00
Dan Poltawski
2b4f1cbc32
Merge branch 'wip-files23' of git://github.com/marinaglancy/moodle
2012-05-21 18:19:32 +08:00
Andrew Robert Nicols
48a5e55ee2
MDL-33128 Swap Activities and Resources in the module chooser
2012-05-21 11:08:32 +01:00
Dan Poltawski
5c50d45b79
Merge branch 'MDL-22504_drag_and_drop_upload_integration' of git://github.com/davosmith/moodle
2012-05-21 17:22:13 +08:00
Davo Smith
1ddc3d1f4c
MDL-22504 Course drag and drop upload - experimental setting is now a checkbox
2012-05-21 10:03:55 +01:00
Marina Glancy
559276b153
MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
...
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Davo Smith
f684250bda
MDL-22504 Course drag and drop upload - removed browser specific content hacks, made 'text and link' dragging an experimental feature
2012-05-21 08:34:50 +01:00
Dan Poltawski
78de004483
MDL-33051 - topics format: remove section number from section column
...
We don't think its necessary anymore
2012-05-21 12:12:44 +08:00
Andrew Robert Nicols
2d1151817f
MDL-30617 Center dialogue title
2012-05-18 10:28:53 +01:00
Andrew Robert Nicols
af75421c54
MDL-30617 Adjustments to styling of module chooser
...
These changes fix several points and suggested changes:
* increase the size of the help popup to 800x600
* fix issues with centering of the dialogue
* swap next/cancel buttons
* convert next button to use string for 'Add'
* convert add text to 'Add an activity or resource'
2012-05-18 10:10:20 +01:00
Dan Poltawski
5316007e08
MDL-24419 section availability: display availability info to teachers
2012-05-18 14:56:00 +08:00
Jerome Mouneyrac
96d3b93ba3
MDL-33060 remove some get_string from exceptions
2012-05-18 14:45:15 +08:00
Dan Poltawski
1edff8c7ed
MDL-30617 lang: improve mod chooser strings
2012-05-18 12:46:13 +08:00
Eloy Lafuente (stronk7)
f823158b07
MDL-32941 Add transaction support to delete_categories
2012-05-18 00:06:42 +02:00
Eloy Lafuente (stronk7)
3ec163ddf1
MDL-32941 Reorganise functions a bit
2012-05-17 23:45:41 +02:00
Eloy Lafuente (stronk7)
754c2deab6
Merge branch 'MDL-32941' of git://github.com/mouneyrac/moodle
...
Conflicts:
course/externallib.php
lib/db/services.php
version.php
2012-05-17 22:35:57 +02:00
Davo Smith
5a4decbc2d
MDL-22504 Course drag and drop upload - (mostly) fixed the dragging of text between Firefox <==> Chrome
2012-05-17 21:19:52 +01:00
Dan Poltawski
46e046b7b3
MDL-30617 modchoser: minor tweaks
...
* Change markup way from 'activity module style' to its own markup
* Remove 'a new' from the 'add an activity' string
* Remove the 'personalisation' from the nohelp lang string
2012-05-18 00:27:42 +08:00
Andrew Robert Nicols
01e0e7044a
MDL-30617 Add a javascript interface for adding modules to a course
...
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Dan Poltawski
bc449b18a6
Merge branch 'MDL-33025-master-1' of git://git.luns.net.uk/moodle
2012-05-17 21:19:37 +08:00
Dan Poltawski
03ba9dac94
Merge branch 'MDL-33073-master-1' of git://git.luns.net.uk/moodle
2012-05-17 21:04:30 +08:00
Davo Smith
b64300fc42
MDL-22504 Improved drag and drop status message, fixed text dragged from firefox, fix icon
2012-05-17 13:59:54 +01:00
Dan Poltawski
6e0d176934
Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
2012-05-17 20:45:37 +08:00
sam marshall
52f1406101
MDL-24419 Fix bug with section creation for new courses
2012-05-17 13:37:33 +01:00
Andrew Robert Nicols
537194ffc5
MDL-33073 Fix application of toolbox JS for drag/dropped content
2012-05-17 11:49:53 +01:00
Jerome Mouneyrac
8c507544d4
MDL-32941 fix criteriaerror exception code + wrong phpdoc scope
2012-05-17 13:36:40 +08:00
Aaron Barnes
66b494771f
MDL-33063 course: Reuse get_all_sections()
2012-05-17 15:40:03 +12:00
Dan Poltawski
12ba24a8f8
Merge branch 'MDL-24419' of git://github.com/stronk7/moodle
2012-05-17 11:19:02 +08:00
Jerome Mouneyrac
d6ebe011b6
Fix codecheck/moodlechecker errors
2012-05-17 10:35:05 +08:00
Jerome Mouneyrac
d7238d0839
MDL-32941 change category name limit from 30 to 255
2012-05-17 10:35:02 +08:00
Fábio Souto
f2229c6895
MDL-32941 Implement core_course_update_categories, add webform and unittests
...
Conflicts:
admin/webservice/testclient_forms.php
course/externallib.php
lib/db/services.php
2012-05-17 10:34:59 +08:00
Jerome Mouneyrac
6c6ec1d6b7
MDL-32941 use + operator instead array merge to avoid duplicate. Sort resulting array for better display to the client and for entring in the excluding algo. Exception reformatting. Minor formatting fixes.
2012-05-17 10:34:57 +08:00
Eloy Lafuente (stronk7)
20854c75f1
MDL-32941 external: core_course_get_categories() fixing.
...
This includes:
- Multiple coding violations.
- Better detection of criteria, avoiding troublemaker 0 != ''
- Minor formatting.
- Ordering by path always to cause excludes to work ok.
2012-05-17 10:34:14 +08:00
jleyva
d4a17894ef
MDL-32941 Some changes to the core_course_get_categories functions. Adding key parameters
2012-05-17 10:34:12 +08:00
Jerome Mouneyrac
dd5e31f3cb
MDL-32941 parameters moved on top level, little performance improvement, filter and format the description, browse all sub categories level and adjust checks
2012-05-17 10:34:09 +08:00
Fábio Souto
d4a246bc3b
MDL-32941 Add implementation for core_course_get_categories()
2012-05-17 10:34:06 +08:00
Fábio Souto
2f951d866a
MDL-32941 Added service definition and implementation for core_course_delete_categories()
...
Included is a bug correction to categories_delete_move() which does not
respect showfeedback parameter, printing feedback even when not wanted
(this breaks the webservice output)
Conflicts:
admin/webservice/testclient_forms.php
lib/db/services.php
2012-05-17 10:34:03 +08:00
Fábio Souto
be05180890
MDL-32941 complete unit tests and webform
2012-05-17 10:33:56 +08:00
Jerome Mouneyrac
95693c43aa
MDL-32941 improve create_categories() web service function (wip)
2012-05-17 10:33:53 +08:00
Fábio Souto
479a5db197
MDL-32941 Create service definition and implementation for
...
core_course_create_categories()
2012-05-17 10:33:51 +08:00
Sam Hemelryk
a0a06d05fa
MDL-22504 course-dndupload: Fixed up a couple of minor bugs
2012-05-17 11:29:38 +12:00
Sam Hemelryk
7b06151288
Merge branch 'MDL-22504_drag_and_drop_upload_final' of https://github.com/davosmith/moodle
...
Conflicts:
course/lib.php
theme/base/style/course.css
2012-05-17 10:55:35 +12:00
Eloy Lafuente (stronk7)
94dc3c7d1e
MDL-24419 (5): Coding style cleanup
2012-05-17 00:51:50 +02:00
Sam Hemelryk
fbb4c959b5
MDL-32881 Prevent course/view.php from being cached
...
This should prevent browser caching which will ensure that changes made
using the course javascript (e.g. drag/drop, show/hide) will not be 'lost'
by using the browser back button.
This reverts commit 3aaa1843999eeb1832331ec5c8b30865fdba9710.
2012-05-17 10:12:29 +12:00
Eloy Lafuente (stronk7)
dd420abadf
Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
lib/db/upgrade.php
lib/phpunit/lib.php
version.php
Fixed:
lib/db/upgrade.php - duplicate course->sectioncache add code
lib/db/install.xml - cleanup needed because xmldb editor was not used
lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
Eloy Lafuente (stronk7)
ea01d3c601
Merge branch 'MDL-32233-core_course_duplicate_course-usersdata' of git://github.com/jleyva/moodle
2012-05-16 16:23:00 +02:00
Juan Leyva
d7f465d497
MDL-32233 core_course_duplicate_course: Forcing backup and restore in MODE_SAMESITE always as suggested by Eloy.
2012-05-16 16:10:47 +02:00
Juan Leyva
6c7d3e3100
MDL-32233 core_course_duplicate_course: Fixed integrator review details described here http://tracker.moodle.org/browse/MDL-32233?focusedCommentId=157707&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157707
2012-05-16 12:10:09 +02:00
Andrew Robert Nicols
c9cbb5a9bf
MDL-33025 Ensure that hitting cancel clears the resource title editor
2012-05-16 10:56:45 +01:00