53 Commits

Author SHA1 Message Date
Marina Glancy
e1ab67836d MDL-71394 core_blog: fix incorrect default setting in form
the keys of the options are strings, in PHP8 strings are compared with 0 differently
2021-04-21 16:22:22 +02:00
Marina Glancy
abea2c5deb MDL-50851 blogs: use new tag API 2016-01-10 15:25:47 +08:00
Dan Poltawski
f3f920d24f MDL-46350 blog: call parent validation
(Helps satify codechecker, thats all..)
2015-11-26 14:08:42 +00:00
Sam Hemelryk
2c3d6f240f Merge branch 'MDL-46346_blog' of https://github.com/andyjdavis/moodle 2014-07-15 10:33:13 +12:00
Andrew Davis
2b6e53e8e2 MDL-46346 blog: coding style fixes 2014-07-14 10:45:33 +08:00
Ankit Agarwal
f42d2a22bc MDL-27814 blogs: Refactoring code to use proper context and such
Based on the decisions made in the issue, most places in blog should use site context.
There are also minor other refactoring to support all changes made in the issue.
2013-04-12 16:05:05 +08:00
Ankit Agarwal
4ef082980d MDL-27814 blogs: Deprecate associate blog caps
moodle/blog:associatemodule and moodle/blog:associatecourse should not be used
anymore as per the discussion in the issue. Everyone is free to blog about anything
they want to blog about.
2013-04-12 16:05:01 +08: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)
9e7e1b1c9e MDL-38040 Clean core from CRLFs 2013-02-15 02:13:32 +01:00
David Monllao
207b6fc5f1 MDL-34910 blog Fixing mod level related issues 2012-10-31 12:58:42 +08:00
David Monllao
1b30a9fac6 MDL-25347 blog Checking association capability at course and module levels instead of system level 2012-08-10 08:48:05 +08:00
Rajesh Taneja
432a68805a MDL-34239 Blog: Editing blog associated with module will be keep it's association 2012-07-27 14:01:08 +08:00
Dan Poltawski
7bc0f808d3 Merge branch 'wip-MDL-34457-master' of git://github.com/abgreeve/moodle 2012-07-24 15:04:53 +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
Rajesh Taneja
405aca3532 MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT 2012-07-19 15:46:10 +08:00
Frederic Massart
3e0ce6079c MDL-33885 Blog: Added maxlength rule to subject field 2012-07-06 13:14:52 +08:00
Petr Skoda
ff53a58b65 MDL-30926 fix course and module blog associations 2011-12-28 20:18:10 +01: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
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Petr Skoda
e463f508cb MDL-24321 switching to stdClass in /blog/ 2010-09-21 08:11:06 +00:00
Petr Skoda
4fb35be36a fixed object initialization 2010-09-17 11:30:10 +00:00
Jonathan Harker
c71f326514 MDL-20876 Fix remaining split() calls. 2010-07-20 03:27:36 +00:00
David Mudrak
2650f44d2a MDL-21695 Replaced help/blog
AMOS BEGIN
 HLP blog/deleteblogassociations.html,[deleteblogassociations_help,core_blog]
 HLP blog/description.html,[description_help,core_blog]
 HLP blog/filtertags.html,[filtertags_help,core_blog]
 HLP blog/name.html,[name_help,core_blog]
 HLP blog/publish_state.html,[publishto_help,core_blog]
 HLP blog/tags.html,[autotags_help,core_blog]
 HLP blog/url.html,[url_help,core_blog]
AMOS END
2010-07-19 18:31:13 +00:00
Petr Skoda
a7748d91ea removing old htmleditor leftovers - format is not used any more 2010-07-14 16:43:26 +00:00
David Mudrak
096ec8d63d MDL-21695 Cleaning up legacy strings and help
Text of help pages Read carefully, Write carefully and Ask questions
moved to wiki by Helen. Text formatting help removed, to be
re-introduced properly in editors rewrite. Unused editorhelp form
element removed completely.
2010-06-27 21:34:01 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +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
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +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
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +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
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
45df7de3ad MDL-14679 towards /blog conversion 2008-06-01 13:48:12 +00:00
moodler
4c7fa6cecb MDL-13632 Merged from 1.9 2008-02-25 05:32:10 +00:00
scyrma
3d535996db MDL-13404 - Merge from 1.9 (re-commit, including missing file) 2008-02-25 01:58:17 +00:00
skodak
bb06244703 MDL-13404 reverted - missing file and other minor problems 2008-02-22 19:53:48 +00:00
scyrma
db32b054d1 MDL-13404 - Merge from 1.9 2008-02-22 10:25:36 +00:00
scyrma
d417533252 Fix for par of the missing strings, as reported in MDL-12294 2007-11-26 04:10:08 +00:00
moodler
3a81da563b Blog entries publish state now defaults to site if possible, to avoid all those drafts! (yuk) 2007-09-03 09:13:56 +00:00
toyomoyo
93bbdd5031 making blogs respect global tags flag 2007-08-30 09:13:36 +00:00
toyomoyo
bd1f4559f7 MDL-10956, convert blogs to use the same tags (and convert old tags) 2007-08-27 08:46:00 +00:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
poltawski
2ee60b4944 MDL-9742 Replaced stray tabs with spaces 2007-05-08 16:11:58 +00:00