[Bps-public-commit] SD branch, master, updated. 6f1c1449710523b4c0b9641f5073459f639f8b02
Alex M Vandiver
alexmv at bestpractical.com
Thu Apr 9 19:11:12 EDT 2009
The branch, master has been updated
via 6f1c1449710523b4c0b9641f5073459f639f8b02 (commit)
via 59eafa1876c313229e3c59716e1d206bb9462d9c (commit)
from 3223c3a8bab134ac670b0c98b562c2ea2f930f6f (commit)
Summary of changes:
lib/App/SD/CLI/Command/Server.pm | 12 ++++++++++++
lib/App/SD/Server/View.pm | 2 +-
2 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 lib/App/SD/CLI/Command/Server.pm
- Log -----------------------------------------------------------------
commit 59eafa1876c313229e3c59716e1d206bb9462d9c
Author: Alex Vandiver <alexmv at mit.edu>
Date: Thu Apr 9 19:09:47 2009 -0400
Warnings avoidance for unset email address
diff --git a/lib/App/SD/Server/View.pm b/lib/App/SD/Server/View.pm
index e2cd138..7f25e13 100644
--- a/lib/App/SD/Server/View.pm
+++ b/lib/App/SD/Server/View.pm
@@ -294,7 +294,7 @@ template '/tickets/hot' => sub {
if ( $item->has_active_status
&& ( $item->prop('milestone') || '' ) eq $current_milestone
&& ( ( $item->prop('owner') || '' ) eq
- $item->app_handle->config->get('email_address') || !$item->prop('owner') )
+ ( $item->app_handle->config->get('email_address') || '') || !$item->prop('owner') )
)
{
return 1;
commit 6f1c1449710523b4c0b9641f5073459f639f8b02
Author: Alex Vandiver <alexmv at mit.edu>
Date: Thu Apr 9 19:10:27 2009 -0400
Re-add SD server --writable config, lost in dispatcher merge (?)
diff --git a/lib/App/SD/CLI/Command/Server.pm b/lib/App/SD/CLI/Command/Server.pm
new file mode 100644
index 0000000..0b904bb
--- /dev/null
+++ b/lib/App/SD/CLI/Command/Server.pm
@@ -0,0 +1,12 @@
+package App::SD::CLI::Command::Server;
+use Moose;
+extends 'Prophet::CLI::Command::Server';
+
+sub run {
+ my $self = shift;
+ my $server = $self->setup_server();
+ $server->read_only(1) unless ($self->has_arg('writable'));
+ $server->run;
+}
+
+1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list