814 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
92f2403bf3 Merge branch 'master_MDL-34593_add_extra_plugin_param_to_get_form_elements_module' of git://github.com/kanikagoyal/moodle 2012-08-15 03:18:58 +02:00
Kanika Goyal
67fbfe8b54 MDL-34593: Plagiarism API - add extra plgin param to get_form_elements_module 2012-08-13 20:31:45 +05:30
Kanika Goyal
50da4ddd56 MDL-34382: Plagiarism API - add new option to flag modules that support the use of plagiarism plugins 2012-08-13 11:02:34 +05:30
Dan Poltawski
31f29535d1 Merge branch 'master_MDL-32227_add_plagiarism_api_support_to_workshop' of git://github.com/kanikagoyal/moodle 2012-07-30 13:34:20 +08:00
Kanika Goyal
67ba9007b7 MDL-32227: Plagiarism API - add support for plagiarism api to workshop module 2012-07-24 01:52:54 +05:30
Ankit Agarwal
0bbe041b77 MDL-34470 workshop: Replace all instances of get_context_instance() with context_xxx::instance() in mod/workshop 2012-07-23 15:10:07 +08:00
Sam Hemelryk
d75e8e3ac8 MDL-33521 css: Fixed invalid CSS in core CSS and plugin styles.css files 2012-07-02 11:34:44 +12:00
Aparup Banerjee
99c3c503e0 MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
Adrian Greeve
35ca63c166 MDL-33297 - forum - workshop - glossary - data - Updated the check for files to allow students to see files they recently uploaded. 2012-06-20 10:49:18 +08:00
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Dan Poltawski
1ae5eb704a Merge branch 'MDL-33035-m23' of git://github.com/sunner/moodle 2012-06-14 12:29:14 +08:00
Marina Glancy
c469b3963b MDL-33446 Editor form field can filter return types
- Added possibility for editor form field to specify return_types (default FILE_INTERNAL | FILE_EXTERNAL | FILE_REFERENCE)
- For assignment, workshop, quiz essay submissions and form posts do not allow FILE_REFERENCE
- Fixed mod_resource return_types, reset them to default, because filemanager does not know how to work with FILE_EXTERNAL links
2012-06-12 11:03:43 +08:00
Sun Zhigang
4714f5323a MDL-33035 workshop: typo in strings 2012-05-22 19:22:12 +08: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
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Helen Foster
2e6b68f4a8 MDL-32925 lang: Add extended help texts for all modules
Thanks to Mary Cooch & Martin Dougiamas who contributed to this
rewording.

AMOS BEGIN
   REM These module help texts are going to be displayed more prominently in the Moodle interface
AMOS END
2012-05-18 00:27:04 +08:00
Dan Poltawski
3359a6fe07 Merge branch 'w20_MDL-32926_m23_phpunitevil' of git://github.com/skodak/moodle 2012-05-14 13:36:11 +08:00
Dan Poltawski
e87a7c65f1 Merge branch 'MDL-32714-rubric' of git://github.com/mudrd8mz/moodle 2012-05-14 10:41:46 +08:00
Dan Poltawski
41ea0d3cc2 Merge branch 'MDL-31902-master' of git://github.com/ankitagarwal/moodle 2012-05-14 10:28:05 +08:00
Petr Skoda
d59ef9c5ab MDL-32926 exorcise setUser(2) evil from phpunit 2012-05-12 21:42:07 +02:00
David Mudrak
d20bffa2fd MDL-32714 workshop: fixed SQL to load assessment form fields
Obvious problems emerged once there were some records in the
workshopform_rubric table with no workshopform_rubric_levels. As l.id
(empty in that case) was used as the key of the returned array, they all
were collapsed into a single one.
2012-05-12 10:27:34 +02:00
Ankit Agarwal
3afe75a79c MDL-31902 general: Removing deprecated functions 2012-05-11 10:30:40 +08:00
Frederic Massart
114dd080e1 MDL-32718 Fixed typo in column name 2012-05-08 15:54:11 +08:00
David Mudrak
6c09cb4a64 MDL-32718 fixing an SQL typo in workshop_get_recent_mod_activity() 2012-05-07 10:02:41 +02:00
Dan Poltawski
307621dfce Merge branch 'MDL-32638-workshop-files' of git://github.com/mudrd8mz/moodle 2012-05-02 18:01:40 +08:00
David Mudrak
f08c15685b MDL-32638 fixing the area names and file_browser::get_file_info() API call
These two bug made the file browsing non-working in workshop 2.x
2012-05-02 11:39:30 +02:00
Dan Poltawski
35a1c03448 Merge branch 'MDL-27508-workshop-groups' of git://github.com/mudrd8mz/moodle 2012-05-01 11:16:20 +08:00
David Mudrak
7528e238e0 MDL-32638 workshop_pluginfile() checks for access rights to get the submission files 2012-04-27 14:58:59 +02:00
David Mudrak
92039f1cb4 MDL-32638 fixed capability checks for instructauthors and instructreviewers
The workshop_pluginfile() can't be more restrictive than the code that
actually displays the text with the embedded images. To view both
instructions fields in view.php, the capability to view the workshop is
enough. So the same level of access control is applied here by
require_login() at the top of the function.
2012-04-27 14:56:15 +02:00
David Mudrak
b7a5e3d603 MDL-32638 improved file browser access to submission_content and submission_attachment areas
The user has to have viewallsubmissions capability to be able to see the
submission files in the browser. Additionally, in the separate groups
mode, the user has to have accessallgroups or share at least one group
with the submission author to view their files.
2012-04-27 14:56:14 +02:00
David Mudrak
76966a0058 MDL-32638 fixed workshop file info library comments 2012-04-27 14:56:14 +02:00
David Mudrak
a1df59bea9 MDL-27508 workshop does not use get_users_by_capability() any more
This is a big win, we are now taking enrolment fully into account.
Also, no need to fetch big data from DB just to get their count. Should
have much better performance now.
2012-04-27 14:41:59 +02:00
David Mudrak
74f54102dc MDL-27508 display submission link at the manual allocator page 2012-04-27 14:41:59 +02:00
David Mudrak
25bae250ee MDL-27508 workshop manual allocator supports groups
Pagination support improved, too.
2012-04-27 14:41:59 +02:00
David Mudrak
079219bf07 MDL-27508 introducing workshop::count_participants() 2012-04-27 14:41:59 +02:00
David Mudrak
c90a88bfb7 MDL-27508 improving the docs for workshopallocation_manual_allocations class 2012-04-27 14:41:59 +02:00
David Mudrak
ec1bf0f23d MDL-27508 workshop manual allocator supports configurable page size for items pagination 2012-04-27 14:41:59 +02:00
David Mudrak
dda42a19cd MDL-27508 workshop::prepare_grading_report_data() accepts $groupid
Workshop grades reports in all three last phases were fixed to support
the group selection. They layout of the report has been unified to be
consistent across all phases.
2012-04-27 14:41:59 +02:00
David Mudrak
8741ebb0bd MDL-27508 introducing workshop::get_participants() and workshop::is_participant()
Note how the participant is defined: it is a user that (1) can submit or
assess or both and (2) is actively enrolled in the course. This means
that usually admins or managers won't be considered as workshop
participants, for example.
2012-04-27 14:41:59 +02:00
David Mudrak
11a97e66e8 MDL-27508 workshop supports configurable page size for items pagination 2012-04-27 14:41:59 +02:00
David Mudrak
5547b0dce1 MDL-27508 introducing mod_workshop_renderer::perpage_selector() 2012-04-27 14:41:58 +02:00
David Mudrak
0d2331cce3 MDL-27508 workshop supports pagination at the submissions list in the submission phase 2012-04-27 14:41:58 +02:00
David Mudrak
8a23733753 MDL-27508 common pagination and sorting interface across all phases in view.php 2012-04-27 14:41:58 +02:00
David Mudrak
cd57f558d9 MDL-27508 introducing workshop::count_submissions() and pagination support for get_submissions() 2012-04-27 14:41:58 +02:00
David Mudrak
9326a2aa84 MDL-27508 fixing the description of groups related behaviour of some capabilities 2012-04-27 14:41:58 +02:00
David Mudrak
3f5e99153c MDL-27508 workshop checks separate groups membership when displaying an assessment 2012-04-27 14:41:58 +02:00
David Mudrak
f65bc55fcd MDL-27508 workshop checks separate groups membership when displaying a submission 2012-04-27 14:41:58 +02:00
David Mudrak
a4e848360d MDL-27508 workshop_user_complete() checks group membership in separate groups mode 2012-04-27 14:41:58 +02:00
David Mudrak
1c0c3ef5ee MDL-27508 workshop shows submissions per group in the submission phase 2012-04-27 14:41:58 +02:00
David Mudrak
872ed8591e MDL-27508 workshop::get_submissions() now accepts optional $groupid 2012-04-27 14:41:58 +02:00