Commit Graph

110 Commits

Author SHA1 Message Date
Andrew Davis (andyjdavis) b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Eloy Lafuente (stronk7) 5c5f71172a Merge branch 'wip-MDL-24355-master' of git://github.com/andyjdavis/moodle 2011-06-16 10:38:49 +02:00
Andrew Davis (andyjdavis) 638cf6157a MDL-24355 tag: minor clean up of tags changes 2011-06-15 14:25:38 +08:00
Sam Hemelryk e2a64d832e MDL-24355 Fixed up deletion of tag correlations when deleting tags 2011-06-15 08:36:17 +08:00
Sam Hemelryk 2650c54734 MDL-24355 Added code to delete any tag correlations that wern't just identified 2011-06-15 08:36:17 +08:00
Dongsheng Cai b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Eloy Lafuente (stronk7) 1c2cfff051 MDL-24355 tags - fix correlation sql to be cross-db 2011-04-13 16:31:09 +02:00
Sam Hemelryk 78defd5c64 tags MDL-24355 Improved computation of tag correlations. Thanks Jonathan Robson for the 1.9 patch. 2011-02-03 10:06:25 +08:00
Eloy Lafuente (stronk7) cd5fdfd87a MDL-25708 recordsets - tag and user directory 2011-01-22 13:34:28 +01:00
Petr Skoda 34b93e39a6 MDL-25754 improved tag sanitisation and fixed tag autocomplete 2011-01-13 23:40:43 +01:00
Dongsheng Cai 725c9404e4 MDL-25138 tag_get_correlated should return unique records 2010-11-10 06:37:11 +00:00
Aparup Banerjee 34084e9dda tag MDL-24893 removed case for itemtype of 'wiki_page' to refer to table 'wiki_pages' , bug is a clone. (better fix in MDL-24888) 2010-10-28 08:15:11 +00:00
Aparup Banerjee a51b0a3df8 tag MDL-24893 added case for itemtype of 'wiki_page' to refer to table 'wiki_pages' 2010-10-28 06:58:01 +00:00
Petr Skoda aced917bae MDL-24803 fixed tagid typo in tag correlation table update 2010-10-23 10:26:38 +00:00
Petr Skoda c213773d59 MDL-24321 switching to stdClass in /tag/ 2010-09-21 08:25:41 +00:00
David Mudrak 000ebd5c13 MDL-19235 Basic phpdocs and copyright statements for core_tag subsystem 2010-07-12 10:14:08 +00: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 8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
Petr Skoda 49ab5e1950 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:32:33 +00:00
Petr Skoda 6bfe7aac8b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:34:33 +00:00
nicolasconnault 0f097239c4 MDL-19823 Fixed un-handled case of emty array in foreach loop 2009-09-11 06:59:30 +00:00
mudrd8mz cef5304562 MDL-17492 Reset flag did not work in PostgreSQL. Merged from 1.9
Postgres does not seem to support table alias in UPDATE statement.
Therefore the SQL like
 UPDATE mdl_tag tg SET tg.flag = 0, tg.timemodified = 1236027984 WHERE tg.id IN (4)
ends with an ERROR: column "tg" of relation "mdl_tag" does not exist
The fix is quite easy - just do not use table alias as it makes no sense
here anyway.
2009-03-02 21:45:08 +00:00
jbeedell b91de8a599 Essential patch for MDL-11992 course tagging. This prevents a bug that removes offical tags for a course when a user adds a personal tag to that course. 2008-09-05 14:49:06 +00:00
scyrma db3d13029e MDL-15345: Fix in sql query, for postgres. (merge from 1.9) 2008-08-06 02:39:19 +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 a72529c73f MDL-14772: Prevent official tags from being deleted when tag_instance table is empty. (Patch by Hynek Černoch) (Merge from 1.9) 2008-07-07 06:40:35 +00:00
scyrma 38fb819028 MDL-11992: adding course tagging patch, by John Beedell. This feature is not
active by default at this time. Related help files are not included in this
commit, as they are being revised (see issue 15385) and will be sent in soon.
2008-06-30 09:04:07 +00:00
scyrma eafa83ef9d MDL-15345: prevent problem while running tag_compute_correlations under pgsql. (merge from 1.9) 2008-06-23 04:31:41 +00:00
scyrma 48d5652860 MDL-15310: moving capability checks out of the library + code formatting adjustments 2008-06-19 10:02:10 +00:00
scyrma cda19b7ade MDL-14679: fix regression in tag library 2008-06-19 08:16:12 +00:00
nicolasconnault 986dca608e MDL-14679 Corrected incorrect use get_records_list('tags'): replaced by get_records('tags') 2008-06-17 07:07:37 +00:00
skodak 5183f0cc5b MDL-15094 fixed stats regression and prefix cleanup 2008-06-05 20:35:28 +00:00
skodak 655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak 8618fd2aeb MDL-14679 converted some delete_records 2008-06-02 21:52:27 +00:00
skodak f7ed268752 MDL-14679 towards tags conversion 2008-05-31 15:09:25 +00:00
scyrma 0f5e5f5c8d MDL-13424: Tags are automatically cleaned on cron run. (merge from 1.9) 2008-05-02 01:15:35 +00:00
scyrma 084426c5d9 MDL-13424 Fixes suggested by Eloy, in tag_cleanup. (merge from 1.9) 2008-05-01 06:15:51 +00:00
scyrma 9545cdba72 MDL-13424 and MDL-14544: New function tag_cleanup removes unused un-official tags, or unlinked tags. Not yet called automatically. (merge from 1.9) 2008-04-30 07:37:34 +00:00
scyrma 4a0daed7f6 Fix tag documentation and add a missing 'return true'. (merge from 1.9) 2008-04-30 06:37:23 +00:00
skodak 423a71b6d5 MDL-14428 fixed tag cron warning; merged from MOODLE_19_STABLE 2008-04-19 09:52:45 +00:00
scyrma 28f640403e Merge from 1.9
MDL-13594 - Fixes a display problem with "flagged" tags, code cleanup, other small fixes.
MDL-13434 - Cleaned up a bit more the api
MDL-13687 - If a manual relation is added to a tag, the opposition relation will be added at the same time.
2008-03-18 08:32:56 +00:00
moodler 8479c2e0dd Merged MDL-13725 Remove tag_get_tag_by_id completely. I also re-ordered tag/lib.php a bit 2008-02-29 06:26:21 +00:00
scyrma b50d224597 MDL-13691 and MDL-13404 - Merge from 1.9 2008-02-27 09:34:57 +00:00
moodler 2f4b82f410 Merged tag_get() 2008-02-27 08:53:49 +00:00
scyrma 73c32e86cf MDL-13404 - make tag_rename able to make a change in case, and prevent numerous possible missing addslashes problems. (merge from 1.9) 2008-02-27 07:30:12 +00:00
scyrma 844f9c150d MDL-13404 - Minor performance improvement and code cleanup (merge from 1.9) 2008-02-27 06:32:30 +00:00
scyrma 537aa65c5d MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements (merge from 1.9) 2008-02-26 06:43:54 +00:00
scyrma 2dc038ffb5 MDL-13642 - re-added the proper query limits 2008-02-26 05:08:53 +00:00
scyrma 2f9ba531bf MDL-13404 - Fix to a few queries, to prevent problems, as suggested by Eloy 2008-02-26 02:39:29 +00:00
scyrma 0f03928302 MDL-13404 - merge from 1.9 2008-02-25 05:48:53 +00:00