Add basic template, routes, libraries; update README

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Move files to SharePy package

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add run.py

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Update gitignore, README

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add database basic models & config, utils, sqlite3 fk fix

Sqlite3 does not enforce foreign key constraints by default, so I added
a workaround.

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add example templates; move frontend routes into module

At the same time login form and route already work, but are not yet in
this commit.

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add flask-login, flask-wtforms, login form and route

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add file permission check, requirements.txt

Also included the config.py this time.

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add create_useruploaddir and hook in User.__init__

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add list of uploaded files (user), template; removed not used bootstrap

The method get_unregistered_files(username) collects all files in an
upload directory, creates named tuples with path/name/size and renders a
template with a list of these files.

bootstrap.min was not used, the used file is bootstrap-simplex.min

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Moved navigation to subtemplate; add more flexible nav elements

Navigation bar is now built from a dict holding the name and endpoint.

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add query userfiles, backrefs in model

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add size attribute to File model, size getter (os.lstat)

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Add file registration methods, routes

Users can now register files they uploaded to their upload dir.
'Register' means, the file is moved to the storage folder, renamed and
saved in the database.

Signed-off-by: Dominik Pataky <git@netdecorator.org>
Merge branch 'master' of github.com:cooox/sharepy

Conflicts:
	README.md
	run.py