Author: Nathan.Vonnahme
Date: 2010-04-16 02:50:05 +0200 (Fri, 16 Apr 2010)
New Revision: 29174
Added:
plugins/bhLDAPAuthPlugin/testapps/1_4/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/app.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/cache.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/factories.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/filters.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/frontendConfiguration.class.php
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/routing.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/security.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/settings.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/view.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/i18n/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/myUser.class.php
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/modules/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/layout.php
plugins/bhLDAPAuthPlugin/testapps/1_4/cache/
plugins/bhLDAPAuthPlugin/testapps/1_4/config/
plugins/bhLDAPAuthPlugin/testapps/1_4/config/ProjectConfiguration.class.php
plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml.bak
plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/
plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/schema.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/config/properties.ini
plugins/bhLDAPAuthPlugin/testapps/1_4/config/rsync_exclude.txt
plugins/bhLDAPAuthPlugin/testapps/1_4/data/
plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/
plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/fixtures.yml
plugins/bhLDAPAuthPlugin/testapps/1_4/lib/
plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/
plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/BaseForm.class.php
plugins/bhLDAPAuthPlugin/testapps/1_4/log/
plugins/bhLDAPAuthPlugin/testapps/1_4/plugins/
plugins/bhLDAPAuthPlugin/testapps/1_4/symfony
plugins/bhLDAPAuthPlugin/testapps/1_4/test/
plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/
plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/functional.php
plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/unit.php
plugins/bhLDAPAuthPlugin/testapps/1_4/test/functional/
plugins/bhLDAPAuthPlugin/testapps/1_4/test/functional/frontend/
plugins/bhLDAPAuthPlugin/testapps/1_4/test/unit/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/.htaccess
plugins/bhLDAPAuthPlugin/testapps/1_4/web/css/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/css/main.css
plugins/bhLDAPAuthPlugin/testapps/1_4/web/frontend_dev.php
plugins/bhLDAPAuthPlugin/testapps/1_4/web/images/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/index.php
plugins/bhLDAPAuthPlugin/testapps/1_4/web/js/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/robots.txt
plugins/bhLDAPAuthPlugin/testapps/1_4/web/uploads/
plugins/bhLDAPAuthPlugin/testapps/1_4/web/uploads/assets/
Log:
added scratch symfony 1.4+doctrine project
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/app.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/app.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/app.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,5 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/11-App
+
+# default values
+#all:
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/app.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/cache.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/cache.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/cache.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,7 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/09-Cache
+
+default:
+ enabled: false
+ with_layout: false
+ lifetime: 86400
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/cache.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/factories.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/factories.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/factories.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,42 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/05-Factories
+
+prod:
+ logger:
+ class: sfNoLogger
+ param:
+ level: err
+ loggers: ~
+
+test:
+ storage:
+ class: sfSessionTestStorage
+ param:
+ session_path: %SF_TEST_CACHE_DIR%/sessions
+
+ response:
+ class: sfWebResponse
+ param:
+ send_http_headers: false
+
+ mailer:
+ param:
+ delivery_strategy: none
+
+dev:
+ mailer:
+ param:
+ delivery_strategy: none
+
+all:
+ routing:
+ class: sfPatternRouting
+ param:
+ generate_shortest_url: true
+ extra_parameters_as_query_string: true
+
+ view_cache_manager:
+ class: sfViewCacheManager
+ param:
+ cache_key_use_vary_headers: true
+ cache_key_use_host_name: true
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/factories.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/filters.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/filters.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/filters.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,10 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/12-Filters
+
+rendering: ~
+security: ~
+
+# insert your own filters here
+
+cache: ~
+execution: ~
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/filters.yml
___________________________________________________________________
Added: svn:executable
+ *
Added:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/frontendConfiguration.class.php
===================================================================
---
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/frontendConfiguration.class.php
(rev 0)
+++
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/frontendConfiguration.class.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,8 @@
+<?php
+
+class frontendConfiguration extends sfApplicationConfiguration
+{
+ public function configure()
+ {
+ }
+}
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/frontendConfiguration.class.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/routing.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/routing.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/routing.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,16 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/10-Routing
+
+# default rules
+homepage:
+ url: /
+ param: { module: default, action: index }
+
+# generic rules
+# please, remove them by adding more specific rules
+default_index:
+ url: /:module
+ param: { action: index }
+
+default:
+ url: /:module/:action/*
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/routing.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/security.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/security.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/security.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,5 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/08-Security
+
+default:
+ is_secure: false
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/security.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/settings.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/settings.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/settings.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,35 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/04-Settings
+
+prod:
+ .settings:
+ no_script_name: true
+ logging_enabled: false
+
+dev:
+ .settings:
+ error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
+ web_debug: true
+ cache: false
+ no_script_name: false
+ etag: false
+
+test:
+ .settings:
+ error_reporting: <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
+ cache: false
+ web_debug: false
+ no_script_name: false
+ etag: false
+
+all:
+ .settings:
+ # Form security secret (CSRF protection)
+ csrf_secret: fa1e7d8ba0f44f8642d412bb8536c7b9c7463e69
+
+ # Output escaping settings
+ escaping_strategy: true
+ escaping_method: ESC_SPECIALCHARS
+
+ # Enable the database manager
+ use_database: true
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/settings.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/view.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/view.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/view.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,20 @@
+# You can find more information about this file on the symfony website:
+# http://www.symfony-project.org/reference/1_4/en/13-View
+
+default:
+ http_metas:
+ content-type: text/html
+
+ metas:
+ #title: symfony project
+ #description: symfony project
+ #keywords: symfony, project
+ #language: en
+ #robots: index, follow
+
+ stylesheets: [main.css]
+
+ javascripts: []
+
+ has_layout: true
+ layout: layout
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/config/view.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/myUser.class.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/myUser.class.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/myUser.class.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,5 @@
+<?php
+
+class myUser extends sfBasicSecurityUser
+{
+}
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/lib/myUser.class.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/layout.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/layout.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/layout.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,14 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <?php include_http_metas() ?>
+ <?php include_metas() ?>
+ <?php include_title() ?>
+ <link rel="shortcut icon" href="/favicon.ico" />
+ <?php include_stylesheets() ?>
+ <?php include_javascripts() ?>
+ </head>
+ <body>
+ <?php echo $sf_content ?>
+ </body>
+</html>
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/apps/frontend/templates/layout.php
___________________________________________________________________
Added: svn:executable
+ *
Added:
plugins/bhLDAPAuthPlugin/testapps/1_4/config/ProjectConfiguration.class.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/ProjectConfiguration.class.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/ProjectConfiguration.class.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,12 @@
+<?php
+
+require_once 'C:\\symfony1.4\\lib/autoload/sfCoreAutoload.class.php';
+sfCoreAutoload::register();
+
+class ProjectConfiguration extends sfProjectConfiguration
+{
+ public function setup()
+ {
+ $this->enablePlugins('sfDoctrinePlugin');
+ }
+}
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/config/ProjectConfiguration.class.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml 2010-04-16
00:50:05 UTC (rev 29174)
@@ -0,0 +1,7 @@
+all:
+ doctrine:
+ class: sfDoctrineDatabase
+ param:
+ dsn: 'mysql:host=localhost;dbname=bhldaptest_doctrine'
+ username: root
+ password: null
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml.bak
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml.bak
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml.bak
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,7 @@
+all:
+ doctrine:
+ class: sfDoctrineDatabase
+ param:
+ dsn: 'mysql:host=localhost;dbname=complaints'
+ username: complaints
+ password: MYBMjuhInKzfGkpPW4jP
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/config/databases.yml.bak
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/schema.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/schema.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/schema.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,25 @@
+
+Article:
+ actAs: Timestampable
+ columns:
+ id:
+ type: integer
+ primary: true
+ autoincrement: true
+ title: string(255)
+ content: clob
+
+Comment:
+ actAs: Timestampable
+ columns:
+ id:
+ type: integer
+ primary: true
+ autoincrement: true
+ article_id: integer
+ author: string(255)
+ content: clob
+ relations:
+ Article:
+ local: article_id
+ foreign: id
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/config/doctrine/schema.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/config/properties.ini
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/properties.ini
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/properties.ini 2010-04-16
00:50:05 UTC (rev 29174)
@@ -0,0 +1,4 @@
+[symfony]
+ name=1_4
+ author=Your name here
+ orm=Doctrine
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/config/properties.ini
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/config/rsync_exclude.txt
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/config/rsync_exclude.txt
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/config/rsync_exclude.txt
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,15 @@
+# Project files
+/cache/*
+/log/*
+/web/*_dev.php
+/web/uploads/*
+
+# SCM files
+.arch-params
+.bzr
+_darcs
+.git
+.hg
+.monotone
+.svn
+CVS
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/config/rsync_exclude.txt
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/fixtures.yml
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/fixtures.yml
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/fixtures.yml
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,17 @@
+# # Populate this file with data to be loaded by your ORM's *:data-load task.
+# # You can create multiple files in this directory (i.e. 010_users.yml,
+# # 020_articles.yml, etc) which will be loaded in alphabetical order.
+# #
+# # See documentation for your ORM's *:data-load task for more information.
+#
+# User:
+# fabien:
+# username: fabien
+# password: changeme
+# name: Fabien Potencier
+# email: [email protected]
+# kris:
+# username: Kris.Wallsmith
+# password: changeme
+# name: Kris Wallsmith
+# email: [email protected]
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/data/fixtures/fixtures.yml
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/BaseForm.class.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/BaseForm.class.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/BaseForm.class.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,13 @@
+<?php
+
+/**
+ * Base project form.
+ *
+ * @package 1_4
+ * @subpackage form
+ * @author Your name here
+ * @version SVN: $Id: BaseForm.class.php 20147 2009-07-13 11:46:57Z
FabianLange $
+ */
+class BaseForm extends sfFormSymfony
+{
+}
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/lib/form/BaseForm.class.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/symfony
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/symfony
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/symfony 2010-04-16 00:50:05 UTC
(rev 29174)
@@ -0,0 +1,14 @@
+#!/usr/bin/env php
+<?php
+
+/*
+ * This file is part of the symfony package.
+ * (c) Fabien Potencier <[email protected]>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+chdir(dirname(__FILE__));
+require_once(dirname(__FILE__).'/config/ProjectConfiguration.class.php');
+include(sfCoreAutoload::getInstance()->getBaseDir().'/command/cli.php');
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/symfony
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/functional.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/functional.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/functional.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ * This file is part of the symfony package.
+ * (c) 2004-2006 Fabien Potencier <[email protected]>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+// guess current application
+if (!isset($app))
+{
+ $traces = debug_backtrace();
+ $caller = $traces[0];
+
+ $dirPieces = explode(DIRECTORY_SEPARATOR, dirname($caller['file']));
+ $app = array_pop($dirPieces);
+}
+
+require_once dirname(__FILE__).'/../../config/ProjectConfiguration.class.php';
+$configuration = ProjectConfiguration::getApplicationConfiguration($app,
'test', isset($debug) ? $debug : true);
+sfContext::createInstance($configuration);
+
+// remove all cache
+sfToolkit::clearDirectory(sfConfig::get('sf_app_cache_dir'));
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/functional.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/unit.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/unit.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/unit.php
2010-04-16 00:50:05 UTC (rev 29174)
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ * This file is part of the symfony package.
+ * (c) Fabien Potencier <[email protected]>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+$_test_dir = realpath(dirname(__FILE__).'/..');
+
+// configuration
+require_once dirname(__FILE__).'/../../config/ProjectConfiguration.class.php';
+$configuration = ProjectConfiguration::hasActive() ?
ProjectConfiguration::getActive() : new
ProjectConfiguration(realpath($_test_dir.'/..'));
+
+// autoloader
+$autoload =
sfSimpleAutoload::getInstance(sfConfig::get('sf_cache_dir').'/project_autoload.cache');
+$autoload->loadConfiguration(sfFinder::type('file')->name('autoload.yml')->in(array(
+ sfConfig::get('sf_symfony_lib_dir').'/config/config',
+ sfConfig::get('sf_config_dir'),
+)));
+$autoload->register();
+
+// lime
+include $configuration->getSymfonyLibDir().'/vendor/lime/lime.php';
Property changes on:
plugins/bhLDAPAuthPlugin/testapps/1_4/test/bootstrap/unit.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/web/.htaccess
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/web/.htaccess
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/web/.htaccess 2010-04-16 00:50:05 UTC
(rev 29174)
@@ -0,0 +1,22 @@
+Options +FollowSymLinks +ExecCGI
+
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+
+ # uncomment the following line, if you are having trouble
+ # getting no_script_name to work
+ #RewriteBase /
+
+ # we skip all files with .something
+ #RewriteCond %{REQUEST_URI} \..+$
+ #RewriteCond %{REQUEST_URI} !\.html$
+ #RewriteRule .* - [L]
+
+ # we check if the .html version is here (caching)
+ RewriteRule ^$ index.html [QSA]
+ RewriteRule ^([^.]+)$ $1.html [QSA]
+ RewriteCond %{REQUEST_FILENAME} !-f
+
+ # no, so we redirect to our front web controller
+ RewriteRule ^(.*)$ index.php [QSA,L]
+</IfModule>
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/web/.htaccess
___________________________________________________________________
Added: svn:executable
+ *
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/web/css/main.css
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/web/frontend_dev.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/web/frontend_dev.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/web/frontend_dev.php 2010-04-16
00:50:05 UTC (rev 29174)
@@ -0,0 +1,13 @@
+<?php
+
+// this check prevents access to debug front controllers that are deployed by
accident to production servers.
+// feel free to remove this, extend it or make something more sophisticated.
+if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
+{
+ die('You are not allowed to access this file. Check '.basename(__FILE__).'
for more information.');
+}
+
+require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
+
+$configuration = ProjectConfiguration::getApplicationConfiguration('frontend',
'dev', true);
+sfContext::createInstance($configuration)->dispatch();
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/web/frontend_dev.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/web/index.php
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/web/index.php
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/web/index.php 2010-04-16 00:50:05 UTC
(rev 29174)
@@ -0,0 +1,7 @@
+<?php
+
+
+require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
+
+$configuration = ProjectConfiguration::getApplicationConfiguration('frontend',
'prod', false);
+sfContext::createInstance($configuration)->dispatch();
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/web/index.php
___________________________________________________________________
Added: svn:executable
+ *
Added: plugins/bhLDAPAuthPlugin/testapps/1_4/web/robots.txt
===================================================================
--- plugins/bhLDAPAuthPlugin/testapps/1_4/web/robots.txt
(rev 0)
+++ plugins/bhLDAPAuthPlugin/testapps/1_4/web/robots.txt 2010-04-16
00:50:05 UTC (rev 29174)
@@ -0,0 +1,2 @@
+#User-agent: *
+#Disallow:
Property changes on: plugins/bhLDAPAuthPlugin/testapps/1_4/web/robots.txt
___________________________________________________________________
Added: svn:executable
+ *
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.