Permalink
Browse files

Moved classes into a subfolder

  • Loading branch information...
sergeychernyshev committed Jan 9, 2013
1 parent b76cb23 commit b1ea015b726292fcc62668446622f21238df4b61
Showing with 50 additions and 51 deletions.
  1. +1 −1 Invitation.php
  2. +1 −1 admin/header.php
  3. +1 −1 apigen.neon
  4. +2 −2 change_account.php
  5. 0 { → classes}/Account.php
  6. 0 { → classes}/AuthenticationModule.php
  7. 0 { → classes}/Badge.php
  8. 0 { → classes}/CampaignTracker.php
  9. 0 { → classes}/Clock.php
  10. 0 { → classes}/Cohort.php
  11. 0 { → classes}/CookieStorage.php
  12. 0 { → classes}/EmailModule.php
  13. 0 { → classes}/Feature.php
  14. +2 −2 { → classes}/OAuthModule.php
  15. 0 { → classes}/PaymentEngineModule.php
  16. 0 { → classes}/PaymentSchedule.php
  17. 0 { → classes}/Plan.php
  18. +3 −3 { → classes}/StartupAPI.php
  19. +1 −1 { → classes}/StartupAPIModule.php
  20. 0 { → classes}/TransactionLogger.php
  21. +1 −1 { → classes}/User.php
  22. +1 −1 controller/account/plans.php
  23. +1 −1 controller/engine/choose_engine.php
  24. +6 −6 default_config.php
  25. +1 −1 edit.php
  26. +1 −1 global.php
  27. +1 −1 login.php
  28. +1 −1 logout.php
  29. +1 −1 maintenance.php
  30. +1 −1 manage_account.php
  31. +1 −1 modules/email/login.php
  32. +1 −1 modules/etsy/index.php
  33. +1 −1 modules/facebook/logout.php
  34. +1 −1 modules/google_oauth/index.php
  35. +1 −1 modules/linkedin/index.php
  36. +1 −1 modules/meetup/index.php
  37. +1 −1 modules/ohloh/index.php
  38. +1 −1 modules/statusnet/index.php
  39. +1 −1 modules/twitter/index.php
  40. +1 −1 modules/usernamepass/forgotpassword.php
  41. +1 −1 modules/usernamepass/passwordreset.php
  42. +1 −1 oauth_callback.php
  43. +1 −1 register.php
  44. +1 −1 send_email_verification_code.php
  45. +1 −1 show_badge.php
  46. +1 −1 tests/TestClock.php
  47. +6 −7 users.php
  48. +1 −1 verify_email.php
  49. +1 −1 version.php
View
@@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/classes/User.php');
/**
* Invitation class
View
@@ -1,6 +1,6 @@
<?php
require_once(dirname(dirname(__FILE__)) . '/global.php');
require_once(dirname(dirname(__FILE__)) . '/User.php');
require_once(dirname(dirname(__FILE__)) . '/classes/User.php');
require_once(dirname(__FILE__) . '/adminMenus.php');
$current_user = User::require_login(false);
View
@@ -11,7 +11,7 @@ exclude:
- */twig/*
- */phptidy/*
- */apigen-docs/*
- */CookieStorage.php
- */classes/CookieStorage.php
php: no
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/Account.php');
require_once(dirname(__FILE__).'/classes/User.php');
require_once(dirname(__FILE__).'/classes/Account.php');
$user = User::require_login();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
<?php
include_once(dirname(__FILE__).'/oauth-php/library/OAuthStore.php');
include_once(dirname(__FILE__).'/oauth-php/library/OAuthRequester.php');
include_once(dirname(__DIR__).'/oauth-php/library/OAuthStore.php');
include_once(dirname(__DIR__).'/oauth-php/library/OAuthRequester.php');
/**
* Abstract class, implements OAuth flow and data storage for specific modules to subclass
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,7 @@
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/Plan.php');
require_once(dirname(__FILE__) . '/twig/lib/Twig/Autoloader.php');
require_once(dirname(__DIR__) . '/twig/lib/Twig/Autoloader.php');
Twig_Autoloader::register();
/**
@@ -195,8 +195,8 @@ static function _init() {
Plan::init(UserConfig::$PLANS);
// Configuring the templating
$loader = new Twig_Loader_Filesystem(dirname(__FILE__) . '/templates/');
$loader->addPath(dirname(__FILE__) . '/admin/templates', 'admin');
$loader = new Twig_Loader_Filesystem(dirname(__DIR__) . '/templates/');
$loader->addPath(dirname(__DIR__) . '/admin/templates', 'admin');
self::$template = new Twig_Environment($loader, UserConfig::$twig_options);
}
@@ -1,5 +1,5 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__DIR__).'/global.php');
/**
* StartupAPI module class
File renamed without changes.
@@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__DIR__) . '/global.php');
require_once(dirname(__FILE__) . '/Account.php');
require_once(dirname(__FILE__) . '/Badge.php');
require_once(dirname(__FILE__) . '/CookieStorage.php');
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/User.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/User.php');
$user = User::require_login();
$account = Account::getCurrentAccount($user);
@@ -1,7 +1,7 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))) . '/global.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/User.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/classes/User.php');
$user = User::require_login();
$account = Account::getCurrentAccount($user);
View
@@ -2,12 +2,12 @@
/**
* @package StartupAPI
*/
require_once(dirname(__FILE__) . '/Plan.php');
require_once(dirname(__FILE__) . '/TransactionLogger.php');
require_once(dirname(__FILE__) . '/Cohort.php');
require_once(dirname(__FILE__) . '/Feature.php');
require_once(dirname(__FILE__) . '/Badge.php');
require_once(dirname(__FILE__) . '/StartupAPIModule.php');
require_once(dirname(__FILE__) . '/classes/Plan.php');
require_once(dirname(__FILE__) . '/classes/TransactionLogger.php');
require_once(dirname(__FILE__) . '/classes/Cohort.php');
require_once(dirname(__FILE__) . '/classes/Feature.php');
require_once(dirname(__FILE__) . '/classes/Badge.php');
require_once(dirname(__FILE__) . '/classes/StartupAPIModule.php');
require_once(dirname(__FILE__) . '/tools.php');
/**
View
@@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
UserConfig::$IGNORE_REQUIRED_EMAIL_VERIFICATION = true;
View
@@ -3,7 +3,7 @@
mb_internal_encoding('UTF-8');
header('Content-type: text/html; charset=utf-8');
require_once(dirname(__FILE__).'/StartupAPI.php');
require_once(dirname(__FILE__).'/classes/StartupAPI.php');
require_once(dirname(__FILE__).'/default_config.php');
require_once(dirname(dirname(__FILE__)).'/users_config.php');
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
// Allow modules to auto-login (if supported)
$user = null;
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/classes/User.php');
UserConfig::$IGNORE_REQUIRED_EMAIL_VERIFICATION = true;
View
@@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/classes/User.php');
/**
* maintenance script to be run on a daily basis
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
if (!UserConfig::$useAccounts) {
header('Location: ' . UserConfig::$DEFAULTLOGOUTRETURN);
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))) . '/global.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/User.php');
require_once(dirname(dirname(dirname(__FILE__))) . '/classes/User.php');
$errors = array();
View
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* Authenticates users using Etsy (etsy.com) and providers access to their API using OAuth
@@ -1,7 +1,7 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/global.php');
require_once(dirname(dirname(dirname(__FILE__))).'/User.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/User.php');
$module = AuthenticationModule::get('facebook');
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* Google OAuth (v1) authentication module
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* LinkedIn authorization modlue
View
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* Meetup authentication module
View
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* Ohloh authentication module
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* StatusNet authentication module
@@ -1,5 +1,5 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/OAuthModule.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/OAuthModule.php');
/**
* Twitter authentication module
@@ -1,7 +1,7 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/global.php');
require_once(dirname(dirname(dirname(__FILE__))).'/User.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/User.php');
if (array_key_exists('recover', $_POST))
{
@@ -1,7 +1,7 @@
<?php
require_once(dirname(dirname(dirname(__FILE__))).'/global.php');
require_once(dirname(dirname(dirname(__FILE__))).'/User.php');
require_once(dirname(dirname(dirname(__FILE__))).'/classes/User.php');
UsernamePasswordAuthenticationModule::$IGNORE_PASSWORD_RESET = true;
View
@@ -3,7 +3,7 @@
* OAuth callback script used by all modules that subclass OAuthModule
*/
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/classes/User.php');
$current_user = User::get();
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/classes/User.php');
require_once(dirname(__FILE__).'/Invitation.php');
$errors = array();
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
UserConfig::$IGNORE_REQUIRED_EMAIL_VERIFICATION = true;
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
if (!UserConfig::$enableGamification || !array_key_exists('name', $_GET)) {
header("HTTP/1.0 404 Not Found");
View
@@ -3,7 +3,7 @@
require_once(dirname(dirname(dirname(__FILE__))).'/simpletest/autorun.php');
require_once(dirname(dirname(__FILE__)).'/users.php');
require_once(dirname(dirname(__FILE__)).'/Clock.php');
require_once(dirname(dirname(__FILE__)).'/classes/Clock.php');
class TestClock extends UnitTestCase {
View
@@ -6,13 +6,12 @@
*/
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/User.php');
require_once(dirname(__FILE__).'/Plan.php');
require_once(dirname(__FILE__).'/Account.php');
require_once(dirname(__FILE__).'/Cohort.php');
require_once(dirname(__FILE__).'/Feature.php');
require_once(dirname(__FILE__).'/CampaignTracker.php');
require_once(dirname(__FILE__).'/classes/User.php');
require_once(dirname(__FILE__).'/classes/Plan.php');
require_once(dirname(__FILE__).'/classes/Account.php');
require_once(dirname(__FILE__).'/classes/Cohort.php');
require_once(dirname(__FILE__).'/classes/Feature.php');
require_once(dirname(__FILE__).'/classes/CampaignTracker.php');
// do this on each page view (where user.php is included)
CampaignTracker::preserveReferer();
View
@@ -1,7 +1,7 @@
<?php
require_once(dirname(__FILE__) . '/global.php');
require_once(dirname(__FILE__) . '/User.php');
require_once(dirname(__FILE__) . '/classes/User.php');
UserConfig::$IGNORE_REQUIRED_EMAIL_VERIFICATION = true;
View
@@ -1,6 +1,6 @@
<?php
require_once(dirname(__FILE__) . '/StartupAPI.php');
require_once(dirname(__FILE__) . '/classes/StartupAPI.php');
$options = getopt('mp');

0 comments on commit b1ea015

Please sign in to comment.