aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* make: fix memory leakRafael G. Martins2018-03-111-0/+1
|
* make: pass TAG_CLOUD variable to blogc.Rafael G. Martins2018-03-101-0/+45
| | | | | this variable includes all the tags configured in blogcfile(5) as a space-separated string.
* blogc: template parser refactoringRafael G. Martins2018-02-213-390/+390
| | | | mostly names and data structures.
* make: disable bm_find_binary tests when running embeddedRafael G. Martins2018-01-071-0/+6
|
* Allow lines starting with * or **baylej2017-10-251-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' settingsRafael G. Martins2017-08-032-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_REVERSERafael G. Martins2017-07-251-0/+47
|
* allow source config keys without valueRafael G. Martins2017-06-281-7/+4
|
* utils: trie: fixed bug in foreach implementation.Rafael G. Martins2017-06-242-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.
* make: copy rule should support directories, recursivelyRafael G. Martins2017-04-301-0/+70
| | | | | | now any directories listed in the [copy] section of blogcfile will have its files copied recursively to the output dir. this is useful for big chunks of generated files, e.g. doxygen documentation.
* make: settings: do not read output_dir from blogcfileRafael G. Martins2017-04-282-92/+83
| | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups.
* make: fix testsRafael G. Martins2017-04-111-12/+3
|
* make: all builds are "production" by default, enable "dev" on cli.Rafael G. Martins2017-03-111-6/+5
| | | | | | this is more consistent with other similar tools, and enables us to add something like a [copy:dev] section later, that will avoid copying dev files to production builds.
* make: add support to "production" buildsRafael G. Martins2017-03-071-6/+48
| | | | this is used by blogc-github-lambda and blogc-git-receiver.
* make: s/env/global/Rafael G. Martins2017-03-062-28/+28
|
* runserver: fixed request read. increased bufferRafael G. Martins2017-03-051-32/+1
|
* make: added missing testRafael G. Martins2017-03-031-0/+4
|
* make: improved testsRafael G. Martins2017-03-031-3/+3
|
* make: reworked binary lookups, added them to ctxRafael G. Martins2017-03-034-60/+56
|
* make: implement binary lookup in a more portable wayRafael G. Martins2017-03-014-0/+8
|
* make: keep backward compatibility with [copy_files]Rafael G. Martins2017-02-251-0/+93
|
* make: renamed [environment] to [global]Rafael G. Martins2017-02-252-3/+120
|
* *: updated copyrightRafael G. Martins2017-02-2520-20/+20
|
* make: parse runserver arguments from cli, instead of envRafael G. Martins2017-02-241-0/+104
| | | | this is some over-optimized parser, to celebrate #cloudbleed :D
* content-parser: source-parser: rename TITLE to FIRST_HEADERRafael G. Martins2017-02-152-13/+13
|
* content-parser: source-parser: extract TITLE from content headerRafael G. Martins2017-02-142-106/+320
| | | | | | | | | | | this patch implements support to using the first header found in source file as the TITLE variable. please note that if the TITLE variable is defined on the source file's variable section it takes precedence. this patch changes the old behaviour and can break some users' websites. if you have some '{% ifdef TITLE %}' blocks in your template, they will evaluate to true if you don't defined TITLE manually, but have a header in your content.
* blogc-make: renamed copy_files settings to copyRafael G. Martins2017-02-141-6/+6
|
* blogc-make: renamed auto-defined vars to MAKE_*Rafael G. Martins2017-02-131-2/+2
|
* make: fixed cmd quoting. read runserver settings from envRafael G. Martins2017-02-071-6/+6
|
* git-receiver: do not run blogc-make tests if blogc-make is not builtRafael G. Martins2017-01-041-9/+11
|
* git-receiver: support blogc-makeRafael G. Martins2017-01-041-1/+31
|
* git-receiver: detect if pre-receive is running from git using env varRafael G. Martins2017-01-041-4/+4
|
* blogc-make: fixed clean ruleRafael G. Martins2017-01-031-1/+64
|
* tests: use absolute path for binariesRafael G. Martins2017-01-025-24/+26
|
* make: rename settings.ini to blogcfileRafael G. Martins2017-01-011-14/+14
|
* make: added a bunch of testsRafael G. Martins2017-01-013-0/+1088
|
* config-parser: only allow double-quoted valuesRafael G. Martins2017-01-011-9/+9
|
* config-parser: allow quoted valuesRafael G. Martins2017-01-011-4/+111
|
* make: implemented runserver ruleRafael G. Martins2016-12-271-1/+4
|
* make: implemented a build tool for blogcRafael G. Martins2016-12-271-0/+158
| | | | | | | | | | | | | | | | | so, this is basically what happens when you don't have anything better to do in the christmas weekend. most of this code was written in the last 2 or 3 days. i'd like to thank the chivas brothers, the weather and my psychological problems for this achievement. on a serious note, this tool still needs a man page, more tests, and the aws lambda function should be adapted to use it instead of (or together with) make/busybox. also, while talking about aws lambda, this tool can be nicely embedded into the blogc binary, to produce a single "small" static binary for usage in lambda ;)
* config-parser: bc_config_get_list should return array instead of listRafael G. Martins2016-12-251-15/+18
|
* config-parser: added support to parse section as list of linesRafael G. Martins2016-12-252-18/+151
|
* blogc: common: git-receiver: improved error handlingRafael G. Martins2016-12-231-3/+8
|
* git-receiver: moved shell quote function to commonRafael G. Martins2016-12-212-29/+31
|
* config-parser: improved error reporting, added bc_config_get_with_defaultRafael G. Martins2016-12-201-4/+13
|
* git-receiver: test manual mirror pushRafael G. Martins2016-11-191-0/+30
|
* git-receiver: when rebuilding, change to repo dir asapRafael G. Martins2016-11-171-5/+17
|
* git-receiver: allow users to re-run the last successful buildRafael G. Martins2016-11-171-0/+16
| | | | | running the pre-receive hook manually on the server will re-run the last successful build.
* blogc: added some "integration" testsRafael G. Martins2016-10-151-0/+379
|
* build: use bash, but get it properly during build timeRafael G. Martins2016-10-123-3/+3
| | | | hardcoding it for travis, as bash is always installed there.