aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* make: fix global variable name validationRafael G. Martins2023-02-111-0/+34
|
* blogc: renderer: add `FOREACH_VALUE` variableRafael G. Martins2023-02-111-17/+43
|
* git-receiver: pre-receive: validate ref prefixRafael G. Martins2022-02-101-0/+4
|
* git-receiver: allow deploying from "main" branchRafael G. Martins2022-02-102-16/+42
| | | | | if a "main" branch is available and no "master" branch is available, use it. "master" still takes precedence to avoid breaking old setups.
* tests: git-receiver: use branch name instead of HEAD symbolic refRafael G. Martins2022-02-101-5/+5
|
* blogc: sysinfo: get fqdn if availableRafael G. Martins2021-03-291-2/+34
|
* tests: upgrade deprecated cmocka test runnerRafael G. Martins2020-11-0528-392/+392
|
* tests: git-receiver: explicitly include string.hRafael G. Martins2020-11-051-0/+1
|
* common: utf: simplified utf-8 validationRafael G. Martins2020-11-051-0/+4
| | | | | 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. Martins2020-10-131-4/+4
| | | | 01:46:40 AM UTC 2001`
* blogc: generate table of contents treeRafael G. Martins2020-09-115-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 copyrightRafael G. Martins2020-05-317-7/+7
| | | | this time I'm only updating the files I touched this year.
* common: improve bc_slist_append_list() testsRafael G. Martins2020-05-301-13/+28
|
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-301-2/+6
|
* git-receiver: pre-receive parser should accept lenRafael G. Martins2020-05-301-13/+15
|
* common: utils: added bc_slist_append_listRafael G. Martins2020-05-291-0/+27
|
* blogc: added filelist parserRafael G. Martins2020-05-291-0/+131
|
* blogc: added listing_empty template blockRafael G. Martins2020-05-163-14/+77
|
* make: remove whitespaces from default atom templateRafael G. Martins2020-05-092-78/+20
|
* blogc: allow passing multiple -e optionsRafael G. Martins2020-04-222-3/+237
|
* common: prevent stdarg errors when format is NULLRafael G. Martins2019-09-092-1/+10
|
* blogc: fixed bug that prevented digits in -D argumentsRafael G. Martins2019-09-041-2/+20
|
* tests: common: sort: fixesRafael G. Martins2019-07-241-6/+7
|
* make: fixed filename generation for pagination_tagsRafael G. Martins2019-07-242-0/+531
|
* make: exec: support printing blogc variablesRafael G. Martins2019-07-141-28/+64
| | | | needs more tests
* Revert "common: added bc_slist_remove"Rafael G. Martins2019-05-011-35/+0
| | | | This reverts commit 0cfb3dad5de015b658b0917c43fabe420781f39f.
* Revert "make: support posts autoloading"Rafael G. Martins2019-05-011-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 autoloadingRafael G. Martins2019-04-281-0/+248
|
* make: support posts sortingRafael G. Martins2019-04-281-0/+220
|
* blogc: added FILTER_SORT, to sort posts by DATERafael G. Martins2019-04-281-16/+179
|
* common: added bc_slist_removeRafael G. Martins2019-04-281-0/+35
|
* common: added bc_slist_sortRafael G. Martins2019-04-281-0/+147
|
* make: removed atom_legacy_entry_id settingRafael G. Martins2019-04-211-84/+14
|
* make: use permalinks as atom idsRafael G. Martins2019-04-202-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 testRafael G. Martins2019-04-031-3/+14
|
* make: added support for `blogc -e`Rafael G. Martins2019-04-031-12/+42
| | | | must still add tests
* blogc: added `-e` cli option and `listing_entry` template blockRafael G. Martins2019-04-023-29/+241
|
* blogc: content: do not escape inline codeRafael G. Martins2019-02-241-3/+11
| | | | | | this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code
* blogc: sysinfo: simplified username impl. fixed testsRafael G. Martins2019-02-231-31/+9
|
* blogc: test "inject" functionsRafael G. Martins2019-02-102-0/+87
|
* blogc: rusage: added tests, fixed minor issueRafael G. Martins2019-02-101-0/+104
|
* blogc: sysinfo: added testsRafael G. Martins2019-02-103-4/+236
|
* blogc: funcvars: code simplified, added testsRafael G. Martins2019-02-101-0/+84
|
* blogc: template: allow whitespaces in template tags, not just spacesRafael G. Martins2019-02-091-0/+130
|
* *: update copyrightRafael G. Martins2019-01-1521-21/+21
|
* make: settings: removed unused functionRafael G. Martins2018-12-161-3/+0
|
* *: update copyrightRafael G. Martins2018-10-1421-21/+21
|
* make: added atom_dump helper ruleRafael G. Martins2018-07-262-0/+250
|
* make: allow custom atom templatesRafael G. Martins2018-07-261-0/+251
|
* make: implemented atom_legacy_entry_id settingRafael G. Martins2018-07-251-0/+128
| | | | This allows current users to avoid atom entry id changes.