Commit graph

251 commits

Author SHA1 Message Date
Matthew Scragg e9709b6c8f ldap second pass, working state 2015-10-15 15:55:38 -05:00
Matthew Scragg 838eb3cb06 2nd pass on oauth, making more generic 2015-10-14 23:08:56 -05:00
Matthew Scragg 2eaf09dc78 ldap first pass 2015-10-14 17:36:22 -05:00
Matthew Scragg 3c2f4a0445 first pass, non-working 2015-10-13 22:52:30 -05:00
Matthew Scragg 4441cfafd0 Merge pull request #81 from doordash/rename-page-fix
Fix bug with rename page to also delete old page
2015-09-30 14:33:37 -05:00
Alvin Chow b517e7e714 Fix bug where any page update would invoke rename_page()
fix
2015-09-29 17:13:45 -07:00
Alvin Chow 4e4cdf6348 Get delete page feature working 2015-09-28 00:06:49 -07:00
Alvin Chow 4ef08cc988 Add delete wiki page feature, delete wiki page after rename 2015-09-28 00:04:21 -07:00
Alvin Chow fdf482d14b Fix bug with rename feature to also delete old page 2015-09-27 16:20:54 -07:00
Alvin Chow 1cf9295c78 Don't die if some non-MD files are found in the wiki repo during rebuild_index() 2015-09-25 16:35:16 -07: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
Lars Immisch a8e4ec69bf Fix gravatar URL and one possible redirect loop 2015-09-22 13:33:26 +02:00
Matthew Scragg 087ee0be15 version bump 2015-08-30 19:37:00 -05:00
Matthew Scragg f59e46c7df Disable sendfile when running dev from vagrant.
Upgrade gunicorn.
Add BS3 classes to rendered markdown tables. Fixes #72
2015-08-30 19:17:51 -05: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 a721de26b6 Merge pull request #66 from darkindex/elasticsearch-fields
Make Elasticsearch searched fields configurable
2015-07-24 12:30:17 -07:00
Simon Edwards 8e73a32875 Make Elasticsearch searched fields configurable
This allows fields stuch as "content" to be searchable when using Elasticsearch
Add config item ELASTICSEARCH_FIELDS, list of fields to search.
Defaults to just "name" to preserve existing behaviour
Available fields are:
- "name"
- "username"
- "content"
- "message"
2015-07-24 13:29:24 +01:00
Matthew Scragg a0b0ac9102 bump version 2015-07-22 12:02:42 -05:00
Matthew Scragg bd41eaac4e use app context aware cli, fixes #65 2015-07-22 12:01:59 -05:00
cybrwushl93 c9308b25e3 added the ability to make wiki private (resolves #54) 2015-07-18 11:02:59 +02:00
Matthew Scragg ceec6b6789 allow uppercase in canonical names fixes #53 2015-07-15 09:34:36 -05:00
Matthew Scragg 2e056a5865 remove collaboration button if it's disabled 2015-07-15 09:06:39 -05:00
Matthew Scragg bf69f86236 comment user settings page until it's useful 2015-07-15 09:01:04 -05:00
Matthew Scragg 994546ebdb Update version.py
version bump
2015-06-02 09:05:26 -05:00
Fabian Schlager 72ab066c10 Reverse config path lookup 2014-11-21 19:27:34 +01:00
Fabian Schlager a8f61dfb13 Clean up & fix index creation, handling exceptions 2014-11-21 17:11:27 +01:00
Fabian Schlager d8e7ed7ad4 Restored default config 2014-11-21 16:49:36 +01:00
Fabian Schlager 6ec3ff6acb Remove fuzzy search, needs some tweaking probably 2014-11-21 16:47:50 +01:00
Fabian Schlager e1aa96ea5f Check if WHOOSH_INDEX path is read & writeable 2014-11-21 16:47:50 +01:00
Fabian Schlager db1f5c84a7 Add fallback for non-supported languages & search in path and text 2014-11-21 16:47:50 +01:00
Fabian Schlager 06a5cd5aef Initial version of whoosh based search 2014-11-21 16:47:50 +01:00
Matthew Scragg 6c7095ec5a updated dockerfile, spacing adjustments 2014-11-17 11:25:26 -06:00
Matthew Scragg b757ceff57 made simple search suck less 2014-11-12 22:11:13 -06:00
Matthew Scragg fe8565327d version bump 2014-11-12 17:11:20 -06: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 13d4be8937 search pass two 2014-11-11 17:06:28 -06:00
Matthew Scragg c214f9ac9a add deploy command 2014-11-11 14:48:11 -06:00
Matthew Scragg 7aa0ef7af5 fix #34
version bump
2014-11-11 12:46:07 -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 325c735f4e removed lxml post processing
updated dockerfile
2014-10-29 15:06:54 -05:00
Matthew Scragg 1b1e34b035 fix wiki locked pages var 2014-10-24 14:55:12 -05:00
Matthew Scragg eedf3990f9 fix wiki locked pages var 2014-10-24 14:53:48 -05:00
Matthew Scragg eb43083e17 config bug fix 2014-10-24 14:48:29 -05:00
scragg 528c28fefe fix config read bug
changed install script just or vagrant
updated readme
2014-10-23 22:22:30 -05:00
Matthew Scragg d2171f9498 cli adjustments 2014-10-23 18:58:58 -05:00
Matthew Scragg 03b030e67c cli adjustments 2014-10-22 17:16:55 -05:00
Matthew Scragg 84a5b51662 fix upstart script func 2014-10-22 16:45:37 -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 b99128e47a fix font links 2014-10-17 14:30:56 -05:00
Matthew Scragg a28d472766 updated readme 2014-10-17 14:30:00 -05:00
Matthew Scragg 2e38c6a34c fix some cli bugs, update manifest, Fix #29 2014-10-17 12:03:38 -05:00
Matthew Scragg 5985bff7d6 cli and setuptools wip 2014-10-16 22:18:57 -05:00
Matthew Scragg 07852bdd98 cli and setuptools wip 2014-10-16 16:54:45 -05:00
Matthew Scragg 142050d804 updated gitignore, added wrongly ignored files 2014-10-09 16:30:34 -05:00
Matthew Scragg 672856e9af Add index page resolves #23 and #8 2014-10-09 15:47:12 -05:00
Matthew Scragg 2c6b06a0a7 add tests file to auth 2014-10-09 10:39:42 -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 d72ecf10f0 firepad + others WIP 2014-10-01 17:14:54 -05:00
Matthew Scragg ec551ac09d add sha to dom 2014-09-29 20:33:09 -05:00
Matthew Scragg 2895308667 implements #4, use env to configure app 2014-09-29 15:22:20 -05:00
Matthew Scragg 675ec9c9f9 style tweak 2014-09-26 17:45:43 -05:00
Matthew Scragg 20e74bfef6 fix scroll sync 2014-09-26 17:40:21 -05:00
Matthew Scragg 82f2de5efa fix truncation at bottom of editor 2014-09-26 17:17:58 -05:00
Matthew Scragg e7e2ecfc4d shrink buttons for smaller screens 2014-09-26 11:58:06 -05:00
Matthew Scragg 8f6823676a make editor page responsive to smaller screens 2014-09-25 18:17:38 -05:00
Matthew Scragg b637ce5df9 fixes #18 relative link bug 2014-09-20 17:15:12 -05:00
Matthew Scragg 88134dbdce removed entry point from setup
renamed managed to realms-wiki and added to setup scripts
removed cli script from realms module
2014-09-18 21:49:48 -05:00
Matthew Scragg 58f9109bd2 add dockerfile
move cli functions in module
add configure command
2014-09-18 16:44:01 -05:00
Matthew Scragg d94855e3c5 add fonts symlink to font awesome 2014-09-18 11:00:20 -05:00
Matthew Scragg 0b213883ed Fix load token bug 2014-09-18 10:42:32 -05:00
Matthew Scragg 2856dc076f Fixes #17
Fix bug with loading token
Updated readme
Remove realms-wiki bash script (redundant)

Updated install.sh
Using setuptools to create cli entry point
Upstart script sets gid and uid
2014-09-18 10:13:33 -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 6128d05c69 use ace-builds via bower
removed screen in install script
not longer forwarding port 80 in vagrantfile
2014-09-15 16:45:47 -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 17eabddd70 fixes #2 history page bug
some style changes
2014-09-11 17:35:17 -05:00
Matthew Scragg 3419ee4f6c add lock page cond in review 2014-09-10 16:08:25 -05:00
Matthew Scragg 1b433f1762 add config option to lock pages explicitly 2014-09-10 13:58:47 -05:00
Matthew Scragg 951fffb3eb make sure partial has data before register 2014-09-10 11:09:29 -05:00
Matthew Scragg 40292454da allow '{' and '}' in html urls 2014-09-10 10:53:22 -05:00
Matthew Scragg ec5c840f84 add local togetherjs file 2014-09-10 10:19:37 -05:00
Matthew Scragg 27d161488a add local togetherjs file 2014-09-10 10:19:13 -05:00
Matthew Scragg 9a95b5685c changed togetherjs link 2014-09-10 10:00:24 -05:00
Matthew Scragg f039160ded changed togetherjs link 2014-09-10 09:58:35 -05:00
Matthew Scragg a4fed38d97 changed default wiki path 2014-09-09 16:01:07 -05:00
Matthew Scragg a698af1b2d style changes 2014-09-09 14:58:30 -05:00
Matthew Scragg b4a74342e3 update install script, config, bower.json 2014-09-08 16:05:23 -05:00
Matthew Scragg 6459d6b842 chown venv dir in install script
set default ace editor options
lower font size on editor
2014-09-08 12:49:37 -05:00
Matthew Scragg f2f1e3f51e fix bug when fetching metadata on pages that don't exist 2014-09-07 19:53:36 -05:00
Matthew Scragg bea662e2e7 add partials support 2014-09-07 11:54:51 -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 e4afc0fb0d html indent fix 2014-09-04 16:35:28 -05:00
Matthew Scragg 10831a44e9 fix stylesheet bug 2014-09-04 15:40:53 -05:00
Matthew Scragg 1058ce034d overflow auto to preview 2014-09-04 14:47:04 -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 0dead5176a fix cache issue, rename provision script 2014-09-03 09:26:53 -05:00
Matthew Scragg 1492448448 create provision script, removed salt states 2014-09-02 14:07:14 -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 904d83ea3c wiki compare js bug 2014-01-16 17:49:49 -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 5c09cf38b1 config change 2014-01-16 16:22:00 -06:00
Matthew Scragg e18427bfaf salt changes 2014-01-16 16:04:44 -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
Matthew Scragg a9158f3d30 many things have occured 2013-12-03 16:28:16 -06:00
Matthew Scragg db70df22a2 many things have occured 2013-12-03 14:09:57 -06:00
Matthew Scragg 02b6b7d592 stuff 2013-12-02 17:50:19 -06:00
Matthew Scragg 36cf728862 reorg 2013-11-08 12:20:40 -06:00
Matthew Scragg ba1ec10a34 salt config changes 2013-10-24 11:21:19 -05:00
Matthew Scragg 3c71b00d05 fixed togetherjs session bug 2013-10-15 15:42:06 -05:00
Matthew Scragg 472265572b removed login required for edit/create 2013-10-15 15:39:29 -05:00
Matthew Scragg a16b45cdba add revert page 2013-10-15 15:32:17 -05:00
Matthew Scragg 9fed2175de allow styles 2013-10-10 12:50:19 -05:00
Matthew Scragg 19cca8f0d6 markdown tables, sanitize mode off unless collaboration active 2013-10-10 12:26:42 -05:00
Matthew Scragg ccbf8336ea collaboration editor update fix, use closure for compression 2013-10-10 10:38:30 -05:00
Matthew Scragg 88fdf6b2ca together.js removed default color 2013-10-09 21:17:01 -05:00
Matthew Scragg 26643ce0a7 together.js config 2013-10-09 21:11:24 -05:00
Matthew Scragg 2519ee7902 added together.js 2013-10-09 17:49:16 -05:00
Matthew Scragg 701e30e52e added together.js 2013-10-09 17:47:45 -05:00
Matthew Scragg ddea7f6f13 added together.js 2013-10-09 17:32:43 -05:00
Matthew Scragg 142c263e1d added together.js 2013-10-09 17:07:39 -05:00
Matthew Scragg 3cc69ce06f bower 2013-10-09 16:35:06 -05:00
Matthew Scragg 9d3751f241 added highlight.js support 2013-10-08 14:47:49 -05:00
Matthew Scragg d30c9d71a6 bugfix with quotes, added bootstrap themes 2013-10-07 22:06:54 -05:00
Matthew Scragg a79c9ad007 fixed bug with clean html 2013-10-07 17:03:23 -05:00
Matthew Scragg a03299773e showdown, markdown meta data 2013-10-07 16:52:12 -05:00
Matthew Scragg 86e0c06805 cache decor 2013-10-05 00:04:38 -05:00
Matthew Scragg d5272789f4 register bugfix 2013-10-04 17:06:52 -05:00
Matthew Scragg 5d341f3380 init db fix 2013-10-04 16:57:33 -05:00
Matthew Scragg 8f66cbdab9 init db fix 2013-10-04 16:54:46 -05:00
Matthew Scragg 694f1c2b5e init db fix 2013-10-04 16:52:41 -05:00
Matthew Scragg 1a08aade00 subdomain dispatcher 2013-10-04 16:42:45 -05:00
Matthew Scragg 2906b79dfc subdomain dispatcher 2013-10-03 21:57:19 -05:00
Matthew Scragg 27ced9d90e js html sanitize, updated config, gravatar support, layout change 2013-10-03 20:19:33 -05:00
Matthew Scragg afa4da4869 cleaning html, other ui fixes 2013-10-03 13:13:10 -05:00
Matthew Scragg 8eb1b4e471 repo config changes 2013-10-03 10:35:47 -05:00