-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1379e8f
Showing
615 changed files
with
172,505 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
## Web2py License | ||
|
||
Web2py is Licensed under the LGPL license version 3 | ||
(http://www.gnu.org/licenses/lgpl.html) | ||
|
||
Copyrighted (c) by Massimo Di Pierro (2007-2013) | ||
|
||
### On Commercial Redistribution | ||
|
||
In accordance with LGPL you may: | ||
- redistribute web2py with your apps (including official web2py binary versions) | ||
- release your applications which use official web2py libraries under any license you wish | ||
But you must: | ||
- make clear in the documentation that your application uses web2py | ||
- release any modification of the web2py libraries under the LGPLv3 license | ||
|
||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. | ||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE | ||
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL | ||
NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
|
||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT | ||
HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, | ||
BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL | ||
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES | ||
OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER | ||
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. | ||
|
||
(Earlier versions of web2py, 1.0.*-1.90.*, were released under the GPL2 license plus a | ||
commercial exception which, for practical purposes, was very similar to the current LPGLv3) | ||
|
||
### Licenses for third party contributed software | ||
|
||
web2py contains third party software under the gluon/contrib/ folder. | ||
Each file/module in contrib is distributed with web2py under its original license. | ||
Here we list some of them. | ||
|
||
#### gluon.contrib.simplejson LICENSE | ||
|
||
Copyright (c) 2006 Bob Ippolito - Permission is hereby granted, free of charge, | ||
to any person obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, distribute, | ||
sublicense, and/or sell copies of the Software, and to permit persons to whom | ||
the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
#### gluon.contrib.rss2.py (originally PyRSS2Gen) LICENSE | ||
|
||
This is copyright (c) by Dalke Scientific Software, LLC and released under the | ||
BSD license. See the file LICENSE in the distribution or | ||
<http://www.opensource.org/licenses/bsd-license.php> for details. | ||
|
||
#### gluon.contrib.markdown (markdown2) LICENSE | ||
|
||
MIT License from from <http://code.google.com/p/python-markdown2/> | ||
|
||
#### gluon.contrib.feedparser LICENSE | ||
|
||
Copyright (c) 2002-2005, Mark Pilgrim | ||
|
||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
|
||
#### gluon.wsgiserver.py LICENSE (borrowed from cherrypy) | ||
|
||
Copyright (c) 2004, CherryPy Team ([email protected]) | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of the CherryPy Team nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
#### gluon.contrib.pam LICENSE | ||
|
||
Copyright (C) 2007-2009 Chris AtLee <[email protected]> Licensed under the MIT license | ||
|
||
#### gluon.contrib.shell LICENSE | ||
|
||
Copyright (C) by Google inc. Apache 2.0 Lincense | ||
|
||
#### The javascript licenses are in the code itself | ||
|
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include VERSION LICENSE |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
all: | ||
echo "The Makefile is used to build the distribution." | ||
echo "In order to run web2py you do not need to make anything." | ||
echo "just run web2py.py" | ||
clean: | ||
rm -f httpserver.log | ||
rm -f parameters*.py | ||
rm -f -r applications/*/compiled | ||
find ./ -name '*~' -exec rm -f {} \; | ||
find ./ -name '*.orig' -exec rm -f {} \; | ||
find ./ -name '*.rej' -exec rm -f {} \; | ||
find ./ -name '#*' -exec rm -f {} \; | ||
find ./ -name 'Thumbs.db' -exec rm -f {} \; | ||
find ./gluon/ -name '.*' -exec rm -f {} \; | ||
find ./gluon/ -name '*class' -exec rm -f {} \; | ||
find ./applications/admin/ -name '.*' -exec rm -f {} \; | ||
find ./applications/examples/ -name '.*' -exec rm -f {} \; | ||
find ./applications/welcome/ -name '.*' -exec rm -f {} \; | ||
find ./ -name '*.pyc' -exec rm -f {} \; | ||
epydoc: | ||
### build epydoc | ||
rm -f -r applications/examples/static/epydoc/ | ||
epydoc --config epydoc.conf | ||
cp applications/examples/static/title.png applications/examples/static/epydoc | ||
tests: | ||
python web2py.py --run_system_tests | ||
update: | ||
wget -O gluon/contrib/feedparser.py http://feedparser.googlecode.com/svn/trunk/feedparser/feedparser.py | ||
wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py | ||
echo "remember that pymysql was tweaked" | ||
src: | ||
### Use semantic versioning | ||
echo 'Version 2.5.1-stable+timestamp.'`date +%Y.%m.%d.%H.%M.%S` > VERSION | ||
### rm -f all junk files | ||
make clean | ||
### clean up baisc apps | ||
rm -f routes.py | ||
rm -f applications/*/sessions/* | ||
rm -f applications/*/errors/* | echo 'too many files' | ||
rm -f applications/*/cache/* | ||
rm -f applications/admin/databases/* | ||
rm -f applications/welcome/databases/* | ||
rm -f applications/examples/databases/* | ||
rm -f applications/admin/uploads/* | ||
rm -f applications/welcome/uploads/* | ||
rm -f applications/examples/uploads/* | ||
### make epydoc | ||
make epydoc | ||
### make welcome layout and appadmin the default | ||
cp applications/welcome/views/appadmin.html applications/admin/views | ||
cp applications/welcome/views/appadmin.html applications/examples/views | ||
cp applications/welcome/controllers/appadmin.py applications/admin/controllers | ||
cp applications/welcome/controllers/appadmin.py applications/examples/controllers | ||
### build web2py_src.zip | ||
echo '' > NEWINSTALL | ||
mv web2py_src.zip web2py_src_old.zip | echo 'no old' | ||
cd ..; zip -r web2py/web2py_src.zip web2py/gluon/*.py web2py/gluon/contrib/* web2py/splashlogo.gif web2py/*.py web2py/README.markdown web2py/LICENSE web2py/CHANGELOG web2py/NEWINSTALL web2py/VERSION web2py/Makefile web2py/epydoc.css web2py/epydoc.conf web2py/app.example.yaml web2py/logging.example.conf web2py/queue.example.yaml web2py/MANIFEST.in web2py/w2p_apps web2py/w2p_clone web2py/w2p_run web2py/web2py.cio web2py/web2py.gif web2py/scripts/*.sh web2py/scripts/*.py web2py/applications/admin web2py/applications/examples/ web2py/applications/welcome web2py/applications/__init__.py web2py/site-packages/__init__.py web2py/gluon/tests/*.sh web2py/gluon/tests/*.py | ||
|
||
mdp: | ||
make src | ||
make app | ||
make win | ||
app: | ||
python2.7 -c 'import compileall; compileall.compile_dir("gluon/")' | ||
#python web2py.py -S welcome -R __exit__.py | ||
#cd ../web2py_osx/site-packages/; unzip ../site-packages.zip | ||
#find gluon -path '*.pyc' -exec cp {} ../web2py_osx/site-packages/{} \; | ||
#cd ../web2py_osx/site-packages/; zip -r ../site-packages.zip * | ||
#mv ../web2py_osx/site-packages.zip ../web2py_osx/web2py/web2py.app/Contents/Resources/lib/python2.7 | ||
find gluon -path '*.py' -exec cp {} ../web2py_osx/web2py/web2py.app/Contents/Resources/{} \; | ||
cp README.markdown ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp NEWINSTALL ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp LICENSE ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp VERSION ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp CHANGELOG ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp splashlogo.gif ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp options_std.py ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp routes.example.py ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp router.example.py ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp app.example.yaml ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp queue.example.yaml ../web2py_osx/web2py/web2py.app/Contents/Resources | ||
cp -r applications/admin ../web2py_osx/web2py/web2py.app/Contents/Resources/applications | ||
cp -r applications/welcome ../web2py_osx/web2py/web2py.app/Contents/Resources/applications | ||
cp -r applications/examples ../web2py_osx/web2py/web2py.app/Contents/Resources/applications | ||
cp applications/__init__.py ../web2py_osx/web2py/web2py.app/Contents/Resources/applications | ||
cd ../web2py_osx; zip -r web2py_osx.zip web2py | ||
mv ../web2py_osx/web2py_osx.zip . | ||
win: | ||
python2.7 -c 'import compileall; compileall.compile_dir("gluon/")' | ||
#cd ../web2py_win/library/; unzip ../library.zip | ||
find gluon -path '*.pyc' -exec cp {} ../web2py_win/library/{} \; | ||
cd ../web2py_win/library/; zip -r ../library.zip * | ||
mv ../web2py_win/library.zip ../web2py_win/web2py | ||
cp README.markdown ../web2py_win/web2py/ | ||
cp NEWINSTALL ../web2py_win/web2py/ | ||
cp LICENSE ../web2py_win/web2py/ | ||
cp VERSION ../web2py_win/web2py/ | ||
cp CHANGELOG ../web2py_win/web2py/ | ||
cp splashlogo.gif ../web2py_win/web2py/ | ||
cp options_std.py ../web2py_win/web2py/ | ||
cp routes.example.py ../web2py_win/web2py/ | ||
cp router.example.py ../web2py_win/web2py/ | ||
cp app.example.yaml ../web2py_win/web2py/ | ||
cp queue.example.yaml ../web2py_win/web2py/ | ||
cp -r applications/admin ../web2py_win/web2py/applications | ||
cp -r applications/welcome ../web2py_win/web2py/applications | ||
cp -r applications/examples ../web2py_win/web2py/applications | ||
cp applications/__init__.py ../web2py_win/web2py/applications | ||
cd ../web2py_win; zip -r web2py_win.zip web2py | ||
mv ../web2py_win/web2py_win.zip . | ||
run: | ||
python2.7 web2py.py -a hello | ||
commit: | ||
python web2py.py --run_system_tests | ||
make src | ||
echo '' > NEWINSTALL | ||
hg commit -m "$(S)" | ||
git commit -a -m "$(S)" | ||
push: | ||
hg push | ||
git push | ||
git push --tags | ||
tag: | ||
git tag -l '$(S)' | ||
hg tag -l '$(S)' | ||
make commit S='$(S)' | ||
make push | ||
pip: | ||
# create Web2py distribution for upload to Pypi | ||
# after upload clean Web2py sources with rm -R ./dist | ||
# http://guide.python-distribute.org/creation.html | ||
python setup.py sdist | ||
sudo python setup.py register | ||
sudo python setup.py sdist upload |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
## Readme | ||
|
||
web2py is a free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. | ||
|
||
It is written and programmable in Python. LGPLv3 License | ||
|
||
Learn more at http://web2py.com | ||
|
||
|
||
## Tests | ||
|
||
[](https://travis-ci.org/web2py/web2py) | ||
|
||
[](https://coveralls.io/r/web2py/web2py) | ||
|
||
## Installation Instructions | ||
|
||
To start web2py there is NO NEED to install it. Just unzip and do: | ||
|
||
python web2py.py | ||
|
||
That's it!!! | ||
|
||
## web2py directory structure | ||
|
||
project/ | ||
README | ||
LICENSE | ||
VERSION > this web2py version | ||
web2py.py > the startup script | ||
anyserver.py > to run with third party servers | ||
wsgihandler.py > handler to connect to WSGI | ||
... > other handlers and example files | ||
gluon/ > the core libraries | ||
contrib/ > third party libraries | ||
tests/ > unittests | ||
applications/ > are the apps | ||
admin/ > web based IDE | ||
... | ||
examples/ > examples, docs, links | ||
... | ||
welcome/ > the scaffolding app (they all copy it) | ||
ABOUT | ||
LICENSE | ||
models/ | ||
views/ | ||
controllers/ | ||
sessions/ | ||
errors/ | ||
cache/ | ||
static/ | ||
uploads/ | ||
modules/ | ||
cron/ | ||
tests/ | ||
... > your own apps | ||
scripts/ > utility and installation scripts | ||
site-packages/ > additional optional modules | ||
|
||
|
||
## Issues? | ||
|
||
Report issues at http://code.google.com/p/web2py/issues/ |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 |
Oops, something went wrong.