Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git-receiver: allow users to change the base directory | Rafael G. Martins | 2018-05-30 | 3 | -3/+12 |
| | | | | | this is useful mostly for shared environments that just provide one shell user. | ||||
* | git-receiver: added support to use as an authorized_keys commmand | Rafael G. Martins | 2018-05-26 | 1 | -1/+13 |
| | |||||
* | make: run the build rule before starting httpd for runserver rule | Rafael G. Martins | 2018-05-14 | 1 | -0/+15 |
| | |||||
* | make: improve blogc output formatting | Rafael G. Martins | 2018-05-14 | 1 | -31/+28 |
| | |||||
* | Revert "make: trying to fix osx build due to lack of SIGRTMAX" | Rafael G. Martins | 2018-05-13 | 1 | -8/+0 |
| | | | | This reverts commit 321459e9584e4f9b6c725f1e19effef693e3c561. | ||||
* | make: simplified signal logic | Rafael G. Martins | 2018-05-13 | 2 | -11/+14 |
| | |||||
* | make: trying to fix osx build due to lack of SIGRTMAX | Rafael G. Martins | 2018-05-13 | 1 | -0/+8 |
| | |||||
* | make: added 'watch' rule. improved 'runserver' rule. | Rafael G. Martins | 2018-05-13 | 5 | -71/+186 |
| | |||||
* | runserver: do not ignore ctrl-c. move from signal() to sigaction() | Rafael G. Martins | 2018-05-13 | 1 | -8/+5 |
| | |||||
* | make: git-receiver: fixed conversion from wait status to status code | Rafael G. Martins | 2018-05-13 | 5 | -6/+61 |
| | |||||
* | Revert "build: introduced an unused variable to test clang-analyzer" | Rafael G. Martins | 2018-05-07 | 1 | -3/+0 |
| | | | | This reverts commit e07e1d66e892764582fbe091fa1cd4cc13619e2f. | ||||
* | build: introduced an unused variable to test clang-analyzer | Rafael G. Martins | 2018-05-07 | 1 | -0/+3 |
| | |||||
* | Revert "build: introduced a minor memory leak to test clang-analyzer" | Rafael G. Martins | 2018-05-07 | 1 | -2/+2 |
| | | | | This reverts commit 42259e6b0036935e00fca6b780f8d8b616d132c7. | ||||
* | build: introduced a minor memory leak to test clang-analyzer | Rafael G. Martins | 2018-05-07 | 1 | -2/+2 |
| | |||||
* | make: fixed pagination, added tests | Rafael G. Martins | 2018-03-20 | 1 | -2/+2 |
| | |||||
* | make: allow to disable pagination by setting posts_per_page<0 | Rafael G. Martins | 2018-03-20 | 1 | -15/+23 |
| | |||||
* | make: exec: always print stderr, if available | Rafael G. Martins | 2018-03-20 | 1 | -7/+4 |
| | | | | ... otherwise blogc warnings are hidden | ||||
* | blogc: common: replace unsigned int with size_t | Rafael G. Martins | 2018-03-20 | 12 | -23/+23 |
| | |||||
* | blogc: loader: respect FILTER_PER_PAGE=0 | Rafael G. Martins | 2018-03-20 | 1 | -2/+2 |
| | |||||
* | make: avoid infinite-loop if posts_per_page <= 0 | Rafael G. Martins | 2018-03-20 | 1 | -0/+3 |
| | |||||
* | Revert "Revert "make: fixed context reloading"" | Rafael G. Martins | 2018-03-14 | 3 | -12/+12 |
| | | | | This reverts commit 6dc12e00c852b143429b3db0c01cb9abcf102b8f. | ||||
* | Revert "make: fixed context reloading" | Rafael G. Martins | 2018-03-13 | 3 | -12/+12 |
| | | | | | | This reverts commit 89e2a39d1ee66a233b1cd21606ba66b32b902b08. This commit was reverted only to test the clang-analyzer travis job. | ||||
* | make: added missing include | Rafael G. Martins | 2018-03-13 | 1 | -0/+1 |
| | |||||
* | runserver: fixed potential null dereference | Rafael G. Martins | 2018-03-13 | 1 | -3/+5 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | runserver: fixed memory leak | Rafael G. Martins | 2018-03-13 | 1 | -0/+2 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | runserver: fixed double-free | Rafael G. Martins | 2018-03-13 | 1 | -1/+0 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | make: fixed context reloading | Rafael G. Martins | 2018-03-13 | 3 | -12/+12 |
| | | | | this bug was reported by clang-analyzer. | ||||
* | make: rename TAG_CLOUD to MAKE_TAGS | Rafael G. Martins | 2018-03-12 | 1 | -1/+1 |
| | | | | | 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 | 5 | -34/+49 |
| | | | | | | 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: typo | Rafael G. Martins | 2018-03-11 | 1 | -1/+1 |
| | |||||
* | make: pass TAG_CLOUD variable to blogc. | Rafael G. Martins | 2018-03-10 | 1 | -0/+6 |
| | | | | | this variable includes all the tags configured in blogcfile(5) as a space-separated string. | ||||
* | Revert "blogc: make: mkdir may raise ENOENT" | Rafael G. Martins | 2018-02-25 | 2 | -2/+2 |
| | | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x | ||||
* | blogc: make: mkdir may raise ENOENT | Rafael G. Martins | 2018-02-24 | 2 | -2/+2 |
| | |||||
* | make: do not run stat twice for regular files when copying | Rafael G. Martins | 2018-02-24 | 3 | -26/+31 |
| | |||||
* | blogc: template: fixed comment | Rafael G. Martins | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | blogc: template parser refactoring | Rafael G. Martins | 2018-02-21 | 6 | -161/+164 |
| | | | | mostly names and data structures. | ||||
* | make: reloader: do not kill the process on reload failure | Rafael G. Martins | 2018-01-27 | 1 | -6/+8 |
| | |||||
* | make: disable bm_find_binary tests when running embedded | Rafael G. Martins | 2018-01-07 | 1 | -2/+2 |
| | |||||
* | make: use embedded blogc, if possible | Rafael G. Martins | 2018-01-07 | 1 | -0/+13 |
| | |||||
* | make: improved runserver docs | Rafael G. Martins | 2017-11-19 | 2 | -2/+4 |
| | |||||
* | Allow lines starting with * or ** | baylej | 2017-10-25 | 1 | -7/+24 |
| | | | | | | | 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: renamed bm_exec_empty_dir() | Rafael G. Martins | 2017-09-14 | 3 | -4/+4 |
| | |||||
* | make: added 'html_order' and 'atom_order' settings | Rafael G. Martins | 2017-08-03 | 2 | -0/+22 |
| | | | | | | | 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_REVERSE | Rafael G. Martins | 2017-07-25 | 1 | -1/+14 |
| | |||||
* | make: rules: do not run httpd if reloader failed to start | Rafael G. Martins | 2017-07-23 | 1 | -0/+3 |
| | |||||
* | make: exec: show stderr on errors, even on non-verbose mode | Rafael G. Martins | 2017-07-23 | 1 | -2/+5 |
| | |||||
* | allow source config keys without value | Rafael G. Martins | 2017-06-28 | 1 | -3/+4 |
| | |||||
* | utils: trie: fixed bug in foreach implementation. | Rafael G. Martins | 2017-06-24 | 1 | -3/+1 |
| | | | | | | 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: truncate dest file if exists | Rafael G. Martins | 2017-05-08 | 1 | -1/+1 |
| | |||||
* | Fix an issue when using imbricated if-else blocks | baylej | 2017-05-04 | 1 | -0/+3 |
| | | | | `valid_else` is not correctly set when `evaluate` is true |