589 Commits

Author SHA1 Message Date
Paul Holden
d95812cb39 MDL-65584 blog: safer deletion of associations in privacy provider.
It's possible that the given context list contains no posts, which caused
an exception to be thrown when passing an empty array to get_in_or_equal.
2019-10-08 00:12:32 +01:00
Bas Brands
d470c68b1f MDL-65083 theme_boost: update uses of pull-xs-right 2019-08-19 08:16:47 +02:00
Juan Leyva
6c344ff282 MDL-64656 core_tag: Return tags in modules and blog 2019-04-11 10:20:44 +02:00
Andrew Nicols
4dbae58e87 MDL-63422 blog: Correct phpdoc for get_users 2018-11-02 08:34:20 +08:00
Andrew Nicols
f8e364e31a Merge branch 'MDL-63422' of git://github.com/stronk7/moodle 2018-11-02 08:22:33 +08:00
Mihail Geshoski
4acdbe5d0b MDL-63690 core_blog: Handle when user blog posts are not being returned 2018-10-31 11:44:09 +08:00
Eloy Lafuente (stronk7)
bd5fdcfccd MDL-63422 general: review core loop / switch / case / continue
This commit reviews all continue uses in core happening within a
loop / switch / case hierarchy. This does not cover:

- Changes to libraries. Will be handled in another issue / commit.
- Uses out from loops, will be reviewed by other commit.

The policy followed has been:
- When possible, take rid of the continue.
- When clearly the intention was to jump to next element in loop
  change to continue 2
- When it was not clear, keep old behavior switching to break, no
  matter how weird the behavior may be.
2018-10-31 00:17:59 +01:00
Adrian Greeve
799d32fd2d MDL-63690 core_blog: Update providers for userlist deletion. 2018-10-26 09:07:01 +08:00
Eloy Lafuente (stronk7)
6db31715b3 Merge branch 'MDL-61245-master' of git://github.com/jleyva/moodle 2018-10-10 11:14:57 +02:00
Juan Leyva
ca48cc915b MDL-61245 core_blog: New Web Service core_blog_view_entries 2018-10-10 09:58:08 +02:00
David Monllao
4e725169f9 MDL-60425 blog: Remove empty line 2018-10-08 12:52:04 +02:00
Juan Leyva
bb96ff716d MDL-60425 core_blog: New WS core_blog_get_entries 2018-10-02 14:49:48 +02:00
Juan Leyva
9de4402112 MDL-60425 core_blog: Move access validation to API 2018-10-02 14:49:48 +02:00
Mihail Geshoski
c69a43f2fc MDL-56998 blog: Remove associated blog posts when module is deleted 2018-09-03 08:33:38 +08:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
David Mudrák
c4e7c3cac4 MDL-62619 privacy: Fix a missing alias in the blog provider class
The new implementation revealed another existing bug that did not expose
before due to coincidently same named table alias in the outer query.
2018-07-27 10:14:43 +02:00
Marina Glancy
468c8d39c3 MDL-62351 privacy: check that subsystem/plugintype exist 2018-05-09 17:37:31 +08:00
Marina Glancy
2207b0fa9f MDL-62068 core_tag: implement privacy API 2018-05-08 11:30:54 +08:00
Adrian Greeve
8c6fae4e9c MDL-62035 core_blog: Update to blog with comments.
This makes blog use the updated delete methods in the
comments provider.
2018-04-20 10:42:43 +08:00
Andrew Nicols
7072009431 MDL-61836 blog: Fix random order failures 2018-04-20 08:56:05 +08:00
Frédéric Massart
0288333c0b MDL-61836 core_blog: Prevent randomness in comments order 2018-04-20 08:56:05 +08:00
Frédéric Massart
ce1ec9b4d9 MDL-61836 core_blog: Implement privacy API 2018-04-13 13:22:03 +08:00
Marina Glancy
99fbcc7bd4 MDL-58670 blog: respect capability to search entries 2017-05-03 10:49:01 +08:00
Marina Glancy
b7fcd09582 MDL-58635 blogs: check edited blog belongs to current user 2017-05-03 10:49:01 +08:00
Simey Lameze
fdeeaff954 MDL-58265 core_test: replace I turn editing on steps
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.

Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef MDL-58265 core_test: replace all uses of I follow course steps
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Damyon Wiese
d3d2f09cef MDL-40759 atto: Use pix_icon renderer for atto buttons 2017-03-17 15:51:28 +08:00
Marina Glancy
6e65554ea1 MDL-58010 user: allow to update only whitelisted user preferences 2017-03-10 18:04:47 +00:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
Marina Glancy
7a12a02dc7 MDL-56614 behat: add navigation block when required
Most of these hacks have links to corresponding MDL issues
2016-12-06 11:49:14 +08:00
Marina Glancy
e5287f9b3b MDL-56614 behat: navigate without navigation and admin blocks 2016-12-06 11:49:14 +08:00
Andrew Nicols
56fb91bc38 Merge branch 'MDL-55994' of https://github.com/bostelm/moodle 2016-11-11 13:29:57 +08:00
Henning Bostelmann
f8b56ac904 MDL-55994 blog: Resolve warning messages in RSS feed generation 2016-11-06 17:38:26 +00:00
Dan Poltawski
246288c3f9 Merge branch 'MDL-56654-master' of git://github.com/damyon/moodle 2016-11-04 14:20:14 +00:00
Damyon Wiese
5ae35b9dee MDL-56654 blogs: Display RSS link in the page 2016-11-03 09:22:51 +08:00
Eloy Lafuente (stronk7)
5165c9f460 MDL-56297 forms: Normalize uses of 'url' fields to use size=60
While this is not related to this issue, when reviewing it was
detected that the size of those url fields was really small and
looking decided to add this bit of normalization over existing uses.
2016-10-31 19:47:41 +01:00
Dan Poltawski
9def79f79a MDL-56275 blog: do not display the 'choose a link' button
When registereing an external blog the choose a link button is
misleading, we don't have any repos which restrict to RSS feeds, so the
majority of results you get from the repo picker will be wrong.
2016-10-18 11:07:54 +01:00
Stephen Bourget
02ce2e413c MDL-45890 Blog: add additional events 2016-09-25 15:06:54 -04:00
Dan Poltawski
74a53156d6 Merge branch 'MDL-55551_m32v1' of https://github.com/sbourget/moodle 2016-08-22 12:53:31 +01:00
Stephen Bourget
67a1f63913 MDL-36713 Blog: Display accurate error when a guest views a user blog 2016-08-15 21:46:48 -04:00
Stephen Bourget
f12d9aa801 MDL-55551 Blog: Add missing MOODLE_INTERNAL check. 2016-08-12 20:16:04 -04:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Adrian Greeve
cfd1bcfa03 MDL-52642 blog: Fix notices for swapping contexts in activities. 2016-04-12 11:53:34 +08:00
Marina Glancy
e11d7380c2 MDL-51283 core_tag: change tagtype to isstandard
Change 'official' to 'standard' in UI
2016-02-02 17:31:14 +08:00
Rushikesh
f07e428c26 MDL-25864 Blog: Confirmation dialog before unregistering 2016-01-21 19:24:47 +05:30
Marina Glancy
25430f75d1 MDL-50851 core_tag: fix db query failure on oracle 2016-01-14 13:19:12 +08:00
Marina Glancy
abea2c5deb MDL-50851 blogs: use new tag API 2016-01-10 15:25:47 +08:00
Mark Nelson
be5e0110ff MDL-49566 core: used reflection in unit tests
Also split the tests into multiple functions for each scenario.
2015-12-29 17:42:43 +08:00
Ankit Agarwal
bef0d6b052 MDL-49566 core: Write unittests for MDL-45898 2015-12-29 11:22:42 +08:00
Dan Poltawski
3e0540b6ec Merge branch 'wip-MDL-51239-master' of git://github.com/abgreeve/moodle 2015-12-22 11:58:28 +00:00