Skip to content

Commit 61e96ec

Browse files
committed
Initial commit of scripts-pony.
0 parents  commit 61e96ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2137
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*~
2+
*.pyc
3+
*#
4+
/data/sessions/

MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
recursive-include scriptspony/public *
2+
include scriptspony/public/favicon.ico
3+
recursive-include scriptspony/i18n *
4+
recursive-include scriptspony/templates *

README.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This file is for you to describe the ScriptsPony application. Typically
2+
you would include information such as the information below:
3+
4+
Installation and Setup
5+
======================
6+
7+
Install ``ScriptsPony`` using the setup.py script::
8+
9+
$ cd ScriptsPony
10+
$ python setup.py install
11+
12+
Create the project database for any model classes defined::
13+
14+
$ paster setup-app development.ini
15+
16+
Start the paste http server::
17+
18+
$ paster serve development.ini
19+
20+
While developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the --reload option::
21+
22+
$ paster serve --reload development.ini
23+
24+
Then you are ready to go.

ScriptsPony.egg-info/PKG-INFO

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Metadata-Version: 1.0
2+
Name: ScriptsPony
3+
Version: 0.1dev
4+
Summary: UNKNOWN
5+
Home-page: UNKNOWN
6+
Author: UNKNOWN
7+
Author-email: UNKNOWN
8+
License: UNKNOWN
9+
Description: UNKNOWN
10+
Platform: UNKNOWN

ScriptsPony.egg-info/SOURCES.txt

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
MANIFEST.in
2+
README.txt
3+
setup.cfg
4+
setup.py
5+
ScriptsPony.egg-info/PKG-INFO
6+
ScriptsPony.egg-info/SOURCES.txt
7+
ScriptsPony.egg-info/dependency_links.txt
8+
ScriptsPony.egg-info/entry_points.txt
9+
ScriptsPony.egg-info/paster_plugins.txt
10+
ScriptsPony.egg-info/requires.txt
11+
ScriptsPony.egg-info/top_level.txt
12+
scriptspony/__init__.py
13+
scriptspony/websetup.py
14+
scriptspony/config/__init__.py
15+
scriptspony/config/app_cfg.py
16+
scriptspony/config/environment.py
17+
scriptspony/config/middleware.py
18+
scriptspony/controllers/__init__.py
19+
scriptspony/controllers/error.py
20+
scriptspony/controllers/root.py
21+
scriptspony/controllers/secure.py
22+
scriptspony/controllers/template.py
23+
scriptspony/i18n/ru/LC_MESSAGES/scriptspony.po
24+
scriptspony/lib/__init__.py
25+
scriptspony/lib/app_globals.py
26+
scriptspony/lib/base.py
27+
scriptspony/lib/helpers.py
28+
scriptspony/model/__init__.py
29+
scriptspony/model/auth.py
30+
scriptspony/public/favicon.ico
31+
scriptspony/public/css/style.css
32+
scriptspony/public/images/contentbg.png
33+
scriptspony/public/images/error.png
34+
scriptspony/public/images/header_inner2.png
35+
scriptspony/public/images/headerbg.png
36+
scriptspony/public/images/info.png
37+
scriptspony/public/images/inputbg.png
38+
scriptspony/public/images/loginbg.png
39+
scriptspony/public/images/loginbottombg.png
40+
scriptspony/public/images/loginheader-left.png
41+
scriptspony/public/images/loginheader-right.png
42+
scriptspony/public/images/menu-item-actibg-first.png
43+
scriptspony/public/images/menu-item-actibg.png
44+
scriptspony/public/images/menu-item-border.png
45+
scriptspony/public/images/menubg.png
46+
scriptspony/public/images/ok.png
47+
scriptspony/public/images/pagebg.png
48+
scriptspony/public/images/star.png
49+
scriptspony/public/images/strype2.png
50+
scriptspony/public/images/under_the_hood_blue.png
51+
scriptspony/public/images/warning.png
52+
scriptspony/templates/__init__.py
53+
scriptspony/templates/about.html
54+
scriptspony/templates/authentication.html
55+
scriptspony/templates/debug.html
56+
scriptspony/templates/error.html
57+
scriptspony/templates/footer.html
58+
scriptspony/templates/header.html
59+
scriptspony/templates/index.html
60+
scriptspony/templates/login.html
61+
scriptspony/templates/master.html
62+
scriptspony/templates/sidebars.html
63+
scriptspony/tests/__init__.py
64+
scriptspony/tests/functional/__init__.py
65+
scriptspony/tests/functional/test_authentication.py
66+
scriptspony/tests/functional/test_root.py
67+
scriptspony/tests/models/__init__.py
68+
scriptspony/tests/models/test_auth.py
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

ScriptsPony.egg-info/entry_points.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
[paste.app_factory]
3+
main = scriptspony.config.middleware:make_app
4+
5+
[paste.app_install]
6+
main = pylons.util:PylonsInstaller
7+
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PasteScript
2+
Pylons
3+
TurboGears2
4+
tg.devtools

ScriptsPony.egg-info/requires.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
TurboGears2 >= 2.0b7
2+
Catwalk >= 2.0.2
3+
Babel >=0.9.4
4+
toscawidgets >= 0.9.7.1
5+
zope.sqlalchemy >= 0.4
6+
repoze.tm2 >= 1.0a4

ScriptsPony.egg-info/top_level.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scriptspony

data/README

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This directory needs to be writable by daemon.scripts.

development.ini

+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
#
2+
# ScriptsPony - Pylons development environment configuration
3+
#
4+
# The %(here)s variable will be replaced with the parent directory of this file
5+
#
6+
# This file is for deployment specific config options -- other configuration
7+
# that is always required for the app is done in the config directory,
8+
# and generally should not be modified by end users.
9+
10+
[DEFAULT]
11+
debug = true
12+
# Uncomment and replace with the address which should receive any error reports
13+
14+
smtp_server = localhost
15+
error_email_from = paste@localhost
16+
17+
[server:main]
18+
use = egg:Paste#http
19+
host = b-k.mit.edu
20+
port = 8424
21+
22+
[app:main]
23+
use = egg:ScriptsPony
24+
full_stack = true
25+
#lang = ru
26+
cache_dir = %(here)s/data
27+
beaker.session.key = scriptspony
28+
beaker.session.secret = somesecret
29+
30+
# If you'd like to fine-tune the individual locations of the cache data dirs
31+
# for the Cache data, or the Session saves, un-comment the desired settings
32+
# here:
33+
#beaker.cache.data_dir = %(here)s/data/cache
34+
#beaker.session.data_dir = %(here)s/data/sessions
35+
36+
# pick the form for your database
37+
# %(here) may include a ':' character on Windows environments; this can
38+
# invalidate the URI when specifying a SQLite db via path name
39+
# sqlalchemy.url=postgres://username:password@hostname:port/databasename
40+
# sqlalchemy.url=mysql://username:password@hostname:port/databasename
41+
42+
43+
# If you have sqlite, here's a simple default to get you started
44+
# in development
45+
46+
sqlalchemy.url = sqlite:///%(here)s/devdata.db
47+
#echo shouldn't be used together with the logging module.
48+
sqlalchemy.echo = false
49+
sqlalchemy.echo_pool = false
50+
sqlalchemy.pool_recycle = 3600
51+
52+
# if you are using Mako and want to be able to reload
53+
# the mako template from disk during the development phase
54+
# you should say 'true' here
55+
# This option is only used for mako templating engine
56+
# WARNING: if you want to deploy your application using a zipped egg
57+
# (ie: if your application's setup.py defines zip-safe=True, then you
58+
# MUST put "false" for the production environment because there will
59+
# be no disk and real files to compare time with.
60+
# On the contrary if your application defines zip-safe=False and is
61+
# deployed in an unzipped manner, then you can leave this option to true
62+
templating.mako.reloadfromdisk = true
63+
64+
# the compiled template dir is a directory that must be readable by your
65+
# webserver. It will be used to store the resulting templates once compiled
66+
# by the TemplateLookup system.
67+
# During development you generally don't need this option since paste's HTTP
68+
# server will have access to you development directories, but in production
69+
# you'll most certainly want to have apache or nginx to write in a directory
70+
# that does not contain any source code in any form for obvious security reasons.
71+
#
72+
#templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access
73+
74+
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
75+
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
76+
# execute malicious code after an exception is raised.
77+
#set debug = false
78+
79+
# Logging configuration
80+
# Add additional loggers, handlers, formatters here
81+
# Uses python's logging config file format
82+
# http://docs.python.org/lib/logging-config-fileformat.html
83+
84+
[loggers]
85+
keys = root, scriptspony, sqlalchemy
86+
87+
[handlers]
88+
keys = console
89+
90+
[formatters]
91+
keys = generic
92+
93+
# If you create additional loggers, add them as a key to [loggers]
94+
[logger_root]
95+
level = INFO
96+
handlers = console
97+
98+
[logger_scriptspony]
99+
level = DEBUG
100+
handlers =
101+
qualname = scriptspony
102+
103+
[logger_sqlalchemy]
104+
level = INFO
105+
handlers =
106+
qualname = sqlalchemy.engine
107+
# "level = INFO" logs SQL queries.
108+
# "level = DEBUG" logs SQL queries and results.
109+
# "level = WARN" logs neither. (Recommended for production systems.)
110+
111+
112+
# If you create additional handlers, add them as a key to [handlers]
113+
[handler_console]
114+
class = StreamHandler
115+
args = (sys.stderr,)
116+
level = NOTSET
117+
formatter = generic
118+
119+
# If you create additional formatters, add them as a key to [formatters]
120+
[formatter_generic]
121+
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
122+
datefmt = %H:%M:%S

ez_setup/README.txt

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This directory exists so that Subversion-based projects can share a single
2+
copy of the ``ez_setup`` bootstrap module for ``setuptools``, and have it
3+
automatically updated in their projects when ``setuptools`` is updated.
4+
5+
For your convenience, you may use the following svn:externals definition::
6+
7+
ez_setup svn://svn.eby-sarna.com/svnroot/ez_setup
8+
9+
You can set this by executing this command in your project directory::
10+
11+
svn propedit svn:externals .
12+
13+
And then adding the line shown above to the file that comes up for editing.
14+
Then, whenever you update your project, ``ez_setup`` will be updated as well.

0 commit comments

Comments
 (0)