Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
825 commits
Select commit Hold shift + click to select a range
0a4c227
activation email does auto-sign user fixes #97
Oct 4, 2012
528dabc
email notifications for the fellas' #95
Oct 4, 2012
fc86fd3
Merge pull request #159 from acidlabs/auto_login
Oct 5, 2012
4920e4d
Merge pull request #160 from acidlabs/email_exceptions
Oct 5, 2012
3143efe
remove api keys examples
Oct 5, 2012
b90ac00
Try and except for Crypto, it allows working fine in dev issue #152
Oct 7, 2012
af2cd76
update html5 boilerplete to 4.0.0
Oct 7, 2012
e6e5a94
hide front end debugging
Oct 7, 2012
22ba367
Google Python Style Guide
Oct 7, 2012
ebbfa63
fix css button login for media queries
Oct 7, 2012
c9546ac
way better nav bar
Oct 8, 2012
0af8047
Version: Google App Engine Boilerplate 2.2.0.457pre (g295feba)
Oct 8, 2012
16dd480
fixes bug #163
peta15 Oct 8, 2012
3de963f
Fix Twitter and Facebook logins
sergue1 Oct 8, 2012
e7342af
Merge pull request #164 from peta15/master
Oct 9, 2012
a1417a3
Merge pull request #165 from sergue1/master
Oct 9, 2012
517730c
Rename macros for social auth, fix empty value for p.value
Oct 9, 2012
2032268
better manage for statics. Now statics' boilerplate are separated fro…
Oct 9, 2012
b0de301
remove comments from css
Oct 9, 2012
e0bf6e7
boilerplate css is now only one a css that imports bottstrap
Oct 9, 2012
9c37739
rename base boilerplate
Oct 9, 2012
1204e97
Control for reCaptcha erro when Keys are not configured
Oct 9, 2012
5a610f2
pip install mock for test
Oct 9, 2012
4825726
google analytics domain (optional) if you need multiple subdomains
Oct 9, 2012
de77ac1
Fix unit test for test_password_reset
Oct 10, 2012
61e327a
Added multiple config files and an example to select them according t…
tmeryu Oct 10, 2012
70c87ae
Fixed bug when using contact form with some linux distros (eg. Mint)
tmeryu Oct 10, 2012
0cc1458
Added dist to the OS name at contact handler.
tmeryu Oct 10, 2012
712b391
Merge with boilerplate 2.2
tmeryu Oct 10, 2012
3bf8b58
Fixed config imports broken on last merge
tmeryu Oct 10, 2012
0504979
Add Github Logins for #146
kordless Oct 10, 2012
4b3c7a4
Remove dev environment testing
kordless Oct 11, 2012
69dbcb1
Merge branch 'master' of git://github.com/coto/gae-boilerplate
kordless Oct 11, 2012
9f4ff91
Update boilerplate/templates/boilerplate_home.html
Oct 14, 2012
3d97f12
Remove if block for whether we're running in dev or not - travis does…
kordless Oct 14, 2012
b9b3982
Fixed check_auth URL to use Twitter's new API paths
kordless Oct 14, 2012
0ede707
Changed test to include new URL for Twitter API.
kordless Oct 14, 2012
6bcc1e0
Merge pull request #166 from TinyProbe/master
Oct 15, 2012
12f9d87
project addition and viewing
Oct 15, 2012
51734d6
Fix openid login: properly display 'association added' message
sergue1 Oct 18, 2012
3c5568c
fix some spaces in the code, better social engineering security match…
Oct 18, 2012
7f44cb1
way better security, now the password is hashed with SHA512 only and …
Oct 18, 2012
2904e76
version 2.2.0-beta rev481 (g39c9e33)
Oct 18, 2012
91aceb5
Merge pull request #169 from sergue1/master
Oct 19, 2012
0a2fb24
Update README.md
iROOT Oct 20, 2012
779cb95
edit and remove project
Oct 20, 2012
79d45a1
carousel img resize
Oct 20, 2012
137ff6b
Merge pull request #170 from iroot/patch-1
Oct 20, 2012
42d4d08
Added Russian
iROOT Oct 20, 2012
00fe7fc
Added Russian language in config.py
iROOT Oct 20, 2012
32e50db
Update README.md
iROOT Oct 20, 2012
15750bb
Merge pull request #172 from iroot/patch-1
Oct 21, 2012
7209058
Merge pull request #171 from iroot/master
Oct 21, 2012
e9550c4
2 small fixes to tests
peta15 Oct 21, 2012
319e514
fixed tests to reflect the new warning message in password reset. Now
peta15 Oct 21, 2012
a0a253f
Merge pull request #173 from peta15/master
peta15 Oct 21, 2012
3e18daa
config updated to include all configuration parameters in the webapp2
peta15 Oct 22, 2012
71345cd
Merge remote-tracking branch 'upstream/master'
peta15 Oct 22, 2012
675665c
Merge pull request #174 from peta15/master
peta15 Oct 22, 2012
d4bea89
New config.py and tests.py in the root and web modules respectively to
peta15 Oct 22, 2012
52695ee
Merge pull request #175 from peta15/master
peta15 Oct 22, 2012
23847e6
added template file names to boilerplate config so that they can be
peta15 Oct 23, 2012
66fc46d
Merge pull request #176 from peta15/master
peta15 Oct 23, 2012
f28b440
added basic validation
Oct 23, 2012
1126db7
Fix #167
sergue1 Oct 23, 2012
8e747c6
Improved twitter login
sergue1 Oct 23, 2012
ad6214a
reverts #176 and changes template names in the boilerplate module to
peta15 Oct 23, 2012
1e41af7
Merge pull request #180 from peta15/master
Oct 24, 2012
1b08710
Merge pull request #177 from sergue1/master
Oct 24, 2012
b8bd8e4
Merge pull request #178 from sergue1/twitter-improved
Oct 24, 2012
7dc6a98
revert css file and put github icon styles fix #181
Oct 24, 2012
c758e35
Merge branch 'master' of github.com:coto/gae-boilerplate
tmeryu Oct 24, 2012
ed351f2
Merge pull request #182 from tmeryu/master
Oct 24, 2012
0f3d191
Better workaround for PyCrypto issue #179
Oct 24, 2012
81f664c
version 2.2.0 beta rev-516 (g9b1f961)
Oct 24, 2012
062d0b6
remove references to user config added from #182. The boilerplate
peta15 Oct 25, 2012
5c25af6
Merge pull request #183 from peta15/master
Oct 25, 2012
da12710
project screenshots now use image api, small bug fixes, cosmetic changes
Oct 28, 2012
1968a95
Unicode issues with hmac.py
kordless Oct 30, 2012
abc843b
added validations
Oct 31, 2012
1669533
Merge pull request #185 from TinyProbe/master
Oct 31, 2012
e19d02c
added author field to Project model
Oct 31, 2012
7112b1a
fixed problem with select element in edit template
Nov 1, 2012
cf5d63c
moved js to a separate file
Nov 1, 2012
be41a93
edit project bug fixes
Nov 1, 2012
bf43841
Add basic admin features
sergue1 Nov 1, 2012
d2f242a
Reuse base.html in admin/base.html to avoid duplications and rename
sergue1 Nov 2, 2012
11cd23a
cosmetic changes to the code
Nov 2, 2012
791c54a
Test for performance regression issue #190
sergue1 Nov 4, 2012
ef15cb3
Fix #184
sergue1 Nov 4, 2012
860c376
final commit before merging with jzegan's repo
Nov 6, 2012
0cee86d
merge with jzegan's branch
Nov 6, 2012
4f9a644
Merge pull request #186 from sergue1/master
peta15 Nov 7, 2012
ab5aa74
Merge pull request #192 from sergue1/184-issue
peta15 Nov 7, 2012
446cbc0
added maxlength and required
Nov 7, 2012
79d073a
Merge pull request #191 from sergue1/perf-issue
Nov 7, 2012
02f3b9f
updated errors css path
tmayr Nov 7, 2012
f6a7f3a
Merge pull request #196 from tmayr/master
Nov 7, 2012
d80048c
Added error type, traceback and environment to error mail.
tmeryu Nov 7, 2012
a4d33be
Merge pull request #198 from tmeryu/master
Nov 7, 2012
8c38086
Add admin logout
sergue1 Nov 7, 2012
69a3c8c
Add link back to register on login page
peta15 Nov 8, 2012
6c61c0c
add useful util for parsing ints from routes to be able to use both
peta15 Nov 8, 2012
cffc951
Fixes #189. When users access handlers with user_required decorators
peta15 Nov 8, 2012
08fd9e4
Merge pull request #199 from sergue1/master
peta15 Nov 8, 2012
3b28080
Merge pull request #200 from peta15/master
peta15 Nov 8, 2012
9d61f67
Add Geochart
sergue1 Nov 8, 2012
bd2d107
cleaned up config a little
peta15 Nov 8, 2012
9986cbc
error handlers activated directly via config settings and mail to
peta15 Nov 9, 2012
0fe8175
Merge pull request #201 from sergue1/master
Nov 9, 2012
b07f0ba
reduce size of buttons on Login view
Nov 9, 2012
3a4cd11
Update Twitter Bootstrap 2.1.1 -> 2.2.1
Nov 9, 2012
acb29eb
Merge remote-tracking branch 'origin/master'
Nov 9, 2012
57a181b
Won't allow a user to delete their only federated login if they don't…
kevinvanderlugt Nov 9, 2012
c67659d
Adding checks in DeleteSocialProviderHandler to make sure a user can'…
kevinvanderlugt Nov 10, 2012
78b52e1
Fixes #194. github fixed. Thanks to @kordless for the handler
peta15 Nov 10, 2012
07795a0
Fix performance regression for pages with login form
sergue1 Nov 10, 2012
b8bb6ef
Merge pull request #204 from kevinvanderlugt/develop
peta15 Nov 10, 2012
fcf19a3
Merge pull request #203 from peta15/master
peta15 Nov 10, 2012
a970d5b
Clarifying configuration changes to point starting users to the corre…
kevinvanderlugt Nov 10, 2012
c193e2a
Merge pull request #206 from kevinvanderlugt/develop
peta15 Nov 10, 2012
4223d90
Fixes #207. Twitter oauth fixed
peta15 Nov 10, 2012
9d1e6e5
Merge pull request #208 from peta15/master
peta15 Nov 10, 2012
fd95518
Add test for creating new twitter asociations
sergue1 Nov 11, 2012
ec4c664
Merge commit '74723cdcfdfcdf3ff6caafa3c1687fd3073d6b1c'
sergue1 Nov 11, 2012
83cea85
Merge pull request #209 from sergue1/207-issue
peta15 Nov 11, 2012
947d7cc
Merge pull request #205 from sergue1/master
peta15 Nov 11, 2012
c46a1f1
rename base_config.py to config.py. its simpler and matches the docs.
peta15 Nov 11, 2012
d3499b9
sentence fix
peta15 Nov 12, 2012
922f452
updated config docs
peta15 Nov 12, 2012
a9f1b25
added test for unittest config
peta15 Nov 12, 2012
05c413b
Merge pull request #210 from peta15/master
peta15 Nov 13, 2012
3e55be4
Fixes #98. Ouath logins now register new users automatically.
peta15 Nov 13, 2012
5978a01
Merge pull request #212 from peta15/master
peta15 Nov 13, 2012
cdcd0fd
Merge branch 'master' of https://github.com/nitishsp/udacityplus into…
joshz Nov 15, 2012
71f8f6e
bcrypt submodule
joshz Nov 15, 2012
84e9eeb
paths to gae and absolute path fix, should work for win/posix, if gae…
joshz Nov 15, 2012
fd4af0c
delete return todo
joshz Nov 18, 2012
e0b2515
Added pt_BR translations.
cadusk Nov 22, 2012
f231191
Fixed jquery_validations localization static path.
cadusk Nov 22, 2012
73e389c
Merge pull request #217 from cadusk/ptbr
peta15 Nov 24, 2012
523b55d
Merge pull request #217 from cadusk/ptbr
peta15 Nov 24, 2012
24bdd71
added twitter account and google group info
Nov 27, 2012
d989a7a
added twitter account and google group info
Nov 27, 2012
0d5afc6
more twitter fluff
Nov 27, 2012
a37ea92
more twitter fluff
Nov 27, 2012
a2a0fa4
moving files to common directory - step1
joshz Nov 28, 2012
05e44b9
temp move
joshz Nov 28, 2012
2604b02
pulling gae-boilerplate
joshz Nov 28, 2012
b8efc08
get gae-boilerplate, move app to web
joshz Nov 28, 2012
9005e70
default settings
joshz Nov 28, 2012
a545300
bcrypt
joshz Nov 28, 2012
c82596b
profiles/messaging/chat integration - working on profiles editing
joshz Dec 2, 2012
3b820a0
this directory will be removed in the future, may still contain usefu…
joshz Dec 2, 2012
0103911
fix user profile display and editing, no projects
joshz Dec 5, 2012
841a8c3
cleanup and bugfixes
joshz Dec 5, 2012
a21b47e
moved file, gravatar get
joshz Dec 5, 2012
77c5659
moved function out
joshz Dec 5, 2012
5cf7734
minor renaming
joshz Dec 5, 2012
03e20a8
removed redundant button
joshz Dec 5, 2012
71006f2
added gravatar url
joshz Dec 5, 2012
8b1ad37
renamed property
joshz Dec 5, 2012
c8b1c47
courses to format useful in wtforms
joshz Dec 5, 2012
c6fbd2a
deleted
joshz Dec 5, 2012
2cb65ba
removed redundant import
joshz Dec 5, 2012
36d7e25
cosmetics
joshz Dec 5, 2012
37b460c
add bcrypt submodule to profiles
joshz Dec 5, 2012
f97ac01
removed bcrypt
joshz Dec 5, 2012
469c679
removed bcrypt
joshz Dec 5, 2012
8855bb0
moved conditional
joshz Dec 5, 2012
9b6f54d
added csrf tokens
joshz Dec 5, 2012
9244f4b
Redirect routes, catchall (profile) route,
joshz Dec 11, 2012
89c12de
added url to course
joshz Dec 11, 2012
3b0c4e8
added EditSettingsForm, MessageForm and validation
joshz Dec 11, 2012
499e029
friends to memcache, diff method for getting user keys
joshz Dec 11, 2012
d8fc7d7
separated various handlers, simplified code
joshz Dec 11, 2012
d18fe86
simplified code, using wtforms, boilerplate
joshz Dec 11, 2012
6ad9b96
use project base handler, not boilerplate
joshz Dec 11, 2012
eb7d6df
add common user messaging form (right panel) and template params
joshz Dec 11, 2012
16115e8
modal contact form macro (right panel)
joshz Dec 11, 2012
2515c02
added modified or fixed: search, right panel urls, alert panel
joshz Dec 11, 2012
f0c4d47
simplified code
joshz Dec 11, 2012
bfb7514
fixed for new controller, simplified, added csrf
joshz Dec 11, 2012
91399d4
removed redundant script
joshz Dec 11, 2012
5fc0a6e
changed template param, was conflicting with boilerplate
joshz Dec 11, 2012
38ed7df
code for wtforms, jquery.validate
joshz Dec 11, 2012
3a0da51
simplified urls
joshz Dec 11, 2012
c35e491
user search by post, with csrf, changed results formatting
joshz Dec 11, 2012
84888db
removed mode param, added csrf
joshz Dec 11, 2012
e721e8a
added
joshz Dec 11, 2012
da4fe1a
peer list formatting
joshz Dec 11, 2012
b7be2c0
added
joshz Dec 11, 2012
d6e000c
added some jinja globals
joshz Dec 11, 2012
d957b80
auto generated indexes
joshz Dec 11, 2012
790a692
nothing
joshz Dec 11, 2012
950ff3f
pulling constants out of config
joshz Dec 11, 2012
2d80b11
simplified code, using wtforms, secured handlers
joshz Dec 11, 2012
fce978e
use post, secured
joshz Dec 11, 2012
7a53e09
use post, secured
joshz Dec 11, 2012
1f26f10
added
joshz Dec 11, 2012
8dab33f
added
joshz Dec 11, 2012
b0300e6
added
joshz Dec 11, 2012
be13572
added - user settings form
joshz Dec 11, 2012
594a40a
added - settings handlers
joshz Dec 11, 2012
099b3da
localhost bulk upload script, convenience
joshz Dec 11, 2012
1d75290
removed redundant
joshz Dec 11, 2012
5b2590e
update gae-boilerplate - Merge branch 'master' of https://github.com/…
joshz Dec 11, 2012
0210a22
removed old comments
joshz Dec 11, 2012
acec832
moved to ndb
joshz Dec 11, 2012
9747e8d
moved chat templates
joshz Dec 11, 2012
25c2f7a
chat integration - splitting to files
joshz Dec 11, 2012
47fec59
added authors
joshz Dec 11, 2012
3412173
handling non public profiles
joshz Dec 11, 2012
b1df581
integrated chat
joshz Dec 11, 2012
afd2b7c
removed header
joshz Dec 11, 2012
7bda6b1
deleted, integrated
joshz Dec 11, 2012
3dd5b26
get all courses for channel creation
joshz Dec 11, 2012
c7a1c7e
secure handler
joshz Dec 11, 2012
b765f04
altered formatting and added optional list item with links not forms…
joshz Dec 12, 2012
f3d288a
added jquery post submit for chat rooms (left menu) - commented
joshz Dec 12, 2012
0bdf77b
convenience functions for chat
joshz Dec 12, 2012
b0fede2
added
joshz Dec 12, 2012
7efc79b
footer text
joshz Dec 12, 2012
e062c54
logged in users use different template
joshz Dec 12, 2012
27ae95d
logged in users use different template
joshz Dec 12, 2012
9ec0e41
remove string
joshz Dec 12, 2012
0aa05f3
profile edit authorization
joshz Dec 12, 2012
6343bed
global chatroom
joshz Dec 12, 2012
dc94576
change field order
joshz Dec 12, 2012
dd0620a
2 week expire
joshz Dec 12, 2012
cb89009
Merge branch 'dev_jz'
joshz Dec 12, 2012
efb58d5
no submodules
joshz Dec 12, 2012
84f96ad
added
joshz Dec 12, 2012
c1ba83d
deleted
joshz Dec 12, 2012
583dbab
added message
joshz Dec 12, 2012
2e140e8
changed application name
joshz Dec 12, 2012
bc4ac0f
don'g need path_to_app for remote
joshz Dec 12, 2012
93163b0
changed app name
joshz Dec 12, 2012
4ab7eb2
changed site address and enabled error templates
joshz Dec 12, 2012
35439b8
production config (do review)
joshz Dec 12, 2012
83fa008
updated
joshz Dec 12, 2012
7a51e92
remove duplicated courses
joshz Dec 12, 2012
c80371e
forgot message content
joshz Dec 12, 2012
0fe82cb
add check global channel
joshz Dec 12, 2012
5952d12
updated - why user search doesn't auto-happen
joshz Dec 12, 2012
d8d2477
update user search description
joshz Dec 12, 2012
b117589
change user model to web.models from boilerplate.models one
joshz Dec 12, 2012
5d70494
search description update
joshz Dec 12, 2012
0eee6f0
Merge branch 'master' of https://github.com/joshz/udacityplus
joshz Dec 12, 2012
d471ac8
modified login and signup buttons.
ArslanRafique Dec 18, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 35 additions & 3 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
*.pyc
.project
*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
#*.mo

#Mr Developer
.mr.developer.cfg

# IDEs
.DS_Store
.idea
*.lint
.pydevproject
.settings/
.project
.settings*

3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "uplusmessaging/externals/bcrypt"]
path = uplusmessaging/externals/bcrypt
url = https://github.com/erlichmen/py-bcrypt.git
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: python
python:
- "2.7"
# command to install dependencies
install:
- curl -O http://googleappengine.googlecode.com/files/google_appengine_1.7.2.zip && unzip -q google_appengine_1.7.2.zip
- pip install webtest
- pip install pyquery
- pip install pycrypto
- pip install mock
# command to run tests
script: python testrunner.py google_appengine .
184 changes: 184 additions & 0 deletions COPYING.LESSER
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
Google App Engine Boilerplate is released under the LGPL

Copyright 2012

What's LGPL?
LGPL (LESSER GENERAL PUBLIC LICENSE) is a free software license published by
the Free Software Foundation (FSF).
It was designed as a compromise between the strong-copyleft GNU General Public
License (GPL) and permissive licenses such as the BSD licenses and the MIT License.

Why this Licence for Google App Engine Boilerplate?
Because with this licence you can use "Google App Engine Boilerplate" regardless
of whether it is free software or proprietary software.

If you make changes to this Boilerplate, in order to improve something or fix
an issue, you should share under the same licence those changes.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
13 changes: 0 additions & 13 deletions LICENSE.md

This file was deleted.

47 changes: 47 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

GAEPATH = $(HOME)/bin/google_appengine
PORT=8089

PYLINTS = $(wildcard *.py \
libs/*.py \
)
PYLINTFILES = $(patsubst %.py,.%.lint,$(notdir $(PYLINTS)))
PYLINT = $(join $(dir $(PYLINTS)),$(PYLINTFILES))

PYTHONPATH=$(GAEPATH):$(GAEPATH)/lib/yaml/lib:$(GAEPATH)/lib/webob:$(GAEPATH)/lib/webapp2:$(GAEPATH)/lib/jinja2:.

APP=$(shell grep 'application:' app.yaml | sed -e 's/^application:\s*//g')
BRANCH=master

run:
$(GAEPATH)/dev_appserver.py ./ --port=$(PORT) --datastore_path=/tmp/$(APP).dev_appserver.datastore


.%.lint: %.py
@PYTHONPATH=$(PYTHONPATH) pychecker --only --no-miximport --no-override -Z __website__,__author__,__all__,__version__ $?
@touch $@


lint: $(PYLINT)


clean:
-rm ${PYLINT}


push: lint
git push origin $(BRANCH)


upload:
$(GAEPATH)/appcfg.py update --skip_sdk_update_check ./


push-and-upload: push upload


python:
PYTHONPATH=$(PYTHONPATH) python


.PHONY: run lint clean push upload push-and-upload python
24 changes: 19 additions & 5 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
udacityplus
===========
General
-------
Application is in `web` directory. Top level directories take precedence over ones in `boilerplate`, hence some are duplicated. Please don't alter anything in `boilerplate` directory.

stylized **U+**
Some files are unused, I just didn't get around to cleanup. Some code may crash and be insecure against unauthorized requests.

The Udacity Collaborative Social Network
~~Users don't get automatically added to search index due to processing required to do that being executed only after user edits their profile. Registration triggers boilerplate User class (in boilerplate/models), profile triggers app specific User (in web/models).~~done, so new users get auto-put in search

http://udacityplus.appspot.com
Bulk data
---------
Course data is in `data/` directory. For remote deployment, upload the application before uploading data. Instructions for uploading data are in `bulkuploader.md`, some convenience code in `bulkup.sh` (for local) and `bulkup_remote.sh` (for remote).

update gae-boilerplate with:
----------------------------

```
git pull bootstrap master
```

OpenID
------
Not configured
File renamed without changes.
20 changes: 20 additions & 0 deletions admin/routes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from webapp2_extras.routes import RedirectRoute
from webapp2_extras.routes import PathPrefixRoute
import users


_routes = [
PathPrefixRoute('/admin', [
RedirectRoute('/logout/', users.Logout, name='admin-logout', strict_slash=True),
RedirectRoute('/geochart/', users.Geochart, name='geochart', strict_slash=True),
RedirectRoute('/users/', users.List, name='user-list', strict_slash=True),
RedirectRoute('/users/<user_id>/', users.Edit, name='user-edit', strict_slash=True, handler_method='edit')
])
]

def get_routes():
return _routes

def add_routes(app):
for r in _routes:
app.router.add(r)
25 changes: 25 additions & 0 deletions admin/templates/admin/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% import 'admin/macros.html' as lib with context %}

{% block navbar %}
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-chevron-down icon"></span>
</button>
<a class="brand" href="{{ uri_for('user-list') }}">{{ app_name }}</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="{{ uri_for('geochart') }}">{% trans %}Big Picture{% endtrans %}</a></li>
</ul>
<ul class="nav pull-right">
<li class="divider-vertical"></li>
<li><a href="{{ uri_for('admin-logout') }}">{% trans %}Logout{% endtrans %}</a></li>
</ul>
</div><!-- /navbar-collapse -->
</div><!-- /navbar-inner -->
</div><!-- /navbar -->
{% endblock %}

{% block subnavbar %}
{% endblock %}
Loading