<commit_before>package MediaWords::Controller::ComingSoon;

use strict;
use warnings;

#use parent 'Catalyst::Controller';
use parent 'Catalyst::Controller::HTML::FormFu';

use HTML::TagCloud;
use List::Util;
use Net::SMTP;
use Number::Format qw(:subs);
use URI::Escape;
use List::Util qw (max min maxstr minstr reduce sum);
use List::MoreUtils qw/:all/;

use MediaWords::Controller::Visualize;
use MediaWords::Util::Chart;
use MediaWords::Util::Config;
use MediaWords::Util::Countries;
use MediaWords::Util::Stemmer;

use Perl6::Say;
use Data::Dumper;
use Date::Format;
use Date::Parse;
use Switch 'Perl6';
use Locale::Country;
use Date::Calc qw(:all);
use JSON;
use Time::HiRes;
use XML::Simple qw(:strict);
use Dir::Self;
use Readonly;
use File::stat;
use MediaWords::Controller::Dashboard;

sub index : Path : Args(0)
{
    my ( $self, $c ) = @_;

    $self->message( $c );
}

# static about page
sub message : Local
{
    my ( $self, $c ) = @_;

    my $dashboards_id = MediaWords::Controller::Dashboard::get_default_dashboards_id( $c->dbis );
    my $default_dashboard = MediaWords::Controller::Dashboard::get_dashboard( $c->dbis, $dashboards_id );

    $c->stash->{ dashboard } = $default_dashboard;
    $c->stash->{ template }  = 'zoe_website_template/comingsoon.tt2';
}

1;<commit_msg>Get rid of the coming soon page.<commit_after>package MediaWords::Controller::ComingSoon;

use strict;
use warnings;

#use parent 'Catalyst::Controller';
use parent 'Catalyst::Controller::HTML::FormFu';

use HTML::TagCloud;
use List::Util;
use Net::SMTP;
use Number::Format qw(:subs);
use URI::Escape;
use List::Util qw (max min maxstr minstr reduce sum);
use List::MoreUtils qw/:all/;

use MediaWords::Controller::Visualize;
use MediaWords::Util::Chart;
use MediaWords::Util::Config;
use MediaWords::Util::Countries;
use MediaWords::Util::Stemmer;

use Perl6::Say;
use Data::Dumper;
use Date::Format;
use Date::Parse;
use Switch 'Perl6';
use Locale::Country;
use Date::Calc qw(:all);
use JSON;
use Time::HiRes;
use XML::Simple qw(:strict);
use Dir::Self;
use Readonly;
use File::stat;
use MediaWords::Controller::Dashboard;

sub index : Path : Args(0)
{
    my ( $self, $c ) = @_;

    $self->message( $c );
}

# static about page
sub message : Local
{
    my ( $self, $c ) = @_;

    my $dashboards_id = MediaWords::Controller::Dashboard::get_default_dashboards_id( $c->dbis );
    my $default_dashboard = MediaWords::Controller::Dashboard::get_dashboard( $c->dbis, $dashboards_id );


    my $redirect = $c->uri_for( '/dashboard/view/' );

    $c->res->redirect( $redirect );

    if (0)
    {
      $c->stash->{ dashboard } = $default_dashboard;
      $c->stash->{ template }  = 'zoe_website_template/comingsoon.tt2';
    }
}

1;
{'fraction_non_alphanumeric': 0.16538320498716538, 'fraction_numerical': 0.004033736707004034, 'mean_word_length': 5.433962264150943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4110363', 'n_tokens_mistral': 993, 'n_tokens_neox': 961, 'n_words': 233}