Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | migrate codebase to use squareball. again :)feature/squareball | Rafael G. Martins | 2019-09-02 | 5 | -297/+284 |
| | |||||
* | 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 "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 |
| | |||||
* | 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 | ||||
* | *: update copyright | Rafael G. Martins | 2019-01-15 | 5 | -5/+5 |
| | |||||
* | make: settings: removed unused function | Rafael G. Martins | 2018-12-16 | 1 | -3/+0 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2018-10-14 | 5 | -5/+5 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | 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 |
| | |||||
* | make: fixed pagination, added tests | Rafael G. Martins | 2018-03-20 | 1 | -0/+377 |
| | |||||
* | 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. | ||||
* | make: disable bm_find_binary tests when running embedded | Rafael G. Martins | 2018-01-07 | 1 | -0/+6 |
| | |||||
* | 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. | ||||
* | make: copy rule should support directories, recursively | Rafael G. Martins | 2017-04-30 | 1 | -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 blogcfile | Rafael G. Martins | 2017-04-28 | 2 | -92/+83 |
| | | | | | now it is only possible to override output directory using environment variable. this commit also reduces the number trie lookups. | ||||
* | make: fix tests | Rafael G. Martins | 2017-04-11 | 1 | -12/+3 |
| | |||||
* | make: all builds are "production" by default, enable "dev" on cli. | Rafael G. Martins | 2017-03-11 | 1 | -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" builds | Rafael G. Martins | 2017-03-07 | 1 | -6/+48 |
| | | | | this is used by blogc-github-lambda and blogc-git-receiver. | ||||
* | make: s/env/global/ | Rafael G. Martins | 2017-03-06 | 2 | -28/+28 |
| | |||||
* | make: added missing test | Rafael G. Martins | 2017-03-03 | 1 | -0/+4 |
| | |||||
* | make: improved tests | Rafael G. Martins | 2017-03-03 | 1 | -3/+3 |
| | |||||
* | make: reworked binary lookups, added them to ctx | Rafael G. Martins | 2017-03-03 | 4 | -60/+56 |
| | |||||
* | make: implement binary lookup in a more portable way | Rafael G. Martins | 2017-03-01 | 4 | -0/+8 |
| | |||||
* | make: keep backward compatibility with [copy_files] | Rafael G. Martins | 2017-02-25 | 1 | -0/+93 |
| | |||||
* | make: renamed [environment] to [global] | Rafael G. Martins | 2017-02-25 | 2 | -3/+120 |
| | |||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 4 | -4/+4 |
| | |||||
* | make: parse runserver arguments from cli, instead of env | Rafael G. Martins | 2017-02-24 | 1 | -0/+104 |
| | | | | this is some over-optimized parser, to celebrate #cloudbleed :D | ||||
* | blogc-make: renamed copy_files settings to copy | Rafael G. Martins | 2017-02-14 | 1 | -6/+6 |
| | |||||
* | blogc-make: renamed auto-defined vars to MAKE_* | Rafael G. Martins | 2017-02-13 | 1 | -2/+2 |
| | |||||
* | make: fixed cmd quoting. read runserver settings from env | Rafael G. Martins | 2017-02-07 | 1 | -6/+6 |
| | |||||
* | blogc-make: fixed clean rule | Rafael G. Martins | 2017-01-03 | 1 | -1/+64 |
| | |||||
* | tests: use absolute path for binaries | Rafael G. Martins | 2017-01-02 | 1 | -7/+9 |
| | |||||
* | make: rename settings.ini to blogcfile | Rafael G. Martins | 2017-01-01 | 1 | -14/+14 |
| |