-
Notifications
You must be signed in to change notification settings - Fork 23
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 f3a1a70
Showing
276 changed files
with
78,944 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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
*.pyc | ||
*.py~ | ||
*.js~ | ||
*.egg | ||
*.sqlite | ||
*_flymake.py | ||
|
||
.coverage | ||
nosetests.xml | ||
|
||
.project | ||
.idea | ||
.pydevproject | ||
.ropeproject | ||
.settings | ||
.dir-locals.el | ||
.emacs.desktop | ||
.emacs.desktop.lock | ||
|
||
[Nn]6*.egg-info/ | ||
|
||
/N6Portal/*.ini~ | ||
/N6Portal/*_local.ini | ||
/N6RestApi/*.ini~ | ||
/N6RestApi/*_local.ini | ||
|
||
/N6*/build/ | ||
/N6*/dist/ | ||
/N6*/docs/build/ | ||
|
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,2 @@ | ||
include *.txt *.rst *.conf *.wsgi | ||
recursive-include n6adminpanel *.conf *.html *.png |
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,3 @@ | ||
#!/usr/bin/python | ||
from n6adminpanel.app import get_app | ||
application = get_app() |
Empty file.
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,54 @@ | ||
# IMPORTANT: this file should be copied to the "~/.n6" or "/etc/n6" | ||
# directory and adjusted appropriately -- SEE THE COMMENTS BELOW... | ||
|
||
|
||
|
||
[admin_panel] | ||
|
||
## the value of `app_secret_key` must be set to some unpredictable | ||
## secret -- you can generate it with the command: | ||
## python -c 'import os, base64; print(base64.b64encode(os.urandom(16)))' | ||
#app_secret_key = | ||
|
||
|
||
|
||
## IMPORTANT: the following 3 config sections should be uncommented | ||
## and adjusted *ONLY* if the n6 Admin Panel application does *NOT* | ||
## have access to the 09_auth_db.conf (being part of the N6Core | ||
## configuration) which already contains these sections! | ||
# | ||
#[auth_db] | ||
# | ||
## connection URL, e.g.: mysql+mysqldb://n6:somepassword@localhost/n6 | ||
## it must start with `mysql+mysqldb:` (or just `mysql:`) because other | ||
## dialects/drivers are not supported | ||
#url = mysql://user:password@host/dbname | ||
# | ||
## if you want to use SSL, the following options must be set to | ||
## appropriate file paths: | ||
#ssl_cacert = /some/path/to/CACertificatesFile.pem | ||
#ssl_cert = /some/path/to/ClientCertificateFile.pem | ||
#ssl_key = /some/path/to/private/ClientCertificateKeyFile.pem | ||
# | ||
# | ||
#[auth_db_session_variables] | ||
# | ||
## all MySQL variables specified within this section will be set by | ||
## executing "SET SESSION <variable> = <value>, ...". | ||
## WARNING: for simplicity, the variable names and values are inserted | ||
## into SQL code "as is", *without* any escaping (we assume we can treat | ||
## configuration files as a *trusted* source of data). | ||
# | ||
## (`[auth_db_session_variables].wait_timeout` should be | ||
## greater than `[auth_db_connection_pool].pool_recycle`) | ||
#wait_timeout = 7200 | ||
# | ||
# | ||
#[auth_db_connection_pool] | ||
# | ||
## (generally, the defaults should be OK in most cases; if you are | ||
## interested in technical details -- see: SQLAlchemy docs...) | ||
#pool_recycle = 3600 | ||
#pool_timeout = 20 | ||
#pool_size = 15 | ||
#max_overflow = 12 |
Oops, something went wrong.