Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help


sort by:
RevisionAuthorDateMessageCommit Date
1715ee1 Carlos Fenollosa04 November 2021, 19:09:13 UTCBumped version to 2.1004 November 2021, 19:09:13 UTC
adf76ad Carlos Fenollosa04 November 2021, 18:39:11 UTCAdded support for configuring a Twitter Card default image04 November 2021, 18:39:11 UTC
c126913 Carlos Fenollosa10 May 2020, 14:22:42 UTCNew feature: provides specific content ONLY on the index file10 May 2020, 14:22:42 UTC
bf67601 Carlos Fenollosa01 September 2019, 12:19:21 UTCfixed head before sed01 September 2019, 12:19:21 UTC
89780c3 Carlos Fenollosa03 January 2017, 16:11:04 UTCMerge pull request #124 from thalios1973/feat/pandoc-test-fix feat/pandoc-test-fix03 January 2017, 16:11:04 UTC
025cf79 Carlos Fenollosa03 January 2017, 16:10:12 UTCMerge 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 Gauthier30 December 2016, 04:36:01 UTCAdded 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 Gauthier29 December 2016, 05:39:28 UTCAdded 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 Fenollosa24 October 2016, 14:26:46 UTCREADME formatting24 October 2016, 14:26:46 UTC
500253e Carlos Fenollosa24 October 2016, 14:23:53 UTCSupport for static, not managed by bashblog html files. Close #9224 October 2016, 14:23:53 UTC
3c73ef6 Carlos Fenollosa24 October 2016, 13:59:28 UTCDeleted the now defunct Twitter JSON API for share count. Fix #11724 October 2016, 13:59:28 UTC
b5a4590 Carlos Fenollosa24 October 2016, 13:52:33 UTCbump version to 2.824 October 2016, 13:52:33 UTC
5c8e0e5 Carlos Fenollosa24 October 2016, 13:49:52 UTCRevert changes in #11624 October 2016, 13:49:52 UTC
5fc037f Carlos Fenollosa24 October 2016, 13:36:07 UTCMerge branch 'master' of github.com:cfenollosa/bashblog24 October 2016, 13:36:07 UTC
2f598c1 Carlos Fenollosa24 October 2016, 13:33:43 UTCBetter error message for vim. Close #11224 October 2016, 13:33:43 UTC
5e70713 Carlos Fenollosa24 October 2016, 13:32:58 UTCsupport Markdown.pl in bashblog folder. Close #11324 October 2016, 13:32:58 UTC
349ed8e Carlos Fenollosa24 October 2016, 13:32:24 UTCSlavic language support, thanks to Tomasz Jadowski24 October 2016, 13:32:24 UTC
c6a9bef Carlos Fenollosa24 October 2016, 10:02:22 UTCRevert tag management from #11624 October 2016, 10:02:22 UTC
6222672 Carlos Fenollosa24 October 2016, 09:41:30 UTCBetter error message for $EDITOR. Close #11224 October 2016, 09:41:30 UTC
36d79b5 Carlos Fenollosa24 October 2016, 09:39:29 UTCsupport Markdown.pl in bashblog folder. Close #11324 October 2016, 09:39:29 UTC
7154c07 Carlos Fenollosa24 October 2016, 09:29:46 UTCMerge 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 Fenollosa24 October 2016, 09:16:01 UTCSlavic language support, thanks to Tomasz Jadowski24 October 2016, 09:16:01 UTC
f50a17c Martijn Dekker07 September 2016, 16:27:34 UTCtags_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 Dekker06 September 2016, 06:41:36 UTCFix 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 Dekker06 September 2016, 01:45:35 UTCMerge remote-tracking branch 'upstream/master' Resolve minor editing 2.6-to-2.7 editing conflict in bb.sh06 September 2016, 01:45:35 UTC
54cc0c8 Martijn Dekker06 September 2016, 01:24:01 UTCMore 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 Fenollosa26 April 2016, 14:48:24 UTCUpdate README.md26 April 2016, 14:48:24 UTC
2b8b02a Carlos Fenollosa26 April 2016, 14:29:25 UTCsimplified a couple commands and removed debug echos26 April 2016, 14:29:25 UTC
a08f47b Carlos Fenollosa26 April 2016, 14:16:35 UTCStore post dates in html comment. Sync those with filesystem. Closes #9626 April 2016, 14:16:35 UTC
09fa553 Carlos Fenollosa25 April 2016, 19:14:24 UTCavoid the user mistakingly using 'edit <draft>' instead of 'post <draft>'25 April 2016, 19:14:24 UTC
dd3c8a4 Carlos Fenollosa25 April 2016, 18:28:28 UTCMerge pull request #105 from louwers/patch-1 Added support for images and made author field optional25 April 2016, 18:28:28 UTC
1f4d3dd Bart12 April 2016, 23:19:30 UTCAdded support for images and made author field optional One LOC per feature, hope you think it's worth it. http://imgur.com/YcBp29ql.png12 April 2016, 23:19:30 UTC
d1a84d6 Martijn Dekker09 March 2016, 04:28:44 UTCMerge remote-tracking branch 'upstream/master'09 March 2016, 04:28:44 UTC
a674ec5 Martijn Dekker09 March 2016, 04:26:20 UTCrebuild_tags(): use array for more robust file handling09 March 2016, 04:26:20 UTC
9ac5989 Carlos Fenollosa02 March 2016, 19:35:13 UTCMerge branch 'master' of github.com:cfenollosa/bashblog02 March 2016, 19:35:13 UTC
b22d968 Carlos Fenollosa02 March 2016, 19:34:54 UTC'rebuild' now keeps original author. Fixes #9902 March 2016, 19:34:54 UTC
48f1fd4 Carlos Fenollosa25 February 2016, 19:18:22 UTCMerge pull request #103 from platschi/master remove topsy, their website now gets forwarded to apple support25 February 2016, 19:18:22 UTC
10078f2 platschi23 February 2016, 19:18:47 UTCremove topsy, their website now gets forwarded to apple support23 February 2016, 19:18:47 UTC
93d6877 Carlos Fenollosa08 February 2016, 09:25:43 UTCfix #94 #9708 February 2016, 09:25:43 UTC
93717bc Carlos Fenollosa08 February 2016, 09:16:38 UTCMerge pull request #87 from McDutchie/master Some more optimizations08 February 2016, 09:16:38 UTC
7d60c63 Carlos29 January 2016, 14:57:15 UTCfix #8529 January 2016, 14:57:15 UTC
e3cf406 Martijn Dekker18 January 2016, 23:12:53 UTCtest_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 Dekker18 January 2016, 20:35:29 UTCfix 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 Dekker18 January 2016, 20:05:06 UTCGet rid of a couple of more shellcheck.net warnings.18 January 2016, 20:05:06 UTC
7771fab Martijn Dekker18 January 2016, 19:18:23 UTCSome 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 Dekker18 January 2016, 19:08:52 UTCXHTML compliance fix: self-close meta tag18 January 2016, 19:08:52 UTC
044e53d Carlos15 January 2016, 08:47:39 UTCupdated README15 January 2016, 08:47:39 UTC
62ef0f4 Carlos14 January 2016, 15:42:33 UTCupdated changelog14 January 2016, 15:42:33 UTC
5ee22cf Carlos14 January 2016, 15:40:46 UTCUpdate the 'not abandoned by' date14 January 2016, 15:40:46 UTC
37bef69 Carlos14 January 2016, 15:39:56 UTCfixed posts singular/plural14 January 2016, 15:39:56 UTC
6b5e7c1 Carlos14 January 2016, 15:33:10 UTCLine breaks in README.md14 January 2016, 15:33:10 UTC
b71973e Carlos14 January 2016, 15:30:01 UTCAdded 'tags' command14 January 2016, 15:30:01 UTC
dd3c9e1 Carlos14 January 2016, 15:01:22 UTCChanged copyright year and version number14 January 2016, 15:01:22 UTC
0cff2a1 Carlos Fenollosa14 January 2016, 15:00:11 UTCMerge pull request #82 from McDutchie/master Various code cleanups14 January 2016, 15:00:11 UTC
18d2df2 Martijn Dekker11 January 2016, 17:56:39 UTCfix: allow field splitting on tags_with_posts call Quoted one too many there.11 January 2016, 17:56:39 UTC
b3b0545 Martijn Dekker11 January 2016, 15:10:17 UTCmore 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 Dekker11 January 2016, 02:30:41 UTCCode 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 Dekker10 January 2016, 23:16:50 UTCMore correct and effective use of arrays10 January 2016, 23:16:50 UTC
2b24132 Martijn Dekker10 January 2016, 22:17:48 UTCConsistent 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 Dekker10 January 2016, 18:31:49 UTCRemove 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 Carlos21 December 2015, 18:49:34 UTCtopsy is kill21 December 2015, 18:49:34 UTC
982b8a1 Carlos Fenollosa13 November 2015, 15:30:19 UTCUpdate README.md13 November 2015, 15:30:19 UTC
54fdb36 Carlos23 September 2015, 15:43:44 UTCShellcheck. Fix #7823 September 2015, 15:43:44 UTC
f891d26 Carlos Fenollosa23 September 2015, 15:28:14 UTCMerge pull request #80 from damateos/adaptative little changes in css to adapt width to screen23 September 2015, 15:28:14 UTC
8194237 David Mateos02 September 2015, 09:30:47 UTClittle 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 Carlos11 July 2015, 10:10:25 UTCfixed bug where drafts were appended a random postfix after re-editing11 July 2015, 10:10:25 UTC
fab3bc1 Carlos Fenollosa13 May 2015, 11:22:01 UTCUpdate README.md13 May 2015, 11:22:01 UTC
1a92bd7 Carlos Fenollosa13 May 2015, 11:18:11 UTCUpdate README.md13 May 2015, 11:18:11 UTC
088eebd Carlos Fenollosa13 May 2015, 11:15:05 UTCMerge pull request #77 from vielmetti/patch-1 Update the "not abandoned by" date13 May 2015, 11:15:05 UTC
d161020 Edward Vielmetti13 May 2015, 10:43:52 UTCUpdate the "not abandoned by" date13 May 2015, 10:43:52 UTC
ec01889 Carlos Fenollosa12 May 2015, 15:20:34 UTCMerge pull request #75 from Enneka/master Fixes #7012 May 2015, 15:20:34 UTC
ee711ae Enneka09 May 2015, 22:06:25 UTCFixes #7009 May 2015, 22:06:25 UTC
95854e9 Carlos Fenollosa09 March 2015, 10:21:15 UTCClose #7209 March 2015, 10:21:15 UTC
db3f42c Carlos Fenollosa19 February 2015, 08:33:29 UTCFix #7119 February 2015, 08:33:29 UTC
3c39aaf Carlos Fenollosa05 October 2014, 16:12:37 UTCfix #5905 October 2014, 16:12:37 UTC
6347620 Carlos Fenollosa15 September 2014, 17:32:51 UTCproperly quote twitter cards15 September 2014, 17:32:51 UTC
adfcd98 Carlos Fenollosa15 September 2014, 17:23:12 UTCTwitter cards. Fixes #3615 September 2014, 17:23:12 UTC
450ecdd Carlos Fenollosa12 September 2014, 15:00:01 UTCchanged hardcoded /bin/ paths12 September 2014, 15:00:01 UTC
59c431b Carlos Fenollosa01 September 2014, 14:13:06 UTCClose #61 #5701 September 2014, 14:13:06 UTC
3cf548d Carlos Fenollosa01 September 2014, 13:21:50 UTCAdded sections from bb.sh01 September 2014, 13:21:50 UTC
a94b2f5 Carlos Fenollosa19 August 2014, 10:11:23 UTCfix #6519 August 2014, 10:11:23 UTC
ec8c670 Carlos Fenollosa19 August 2014, 09:56:33 UTCUpdate README.md19 August 2014, 09:56:33 UTC
472e9d3 Carlos Fenollosa19 August 2014, 09:42:39 UTCcontributing code19 August 2014, 09:42:39 UTC
1cd13b0 Carlos Fenollosa18 July 2014, 07:20:44 UTCupdated twitter count api18 July 2014, 07:20:44 UTC
95e36a5 Carlos Fenollosa17 July 2014, 14:47:57 UTCNow the tweet count links to Topsy17 July 2014, 14:47:57 UTC
53e7910 Carlos Fenollosa11 July 2014, 07:23:57 UTCFix for #6011 July 2014, 07:23:57 UTC
f946c98 Carlos Fenollosa07 July 2014, 15:23:24 UTCTwitter count now links to search results07 July 2014, 15:23:24 UTC
1a4ea17 Carlos Fenollosa07 July 2014, 15:16:46 UTCUpdate README for cookieless twitter07 July 2014, 15:16:46 UTC
60bedca Carlos Fenollosa07 July 2014, 15:11:14 UTCCookieless twitter option07 July 2014, 15:11:14 UTC
63f17fa Carlos Fenollosa03 July 2014, 14:07:05 UTCHide warning message in sed03 July 2014, 14:07:05 UTC
db4eb3c Carlos Fenollosa30 June 2014, 13:51:14 UTCSed error on mac30 June 2014, 13:51:14 UTC
07e690b Carlos Fenollosa30 June 2014, 13:50:58 UTCSed error on mac30 June 2014, 13:50:58 UTC
64eae60 Carlos Fenollosa30 June 2014, 13:43:28 UTCSed error on mac30 June 2014, 13:43:28 UTC
e43d1e5 Carlos Fenollosa30 June 2014, 13:28:51 UTCSed error on mac30 June 2014, 13:28:51 UTC
ed746d0 Carlos Fenollosa30 June 2014, 13:27:15 UTCSed error on mac30 June 2014, 13:27:15 UTC
5099d48 Carlos Fenollosa30 June 2014, 09:45:47 UTCFixed #5630 June 2014, 09:45:47 UTC
44ec89a Carlos Fenollosa30 June 2014, 07:06:54 UTCManual fix for #5430 June 2014, 07:06:54 UTC
8e6d615 Carlos Fenollosa30 June 2014, 07:05:15 UTCMerge pull request #55 from Lex-2008/small-fixes/5 Fixes for blogs without tags30 June 2014, 07:05:15 UTC
cd921fa Carlos Fenollosa30 June 2014, 07:04:45 UTCMerge pull request #56 from cfenollosa/revert-54-master Revert "Fixed hardcoded tag filename prefix"30 June 2014, 07:04:45 UTC
19f0c9f Carlos Fenollosa30 June 2014, 07:04:18 UTCRevert "Fixed hardcoded tag filename prefix"30 June 2014, 07:04:18 UTC
  • Newer
  • Older

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top