Releases: cfpb/sheer
Add --version flag
Bulk indexing respects --index parameter
Sheer will now pass in the --index parameter (whether supplied by the user or the default) when performing bulk indexing.
Add when() function to template context
A when()
function has been added in order to determine whether the two arguments given (starttime
and endtime
) describe a period of time in the past
, present
, or future
, in which it returns the absolute tense as one of those strings.
Add Timezone parameter to date formatter filter function
Timezones are now being used for the date formatter filter function so they can be displayed on the front-end. The default timezone is Eastern
.
Fixes search bug, changes search function name
This changes the search function name from search_with_url_parameters
to search
and fixes a bug that makes all filter arguments trigger for a given template context instead of just the ones that are intended for the query.
Upgrade dependency 'six'
Having an old version pinned was conflicting with unittest2, an eleasticsearch-py dependency when running on Python 2.6. Hopefully we cal leave 2.6 behind soon, but not today.
Elasticsearch bulk indexing, new template filters
Exit Code for Indexing Failure
sheer index
will now exit with an exit code if any of the processors didn't index properly.
Remove default mappings, fix requirements.txt
- When Elasticsearch mappings aren't specified, they will be auto-generated by Elasticsearch (and not by our pre-defined default mapping)
- Small fix to requirements.txt that was tripping up the staging servers on deploy
Fixes for ATOM feeds and Switch to PBR
- Ensure correct datetime formatting for ATOM feeds #95
- Switch to Python Build Reasonableness (PBR) #96
- Improved README #94