Commit graph

70 commits

Author SHA1 Message Date
Matthew Scragg c6db7909b8 Merge pull request #167 from gazpachoking/markdown-it
Switch from marked to markdown-it markdown renderer
2016-09-05 13:23:14 -04:00
stef 6a043f4a7d more readable imports 2016-09-05 01:30:37 +02:00
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 d2bd13da46 Add back heading anchors via markdown-it-anchors plugin 2016-09-04 16:03:16 -04:00
Chase Sterling 2bf11e6604 Merge branch 'master' into markdown-it 2016-09-04 15:31:51 -04:00
Chase Sterling b6ecaa9197 Switch from marked to markdown-it markdown renderer 2016-07-25 20:20:45 -04:00
Chase Sterling 36d3fb7215 Fix some deprecation warnings with newer flask version 2016-07-14 17:59:08 -04:00
Chase Sterling a22e99bf9b Re-enable custom flask error handler registration. 2016-07-14 00:12:49 -04:00
Chase Sterling f7bb21dd2b Start updating flask and flask modules 2016-07-14 00:12:48 -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
Klaus Alexander Seistrup 80675b904e Merge remote-tracking branch 'upstream/master' 2016-01-23 23:13:55 +01:00
Matthew Scragg a87ee06f65 Allow override of bound host address. Fixes #110. 2016-01-23 16:04:56 -06:00
Klaus Alexander Seistrup 3d1a130584 Make datetime customizable across templates 2016-01-23 12:52:15 +01:00
Matthew Scragg 93df0e081a fix some issues with path names 2015-12-09 17:41:15 -06:00
Matthew Scragg 0b1c55f6a5 fallback to default avatar if email is not set
auth submodules are registered with initialized
check if auth.local is loaded before accessing registration route
check DB_URI before attempt to create db
2015-11-06 17:44:48 -06:00
Matthew Scragg e9709b6c8f ldap second pass, working state 2015-10-15 15:55:38 -05:00
Matthew Scragg 2eaf09dc78 ldap first pass 2015-10-14 17:36:22 -05:00
Matthew Scragg bd41eaac4e use app context aware cli, fixes #65 2015-07-22 12:01:59 -05:00
Matthew Scragg fe5d1d52eb Merge branch 'search'
* search:
  search pass three
  search pass two
  search module, wip
2014-11-12 17:07:38 -06:00
Matthew Scragg 08a4c71c10 search pass three 2014-11-12 17:06:56 -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
scragg 312c61ef61 search module, wip 2014-11-10 10:54:46 -06:00
Matthew Scragg 2d6f368ff1 fix #32 2014-10-30 17:59:19 -05:00
Matthew Scragg bf3b3d3d74 added more tests
include img in manifest
disclaimer in root cli script
add blinker to dev tools
version file included in package
cli bug fixes
2014-10-22 15:38:32 -05:00
Matthew Scragg 38e5ef85c0 use application factory, WIP 2014-10-21 16:06:27 -05:00
Matthew Scragg e6bc4928c9 Fix #24 #21
WIP commit.  Changed routes to POST/PUT/DELETE on page name endpoint to be more RESTful.
Check wiki dir permissions
Add comments
Add dummy favicon, robots.txt, humans.txt
Remove create.html (wasn't being used)
Fix version command
2014-10-20 17:27:38 -05:00
Matthew Scragg 2e38c6a34c fix some cli bugs, update manifest, Fix #29 2014-10-17 12:03:38 -05:00
Matthew Scragg 07852bdd98 cli and setuptools wip 2014-10-16 16:54:45 -05:00
Matthew Scragg 672856e9af Add index page resolves #23 and #8 2014-10-09 15:47:12 -05:00
Matthew Scragg 98d82f06a8 hook WIP 2014-10-08 22:42:29 -05:00
Matthew Scragg 8a4cda7f58 add some tests 2014-10-06 16:07:20 -05:00
Matthew Scragg eb12c84e9a Added RDBMS info
Canonical names to forced to lowercase
Made user model compatible to other DBs
CSS adjustments
Basic Firepad support (no presence info)
Cleaned up JS a bit
Added ability to remove draft from localstorage
Added support for drafts on multiple pages
Alert user if page changes, issue #1
2014-10-03 13:49:18 -05:00
Matthew Scragg 2895308667 implements #4, use env to configure app 2014-09-29 15:22:20 -05:00
Matthew Scragg 82f2de5efa fix truncation at bottom of editor 2014-09-26 17:17:58 -05:00
Matthew Scragg de3b2d66c3 update default config
transfer some assets to bower
use font awesome for icons
create setup.py
create setup command to generate config
2014-09-17 16:13:10 -05:00
Matthew Scragg b8531a0347 add config option to disable registration
add command to create user
2014-09-13 22:47:17 -05:00
Matthew Scragg 036434dd7a switch from showdown to marked
add better yaml support for metadata
2014-09-05 22:41:22 -05:00
Matthew Scragg 088942632c removed unneeded files 2014-09-03 22:30:33 -05:00
Matthew Scragg ad401da4f1 worked on assets bundling, added admin field 2014-09-03 21:29:47 -05:00
Matthew Scragg 564bde872d WIP 2014-09-02 09:29:04 -05:00
Matthew Scragg 86f0549e44 WIP 2014-08-30 10:06:12 -05:00
Matthew Scragg b02d3db684 WIP 2014-08-20 10:28:25 -05:00
Matthew Scragg d0777e2b85 assets 2014-02-06 21:40:58 -06:00
Matthew Scragg 55d587f6d0 flask make response 2014-01-16 17:46:22 -06:00
Matthew Scragg a891e77d40 updated wiki routes 2014-01-16 17:37:55 -06:00
Matthew Scragg d31930bf10 updated wiki routes 2014-01-16 17:12:21 -06:00
Matthew Scragg cb4a5f9465 manager runserver change 2014-01-16 16:45:31 -06:00
Matthew Scragg 98c753aba6 yolo 2014-01-13 17:07:13 -06:00
Matthew Scragg 99ce4acd00 updated wiki view and config 2013-12-09 14:24:22 -06:00