142 Commits

Author SHA1 Message Date
mudrd8mz
f6d7d5f584 MDL-17492 Do not try to access the first key of an empty array in case of no tag exists yet. Merged from 1.9 stable 2009-03-02 21:51:25 +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
tjhunt
ec6a0e700a XHTML strict. 2009-01-15 08:48:17 +00:00
tjhunt
565b14d248 tags/blog: Multiple XHTML strict problems. 2009-01-14 08:49:35 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
jmg324
3caea5dc63 MDL-17521 shortcuts at top of tag page for each sort of thing that's been tagged 2008-12-16 16:33:30 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
scyrma
dae7b4f606 MDL-14489: Make the tag cloud "more extended" in size with small dataset (credits to Matt Gibson) (merge from 1.9) 2008-09-24 08:07:15 +00:00
tjhunt
7264519e3f MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js 2008-09-23 07:00:59 +00:00
scyrma
1cb1f9850e MDL-16602: always display teachers (merge from 1.9) 2008-09-22 09:09:11 +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
skodak
e562ecdc4b MDL-16159 implemented missing access control and security code in course tags 2008-08-21 20:29:42 +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
2ce9a1f59d MDL-15661: typo in function name - wrong call meant tag type was set incorrectly (merge from 1.9) 2008-07-16 01:21:31 +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
dongsheng
aad6739758 "MDL-14129, fix print_error" 2008-06-13 06:41:36 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +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
cae8a110e9 MDL-14569 - Don't count related tags for the tag cloud formatting and count display (merge from 1.9) 2008-04-30 08:51:56 +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
scyrma
3efae234fa MDL-14150 - Make tag:edit and tag:manage more distinct - related tags and description are now editing, renaming is managing. (merge from 1.9) 2008-04-28 08:27:10 +00:00
stronk7
5a620a8c2a Fix tag links in tag clouds. MDL-14547 ; merged from 19_STABLE 2008-04-24 16:45:58 +00:00
skodak
423a71b6d5 MDL-14428 fixed tag cron warning; merged from MOODLE_19_STABLE 2008-04-19 09:52:45 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma
5fc1ea543b MDL-14041 - Hide 'manage tags' when access is not permitted (merge) 2008-03-25 02:00:03 +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
scyrma
420c306eec MDL-13791 - fix to prevent notice 2008-03-05 10:16:23 +00:00
scyrma
31d4d33fd6 MDL-13769 - Fix for postgresql 2008-03-05 01:46:11 +00:00
scyrma
603443b519 MDL-13728 - Tag form editing now provides a checkbox to set the tag type (official or not), and it's all base on tag:manage. (merge) 2008-02-29 09:35:04 +00:00
moodler
b55d5f7691 Merged MDL-13727 Added a cpability check when showing blog entries 2008-02-29 06:52:26 +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
moodler
ffcd3023e1 Merged further fix for MDL-13635 2008-02-27 07:13:09 +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
47b13a7bd8 MDL-13633 - Now sorting correctly (merge from 1.9) 2008-02-27 06:03:24 +00:00
scyrma
cf79f661cb MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_print_cloud. (merge from 1.9) 2008-02-27 05:55:28 +00:00