Commit Graph

1391 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
Dan Poltawski
773a11519d Merge branch 'MDL-55278_master' of https://github.com/dmonllao/moodle 2016-07-26 11:57:09 +01:00
Rajesh Taneja
52f3e060e4 MDL-55091 phpunit: Following has been deprecated.
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +08: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
David Monllao
6a4c2146f9 MDL-53222 search: Replace report_search by new searchareas admin page 2016-07-11 11:49:14 +02:00
Rajesh Taneja
d44fc20414 MDL-54844 mod_glossary: Don't append AND as it's done later 2016-07-06 11:34:18 +08:00
Adrian Greeve
6c04427daa MDL-54844 mod_glossary: Limiting of glossary searching.
Searching of the glossary was returning results from all
glossaries on the site. It has now been returned to just
the glossary that you are currently viewing.
2016-07-06 09:20:32 +08: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
Eloy Lafuente (stronk7)
4da854a68b MDL-54677 upgrade: add 3.1.0 separation line to all upgrade scripts 2016-05-23 01:31:34 +02:00
Dan Poltawski
c56d14be37 Merge branch 'MDL-54627_master' of git://github.com/dmonllao/moodle 2016-05-19 10:59:06 +01: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
Eloy Lafuente (stronk7)
1abca11e0a MDL-54638 versions: bump all versions and requires near release
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
David Monllao
c827acae2d MDL-53221 search: Renaming search areas
AMOS BEGIN
 CPY [modulename,mod_folder],[search:activity,mod_folder]
 CPY [modulename,mod_label],[search:activity,mod_label]
 CPY [modulename,mod_page],[search:activity,mod_page]
 CPY [modulename,mod_resource],[search:activity,mod_resource]
 CPY [modulename,mod_url],[search:activity,mod_url]
AMOS END
2016-05-16 13:02:02 +08:00
Dan Poltawski
1dd254bbf1 Merge branch 'MDL-53417-master' of git://github.com/cameron1729/moodle 2016-04-11 16:36:50 +01:00
Rajesh Taneja
eb9ca848fa MDL-53381 behat: Replaced chained steps with api.
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Jay Jayswal
283f708305 MDL-53417 glossary: Glossary printer friendly link responsive 2016-03-31 13:59:26 +08:00
Eric Merrill
091973dbd7 MDL-53515 search: Extend search API to allow file indexing 2016-03-24 15:44:27 -04:00
Eloy Lafuente (stronk7)
3edc162611 Merge branch 'MDL-53354-master' of git://github.com/merrill-oakland/moodle 2016-03-16 01:09:45 +01:00
Rajesh Taneja
42ad096fdb MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
Eric Merrill
f6b425e2de MDL-53354 search: Add ability to limit search doc to a user 2016-03-10 09:19:05 -05:00
Juan Leyva
0ca559a111 MDL-50032 webservice: Remove plugin functions from mobile service 2016-03-04 14:15:33 +01:00
KeenRivals
83ea83ec19 MDL-50175 graphics: Optimized SVGs with SVGO. 2016-02-25 11:56:42 +00:00
KeenRivals
26c19b02d5 MDL-50175 graphics: Optimized PNG images with optipng
Used options: -o7 -strip all and advdef -z4 -i50.

(With ./lib excluded)
2016-02-25 11:56:37 +00: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
David Monllao
11ce3ffccc Merge branch 'MDL-51839-master' of git://github.com/andrewnicols/moodle 2016-02-16 10:58:22 +08:00
Eloy Lafuente (stronk7)
e8c82aac82 MDL-51580 upgrade: clean < 2.7.0 upgrade steps
This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2016-02-15 18:38:09 +01:00
Andrew Nicols
87d567d3c5 MDL-51839 mod: Remove really old logos in gif format 2016-02-10 16:20:29 +08:00
Frederic Massart
0c48895bb7 MDL-49231 mod_glossary: Invalid pivot when printing entries 2016-01-06 11:15:56 +08:00
Frederic Massart
a10b03d310 MDL-49231 mod_glossary: Advanced search is case sensitive 2016-01-05 13:18:24 +08: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
Juan Leyva
baf25486b4 MDL-49231 mod_glossary: Fix tests for Postgres (ordering) 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
a58a792ba6 MDL-49231 mod_glossary: Ensure consistent order when pagination is used 2015-12-31 15:18:40 +01:00
Frederic Massart
bca824f7a8 MDL-49231 mod_glossary: Update service definition 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
70d20d0893 MDL-49231 mod_glossary: Update view and print to use new lib functions 2015-12-31 15:18:39 +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