112 Commits

Author SHA1 Message Date
Sujith Haridasan
73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Stephen Bourget
67a1f63913 MDL-36713 Blog: Display accurate error when a guest views a user blog 2016-08-15 21:46:48 -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
abea2c5deb MDL-50851 blogs: use new tag API 2016-01-10 15:25:47 +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
Andrew Davis
0e32a56591 MDL-51239 core_blog: coding style fixes 2015-12-04 05:42:40 +08:00
Dan Poltawski
366f05f323 MDL-35982 blog: improve the delete entry confirmation string
So that there is more context about what is being deleted.
2015-11-26 14:10:25 +00:00
Dan Poltawski
bf12b089e6 MDL-35982 blog: reorder blog delete confirmation
Improves accessibility to be ordered logically in page
2015-11-26 14:10:25 +00:00
Jun Pataleta
cefa583e71 MDL-51395 blog: Fix output of strings for blog comments 2015-11-04 23:46:31 -06:00
Jun Pataleta
0b3ed7f777 MDL-51296 blog: Added title that reflects the blog's editing mode 2015-09-14 10:52:09 +08:00
Adrian Greeve
45367bdf0c MDL-49688 navigation: First review fixes and version bump.
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Adrian Greeve
f495187da7 MDL-48935 navigation: Update the user nav breadcrumbs.
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f MDL-48930 navigation: Using user headers in user pages.
Pages that are percieved to be in a user context are now
using a user context for the header.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Andrew Davis
2b6e53e8e2 MDL-46346 blog: coding style fixes 2014-07-14 10:45:33 +08:00
Andrew Davis
e9fb99b15c MDL-46218 reshuffled access checks in blog and notes 2014-07-14 10:33:38 +08:00
Andrew Davis
54eb02a45c MDL-26170 RSS: fixed RSS cache clearing when items are deleted 2013-10-22 10:29:05 +07:00
Petr Škoda
5e95223e86 MDL-28094 keep subdirs in content upgraded from 1.x 2013-09-07 11:30:19 +02:00
Ankit Agarwal
68fc1cc279 MDL-27814 blogs: Cleaning up contexts in blogs
All blogs pages should be in system context. Blogs are in system context just about various things (course, activity etc)
2013-04-12 16:03:02 +08:00
Eloy Lafuente (stronk7)
76b97631b0 Merge branch 'MDL-25012' of git://github.com/danpoltawski/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-08-15 00:41:04 +02:00
David Monllao
f813321718 MDL-32344 blog Replacing tables for div containers 2012-08-14 10:47:17 +08:00
David Monllao
2591c7ae3d MDL-32344 blog Adding a renderer to manage entries output 2012-08-10 08:51:21 +08:00
Dan Poltawski
850d2db82a MDL-25012 - blogs: introduce a specific 'enabled' config setting
Rather than overloading the $CFG->bloglevel setting which had a
confusing UI in the appearance subsystem.

In order to achieve this we modify take the defaults from the existing
bloglevel setting and set that for $CFG->enableblogs. Note that in order
to prevent a bad default settings from being set we also set
$CFG->bloglevel to a valid 'enabled' setting.
2012-08-06 11:25:22 +08:00
Adrian Greeve
41b3836067 MDL-33061 - lib - Replacement of get_context_instance with the new function call (group 3) 2012-07-24 09:52:41 +08:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Sam Hemelryk
45f22487e1 blgos MDL-22161 Fixed unknown context bug by setting system context is no valid course is provided in blog/edit 2010-04-22 01:58:01 +00:00
Petr Skoda
32148582ff MDL-21769 fixed input validation 2010-03-07 15:16:38 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
samhemelryk
ec7c4f112b blog MDL-19792 Upgraded two deprecate functions 2009-10-16 03:10:33 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
nicolasconnault
b73d1ca4f2 MDL-19676 Put association section in advanced items for edit form, corrected bug in group listing, enabled commenting 2009-09-16 10:05:34 +00:00
nicolasconnault
5d50868a61 MDL-19744 Fixed blog attachments 2009-09-11 05:52:22 +00:00
nicolasconnault
5f4d4d801c MDL-19676 Removed blog assignment code 2009-09-11 01:45:16 +00:00
nicolasconnault
b0e90a0ccd MDL-19792 Fixed number of bugs in URLs 2009-09-09 03:26:18 +00:00
nicolasconnault
0a941490ec MDL-19792 Changed param id to entryid so that the navigation is built consistently with index.php. Also fixed the form which was broken 2009-09-08 05:36:45 +00:00
nicolasconnault
9366362a59 MDL-19792 Removed some legacy code and cleaned up the navigation for add/edit blog entry page 2009-09-08 03:05:09 +00:00
nicolasconnault
e640790eb6 MDL-19792 Applied Sam's patch 2009-09-07 10:01:26 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
7d00c7bc1a MDL-19792 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:52 +00:00
nicolasconnault
033e4aff8c MDL-19792 Converted all print_footer() calls 2009-08-06 14:22:50 +00:00
skodak
2a7eff41ad MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:37:28 +00:00
tjhunt
fc23301ced blog / tags: MDL-17900 Use the new tags field type to tag blog posts. 2009-01-16 07:08:58 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
scyrma
e7134583d7 MDL-14237: Removing all remaining tag-related uses of html_entity_decode (merge from 1.9) 2008-07-07 07:45:51 +00:00
scyrma
47a2c30b67 MDL-15310: removing unused variable, old commented code and adding a small adjustment to the tag code. 2008-06-19 09:21:45 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00