This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial import, making this open source for anyone to build, setup an…
…d contribute. Really old code base :(, last updated on June 6th of 2009 -- many bugs that were fixed are not being included in this commit
- Loading branch information
Josh Perez
committed
Feb 10, 2011
0 parents
commit 79de1ad
Showing
211 changed files
with
18,865 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
# default values | |||
#all: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
default: | |||
enabled: off | |||
with_layout: false | |||
lifetime: 86400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<?php | |||
|
|||
// include project configuration | |||
include(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); | |||
|
|||
// symfony bootstraping | |||
require_once($sf_symfony_lib_dir.'/util/sfCore.class.php'); | |||
sfCore::bootstrap($sf_symfony_lib_dir, $sf_symfony_data_dir); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
cli: | |||
controller: | |||
class: sfConsoleController | |||
request: | |||
class: sfConsoleRequest | |||
response: | |||
class: sfConsoleResponse | |||
|
|||
test: | |||
storage: | |||
class: sfSessionTestStorage | |||
|
|||
all: | |||
# controller: | |||
# class: sfFrontWebController | |||
# | |||
# request: | |||
# class: sfWebRequest | |||
# | |||
# response: | |||
# class: sfWebResponse | |||
# | |||
# user: | |||
# class: myUser | |||
# | |||
storage: | |||
class: sfSessionStorage | |||
param: | |||
session_name: lsdjie | |||
# | |||
# view_cache: | |||
# class: sfFileCache | |||
# param: | |||
# automaticCleaningFactor: 0 | |||
# cacheDir: %SF_TEMPLATE_CACHE_DIR% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
rendering: ~ | |||
web_debug: ~ | |||
security: ~ | |||
|
|||
# generally, you will want to insert your own filters here | |||
|
|||
cache: ~ | |||
common: ~ | |||
flash: ~ | |||
execution: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
#all: | |||
# default_culture: en | |||
# source: XLIFF | |||
# debug: off | |||
# cache: on | |||
# untranslated_prefix: "[T]" | |||
# untranslated_suffix: "[/T]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
prod: | |||
enabled: off | |||
level: err | |||
rotate: on | |||
purge: off | |||
|
|||
#all: | |||
# enabled: on | |||
# level: debug | |||
# rotate: off | |||
# period: 7 | |||
# history: 10 | |||
# purge: on | |||
# loggers: | |||
# sf_web_debug: | |||
# class: sfWebDebugLogger | |||
# param: | |||
# condition: %SF_WEB_DEBUG% | |||
# sf_file_debug: | |||
# class: sfFileLogger | |||
# param: | |||
# file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
# default rules | |||
homepage: | |||
url: / | |||
param: { module: instrument, action: list } | |||
|
|||
default_symfony: | |||
url: /symfony/:action/* | |||
param: { module: default } | |||
|
|||
default_index: | |||
url: /:module | |||
param: { action: index } | |||
|
|||
default: | |||
url: /:module/:action/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
default: | |||
is_secure: on | |||
credentials: admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,102 @@ | |||
prod: | |||
.settings: | |||
no_script_name: off | |||
|
|||
dev: | |||
.settings: | |||
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?> | |||
web_debug: on | |||
cache: off | |||
no_script_name: off | |||
etag: off | |||
|
|||
test: | |||
.settings: | |||
error_reporting: <?php echo (E_ALL | E_STRICT & ~E_NOTICE)."\n" ?> | |||
cache: off | |||
web_debug: off | |||
no_script_name: off | |||
etag: off | |||
|
|||
#all: | |||
# .actions: | |||
# default_module: default # Default module and action to be called when | |||
# default_action: index # A routing rule doesn't set it | |||
# | |||
# error_404_module: default # To be called when a 404 error is raised | |||
# error_404_action: error404 # Or when the requested URL doesn't match any route | |||
# | |||
# login_module: default # To be called when a non-authenticated user | |||
# login_action: login # Tries to access a secure page | |||
# | |||
# secure_module: default # To be called when a user doesn't have | |||
# secure_action: secure # The credentials required for an action | |||
# | |||
# module_disabled_module: default # To be called when a user requests | |||
# module_disabled_action: disabled # A module disabled in the module.yml | |||
# | |||
# unavailable_module: default # To be called when a user requests a page | |||
# unavailable_action: unavailable # From an application disabled via the available setting below | |||
# | |||
# .settings: | |||
# available: on # Enable the whole application. Switch to off to redirect all requests to the unavailable module and action. | |||
# | |||
# # Optional features. Deactivating unused features boots performance a bit. | |||
# use_database: on # Enable database manager. Set to off if you don't use a database. | |||
# use_security: on # Enable security features (login and credentials). Set to off for public applications. | |||
# use_flash: on # Enable flash parameter feature. Set to off if you never use the set_flash() method in actions. | |||
# i18n: off # Enable interface translation. Set to off if your application should not be translated. | |||
# check_symfony_version: off # Enable check of symfony version for every request. Set to on to have symfony clear the cache automatically when the framework is upgraded. Set to off if you always clear the cache after an upgrade. | |||
# use_process_cache: on # Enable symfony optimizations based on PHP accelerators. Set to off for tests or when you have enabled a PHP accelerator in your server but don't want symfony to use it internally. | |||
# compressed: off # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler. | |||
# check_lock: off # Enable the application lock system triggered by the clear-cache task. Set to on to have all requests redirected to the $sf_symfony_data_dir/web/arrors/unavailable.php page during the clear-cache process. | |||
# | |||
# # Output escaping settings | |||
# escaping_strategy: bc # Determines how variables are made available to templates. Accepted values: bc, both, on, off. The value off deactivates escaping completely and gives a slight boost. | |||
# escaping_method: ESC_ENTITIES # Function or helper used for escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS, ESC_JS_NO_ENTITIES. | |||
# | |||
# # Routing settings | |||
# relative_url_root: # Default URL prefix. Use this when your symfony project is installed in a sub directory of the apache document root. | |||
# suffix: . # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on. | |||
# no_script_name: off # Enable the front controller name in generated URLs | |||
# | |||
# # Validation settings, used for error generation by the Validation helper | |||
# validation_error_prefix: ' ↓ ' | |||
# validation_error_suffix: ' ↓' | |||
# validation_error_class: form_error | |||
# validation_error_id_prefix: error_for_ | |||
# | |||
# # Cache settings | |||
# cache: off # Enable the template cache | |||
# etag: on # Enable etag handling | |||
# | |||
# # Logging and debugging settings | |||
# web_debug: off # Enable the web debug toolbar | |||
# error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged. The default value is E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR = 341 | |||
# | |||
# # Assets paths | |||
# rich_text_js_dir: js/tiny_mce | |||
# prototype_web_dir: /sf/prototype | |||
# admin_web_dir: /sf/sf_admin | |||
# web_debug_web_dir: /sf/sf_web_debug | |||
# | |||
# # Helpers included in all templates by default | |||
# standard_helpers: [Partial, Cache, Form] | |||
# | |||
# # Activated modules from plugins or from the symfony core | |||
# enabled_modules: [default] | |||
# | |||
# # Charset used for the response | |||
# charset: utf-8 | |||
# | |||
# # Miscellaneous | |||
# strip_comments: on # Remove comments in core framework classes as defined in the core_compile.yml | |||
# autoloading_functions: ~ # Functions called when a class is requested and this it is not already loaded. Expects an array of callables. Used by the framework bridges. | |||
# timeout: 1800 # Session timeout, in seconds | |||
# max_forwards: 5 | |||
# path_info_array: SERVER | |||
# path_info_key: PATH_INFO | |||
# url_format: PATH | |||
# | |||
# # ORM | |||
# orm: propel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
default: | |||
http_metas: | |||
content-type: text/html | |||
|
|||
metas: | |||
title: LSDJ Patch Book - Admin Panel | |||
robots: index, nofollow | |||
keywords: lsdj | |||
language: en | |||
|
|||
stylesheets: [main] | |||
|
|||
javascripts: [] | |||
|
|||
has_layout: on | |||
layout: layout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
<?php | |||
|
|||
class myUser extends sfBasicSecurityUser | |||
{ | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
<?php | |||
|
|||
/** | |||
* bank actions. | |||
* | |||
* @package lsdj-patches | |||
* @subpackage bank | |||
* @author Your name here | |||
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $ | |||
*/ | |||
class bankActions extends autobankActions | |||
{ | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
generator: | |||
class: sfPropelAdminGenerator | |||
param: | |||
model_class: Bank | |||
theme: default | |||
list: | |||
display: [name, owner, share, updated_at] | |||
object_actions: | |||
_delete: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
<?php | |||
|
|||
/** | |||
* comment actions. | |||
* | |||
* @package lsdj-patches | |||
* @subpackage comment | |||
* @author Your name here | |||
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $ | |||
*/ | |||
class commentActions extends autocommentActions | |||
{ | |||
|
|||
public function executeEdit() { | |||
$this->forward404Unless(false); | |||
} | |||
|
|||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
generator: | |||
class: sfPropelAdminGenerator | |||
param: | |||
model_class: Comment | |||
theme: default | |||
list: | |||
display: [instrument, author, comment, created_at] | |||
object_actions: | |||
_delete: ~ | |||
|
|||
edit: | |||
display: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
<?php | |||
|
|||
/** | |||
* instrument actions. | |||
* | |||
* @package lsdj-patches | |||
* @subpackage instrument | |||
* @author Your name here | |||
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $ | |||
*/ | |||
class instrumentActions extends autoinstrumentActions | |||
{ | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
generator: | |||
class: sfPropelAdminGenerator | |||
param: | |||
model_class: Instrument | |||
theme: default | |||
|
|||
list: | |||
# fields: | |||
# id: { credentials: [subscriber] } | |||
display: [name, type, owner, author, share, popularity, updated_at] | |||
object_actions: | |||
_edit: ~ | |||
_delete: ~ | |||
max_per_page: 50 | |||
|
|||
edit: | |||
display: [id, name, stripped, type, owner, description, author, author_strip, popularity, updated_at] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,13 @@ | |||
<?php | |||
|
|||
/** | |||
* tags actions. | |||
* | |||
* @package lsdj-patches | |||
* @subpackage tags | |||
* @author Your name here | |||
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $ | |||
*/ | |||
class tagsActions extends autotagsActions | |||
{ | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
generator: | |||
class: sfPropelAdminGenerator | |||
param: | |||
model_class: Tags | |||
theme: default | |||
list: | |||
display: [instrument, user, tag] | |||
object_actions: | |||
_delete: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,18 @@ | |||
<?php | |||
|
|||
/** | |||
* user actions. | |||
* | |||
* @package lsdj-patches | |||
* @subpackage user | |||
* @author Your name here | |||
* @version SVN: $Id: actions.class.php 2288 2006-10-02 15:22:13Z fabien $ | |||
*/ | |||
class userActions extends autouserActions | |||
{ | |||
|
|||
public function executeEdit() { | |||
$this->forward404Unless(false); | |||
} | |||
|
|||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
generator: | |||
class: sfPropelAdminGenerator | |||
param: | |||
model_class: User | |||
theme: default | |||
|
|||
list: | |||
display: [username, realname, location, is_admin] | |||
object_actions: | |||
_delete: ~ | |||
fields: | |||
realname: { name: Name } |
Oops, something went wrong.