Commit Graph

51 Commits

Author SHA1 Message Date
Juan Leyva
145900708c MDL-54941 webservice: Refactor file handling in WS
This commit reduces boilerplate code.
It also forces WS returning files to always return the following
fields: filename, filepath, mimetype, filesize, timemodified and
fileurl.
2016-07-28 12:07:04 +02:00
David Monllao
0bd8383a8b MDL-55278 search: Updating references to area namespace 2016-07-21 18:38:18 +02:00
Dan Poltawski
64ec975e19 Merge branch 'MDL-55082-master' of git://github.com/merrill-oakland/moodle 2016-07-11 15:20:48 +01:00
Juan Leyva
7ef49bd393 MDL-54951 webservice: Return intro text files in modules 2016-07-04 09:24:28 +01:00
Eric Merrill
55b62370aa MDL-55082 search: Update core areas to return results in time ASC order 2016-06-30 11:11:35 -04:00
David Monllao
505ce88467 MDL-54627 search: Ensure that all format_string strings are text.
All user input that is usually displayed through format_strings with
filters like mulitlang applied should be converted to text as well.
2016-05-19 13:16:01 +08:00
Eric Merrill
091973dbd7 MDL-53515 search: Extend search API to allow file indexing 2016-03-24 15:44:27 -04:00
Eric Merrill
f6b425e2de MDL-53354 search: Add ability to limit search doc to a user 2016-03-10 09:19:05 -05:00
David Monllao
69d66020ce MDL-31989 search: get_config method to search areas
Also content_to_text moved to weblib.
2016-02-23 10:47:59 +00:00
David Monllao
e2be996171 MDL-31989 search: New search areas
Some search areas have been introduced as part of the initial search API
and search engine API implementation.
- Forum posts
- Glossary enties
- All moodle activities
2016-02-23 10:47:57 +00:00
Frederic Massart
5eabb5e76e MDL-49231 mod_glossary: Reverting back to not using recordsets 2016-01-05 13:18:24 +08:00
Juan Leyva
06d58e6e67 MDL-49231 mod_glossary: Fix SQL queries for Oracle 2015-12-31 15:18:41 +01:00
Frederic Massart
a4d9adcb47 MDL-49231 mod_glossary: Minor coding style improvements 2015-12-31 15:18:40 +01:00
Frederic Massart
c242e3f4dd MDL-49231 mod_glossary: External function get_entries_to_approve 2015-12-31 15:18:40 +01:00
Frederic Massart
93e122e0dc MDL-49231 mod_glossary: External function get_entries_by_term 2015-12-31 15:18:39 +01:00
Frederic Massart
08d7954f8f MDL-49231 mod_glossary: External function get_entry_by_id 2015-12-31 15:18:39 +01:00
Frederic Massart
24777f7a07 MDL-49231 mod_glossary: External function get_entries_by_search 2015-12-31 15:18:39 +01:00
Frederic Massart
8382bb4eb3 MDL-49231 mod_glossary: Moving DB queries to glossary lib 2015-12-31 15:18:38 +01:00
Frederic Massart
3bb1585270 MDL-49231 mod_glossary: Use a query builder to avoid code duplication 2015-12-31 15:18:38 +01:00
Frederic Massart
21e30022b2 MDL-49231 mod_glossary: Adding a method to validate a glossary by ID 2015-12-31 15:18:38 +01:00
Frederic Massart
e70f58cdc3 MDL-49231 mod_glossary: External function get_entries_by_author_id 2015-12-31 15:18:38 +01:00
Frederic Massart
f7d9cd23c7 MDL-49231 mod_glossary: External function get_entries_by_author 2015-12-31 15:18:37 +01:00
Frederic Massart
06c8bd2244 MDL-49231 mod_glossary: External function get_authors 2015-12-31 15:18:37 +01:00
Frederic Massart
9cafa794c4 MDL-49231 mod_glossary: External function get_entries_by_category 2015-12-31 15:18:37 +01:00
Frederic Massart
efb7a0a9b0 MDL-49231 mod_glossary: External function get_categories 2015-12-31 15:18:37 +01:00
Frederic Massart
6a273d5a5d MDL-49231 mod_glossary: External function get_entries_by_date 2015-12-31 15:18:37 +01:00
Frederic Massart
fe11f9a4f6 MDL-49231 mod_glossary: External function get_entries_by_letter 2015-12-31 15:18:36 +01:00
Frederic Massart
61fce28459 MDL-49231 mod_glossary: External function view_entry 2015-12-31 15:18:36 +01:00
Frederic Massart
d0d4372ce7 MDL-49231 mod_glossary: External function view_glossary 2015-12-31 15:18:13 +01:00
Frederic Massart
bf5bbe0127 MDL-50540 mod_glossary: Final clean up of new external function 2015-12-07 13:42:37 +08:00
Costantino Cito
23da998fad MDL-50540 glossary: New WS mod_glossary_get_glossaries_by_courses 2015-12-07 12:48:27 +08:00
Mark Nelson
0bfafc5ba0 MDL-46455 mod_*: added restore mapping to events 2015-10-11 18:14:57 -07:00
Tim Hunt
a6bbb92607 MDL-46868 glossary / filter: performance, check modinfo sooner.
Since we need to check modinfo anyway, do that as soon as possible so we
can get a performance win if there are no glossaries in the course.
2014-08-21 14:16:15 +01:00
Mark Nelson
3b0347712a MDL-45445 events: added '(optional)' to event params where applicable 2014-06-12 20:46:58 -07:00
Mark Nelson
1ea5f1e2d3 MDL-45630 events: removed unnecessary 'the' from event descriptions 2014-05-31 15:27:11 -07:00
Andrew Nicols
02915dfc23 MDL-45357 events: Remove unnecessary the before 'id' in event descriptions 2014-05-06 16:45:05 +08:00
Mark Nelson
02a5a4b2ff MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07:00
Marina Glancy
c733401634 Merge branch 'MDL-45035-master' of git://github.com/ankitagarwal/moodle 2014-04-15 14:34:36 +08:00
Petr Škoda
1bfb41f45a MDL-44366 fix use of cm->uservisible in glossary concept cache 2014-04-14 15:16:28 +08:00
Petr Škoda
1e83288de7 MDL-44366 improve glossary filter performance
This should have when there are no glossaries in course or
when there are no linked entries in existing glossaries.
2014-04-14 09:42:40 +08:00
Petr Škoda
37625e2abb MDL-44366 rework glossary filter caching 2014-04-14 09:42:39 +08:00
Ankit Agarwal
3610ad436c MDL-45035 events: Fix @package and @since tags in Moodle 2.7 events 2014-04-11 13:45:33 +08:00
Petr Škoda
578645aadf MDL-44715 use parent::validate_data() consistently in all events
Includes some minor PHPDocs typo fixes.
2014-03-28 14:09:31 +08:00
Marina Glancy
7c92f9be80 MDL-40059 glossary: event for entry viewed 2014-03-21 15:48:51 +08:00
Marina Glancy
1ce054a38b MDL-40059 glossary: events for entry approval/disapproval 2014-03-21 15:48:51 +08:00
Marina Glancy
4d7c298f51 MDL-40059 glossary: events for add/edit/delete glossary category 2014-03-21 15:48:51 +08:00
Marina Glancy
99912e3044 MDL-40059 glossary: events for add/delete/update entries 2014-03-21 15:48:50 +08:00
Marina Glancy
f527c5d040 MDL-40059 glossary: event course_module_instance_list_viewed 2014-03-21 15:48:50 +08:00
Marina Glancy
3dbe89ac62 MDL-40059 glossary: event course_module_viewed 2014-03-21 15:48:50 +08:00
Rajesh Taneja
b54696395d MDL-44552 Events: Fixed wrong id returned in get_url 2014-03-19 09:57:44 +08:00