/[drupal]/contributions/modules/cmt/cmt.module
ViewVC logotype

Log of /contributions/modules/cmt/cmt.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.33.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 28 12:32:12 2007 UTC (2 years, 2 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.18: +49 -71 lines
Diff to previous 1.33.2.18 , to branch point 1.33
removed agaric devel functions

Revision 1.33.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 29 00:13:26 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.17: +13 -4 lines
Diff to previous 1.33.2.17 , to branch point 1.33
removed unprofessional notes file

Revision 1.33.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 28 22:47:58 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.16: +15 -8 lines
Diff to previous 1.33.2.16 , to branch point 1.33
ladder values, too.  Currently the array provided by this function is serialized and used as the key in an options array for checkbox-style forms.  OK, that's questionable practice using a bunch of data as a key, but I'm wondering if it would be better to use explode/implode-- it would look cleaner, but would it be faster?

Revision 1.33.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 28 22:28:29 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.15: +43 -14 lines
Diff to previous 1.33.2.15 , to branch point 1.33
ladder display function in the house

Revision 1.33.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 28 21:28:07 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.14: +18 -4 lines
Diff to previous 1.33.2.14 , to branch point 1.33
multiple forms or one for each term's hierarchies, decision point

Revision 1.33.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 18:26:13 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.13: +4 -3 lines
Diff to previous 1.33.2.13 , to branch point 1.33
iterating through each array to start with root and end with the given term worked with a for loop

Revision 1.33.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 18:20:45 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.12: +3 -3 lines
Diff to previous 1.33.2.12 , to branch point 1.33
passing by reference should help, hmm

Revision 1.33.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 18:18:56 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.11: +79 -76 lines
Diff to previous 1.33.2.11 , to branch point 1.33
reverse each ladder, so root is at the bottom

Revision 1.33.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 18:08:06 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.10: +1 -2 lines
Diff to previous 1.33.2.10 , to branch point 1.33
fixed the no root parents problem, but the bad news is the insert statement seems to have ignored the 0 and put in the next tid.  It worked with an update, but this probably means the cmt.install file will need a hack like adding auto_increment after the first insert, or doing an update immediately after the insert

Revision 1.33.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 18:00:48 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.9: +0 -3 lines
Diff to previous 1.33.2.9 , to branch point 1.33
whole lot of clean up-- can't figure out why I can't get tid 0 to show up as a parent-- this is necessary.

Revision 1.33.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 17:59:11 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.8: +44 -256 lines
Diff to previous 1.33.2.8 , to branch point 1.33
whole lot of clean up-- can't figure out why I can't get tid 0 to show up as a parent-- this is necessary.

Revision 1.33.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 27 16:36:30 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.7: +2 -2 lines
Diff to previous 1.33.2.7 , to branch point 1.33
marking this point, because all the functions that didn't work are coming out now.  This revision is your last chance to see them.  Well, on http://AgaricDesign.com also

Revision 1.33.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 26 21:08:36 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.6: +88 -11 lines
Diff to previous 1.33.2.6 , to branch point 1.33
So just before the summer of code dojo reportback I got the function that killed me to work.  WOOOHOOOO I wish my bash let me put in exclamation points.  http://agaricdesign.com/listing-of-all-possible-ancestor-paths-defeated for more on the breakthrough.

Revision 1.33.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 24 15:40:37 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.5: +3 -3 lines
Diff to previous 1.33.2.5 , to branch point 1.33
back to the term path hierarchy that is killing me

Revision 1.33.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 24 15:38:51 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.4: +112 -29 lines
Diff to previous 1.33.2.4 , to branch point 1.33
back to the term path hierarchy that is killing me

Revision 1.33.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 23 19:28:48 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.3: +12 -7 lines
Diff to previous 1.33.2.3 , to branch point 1.33
setting to display CMT term management on teasers can be set in admin/content/cmt/settings now also

Revision 1.33.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 23 14:42:43 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.2: +3 -1 lines
Diff to previous 1.33.2.2 , to branch point 1.33
made it an option to display CMT term managing forms on node teasers, by node type (for now this has to be done at Administer > Content > Content Types and pick your content type, but it will be added to the CMT settings page as a checklist also).. with the admin include file updated

Revision 1.33.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 23 14:23:35 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33.2.1: +37 -21 lines
Diff to previous 1.33.2.1 , to branch point 1.33
made it an option to display CMT term managing forms on node teasers, by node type (for now this has to be done at Administer > Content > Content Types and pick your content type, but it will be added to the CMT settings page as a checklist also)

Revision 1.33.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 22 15:21:57 2007 UTC (2 years, 3 months ago) by agaric
Branch: DRUPAL-5
Changes since 1.33: +8 -8 lines
Diff to previous 1.33
added spaces to a couple control structures that were missing them, for full consistency with Drupal coding standards

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 21 03:40:53 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
Changes since 1.32: +19 -1 lines
Diff to previous 1.32
minor, nothing that breaks it I hope.  Just updating so we can tag it D5

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 18:59:47 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.31: +65 -1 lines
Diff to previous 1.31
code to expose term

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 18:56:48 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.30: +12 -8 lines
Diff to previous 1.30
bare prototype

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 18:47:26 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.29: +56 -28 lines
Diff to previous 1.29
well, it's before deadline and there's no parse errors, anyway

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 17:57:49 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.28: +38 -2 lines
Diff to previous 1.28
abondoned work on the hierarchy timesink.  Ability to vote on free tagging, and to make hierarchical vocabulary on the fly, still goes where no module has gone before.  Hierarchy and fanciness come in post-production.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 17:23:27 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.27: +172 -28 lines
Diff to previous 1.27
having a LOT of trouble with simply creating an array of existing hierarchies.  This has killed me.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 10:05:42 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.26: +6 -5 lines
Diff to previous 1.26
fixed an 'if ( = 'INSERT') -- single = instead of double -- that was ruining my life

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 03:34:44 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.25: +1 -2 lines
Diff to previous 1.25
removed extra line

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 03:28:03 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.24: +10 -10 lines
Diff to previous 1.24
... now also in cmt_term_node, term data saved properly

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 20 03:11:07 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.23: +58 -17 lines
Diff to previous 1.23
... now also in cmt_term_node, term data saved properly

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 23:58:03 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.22: +14 -10 lines
Diff to previous 1.22
definite progress.  Votes saved properly.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 23:01:45 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.21: +1 -18 lines
Diff to previous 1.21
actually this commit is cleanup/reorganization and the LAST commit was implementation of CMTs very own version of Drupal 6's db_last_insert_id

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 22:59:34 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.20: +48 -20 lines
Diff to previous 1.20
cleanup

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 21:35:22 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.19: +5 -4 lines
Diff to previous 1.19
fixed link to editing community-managed vocab after creating one, and a bug on subsequent saves

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 18:53:03 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.18: +26 -26 lines
Diff to previous 1.18
many changes have been made and not documented while cvs.drupal.org was down.  The previous commit message was quite out of date.  Latest change is tightening up the .info file text.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 16:21:56 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.17: +84 -27 lines
Diff to previous 1.17
reversed  and  in cmt_term_attribute_set and cmt_vote and the like: it's far more likely we'll want to override the vote count than the user, and easier to throw a 1 in there for value than to get the current users ID anyway

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 12:28:42 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.16: +10 -8 lines
Diff to previous 1.16
array declarations cannot have semicolons inside them.  Commas, not semicolons

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 11:59:43 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.15: +11 -7 lines
Diff to previous 1.15
pid fix

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 11:40:39 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.14: +10 -6 lines
Diff to previous 1.14
undid the array_reverse, counting up instead, on traversing through an angle-bracket delimited term set (path)

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 08:28:01 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.13: +26 -70 lines
Diff to previous 1.13
generalized cmt_term_attribute_set to also take nod nid instead of term tid for setting the cmt_term_node table (which would have been better named node_term, but hey-- this way the function can stay cmt_term_attribute_set and not be a misnomer.  Happy accident.)

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 19 07:59:42 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.12: +152 -55 lines
Diff to previous 1.12
fun with regular expressions

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 23:44:52 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.11: +93 -79 lines
Diff to previous 1.11
Full chain of events following a vote defined up to cmt_term_*_push (renamed functions from cmt_push_term_* for consistency with cmt_term_*_set and the Drupal Way)...  also, cvs commits work a lot better than svn commits when dealing with a cvs repository ;-)

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 20:56:27 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.10: +19 -17 lines
Diff to previous 1.10
worked out some matters with content_id in the cmt_term_*_set functions

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 17:49:22 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.9: +89 -6 lines
Diff to previous 1.9
set functions based around cmt_term_* tables introduced

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 13:07:04 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.8: +25 -25 lines
Diff to previous 1.8
fixed SQL in cmt_get_vocabularies so cmt_enabled matches > 0 -- which in SQL is not the same as = TRUE

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 12:39:35 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
fun with CVS file id tags

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 12:37:11 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.6: +10 -40 lines
Diff to previous 1.6
fixed silly logic error - missing exclamation point - in form_alter that checked if a vocab was CMT or not, for the create/convert to cmt option.  This error was introduced by the move away from using vocabulary 'ownership' (eg overwriting taxonomy, forum, image etc. indication of whose vocabulary) in favor of inner joining CMT to taxonomy vocab tables.  - ben for agaric  http://drupal.org/project/cmt

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 12:08:14 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.5: +32 -33 lines
Diff to previous 1.5
that was so strange.  The whole cmt_admin.inc file was refusing to run; best I could determine PHP was not interpreting its spaces as spaces but running everything together.  A Mac-Unix file exchange screw-up?  Anyway, wasted a lot of time, used the content_types.inc from node module as an emptied out file and pasted my content into TextEdit, and then SubEthaEdit (TextWrangler may be the thing screwing it all up) and it works.  Other fixes part of this, most significantly listing multiple new term forms if multiple vocabularies are CMT-enabled.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 09:59:32 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.4: +85 -79 lines
Diff to previous 1.4
styles

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 17 21:25:37 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.3: +177 -200 lines
Diff to previous 1.3
coding standards - text editor fixed to stop trying to sneak in tabs

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 17 19:34:36 2007 UTC (2 years, 3 months ago) by agaric
Branch: MAIN
Changes since 1.2: +62 -310 lines
Diff to previous 1.2
Division of code into module main functionality and admin pages (cmt_admin.inc), some code cleanup, functionality coming along

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 21 22:27:01 2007 UTC (2 years, 4 months ago) by agaric
Branch: MAIN
Changes since 1.1: +34 -33 lines
Diff to previous 1.1
a number of fixes so if some fool downloads and installs this pre-alpha module, the administration pages will work (I'd broken everything by changing the basis of a vocabulary being community managed from if the module name assigned to it is cmt, to checking if there's a vid in the cmt_vocabulary table)

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 20 14:03:42 2007 UTC (2 years, 4 months ago) by agaric
Branch: MAIN
Initial checkin of Community Managed Taxonomy for Drupal 5, pre-alpha version

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2