Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
Moved views into /lib/Resources/
Browse files Browse the repository at this point in the history
added .git ignore in log and tmp folders
removed the app/ directory - it was overly complicated.
  • Loading branch information
cene-co-za committed Sep 21, 2013
1 parent 6e43e5e commit fd86996
Show file tree
Hide file tree
Showing 122 changed files with 221 additions and 253 deletions.
15 changes: 0 additions & 15 deletions app/Resources/views/seg/opengraph.php

This file was deleted.

8 changes: 4 additions & 4 deletions config/config.php
Expand Up @@ -98,16 +98,16 @@
'path' => '/'
),
'tpl' => array (
'path' => _BASEDIR . '/app/Resources/views/'
'path' => _BASEDIR . '/lib/Resources/views/'
),
'geodata' => array (
'json' => _BASEDIR . '/app/Resources/geo-ISO_3166-1-2.json'
'json' => _BASEDIR . '/lib/Resources/geo-ISO_3166-1-2.json'
),
'log' => array (
'path' => _BASEDIR . '/app/log/'
'path' => _BASEDIR . '/log/'
),
'cache' => array (
'path' => _BASEDIR . '/app/tmp/'
'path' => _BASEDIR . '/tmp/'
),
'db' => array (
'host' => '',
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Admin/Subscribers.php
@@ -1,12 +1,12 @@
<?php
namespace Destiny\Action\Admin;

use Destiny\Common\Service\SubscriptionsService;
use Destiny\Common\ViewModel;
use Destiny\Common\Exception;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\Secure;
use Destiny\Commerce\Service\SubscriptionsService;

/**
* @Action
Expand Down
8 changes: 4 additions & 4 deletions lib/Destiny/Action/Admin/User/Ban.php
@@ -1,19 +1,19 @@
<?php
namespace Destiny\Action\Admin\User;

use Destiny\Common\Service\ChatBanService;
use Destiny\Common\Utils\Date;
use Destiny\Common\ViewModel;
use Destiny\Common\Service\UserFeaturesService;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Service\UserService;
use Destiny\Common\Exception;
use Destiny\Common\Session;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\HttpMethod;
use Destiny\Common\Annotation\Secure;
use Destiny\Common\Annotation\Transactional;
use Destiny\Chat\Service\ChatBanService;
use Destiny\User\Service\UserFeaturesService;
use Destiny\User\Service\UserService;
use Destiny\Authentication\Service\AuthenticationService;

/**
* @Action
Expand Down
10 changes: 5 additions & 5 deletions lib/Destiny/Action/Admin/User/Edit.php
Expand Up @@ -2,19 +2,19 @@
namespace Destiny\Action\Admin\User;

use Destiny\Common\Utils\Date;
use Destiny\Common\Service\ChatlogService;
use Destiny\Common\Service\ChatBanService;
use Destiny\Common\Service\UserFeaturesService;
use Destiny\Common\Exception;
use Destiny\Common\Service\UserService;
use Destiny\Common\ViewModel;
use Destiny\Common\Utils\Country;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\HttpMethod;
use Destiny\Common\Annotation\Secure;
use Destiny\Common\Annotation\Transactional;
use Destiny\Chat\Service\ChatlogService;
use Destiny\Chat\Service\ChatBanService;
use Destiny\User\Service\UserFeaturesService;
use Destiny\User\Service\UserService;
use Destiny\Authentication\Service\AuthenticationService;

/**
* @Action
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Admin/User/Find.php
@@ -1,13 +1,13 @@
<?php
namespace Destiny\Action\Admin\User;

use Destiny\Common\Service\UserService;
use Destiny\Common\HttpEntity;
use Destiny\Common\Utils\Http;
use Destiny\Common\MimeType;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\Secure;
use Destiny\User\Service\UserService;

/**
* @Action
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/BlogFeed.php
Expand Up @@ -2,7 +2,7 @@
namespace Destiny\Action\Cron;

use Destiny\Common\Application;
use Destiny\Common\Service\CommonApiService;
use Destiny\Service\CommonApiService;
use Psr\Log\LoggerInterface;

class BlogFeed {
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/BroadcastsFeed.php
@@ -1,8 +1,8 @@
<?php
namespace Destiny\Action\Cron;

use Destiny\Common\Service\TwitchApiService;
use Destiny\Common\Application;
use Destiny\Twitch\Service\TwitchApiService;
use Psr\Log\LoggerInterface;

class BroadcastsFeed {
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/CalendarEvents.php
Expand Up @@ -3,7 +3,7 @@

use Destiny\Common\Application;
use Destiny\Common\Utils\Date;
use Destiny\Common\Service\Google\CalendarService;
use Destiny\Google\Service\CalendarService;
use Psr\Log\LoggerInterface;

class CalendarEvents {
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/LastFmFeed.php
Expand Up @@ -2,7 +2,7 @@
namespace Destiny\Action\Cron;

use Destiny\Common\Application;
use Destiny\Common\Service\CommonApiService;
use Destiny\Service\CommonApiService;
use Psr\Log\LoggerInterface;

class LastFmFeed {
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/StreamInfo.php
@@ -1,8 +1,8 @@
<?php
namespace Destiny\Action\Cron;

use Destiny\Common\Service\TwitchApiService;
use Destiny\Common\Application;
use Destiny\Twitch\Service\TwitchApiService;
use Psr\Log\LoggerInterface;

class StreamInfo {
Expand Down
4 changes: 2 additions & 2 deletions lib/Destiny/Action/Cron/SubscriptionExpire.php
@@ -1,9 +1,9 @@
<?php
namespace Destiny\Action\Cron;

use Destiny\Common\Service\RememberMeService;
use Destiny\Common\Service\SubscriptionsService;
use Psr\Log\LoggerInterface;
use Destiny\Authentication\Service\RememberMeService;
use Destiny\Commerce\Service\SubscriptionsService;

class SubscriptionExpire {

Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/SummonersFeed.php
@@ -1,8 +1,8 @@
<?php
namespace Destiny\Action\Cron;

use Destiny\Common\Service\LeagueApiService;
use Destiny\Common\Application;
use Destiny\LeagueofLegends\Service\LeagueApiService;
use Psr\Log\LoggerInterface;

class SummonersFeed {
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Cron/YoutubeFeed.php
Expand Up @@ -2,7 +2,7 @@
namespace Destiny\Action\Cron;

use Destiny\Common\Application;
use Destiny\Common\Service\CommonApiService;
use Destiny\Service\CommonApiService;
use Psr\Log\LoggerInterface;

class YoutubeFeed {
Expand Down
12 changes: 6 additions & 6 deletions lib/Destiny/Action/Web/Auth/Api.php
Expand Up @@ -3,19 +3,19 @@

use Destiny\Common\HttpEntity;
use Destiny\Common\MimeType;
use Destiny\Common\Service\SubscriptionsService;
use Destiny\Common\Service\UserFeaturesService;
use Destiny\Common\UserRole;
use Destiny\Common\SessionCredentials;
use Destiny\Common\Service\ApiAuthenticationService;
use Destiny\Common\ViewModel;
use Destiny\Common\Utils\Http;
use Destiny\Common\Application;
use Destiny\Common\Exception;
use Destiny\Common\Service\UserService;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\UserFeature;
use Destiny\User\UserRole;
use Destiny\User\UserFeature;
use Destiny\User\Service\UserService;
use Destiny\User\Service\UserFeaturesService;
use Destiny\Authentication\Service\ApiAuthenticationService;
use Destiny\Commerce\Service\SubscriptionsService;

/**
* @Action
Expand Down
8 changes: 4 additions & 4 deletions lib/Destiny/Action/Web/Auth/Google.php
Expand Up @@ -5,13 +5,13 @@
use Destiny\Common\Exception;
use Destiny\Common\Config;
use Destiny\Common\OAuthClient;
use Destiny\Common\Security\AuthenticationRedirectionFilter;
use Destiny\Common\Security\AuthenticationCredentials;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Service\UserService;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\Transactional;
use Destiny\User\Service\UserService;
use Destiny\Authentication\Service\AuthenticationService;
use Destiny\Authentication\AuthenticationRedirectionFilter;
use Destiny\Authentication\AuthenticationCredentials;

/**
* @Action
Expand Down
6 changes: 3 additions & 3 deletions lib/Destiny/Action/Web/Auth/Twitch.php
Expand Up @@ -2,9 +2,9 @@
namespace Destiny\Action\Web\Auth;

use Destiny\Common\ViewModel;
use Destiny\Common\Security\AuthenticationRedirectionFilter;
use Destiny\Common\Security\AuthenticationCredentials;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Authentication\AuthenticationRedirectionFilter;
use Destiny\Authentication\AuthenticationCredentials;
use Destiny\Authentication\Service\AuthenticationService;
use Destiny\Common\Config;
use Destiny\Common\Exception;
use Destiny\Common\OAuthClient;
Expand Down
8 changes: 4 additions & 4 deletions lib/Destiny/Action/Web/Auth/Twitter.php
Expand Up @@ -2,12 +2,12 @@
namespace Destiny\Action\Web\Auth;

use Destiny\Common\ViewModel;
use Destiny\Common\Security\AuthenticationRedirectionFilter;
use Destiny\Common\Security\AuthenticationCredentials;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Authentication\AuthenticationRedirectionFilter;
use Destiny\Authentication\AuthenticationCredentials;
use Destiny\Authentication\Service\AuthenticationService;
use Destiny\Common\Session;
use Destiny\Common\Config;
use Destiny\Common\Service\UserService;
use Destiny\User\Service\UserService;
use Destiny\Common\Exception;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
Expand Down
4 changes: 2 additions & 2 deletions lib/Destiny/Action/Web/Chat/History.php
@@ -1,15 +1,15 @@
<?php
namespace Destiny\Action\Web\Chat;

use Destiny\Common\UserFeature;
use Destiny\User\UserFeature;
use Destiny\Common\HttpEntity;
use Destiny\Common\Utils\Http;
use Destiny\Common\ViewModel;
use Destiny\Common\MimeType;
use Destiny\Common\Config;
use Destiny\Common\Service\ChatlogService;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Chat\Service\ChatlogService;

/**
* @Action
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Web/Embed/Chat.php
@@ -1,7 +1,7 @@
<?php
namespace Destiny\Action\Web\Embed;

use Destiny\Common\UserRole;
use Destiny\User\UserRole;
use Destiny\Common\ViewModel;
use Destiny\Common\Session;
use Destiny\Common\Config;
Expand Down
6 changes: 3 additions & 3 deletions lib/Destiny/Action/Web/Impersonate.php
@@ -1,9 +1,6 @@
<?php
namespace Destiny\Action\Web;

use Destiny\Common\Service\ChatIntegrationService;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Service\UserService;
use Destiny\Common\Exception;
use Destiny\Common\ViewModel;
use Destiny\Common\Application;
Expand All @@ -13,6 +10,9 @@
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\HttpMethod;
use Destiny\Chat\Service\ChatIntegrationService;
use Destiny\Authentication\Service\AuthenticationService;
use Destiny\User\Service\UserService;

/**
* @Action
Expand Down
12 changes: 6 additions & 6 deletions lib/Destiny/Action/Web/Ipn.php
Expand Up @@ -2,20 +2,20 @@
namespace Destiny\Action\Web;

use Destiny\Common\HttpEntity;
use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Commerce\SubscriptionStatus;
use Destiny\Common\Commerce\OrderStatus;
use Destiny\Common\Commerce\PaymentStatus;
use Destiny\Commerce\SubscriptionStatus;
use Destiny\Commerce\OrderStatus;
use Destiny\Commerce\PaymentStatus;
use Destiny\Common\Utils\Http;
use Destiny\Common\Application;
use Destiny\Common\Service\OrdersService;
use Destiny\Common\Config;
use Destiny\Common\Utils\Date;
use Destiny\Common\Service\SubscriptionsService;
use Destiny\Common\Exception;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\Transactional;
use Destiny\Authentication\Service\AuthenticationService;
use Destiny\Commerce\Service\OrdersService;
use Destiny\Commerce\Service\SubscriptionsService;
use PayPal\IPN\PPIPNMessage;

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Destiny/Action/Web/Login.php
@@ -1,8 +1,7 @@
<?php
namespace Destiny\Action\Web;

use Destiny\Common\UserRole;
use Destiny\Common\Service\UserService;
use Destiny\User\UserRole;
use Destiny\Common\Exception;
use Destiny\Common\Config;
use Destiny\Common\Session;
Expand All @@ -11,6 +10,7 @@
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Common\Annotation\HttpMethod;
use Destiny\User\Service\UserService;

/**
* @Action
Expand Down
2 changes: 1 addition & 1 deletion lib/Destiny/Action/Web/Logout.php
@@ -1,9 +1,9 @@
<?php
namespace Destiny\Action\Web;

use Destiny\Common\Service\AuthenticationService;
use Destiny\Common\Annotation\Action;
use Destiny\Common\Annotation\Route;
use Destiny\Authentication\Service\AuthenticationService;

/**
* @Action
Expand Down

0 comments on commit fd86996

Please sign in to comment.