Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-03 | Merge remote-tracking branch 'keep-timestamp-patch/rm_extension_list_tags' | Tessa L. | |
2024-11-03 | Merge remote-tracking branch ↵ | Tessa L. | |
'keep-timestamp-patch/keep-original-timestamp-when-regenerating-blog' | |||
2023-02-26 | Keeps post original timestamp when regeneration all_posts and index page. | Guilherme Garcia | |
2023-01-03 | Merge branch 'master' into master | Dmitri Smirnov | |
2022-03-26 | Link to wiki in the README | Carlos Fenollosa | |
2022-01-28 | Remove .html extension from list of tags in terminal | Guilherme Garcia | |
2021-11-04 | Bumped version to 2.10 | Carlos Fenollosa | |
2021-11-04 | Added support for configuring a Twitter Card default image | Carlos Fenollosa | |
2020-05-10 | New feature: provides specific content ONLY on the index file | Carlos Fenollosa | |
2019-09-01 | fixed head before sed | Carlos Fenollosa | |
2018-07-14 | Add missing quote | Dknight | |
2018-07-13 | Make HTML5 compatible | Dknight | |
2017-01-03 | Merge pull request #124 from thalios1973/feat/pandoc-test-fix | Carlos Fenollosa | |
feat/pandoc-test-fix | |||
2017-01-03 | Merge pull request #125 from thalios1973/feat/body-end-file | Carlos Fenollosa | |
Added ability to include custom code just before the </body> tag. | |||
2016-12-29 | Added ability to include custom code just before the </body> tag. ↵ | Mike Gauthier | |
body_end_file global config variable added. | |||
2016-12-29 | Added additional check that will allow the use of pandoc without the ↵ | Mike Gauthier | |
--strict flag or 'hsmarkdown' hack. | |||
2016-10-24 | README formatting | Carlos Fenollosa | |
2016-10-24 | Support for static, not managed by bashblog html files. Close #92 | Carlos Fenollosa | |
2016-10-24 | Deleted the now defunct Twitter JSON API for share count. Fix #117 | Carlos Fenollosa | |
2016-10-24 | bump version to 2.8 | Carlos Fenollosa | |
2016-10-24 | Revert changes in #116 | Carlos Fenollosa | |
2016-10-24 | Merge branch 'master' of github.com:cfenollosa/bashblog | Carlos Fenollosa | |
2016-10-24 | Better error message for vim. Close #112 | Carlos Fenollosa | |
2016-10-24 | support Markdown.pl in bashblog folder. Close #113 | Carlos Fenollosa | |
2016-10-24 | Slavic language support, thanks to Tomasz Jadowski | Carlos Fenollosa | |
2016-10-24 | Revert tag management from #116 | Carlos Fenollosa | |
2016-10-24 | Better error message for $EDITOR. Close #112 | Carlos Fenollosa | |
2016-10-24 | support Markdown.pl in bashblog folder. Close #113 | Carlos Fenollosa | |
2016-10-24 | Merge pull request #116 from McDutchie/master | Carlos Fenollosa | |
More code refactoring. Limit word splitting and disable globbing by default. | |||
2016-10-24 | Slavic language support, thanks to Tomasz Jadowski | Carlos Fenollosa | |
2016-09-07 | tags_in_post(): bugfix for non-GNU 'sed' | Martijn Dekker | |
The 'sed' script in tags_in_post() used a GNU-specific feature, `\+`. This became unnecessary anyway after previous edits, so remove it. Also replace whitespace-comma-whitespace by newline directly instead of doing an intermediary replace. | |||
2016-09-06 | Fix renaming using 'bb.sh edit -n'. Suppress 'which' errmsg. | Martijn Dekker | |
edit(): The -n functionality (to rename files according to new title) was broken. After renaming, files were accessed by the old name and not found, or empty files were recreated under the old name, or both. Fixes: - Move 'touch' commands for restoring time stamps to more opportune places. - When renaming, save old file name to exclude it from $relevant_posts. global_variables(): suppress GNU 'which' error message on setting markdown_bin. | |||
2016-09-06 | Merge remote-tracking branch 'upstream/master' | Martijn Dekker | |
Resolve minor editing 2.6-to-2.7 editing conflict in bb.sh | |||
2016-09-06 | More code refactoring. Limit word splitting and disable globbing by default. | Martijn Dekker | |
- Globally, now do word splitting (IFS) only on newline (which also makes "$*" expand with newline separator instead of space). - Disable globbing (pathmame expansion), to be re-enabled locally using 'set +f' where needed (typically in a subshell). These changes help eliminate unexpected snags and security vulnerabilities in case someone forgets to quote a variable somewhere. They should also make the code "just work" with spaces and other special characters in file names and tags (as long as they're not newline characters, but that can't happen with regular use of the script as the newline is the separator). This means that, as of this change, editing or completely emptying the convert_filename filter should no longer pose any problems as far as bb.sh is concerned. The changes to adapt the code to the above are mainly: - Now that we do word splitting on newline only, we can go back to iterating through files in a "for" loop instead of using "read" with a here-document, which is more readable. However, to enable globbing locally, a technique adaptation is needed, like: for file in $(set +f; printf '%s\n' *.html) or for file in $(set +f; ls -t -- *.html) # sort by date, newest first Given IFS=$'\n' and globbing disabled globally, this technique is robust for all special characters in file names except for newlines. - invoke_editor() function replaces direct $EDITOR calls, because we need to locally word-split $EDITOR on spaces in case it contains arguments. - parse_file(): rewrite tag parsing to handle possible spaces in tags - tags_in_post(): output line-separated instead of space-separated tags; further adjust sed script to handle possible spaces in tags - rebuild_tags(): this function was refactored to use an array internally. Instead of two combined strings, it now takes HTML files and tags as separate arguments, separated by a single "--tag" argument. This allows for spaces and other special characters in both file names and tags. (See also commit a674ec5, which started this but didn't finish it). | |||
2016-04-26 | Update README.md | Carlos Fenollosa | |
2016-04-26 | simplified a couple commands and removed debug echos | Carlos Fenollosa | |
2016-04-26 | Store post dates in html comment. Sync those with filesystem. Closes #96 | Carlos Fenollosa | |
2016-04-25 | avoid the user mistakingly using 'edit <draft>' instead of 'post <draft>' | Carlos Fenollosa | |
2016-04-25 | Merge pull request #105 from louwers/patch-1 | Carlos Fenollosa | |
Added support for images and made author field optional | |||
2016-04-13 | Added support for images and made author field optional | Bart | |
One LOC per feature, hope you think it's worth it. http://imgur.com/YcBp29ql.png | |||
2016-03-09 | Merge remote-tracking branch 'upstream/master' | Martijn Dekker | |
2016-03-09 | rebuild_tags(): use array for more robust file handling | Martijn Dekker | |
2016-03-02 | Merge branch 'master' of github.com:cfenollosa/bashblog | Carlos Fenollosa | |
2016-03-02 | 'rebuild' now keeps original author. Fixes #99 | Carlos Fenollosa | |
2016-02-25 | Merge pull request #103 from platschi/master | Carlos Fenollosa | |
remove topsy, their website now gets forwarded to apple support | |||
2016-02-23 | remove topsy, their website now gets forwarded to apple support | platschi | |
2016-02-08 | fix #94 #97 | Carlos Fenollosa | |
2016-02-08 | Merge pull request #87 from McDutchie/master | Carlos Fenollosa | |
Some more optimizations | |||
2016-01-29 | fix #85 | Carlos | |
2016-01-19 | test_markdown() without temporary files | Martijn Dekker | |
- A much shorter test_markdown() function that compares output directly rather than using temp files. - Revert to using 'which' rather than 'command -v' for using the markdown binary because 'command -v' will find the markdown() shell function. |