c3d4cc1 | Carlos Fenollosa | 26 March 2022, 18:09:22 UTC | Link to wiki in the README | 26 March 2022, 18:09:22 UTC |
1715ee1 | Carlos Fenollosa | 04 November 2021, 19:09:13 UTC | Bumped version to 2.10 | 04 November 2021, 19:09:13 UTC |
adf76ad | Carlos Fenollosa | 04 November 2021, 18:39:11 UTC | Added support for configuring a Twitter Card default image | 04 November 2021, 18:39:11 UTC |
c126913 | Carlos Fenollosa | 10 May 2020, 14:22:42 UTC | New feature: provides specific content ONLY on the index file | 10 May 2020, 14:22:42 UTC |
bf67601 | Carlos Fenollosa | 01 September 2019, 12:19:21 UTC | fixed head before sed | 01 September 2019, 12:19:21 UTC |
89780c3 | Carlos Fenollosa | 03 January 2017, 16:11:04 UTC | Merge pull request #124 from thalios1973/feat/pandoc-test-fix feat/pandoc-test-fix | 03 January 2017, 16:11:04 UTC |
025cf79 | Carlos Fenollosa | 03 January 2017, 16:10:12 UTC | Merge pull request #125 from thalios1973/feat/body-end-file Added ability to include custom code just before the </body> tag. | 03 January 2017, 16:10:12 UTC |
272b1b6 | Mike Gauthier | 30 December 2016, 04:36:01 UTC | Added ability to include custom code just before the </body> tag. body_end_file global config variable added. | 30 December 2016, 04:36:01 UTC |
c9a297c | Mike Gauthier | 29 December 2016, 05:39:28 UTC | Added additional check that will allow the use of pandoc without the --strict flag or 'hsmarkdown' hack. | 29 December 2016, 05:39:28 UTC |
9f66ad0 | Carlos Fenollosa | 24 October 2016, 14:26:46 UTC | README formatting | 24 October 2016, 14:26:46 UTC |
500253e | Carlos Fenollosa | 24 October 2016, 14:23:53 UTC | Support for static, not managed by bashblog html files. Close #92 | 24 October 2016, 14:23:53 UTC |
3c73ef6 | Carlos Fenollosa | 24 October 2016, 13:59:28 UTC | Deleted the now defunct Twitter JSON API for share count. Fix #117 | 24 October 2016, 13:59:28 UTC |
b5a4590 | Carlos Fenollosa | 24 October 2016, 13:52:33 UTC | bump version to 2.8 | 24 October 2016, 13:52:33 UTC |
5c8e0e5 | Carlos Fenollosa | 24 October 2016, 13:49:52 UTC | Revert changes in #116 | 24 October 2016, 13:49:52 UTC |
5fc037f | Carlos Fenollosa | 24 October 2016, 13:36:07 UTC | Merge branch 'master' of github.com:cfenollosa/bashblog | 24 October 2016, 13:36:07 UTC |
2f598c1 | Carlos Fenollosa | 24 October 2016, 13:33:43 UTC | Better error message for vim. Close #112 | 24 October 2016, 13:33:43 UTC |
5e70713 | Carlos Fenollosa | 24 October 2016, 13:32:58 UTC | support Markdown.pl in bashblog folder. Close #113 | 24 October 2016, 13:32:58 UTC |
349ed8e | Carlos Fenollosa | 24 October 2016, 13:32:24 UTC | Slavic language support, thanks to Tomasz Jadowski | 24 October 2016, 13:32:24 UTC |
c6a9bef | Carlos Fenollosa | 24 October 2016, 10:02:22 UTC | Revert tag management from #116 | 24 October 2016, 10:02:22 UTC |
6222672 | Carlos Fenollosa | 24 October 2016, 09:41:30 UTC | Better error message for $EDITOR. Close #112 | 24 October 2016, 09:41:30 UTC |
36d79b5 | Carlos Fenollosa | 24 October 2016, 09:39:29 UTC | support Markdown.pl in bashblog folder. Close #113 | 24 October 2016, 09:39:29 UTC |
7154c07 | Carlos Fenollosa | 24 October 2016, 09:29:46 UTC | Merge pull request #116 from McDutchie/master More code refactoring. Limit word splitting and disable globbing by default. | 24 October 2016, 09:29:46 UTC |
2157b92 | Carlos Fenollosa | 24 October 2016, 09:16:01 UTC | Slavic language support, thanks to Tomasz Jadowski | 24 October 2016, 09:16:01 UTC |
f50a17c | Martijn Dekker | 07 September 2016, 16:27:34 UTC | tags_in_post(): bugfix for non-GNU 'sed' 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. | 07 September 2016, 16:27:34 UTC |
2a29b22 | Martijn Dekker | 06 September 2016, 06:41:36 UTC | Fix renaming using 'bb.sh edit -n'. Suppress 'which' errmsg. 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. | 06 September 2016, 06:41:36 UTC |
62a26bb | Martijn Dekker | 06 September 2016, 01:45:35 UTC | Merge remote-tracking branch 'upstream/master' Resolve minor editing 2.6-to-2.7 editing conflict in bb.sh | 06 September 2016, 01:45:35 UTC |
54cc0c8 | Martijn Dekker | 06 September 2016, 01:24:01 UTC | More code refactoring. Limit word splitting and disable globbing by default. - 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). | 06 September 2016, 01:24:01 UTC |
a36566a | Carlos Fenollosa | 26 April 2016, 14:48:24 UTC | Update README.md | 26 April 2016, 14:48:24 UTC |
2b8b02a | Carlos Fenollosa | 26 April 2016, 14:29:25 UTC | simplified a couple commands and removed debug echos | 26 April 2016, 14:29:25 UTC |
a08f47b | Carlos Fenollosa | 26 April 2016, 14:16:35 UTC | Store post dates in html comment. Sync those with filesystem. Closes #96 | 26 April 2016, 14:16:35 UTC |
09fa553 | Carlos Fenollosa | 25 April 2016, 19:14:24 UTC | avoid the user mistakingly using 'edit <draft>' instead of 'post <draft>' | 25 April 2016, 19:14:24 UTC |
dd3c8a4 | Carlos Fenollosa | 25 April 2016, 18:28:28 UTC | Merge pull request #105 from louwers/patch-1 Added support for images and made author field optional | 25 April 2016, 18:28:28 UTC |
1f4d3dd | Bart | 12 April 2016, 23:19:30 UTC | Added support for images and made author field optional One LOC per feature, hope you think it's worth it. http://imgur.com/YcBp29ql.png | 12 April 2016, 23:19:30 UTC |
d1a84d6 | Martijn Dekker | 09 March 2016, 04:28:44 UTC | Merge remote-tracking branch 'upstream/master' | 09 March 2016, 04:28:44 UTC |
a674ec5 | Martijn Dekker | 09 March 2016, 04:26:20 UTC | rebuild_tags(): use array for more robust file handling | 09 March 2016, 04:26:20 UTC |
9ac5989 | Carlos Fenollosa | 02 March 2016, 19:35:13 UTC | Merge branch 'master' of github.com:cfenollosa/bashblog | 02 March 2016, 19:35:13 UTC |
b22d968 | Carlos Fenollosa | 02 March 2016, 19:34:54 UTC | 'rebuild' now keeps original author. Fixes #99 | 02 March 2016, 19:34:54 UTC |
48f1fd4 | Carlos Fenollosa | 25 February 2016, 19:18:22 UTC | Merge pull request #103 from platschi/master remove topsy, their website now gets forwarded to apple support | 25 February 2016, 19:18:22 UTC |
10078f2 | platschi | 23 February 2016, 19:18:47 UTC | remove topsy, their website now gets forwarded to apple support | 23 February 2016, 19:18:47 UTC |
93d6877 | Carlos Fenollosa | 08 February 2016, 09:25:43 UTC | fix #94 #97 | 08 February 2016, 09:25:43 UTC |
93717bc | Carlos Fenollosa | 08 February 2016, 09:16:38 UTC | Merge pull request #87 from McDutchie/master Some more optimizations | 08 February 2016, 09:16:38 UTC |
7d60c63 | Carlos | 29 January 2016, 14:57:15 UTC | fix #85 | 29 January 2016, 14:57:15 UTC |
e3cf406 | Martijn Dekker | 18 January 2016, 23:12:53 UTC | test_markdown() without temporary files - 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. | 18 January 2016, 23:12:53 UTC |
9794f16 | Martijn Dekker | 18 January 2016, 20:35:29 UTC | fix unquoted $global_disqus_username that shellcheck.net didn't catch (it was subject to field splitting and globbing) | 18 January 2016, 20:35:29 UTC |
c3e0572 | Martijn Dekker | 18 January 2016, 20:05:06 UTC | Get rid of a couple of more shellcheck.net warnings. | 18 January 2016, 20:05:06 UTC |
7771fab | Martijn Dekker | 18 January 2016, 19:18:23 UTC | Some more code and performance optimisations - Use builtin 'command -v' rather than external 'which'. - The clean_filename() function just removed the initial ./ from a file name; do this with a parameter substitution instead. This gets rid of the need to fork subshells for command substitutions, so is much faster. - Where convenient, replace 'echo ... | sed ...' with fast parameter substitutions. | 18 January 2016, 19:18:23 UTC |
c683019 | Martijn Dekker | 18 January 2016, 19:08:52 UTC | XHTML compliance fix: self-close meta tag | 18 January 2016, 19:08:52 UTC |
044e53d | Carlos | 15 January 2016, 08:47:39 UTC | updated README | 15 January 2016, 08:47:39 UTC |
62ef0f4 | Carlos | 14 January 2016, 15:42:33 UTC | updated changelog | 14 January 2016, 15:42:33 UTC |
5ee22cf | Carlos | 14 January 2016, 15:40:46 UTC | Update the 'not abandoned by' date | 14 January 2016, 15:40:46 UTC |
37bef69 | Carlos | 14 January 2016, 15:39:56 UTC | fixed posts singular/plural | 14 January 2016, 15:39:56 UTC |
6b5e7c1 | Carlos | 14 January 2016, 15:33:10 UTC | Line breaks in README.md | 14 January 2016, 15:33:10 UTC |
b71973e | Carlos | 14 January 2016, 15:30:01 UTC | Added 'tags' command | 14 January 2016, 15:30:01 UTC |
dd3c9e1 | Carlos | 14 January 2016, 15:01:22 UTC | Changed copyright year and version number | 14 January 2016, 15:01:22 UTC |
0cff2a1 | Carlos Fenollosa | 14 January 2016, 15:00:11 UTC | Merge pull request #82 from McDutchie/master Various code cleanups | 14 January 2016, 15:00:11 UTC |
18d2df2 | Martijn Dekker | 11 January 2016, 17:56:39 UTC | fix: allow field splitting on tags_with_posts call Quoted one too many there. | 11 January 2016, 17:56:39 UTC |
b3b0545 | Martijn Dekker | 11 January 2016, 15:10:17 UTC | more robust parsing of 'ls' using 'read' * Iterating through 'ls' output using 'for' is very brittle; it relies on word splitting and globbing can also mess it up. It's best to use globs directly, but if using 'ls' cannot be avoided, e.g. if you need to sort by date, at least we can use 'IFS= read -r $i' to read from a here-document filled with the 'ls' output, which leaves everything in file names intact except newlines. * Other minor cleanups. | 11 January 2016, 15:10:17 UTC |
a0aa994 | Martijn Dekker | 11 January 2016, 02:30:41 UTC | Code cleanups: quoting, redirection, string handling - Fix lots of problems with convoluted and broken quoting techniques. - Group code blocks for redirection into a file rather than doing a separate additive redirect for each command. - Replace strings using bash parameter substitution rather than piping 'echo' through 'sed', resulting in a faster script. | 11 January 2016, 02:30:41 UTC |
ba012c4 | Martijn Dekker | 10 January 2016, 23:16:50 UTC | More correct and effective use of arrays | 10 January 2016, 23:16:50 UTC |
2b24132 | Martijn Dekker | 10 January 2016, 22:17:48 UTC | Consistent use of [[ and (( instead of [ Another minor code cleanup. Within [[ ... ]] and (( ... )) (but not [ ... ]) there is a different shell parsing context in which field splitting (a.k.a. word splitting) and pathname expansion (a.k.a. filename globbing) don't apply, so consistently use '[[' (and '((' for arithmetics) instead of '[' and remove unnecessary quotes. Since '[[ x == y]]' does 'case'-like glob pattern matching on 'y', the quotes to the right of '==' need to be kept for variables or glob characters, except if a glob pattern is wanted. | 10 January 2016, 22:17:48 UTC |
f3329f0 | Martijn Dekker | 10 January 2016, 18:31:49 UTC | Remove unnecessary quotes from scalar assignments Substitutions (variables, command substitutions, etc.) directly assigned to a scalar variable don't need to be quoted, as field splitting and globbing don't apply in that context. Removing superfluous quotes makes the code look a bit cleaner. | 10 January 2016, 18:31:49 UTC |
ab91e5d | Carlos | 21 December 2015, 18:49:34 UTC | topsy is kill | 21 December 2015, 18:49:34 UTC |
982b8a1 | Carlos Fenollosa | 13 November 2015, 15:30:19 UTC | Update README.md | 13 November 2015, 15:30:19 UTC |
54fdb36 | Carlos | 23 September 2015, 15:43:44 UTC | Shellcheck. Fix #78 | 23 September 2015, 15:43:44 UTC |
f891d26 | Carlos Fenollosa | 23 September 2015, 15:28:14 UTC | Merge pull request #80 from damateos/adaptative little changes in css to adapt width to screen | 23 September 2015, 15:28:14 UTC |
8194237 | David Mateos | 02 September 2015, 09:30:47 UTC | little changes in css to adapt width to screen width in px changed by percentage in main.css and meta tag viewport added. | 02 September 2015, 09:30:47 UTC |
f90c439 | Carlos | 11 July 2015, 10:10:25 UTC | fixed bug where drafts were appended a random postfix after re-editing | 11 July 2015, 10:10:25 UTC |
fab3bc1 | Carlos Fenollosa | 13 May 2015, 11:22:01 UTC | Update README.md | 13 May 2015, 11:22:01 UTC |
1a92bd7 | Carlos Fenollosa | 13 May 2015, 11:18:11 UTC | Update README.md | 13 May 2015, 11:18:11 UTC |
088eebd | Carlos Fenollosa | 13 May 2015, 11:15:05 UTC | Merge pull request #77 from vielmetti/patch-1 Update the "not abandoned by" date | 13 May 2015, 11:15:05 UTC |
d161020 | Edward Vielmetti | 13 May 2015, 10:43:52 UTC | Update the "not abandoned by" date | 13 May 2015, 10:43:52 UTC |
ec01889 | Carlos Fenollosa | 12 May 2015, 15:20:34 UTC | Merge pull request #75 from Enneka/master Fixes #70 | 12 May 2015, 15:20:34 UTC |
ee711ae | Enneka | 09 May 2015, 22:06:25 UTC | Fixes #70 | 09 May 2015, 22:06:25 UTC |
95854e9 | Carlos Fenollosa | 09 March 2015, 10:21:15 UTC | Close #72 | 09 March 2015, 10:21:15 UTC |
db3f42c | Carlos Fenollosa | 19 February 2015, 08:33:29 UTC | Fix #71 | 19 February 2015, 08:33:29 UTC |
3c39aaf | Carlos Fenollosa | 05 October 2014, 16:12:37 UTC | fix #59 | 05 October 2014, 16:12:37 UTC |
6347620 | Carlos Fenollosa | 15 September 2014, 17:32:51 UTC | properly quote twitter cards | 15 September 2014, 17:32:51 UTC |
adfcd98 | Carlos Fenollosa | 15 September 2014, 17:23:12 UTC | Twitter cards. Fixes #36 | 15 September 2014, 17:23:12 UTC |
450ecdd | Carlos Fenollosa | 12 September 2014, 15:00:01 UTC | changed hardcoded /bin/ paths | 12 September 2014, 15:00:01 UTC |
59c431b | Carlos Fenollosa | 01 September 2014, 14:13:06 UTC | Close #61 #57 | 01 September 2014, 14:13:06 UTC |
3cf548d | Carlos Fenollosa | 01 September 2014, 13:21:50 UTC | Added sections from bb.sh | 01 September 2014, 13:21:50 UTC |
a94b2f5 | Carlos Fenollosa | 19 August 2014, 10:11:23 UTC | fix #65 | 19 August 2014, 10:11:23 UTC |
ec8c670 | Carlos Fenollosa | 19 August 2014, 09:56:33 UTC | Update README.md | 19 August 2014, 09:56:33 UTC |
472e9d3 | Carlos Fenollosa | 19 August 2014, 09:42:39 UTC | contributing code | 19 August 2014, 09:42:39 UTC |
1cd13b0 | Carlos Fenollosa | 18 July 2014, 07:20:44 UTC | updated twitter count api | 18 July 2014, 07:20:44 UTC |
95e36a5 | Carlos Fenollosa | 17 July 2014, 14:47:57 UTC | Now the tweet count links to Topsy | 17 July 2014, 14:47:57 UTC |
53e7910 | Carlos Fenollosa | 11 July 2014, 07:23:57 UTC | Fix for #60 | 11 July 2014, 07:23:57 UTC |
f946c98 | Carlos Fenollosa | 07 July 2014, 15:23:24 UTC | Twitter count now links to search results | 07 July 2014, 15:23:24 UTC |
1a4ea17 | Carlos Fenollosa | 07 July 2014, 15:16:46 UTC | Update README for cookieless twitter | 07 July 2014, 15:16:46 UTC |
60bedca | Carlos Fenollosa | 07 July 2014, 15:11:14 UTC | Cookieless twitter option | 07 July 2014, 15:11:14 UTC |
63f17fa | Carlos Fenollosa | 03 July 2014, 14:07:05 UTC | Hide warning message in sed | 03 July 2014, 14:07:05 UTC |
db4eb3c | Carlos Fenollosa | 30 June 2014, 13:51:14 UTC | Sed error on mac | 30 June 2014, 13:51:14 UTC |
07e690b | Carlos Fenollosa | 30 June 2014, 13:50:58 UTC | Sed error on mac | 30 June 2014, 13:50:58 UTC |
64eae60 | Carlos Fenollosa | 30 June 2014, 13:43:28 UTC | Sed error on mac | 30 June 2014, 13:43:28 UTC |
e43d1e5 | Carlos Fenollosa | 30 June 2014, 13:28:51 UTC | Sed error on mac | 30 June 2014, 13:28:51 UTC |
ed746d0 | Carlos Fenollosa | 30 June 2014, 13:27:15 UTC | Sed error on mac | 30 June 2014, 13:27:15 UTC |
5099d48 | Carlos Fenollosa | 30 June 2014, 09:45:47 UTC | Fixed #56 | 30 June 2014, 09:45:47 UTC |
44ec89a | Carlos Fenollosa | 30 June 2014, 07:06:54 UTC | Manual fix for #54 | 30 June 2014, 07:06:54 UTC |
8e6d615 | Carlos Fenollosa | 30 June 2014, 07:05:15 UTC | Merge pull request #55 from Lex-2008/small-fixes/5 Fixes for blogs without tags | 30 June 2014, 07:05:15 UTC |
cd921fa | Carlos Fenollosa | 30 June 2014, 07:04:45 UTC | Merge pull request #56 from cfenollosa/revert-54-master Revert "Fixed hardcoded tag filename prefix" | 30 June 2014, 07:04:45 UTC |