Interchange

CVS log for interchange/code/UserTag/get_url.tag

[BACK] Up to [Local Repository] / interchange / code / UserTag

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Dec 5 00:38:03 2007 UTC (13 months ago) by racke
Branches: MAIN
CVS tags: STABLE_5_6-root, STABLE_5_6-branch, REL_5_7_1, REL_5_6_1, REL_5_5_3, REL_5_5_2, HEAD, DEB_5_6_1_2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -17 lines
replace pathetic regex usage with simple code

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 2 20:26:00 2007 UTC (14 months ago) by racke
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -2 lines
added scratch option to save returned content into a scratch variable
instead of returning it, justification: [get-url] doesn't work inside of [perl]
and binary content might get mangled by the parser

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 31 00:20:18 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +9 -4 lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later".  Update copyrights.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Mar 30 23:40:57 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
CVS tags: REL_5_5_1, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -4 lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later".  Update copyrights.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 8 18:14:42 2005 UTC (3 years, 2 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_2, REL_5_4_1, REL_5_4_0, REL_5_3_3, REL_5_3_2
Branch point for: STABLE_5_4-branch
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Big copyright and version number update to prepare for 5.3.2 release.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 10 14:38:39 2005 UTC (3 years, 10 months ago) by docelic
Branches: MAIN
CVS tags: DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Header/license fix or Version update+minor formatting fix, or both

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Oct 2 12:36:24 2004 UTC (4 years, 3 months ago) by docelic
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -30 lines
- header/license fix
- moved docs to xmldocs

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 13 16:47:51 2004 UTC (4 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +26 -8 lines
* Add Jonathan Clark's suggested timeout set, with ability to
  read time strings like timeout="1 minute".

* Add standard interhange form parameter, i.e. don't require urlencode
  of content for post.

  	[get-url
		method=POST
		form=|
			foo=bar
			buz=baz
			boo=The red's the thing.
		|]

  Still accepts content="foo=bar&buz=baz&boo=the%20big%20red%27s%20the%20one".

* Handle lower-case method names.

* Don't set content() unless a POST or PUT.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 7 05:13:50 2004 UTC (5 years ago) by pvinci
Branches: MAIN
CVS tags: STABLE_5_2-root, STABLE_5_2-branch, REL_5_2_1, REL_5_2_0, REL_5_1_1, REL_5_1_0, MANIFEST, DEB_5_2_1_1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1 lines
Add user option to specify useragent

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 18 17:20:58 2003 UTC (5 years, 10 months ago) by brevp
Branches: MAIN
CVS tags: STABLE_5_0-root, STABLE_5_0-branch, REL_5_0_2, REL_5_0_1, REL_5_0_0_RC2, REL_5_0_0_RC1, REL_5_0_0, REL_4_9_9, REL_4_9_8, DEB_5_0_0_2, DEB_4_9_8_20031014_1, DEB_4_9_8_20031010_1, DEB_4_9_8_20030911_1, DEB_4_9_8_20030706_1, DEB_4_9_8_2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +55 -4 lines

Added functionality to the get-url usertag:

* set content-type
* send username/password for authorization
* send actual content
* send that content through a method of your choice (get, post, put, etc)
* etc..

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:20:36 2003 UTC (5 years, 11 months ago) by racke
Branches: LINUXIA
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +0 -0 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 30 20:43:05 2002 UTC (6 years, 2 months ago) by racke
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5, REL_4_9_4
Branch point for: LINUXIA
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -3 lines
improved inline documentation in order to be able to view
it with pod2... tools and allow automatic processing
fixed some errors

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 2 03:42:24 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -7 lines
* Prevent File::Copy runtime include of File::Basename from causing safe
  problems.

* Prevent get_url runtime include of LWP, so can use in $Tag.

* Add var_exclude option to history_scan, so that certain variables
  can be expunged from the form values. Used to rewrite toggle/collapse/expand
  parameters for trees.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 05:52:42 2002 UTC (6 years, 11 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_1
	* The great tag breakout!

	* Almost all tags are now UserTag definitions. The only exceptions
	  are:

		and bounce goto if label or unless

    * New TagDir directive (default is VENDROOT/code) sets the
	  directory (or directories) which are searched for code definitions
	  set by UserTag and CodeDef.

	* New TagGroup directive establishes groups of ITL tags which can
	  be included.

	  	TagGroup :crufty "banner default ecml html_table onfly sql"

	  The default groups include :core, which contains all of the
	  ITL tags defined in 4.8/early 4.9. The groups are defined
	  in $Vend::Cfg::StdTags and can be undefined if desired
	  with "TagGroup :group".

	* New TagInclude directive allows inclusion of tags (or groups
	  of tags). If a tag is defined as a core tag (with a .coretag
	  or .tag or .ct extension) and is not included, it will not
	  be compiled and placed in the tag map. This is for all catalogs,
	  so if *any* catalog uses a tag it must be included.

	  Examples:

		# Include the base tags
	  	TagInclude :core

		# Not the commerce tags
		TagInclude !:commerce

		# But make sure item-list is included even though
		# it is in :commerce
		TagInclude item-list

		## Double negatives are honored
		TagGroup    :foo "bar !baz buz"
		## With the group above, the below is equivalent
		## to TagInclude !bar baz !buz
		TagInclude !:foo

    * New CodeDef directive allows the setting of filters,
	  order checks, FormAction, ActionMap, ItemAction,
	  and LocaleChange.

			## filters
			CodeDef  mixedcase Filter
			CodeDef  mixedcase Routine <<EOR
			sub {
				my $val = shift;
				## [filter mixedcase]mixed case[/filter]
				## outputs "MiXeD CaSe"
				$val =~ s/(.)(.)/\u$1\l$2/g;
				return $val;
			}
			EOR

			## order checks
			CodeDef  mixedcase OrderCheck
			CodeDef  foo  Routine <<EOR
			sub {
				my ($ref, $var, $val) = @_;
				return (1,$var) if $val eq 'bar';
				return (0,$var, "foo must be bar");
			}
			EOR

	   All work in catalog.cfg; LocaleChange and ItemAction are not
	   global. FormAction, ActionMap, and ItemAction directives
	   are equivalent to their CodeDef equivalents.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>