Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blogc: generate table of contents tree | Rafael G. Martins | 2020-09-11 | 5 | -145/+1042 |
| | | | | | | | | | | | | | this commit allows users to use the `{{ TOCTREE }}` variable in their templates, to get automatically generated table of contents for entries. The variable is binded to each entry, so it can be used in any block that runs in entry context, like `{% block entry %}`. There's a small performance penalty for this, because the table of contents is rendered for any entry, despite being used or not, and not generated on-demand. still missing documentation. tests are good enough. | ||||
* | *: update copyright | Rafael G. Martins | 2020-05-31 | 7 | -7/+7 |
| | | | | this time I'm only updating the files I touched this year. | ||||
* | common: improve bc_slist_append_list() tests | Rafael G. Martins | 2020-05-30 | 1 | -13/+28 |
| | |||||
* | common: bc_stdin_read() should set read length | Rafael G. Martins | 2020-05-30 | 1 | -2/+6 |
| | |||||
* | git-receiver: pre-receive parser should accept len | Rafael G. Martins | 2020-05-30 | 1 | -13/+15 |
| | |||||
* | common: utils: added bc_slist_append_list | Rafael G. Martins | 2020-05-29 | 1 | -0/+27 |
| | |||||
* | blogc: added filelist parser | Rafael G. Martins | 2020-05-29 | 1 | -0/+131 |
| | |||||
* | blogc: added listing_empty template block | Rafael G. Martins | 2020-05-16 | 3 | -14/+77 |
| | |||||
* | make: remove whitespaces from default atom template | Rafael G. Martins | 2020-05-09 | 2 | -78/+20 |
| | |||||
* | blogc: allow passing multiple -e options | Rafael G. Martins | 2020-04-22 | 2 | -3/+237 |
| | |||||
* | common: prevent stdarg errors when format is NULL | Rafael G. Martins | 2019-09-09 | 2 | -1/+10 |
| | |||||
* | blogc: fixed bug that prevented digits in -D arguments | Rafael G. Martins | 2019-09-04 | 1 | -2/+20 |
| | |||||
* | tests: common: sort: fixes | Rafael G. Martins | 2019-07-24 | 1 | -6/+7 |
| | |||||
* | make: fixed filename generation for pagination_tags | Rafael G. Martins | 2019-07-24 | 2 | -0/+531 |
| | |||||
* | make: exec: support printing blogc variables | Rafael G. Martins | 2019-07-14 | 1 | -28/+64 |
| | | | | needs more tests | ||||
* | Revert "common: added bc_slist_remove" | Rafael G. Martins | 2019-05-01 | 1 | -35/+0 |
| | | | | This reverts commit 0cfb3dad5de015b658b0917c43fabe420781f39f. | ||||
* | Revert "make: support posts autoloading" | Rafael G. Martins | 2019-05-01 | 1 | -248/+0 |
| | | | | | | | | It works mostly fine, but if you build a website, delete some files and try to rebuild, it won't be able to detect the removed files. This may be reverted when I find a solution for this problem. This reverts commit 792ac4ec66dd098109a88065420ef95c1a78624f. | ||||
* | make: support posts autoloading | Rafael G. Martins | 2019-04-28 | 1 | -0/+248 |
| | |||||
* | make: support posts sorting | Rafael G. Martins | 2019-04-28 | 1 | -0/+220 |
| | |||||
* | 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 :/ |