Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blogc: sysinfo: get fqdn if available | Rafael G. Martins | 2021-03-29 | 1 | -0/+10 |
| | |||||
* | common: utf: simplified utf-8 validation | Rafael G. Martins | 2020-11-05 | 1 | -15/+1 |
| | | | | | we don't need to evaluate codepoints, just to check if the byte sequences are valid. | ||||
* | blogc: fix post sorting when mixing posts before and after `Sun Sep 9 ↵ | Rafael G. Martins | 2020-10-13 | 1 | -1/+4 |
| | | | | 01:46:40 AM UTC 2001` | ||||
* | blogc: generate table of contents tree | Rafael G. Martins | 2020-09-11 | 9 | -19/+217 |
| | | | | | | | | | | | | | 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 | 22 | -22/+22 |
| | | | | this time I'm only updating the files I touched this year. | ||||
* | runserver: replace u_int16_t with uint16_t | Rafael G. Martins | 2020-05-31 | 1 | -2/+2 |
| | |||||
* | make: rules: remove generate_files struct field. | Rafael G. Martins | 2020-05-31 | 2 | -28/+9 |
| | | | | | | saying that a `clean` rule generates files is very stupid. we can just assume that any rule that does not implements `outputlist_func` does not generates any files. | ||||
* | common: bc_stdin_read() should set read length | Rafael G. Martins | 2020-05-30 | 4 | -8/+16 |
| | |||||
* | git-receiver: pre-receive parser should accept len | Rafael G. Martins | 2020-05-30 | 3 | -4/+6 |
| | |||||
* | make: run blogc-runserver before starting the reloader | Rafael G. Martins | 2020-05-30 | 1 | -12/+37 |
| | |||||
* | blogc: removed unused variable | Rafael G. Martins | 2020-05-29 | 1 | -2/+0 |
| | |||||
* | blogc: use new filelist parser | Rafael G. Martins | 2020-05-29 | 1 | -24/+8 |
| | |||||
* | common: utils: added bc_slist_append_list | Rafael G. Martins | 2020-05-29 | 2 | -0/+17 |
| | |||||
* | blogc: added filelist parser | Rafael G. Martins | 2020-05-29 | 2 | -0/+85 |
| | |||||
* | make: close fds after copying static files | Rafael G. Martins | 2020-05-28 | 1 | -0/+3 |
| | |||||
* | make: rebuild atom feeds on atom template changes | Rafael G. Martins | 2020-05-25 | 1 | -2/+4 |
| | |||||
* | blogc: added listing_empty template block | Rafael G. Martins | 2020-05-16 | 2 | -1/+22 |
| | |||||
* | make: remove whitespaces from default atom template | Rafael G. Martins | 2020-05-09 | 1 | -2/+2 |
| | |||||
* | make: support operating systems without sysexits.h | Rafael G. Martins | 2020-04-22 | 1 | -1/+6 |
| | |||||
* | include `unistd.h` after `sys/stat.h` | Rafael G. Martins | 2020-04-22 | 4 | -3/+4 |
| | |||||
* | blogc: allow passing multiple -e options | Rafael G. Martins | 2020-04-22 | 3 | -16/+29 |
| | |||||
* | common: config-parser: use const for trie data | Rafael G. Martins | 2019-09-09 | 1 | -3/+3 |
| | |||||
* | common: prevent stdarg errors when format is NULL | Rafael G. Martins | 2019-09-09 | 2 | -0/+10 |
| | |||||
* | blogc: fixed bug that prevented digits in -D arguments | Rafael G. Martins | 2019-09-04 | 1 | -4/+15 |
| | |||||
* | blogc: loader: minor improvement | Rafael G. Martins | 2019-07-24 | 1 | -1/+2 |
| | |||||
* | make: fixed filename generation for pagination_tags | Rafael G. Martins | 2019-07-24 | 3 | -14/+40 |
| | |||||
* | make: exec: silent "variable not found" errors | Rafael G. Martins | 2019-07-15 | 1 | -1/+3 |
| | |||||
* | make: exec: trying to fix bug detected by clang-analyzer | Rafael G. Martins | 2019-07-15 | 1 | -1/+3 |
| | |||||
* | make: rules: minor improvements in pagination_tags | Rafael G. Martins | 2019-07-15 | 1 | -4/+4 |
| | |||||
* | make: rules: added pagination_tags | Rafael G. Martins | 2019-07-15 | 4 | -44/+248 |
| | | | | needs tests, but is supposed to work | ||||
* | make: exec: support printing blogc variables | Rafael G. Martins | 2019-07-14 | 3 | -25/+34 |
| | | | | needs more tests | ||||
* | Revert "common: added bc_slist_remove" | Rafael G. Martins | 2019-05-01 | 2 | -20/+0 |
| | | | | This reverts commit 0cfb3dad5de015b658b0917c43fabe420781f39f. | ||||
* | Revert "make: support posts autoloading" | Rafael G. Martins | 2019-05-01 | 4 | -136/+24 |
| | | | | | | | | 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 | 4 | -24/+136 |
| | |||||
* | make: support posts sorting | Rafael G. Martins | 2019-04-28 | 2 | -3/+10 |
| | |||||
* | blogc: added FILTER_SORT, to sort posts by DATE | Rafael G. Martins | 2019-04-28 | 1 | -30/+90 |
| | |||||
* | common: added bc_slist_remove | Rafael G. Martins | 2019-04-28 | 2 | -0/+20 |
| | |||||
* | common: added bc_slist_sort | Rafael G. Martins | 2019-04-28 | 2 | -0/+62 |
| | |||||
* | make: do not follow symlinks when resolving blogcfile path | Rafael G. Martins | 2019-04-25 | 5 | -10/+56 |
| | |||||
* | make: do not call exit directly | Rafael G. Martins | 2019-04-22 | 1 | -1/+1 |
| | |||||
* | make: removed atom_legacy_entry_id setting | Rafael G. Martins | 2019-04-21 | 1 | -11/+8 |
| | |||||
* | make: use permalinks as atom ids | Rafael G. Martins | 2019-04-20 | 1 | -2/+2 |
| | | | | | | | | | | | | 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 :/ | ||||
* | blogc: added support for formatted variables in -p | Rafael G. Martins | 2019-04-13 | 1 | -5/+4 |
| | |||||
* | make: fixed reloading of listing_entry | Rafael G. Martins | 2019-04-04 | 1 | -0/+2 |
| | |||||
* | make: added support for `blogc -e` | Rafael G. Martins | 2019-04-03 | 7 | -28/+50 |
| | | | | must still add tests | ||||
* | blogc: added `-e` cli option and `listing_entry` template block | Rafael G. Martins | 2019-04-02 | 4 | -10/+52 |
| | |||||
* | blogc: -p should return special code when variable not found | Rafael G. Martins | 2019-03-28 | 1 | -1/+7 |
| | |||||
* | blogc: exit 1 on error | Rafael G. Martins | 2019-03-28 | 1 | -10/+10 |
| | |||||
* | git-receiver: exit 1 on error | Rafael G. Martins | 2019-03-28 | 4 | -33/+33 |
| | |||||
* | runserver: exit 1 on error | Rafael G. Martins | 2019-03-28 | 2 | -12/+12 |
| |