App-Office-Contacts

 view release on metacpan or  search on metacpan

Changelog.ini  view on Meta::CPAN

Comments= <<EOT
- Fix typos arising after I changed the name of the module
from CGI::Office::* to App::Office::*. This patch was lost
when I replaced Debian testing with lenny on my laptop.
- Ship docs/html/contacts.faq.html, as previously documented.
EOT

[V 1.10]
Date=2010-05-19T11:11:00
Comments= <<EOT
- Update comments re starman usage in contacts.psgi.
- Chop mailing list stuff from support.
- Update version numbers in Build.PL and Makefile.PL.
- Ensure config code is only called once (App::Office::Contacts::Util::LogConfig).
EOT

[V 1.09]
Date=2010-04-20T08:38:00
Comments= <<EOT
- Comment out the processing which checks for CSRF, since I encountered
a case where it did not work.

Changes  view on Meta::CPAN

	- No longer ship scripts/schema.sh. I use dbigraph.pl from GraphViz::DBI,
	  modified to use GraphViz::DBI::General (which subclasses GraphViz::DBI).

1.11  Thu Jun  3 17:23:00 2010
	- Fix typos arising after I changed the name of the module
		from CGI::Office::* to App::Office::*. This patch was lost
		when I replaced Debian testing with lenny on my laptop.
	- Ship docs/html/contacts.faq.html, as previously documented.

1.10  Wed May 19 11:11:00 2010
	- Update comments re starman usage in contacts.psgi.
	- Chop mailing list stuff from support.
	- Update version numbers in Build.PL and Makefile.PL.
	- Ensure config code is only called once (App::Office::Contacts::Util::LogConfig).

1.09  Tue Apr 20  8:38:00 2010
	- Comment out the processing which checks for CSRF, since I encountered
		a case where it did not work.

1.08  Fri Apr 16  8:52:00 2010
	- Warning: The organizations and people tables have a new column: upper_name.

httpd/cgi-bin/office/contacts.psgi  view on Meta::CPAN

#!/usr/bin/env perl
#
# Run with:
# starman -l 127.0.0.1:5003 --workers 1 httpd/cgi-bin/office/contacts.psgi &
# or, for more debug output:
# plackup -l 127.0.0.1:5003 httpd/cgi-bin/office/contacts.psgi &

use strict;
use warnings;

use CGI::Snapp::Dispatch;

use Plack::Builder;

lib/App/Office/Contacts.pm  view on Meta::CPAN

		':app'          => {rm => 'display'},
		':app/:rm/:id?' => {},
		],
	);

A L<Plack> script, I<contacts.psgi>:

	#!/usr/bin/env perl
	#
	# Run with:
	# starman -l 127.0.0.1:5003 --workers 1 httpd/cgi-bin/office/contacts.psgi &
	# or, for more debug output:
	# plackup -l 127.0.0.1:5003 httpd/cgi-bin/office/contacts.psgi &

	use strict;
	use warnings;

	use CGI::Snapp::Dispatch;

	use Plack::Builder;



( run in 1.025 second using v1.01-cache-2.11-cpan-e93a5daba3e )