Commit graph

25 commits

Author SHA1 Message Date
64a2c30a75 Add helper to put content into <html></html> tags 2016-01-05 15:20:09 +01:00
06996ee903 Add Markdown->HTML parsing 2016-01-05 15:20:09 +01:00
dc60b003aa Fix: [warn]: Malformed Header, expected Array
We did not check whether we got the TAGS array in here.
2016-01-03 20:37:41 +01:00
e7de3ba6a7 Reimplement Markdown helper with hoedown 2016-01-03 16:28:42 +01:00
4721e44dd5 Make Markdown helper module pub 2016-01-03 15:21:11 +01:00
4d3479291d Refactor custom functionality in helper function 2016-01-03 14:51:21 +01:00
7b99aee552 Rewrite markdown parsing, so we can extract links and quotes (and maybe more) 2016-01-03 14:51:15 +01:00
c35cd7ef15 Add String to URL list helper with markdown parser 2016-01-03 14:51:05 +01:00
9227c4bb9a Move header-altering helper to module generic helpers
This helper is for editing the header tags in some module-independent
way, so this piece of code is now moved to the module-generic helpers.
2016-01-02 20:06:20 +01:00
a49113cb5f Refactor filter building into types which can be chained up
State before was to generate functions which can be used as filter()
arguments.

State now is that there are types which can be lined up and be executed
as filters. And/Or/Not-Filters are provided and so are helper functions
to initialize objects of these filter types.

The BM module is adapted for this.
2016-01-02 18:37:17 +01:00
a2856d8671 Remove unused imports 2015-12-30 23:02:05 +01:00
7bbe1bb6d0 Refactor: Provide generic cli-to-filter-function generator
The refactors functions from the BM module into more generic functions
for all modules.

The previous state was, that there were functions in the BM module which
were used to load from the store and applying some filters.

The new state is that there are functions to generate the filter
functions which are then used to filter the loaded files from the store,
so we can apply some more functionality on the filtered list.
2015-12-30 15:06:22 +01:00
09aa7d9ec3 Add debug output to text-from-header fetcher function 2015-12-30 15:06:02 +01:00
d15d50d8a2 Refactor: Header helper code can use generic function 2015-12-30 15:05:52 +01:00
eed57af0bb module header helpers: Add function to get NAME from header 2015-12-30 15:05:47 +01:00
ffcb951468 Add doc to module header helpers 2015-12-29 18:20:56 +01:00
e9cee25ac8 Add doc to module helpers 2015-12-29 18:20:56 +01:00
271c91e903 Add documentation on module helper utils 2015-12-29 18:20:56 +01:00
7170f95825 BM header helpers: Add get_url_from_header() 2015-12-28 17:38:59 +01:00
2e7621d2bd Add header helpers for BM 2015-12-28 17:38:59 +01:00
c6f31496ab Module helpers: header: Add get_url_from_header() 2015-12-28 17:35:07 +01:00
188aacad75 Move FileHeader{Spec,Data} to own submodules 2015-12-06 13:09:51 +01:00
6e0d0058b0 Move key generating to top-level spec helpers 2015-12-06 12:49:31 +01:00
dad856ff2a Move get_tags() from BM module to module utilities 2015-12-06 12:49:31 +01:00
ab3ada0914 Move header helpers from module/header/ to module/helpers/ 2015-12-05 16:03:05 +01:00