stef
2731531768
systematic use of from __future__ import absolute_import
. it eliminates import NAME
confusion with very common names (eg. import ldap
is very ambiguous: can be a ldap module from realms-wiki, a ldap module from flask-ldap-login, or python-ldap
module.
...
also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
2016-09-05 01:29:29 +02:00
Chase Sterling
36d3fb7215
Fix some deprecation warnings with newer flask version
2016-07-14 17:59:08 -04:00
Chase Sterling
57e98cdd9d
Fix CLI registration for module command groups
2016-07-10 17:47:43 -04:00
Sachi King
695dba98f9
Use properties in config for pass-through compat vars
...
Strings are immutable, so when one variable changes the other will not,
as such there is variance on config load between variables that should
be the the value of another variable.
To solve that I've moved the config into a class and made those values
read-only properties to the loaded values.
Closes : #137 #138
2016-06-05 22:03:49 +10:00
Matthew Scragg
71de000b2c
Tweak spacing
2016-04-24 18:11:47 -05:00
Matthew Scragg
6374370871
FIx critical bug on start_server
2016-01-24 10:07:05 -06:00
Matthew Scragg
a87ee06f65
Allow override of bound host address. Fixes #110 .
2016-01-23 16:04:56 -06:00
Chase Sterling
98c3839168
Add clear_cache cli command. fix #98
2015-12-20 13:38:53 -05:00
Lars Immisch
644929c4c8
Subtle bug in parameter handling
...
The parameter names must not be converted to upper case before calling
context.invoke, because that works with the lowercase names.
Before this bugfix,, we had kw like this in the various setup_* functions:
{'DB_URI': 'sqlite:////tmp/wiki.db', 'db_uri': 'sqlite:////real/path.db'}
and whichever won was pretty much random (dict sort order)
2015-09-24 21:49:18 +02:00
Lars Immisch
9d340e0da1
Work around a bug in click
...
Closes https://github.com/scragg0x/realms-wiki/issues/76
2015-09-22 16:37:39 +02:00
Matthew Scragg
24f681de89
Check if PID file is writeable before starting server
...
Set path prefix for gunicorn when inside virtualenv
2015-08-30 17:02:46 -05:00
Matthew Scragg
bd41eaac4e
use app context aware cli, fixes #65
2015-07-22 12:01:59 -05:00
Matthew Scragg
6c7095ec5a
updated dockerfile, spacing adjustments
2014-11-17 11:25:26 -06:00
Matthew Scragg
c214f9ac9a
add deploy command
2014-11-11 14:48:11 -06:00
Matthew Scragg
863de00a14
Fix #33 bug, thinking all users are anon
...
Fix bug in vagrantfile
Fix bug in db create/drop
Fix typo in cli
2014-11-11 11:35:09 -06:00
Matthew Scragg
2d6f368ff1
fix #32
2014-10-30 17:59:19 -05:00
Matthew Scragg
325c735f4e
removed lxml post processing
...
updated dockerfile
2014-10-29 15:06:54 -05:00
Matthew Scragg
d2171f9498
cli adjustments
2014-10-23 18:58:58 -05:00