Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blogc: added FILTER_SORT, to sort posts by DATE | Rafael G. Martins | 2019-04-28 | 1 | -16/+179 |
| | |||||
* | common: added bc_slist_remove | Rafael G. Martins | 2019-04-28 | 1 | -0/+35 |
| | |||||
* | common: added bc_slist_sort | Rafael G. Martins | 2019-04-28 | 1 | -0/+147 |
| | |||||
* | make: removed atom_legacy_entry_id setting | Rafael G. Martins | 2019-04-21 | 1 | -84/+14 |
| | |||||
* | make: use permalinks as atom ids | Rafael G. Martins | 2019-04-20 | 2 | -76/+76 |
| | | | | | | | | | | | | I have just realized that was implementing atom feeds wrong for long time. atom ids are supposed to be valid uris. this is a small but breaking change. it is supposed to make some clients think that all of the old posts were republished. This can be avoided by running something like this, before upgrading: $ blogc-make atom_dump > templates/atom.tmpl however, keep in mind that your atom ids are invalid :/ | ||||
* | make: added listing_entry test | Rafael G. Martins | 2019-04-03 | 1 | -3/+14 |
| | |||||
* | make: added support for `blogc -e` | Rafael G. Martins | 2019-04-03 | 1 | -12/+42 |
| | | | | must still add tests | ||||
* | blogc: added `-e` cli option and `listing_entry` template block | Rafael G. Martins | 2019-04-02 | 3 | -29/+241 |
| | |||||
* | blogc: content: do not escape inline code | Rafael G. Martins | 2019-02-24 | 1 | -3/+11 |
| | | | | | | this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code | ||||
* | blogc: sysinfo: simplified username impl. fixed tests | Rafael G. Martins | 2019-02-23 | 1 | -31/+9 |
| | |||||
* | blogc: test "inject" functions | Rafael G. Martins | 2019-02-10 | 2 | -0/+87 |
| | |||||
* | blogc: rusage: added tests, fixed minor issue | Rafael G. Martins | 2019-02-10 | 1 | -0/+104 |
| | |||||
* | blogc: sysinfo: added tests | Rafael G. Martins | 2019-02-10 | 3 | -4/+236 |
| | |||||
* | blogc: funcvars: code simplified, added tests | Rafael G. Martins | 2019-02-10 | 1 | -0/+84 |
| | |||||
* | blogc: template: allow whitespaces in template tags, not just spaces | Rafael G. Martins | 2019-02-09 | 1 | -0/+130 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2019-01-15 | 21 | -21/+21 |
| | |||||
* | make: settings: removed unused function | Rafael G. Martins | 2018-12-16 | 1 | -3/+0 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2018-10-14 | 21 | -21/+21 |
| | |||||
* | make: added atom_dump helper rule | Rafael G. Martins | 2018-07-26 | 2 | -0/+250 |
| | |||||
* | make: allow custom atom templates | Rafael G. Martins | 2018-07-26 | 1 | -0/+251 |
| | |||||
* | make: implemented atom_legacy_entry_id setting | Rafael G. Martins | 2018-07-25 | 1 | -0/+128 |
| | | | | This allows current users to avoid atom entry id changes. | ||||
* | common: added bc_str_to_bool | Rafael G. Martins | 2018-07-25 | 1 | -0/+26 |
| | |||||
* | make: fixed filename generation for rules and atom feed | Rafael G. Martins | 2018-07-25 | 2 | -58/+554 |
| | |||||
* | make: added utilitary function to generate filenames | Rafael G. Martins | 2018-07-25 | 1 | -0/+119 |
| | |||||
* | make: handle empty prefixes properly | Rafael G. Martins | 2018-07-24 | 2 | -3/+68 |
| | | | | still needs to add integration tests | ||||
* | common: config-parser: fix empty values support | Rafael G. Martins | 2018-07-23 | 1 | -0/+318 |
| | |||||
* | git-receiver: git shell should reinstall hooks if symlinks are broken | Rafael G. Martins | 2018-06-12 | 1 | -0/+15 |
| | |||||
* | git-receiver: fixed segfault on pre-receive hook | Rafael G. Martins | 2018-06-10 | 1 | -2/+20 |
| | | | | | if a [repo:*] section was defined in blogc-git-receiver.ini, but was not providing a symlink value, that would result in a segfault. | ||||
* | make: disable post listings if {atom_,}posts_per_page is 0 | Rafael G. Martins | 2018-06-10 | 1 | -46/+1 |
| | |||||
* | make: test atom_posts_per_page = -1 | Rafael G. Martins | 2018-06-10 | 1 | -0/+15 |
| | |||||
* | Revert "make: disable pagination rules if <= 0 posts per page" | Rafael G. Martins | 2018-06-10 | 1 | -0/+48 |
| | | | | | | This reverts commit cab17026f64ba78bfd9dcac6327607af8e396ebd. Poorly implemented :/ | ||||
* | make: disable pagination rules if <= 0 posts per page | Rafael G. Martins | 2018-06-09 | 1 | -48/+0 |
| | |||||
* | git-receiver: allow users to define builds dir | Rafael G. Martins | 2018-05-31 | 3 | -4/+5 |
| | |||||
* | git-receiver: allow users to define the htdocs symlink path | Rafael G. Martins | 2018-05-31 | 1 | -3/+82 |
| | | | | documentation pending | ||||
* | git-receiver: centralize settings to reuse later | Rafael G. Martins | 2018-05-30 | 1 | -10/+10 |
| | |||||
* | git-receiver: allow users to change the base directory | Rafael G. Martins | 2018-05-30 | 2 | -2/+2 |
| | | | | | this is useful mostly for shared environments that just provide one shell user. | ||||
* | git-receiver: added support to use as an authorized_keys commmand | Rafael G. Martins | 2018-05-26 | 1 | -0/+7 |
| | |||||
* | make: fixed pagination, added tests | Rafael G. Martins | 2018-03-20 | 1 | -0/+377 |
| | |||||
* | blogc: common: replace unsigned int with size_t | Rafael G. Martins | 2018-03-20 | 2 | -3/+3 |
| | |||||
* | make: rename TAG_CLOUD to MAKE_TAGS | Rafael G. Martins | 2018-03-12 | 1 | -3/+3 |
| | | | | | all the template helper variables provided by blogc-make should start with MAKE_ | ||||
* | make: added `MAKE_POST` var to `posts` and `pages` rules | Rafael G. Martins | 2018-03-11 | 1 | -22/+35 |
| | | | | | | This variable will have the same string that was inserted in tbe `blogcfile` when listing posts and pages, and is useful to highlight active menu items, for example. | ||||
* | make: fix memory leak | Rafael G. Martins | 2018-03-11 | 1 | -0/+1 |
| | |||||
* | make: pass TAG_CLOUD variable to blogc. | Rafael G. Martins | 2018-03-10 | 1 | -0/+45 |
| | | | | | this variable includes all the tags configured in blogcfile(5) as a space-separated string. | ||||
* | blogc: template parser refactoring | Rafael G. Martins | 2018-02-21 | 3 | -390/+390 |
| | | | | mostly names and data structures. | ||||
* | make: disable bm_find_binary tests when running embedded | Rafael G. Martins | 2018-01-07 | 1 | -0/+6 |
| | |||||
* | Allow lines starting with * or ** | baylej | 2017-10-25 | 1 | -6/+6 |
| | | | | | | | These are emphasizing markups per the "Markdown standard". A line containing two '*' or '+' or '-' are not valid horizontal rules. See: https://daringfireball.net/projects/markdown/syntax#hr | ||||
* | make: added 'html_order' and 'atom_order' settings | Rafael G. Martins | 2017-08-03 | 2 | -5/+123 |
| | | | | | | | these settings are used to change the order of the posts on the listings. by default, users are supposed to list their posts from older to newer in the blogcfile, and blogc-make will list them on descending order, both for html listings and atom listings. | ||||
* | loader: added FILTER_REVERSE | Rafael G. Martins | 2017-07-25 | 1 | -0/+47 |
| | |||||
* | allow source config keys without value | Rafael G. Martins | 2017-06-28 | 1 | -7/+4 |
| | |||||
* | utils: trie: fixed bug in foreach implementation. | Rafael G. Martins | 2017-06-24 | 2 | -3/+82 |
| | | | | | | when looping through the tree, the algorithm would stop, if found a '\0' in the key of the tree node. there should be no "child" field after a '\0', but "next" fields may exist. |