Stephane Martin
9ac015b3dd
flask 0.11 compatibility
2016-09-05 23:36:59 +02: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
2919be6b87
Fix deprecated usage of flask.ext
2016-09-04 17:08:18 -04:00
Matthew Scragg
a47d7e2471
Merge pull request #161 from gazpachoking/update_flask
...
Update flask versions
2016-09-02 12:56:21 -04:00
Matthew Scragg
f49ef01f52
Merge pull request #173 from gazpachoking/module_static
...
Make modules contain their own static files and templates
2016-09-02 12:45:54 -04:00
Chase Sterling
33aa2b851e
Make modules contain their own static files and templates
2016-08-15 23:06:05 -04:00
alxjsn
b4d16740c9
Added check for PRIVATE_WIKI in search fuction. Without this there would be information disclosure.
2016-08-15 12:27:18 -07:00
Chase Sterling
36d3fb7215
Fix some deprecation warnings with newer flask version
2016-07-14 17:59:08 -04:00
Chase Sterling
7487a65314
Merge branch 'master' into history_optimization
...
# Conflicts:
# realms/modules/search/commands.py
2016-07-13 20:48:28 -04:00
Chase Sterling
192177ba2d
Fix search rebuild_index command
2016-07-12 00:27:39 -04:00
Chase Sterling
57e98cdd9d
Fix CLI registration for module command groups
2016-07-10 17:47:43 -04:00
Chase Sterling
fcb23466dd
Merge branch 'master' into history_optimization
2016-07-09 19:33:56 -04:00
Chase Sterling
ed0ac58e6f
Update search module hooks to use new WikiPage methods
2016-07-08 02:11:57 -04:00
Chase Sterling
0bcfaba807
Remove WikiPage.info refs #148
2016-07-07 18:07:21 -04:00
Chase Sterling
d50cf54072
Create WikiPage class to encapsulate wiki page functions
2016-07-04 22:22:12 -04:00
Matthew Scragg
82b90adf2d
fix bug in simple search
2016-02-26 17:07:57 -06:00
Chase Sterling
af6a577b15
Fix rebuild_index to use full path of page when indexing. fix #88
2015-12-11 00:25:43 -05:00
Chase Sterling
57067a9f95
Improve SimpleSearch with subdirs
2015-12-10 00:27:43 -05:00
Matthew Scragg
c4b147c3e5
Merge pull request #85 from scragg0x/auth
...
Auth
2015-12-06 18:25:34 -06:00
Matthew Scragg
4063754e12
update readme
2015-11-22 11:19:11 -06: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
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
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
bd41eaac4e
use app context aware cli, fixes #65
2015-07-22 12:01:59 -05:00
Fabian Schlager
a8f61dfb13
Clean up & fix index creation, handling exceptions
2014-11-21 17:11:27 +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
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
scragg
312c61ef61
search module, wip
2014-11-10 10:54:46 -06:00