Commit graph

53 commits

Author SHA1 Message Date
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
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
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
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
d2171f9498 cli adjustments 2014-10-23 18:58:58 -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
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
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
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
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
40292454da allow '{' and '}' in html urls 2014-09-10 10:53:22 -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
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
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
98c753aba6 yolo 2014-01-13 17:07:13 -06:00