Carlos Fenollosa
0b12c0d69b
Merge pull request #53 from Lex-2008/small-fixes/4
...
Small fixes/4
2014-06-27 10:19:00 +02:00
Carlos Fenollosa
07c7e201dd
Merge pull request #52 from Lex-2008/rebuild-less-tags
...
Rebuild less tags
2014-06-27 10:18:08 +02:00
Alexey Shpakovsky
773bcc1f85
help text
2014-06-26 08:33:01 +02:00
Alexey Shpakovsky
7d67da7b27
use file extension when posting with bb.sh post file.ext
...
but let users override it with `bb.sh post -html file.md`
2014-06-26 08:33:00 +02:00
Alexey Shpakovsky
555db3167f
use markdown by default (if available) when posting with bb.sh post
2014-06-26 08:33:00 +02:00
Alexey Shpakovsky
840d24c4ac
Don't ask for preview - just show URL for preview
2014-06-26 08:33:00 +02:00
Alexey Shpakovsky
0b75439f41
fix typos in comments
2014-06-26 08:22:25 +02:00
Alexey Shpakovsky
ff978ec101
proper check for empty variable
2014-06-26 08:22:07 +02:00
Carlos Fenollosa
211b9c565b
Merge pull request #50 from Lex-2008/small-fixes/3
...
Small fixes/3
2014-06-25 09:45:54 +02:00
Alexey Shpakovsky
b7cd230ae9
clean_filename in RSS links
2014-06-25 06:42:39 +02:00
Alexey Shpakovsky
e648b82250
don't rebuild tags if they were not involved at all
...
(otherwise posts_with_tags would endlessly freeze)
2014-06-25 06:38:17 +02:00
Alexey Shpakovsky
3c31fd3f60
use new functions
...
also bugfix: leave only unique filenames in rebuild_tags()
2014-06-24 08:01:02 +02:00
Alexey Shpakovsky
4558f43f4a
posts_with_tags() to list all posts referenced by several tag files
2014-06-24 07:16:57 +02:00
Alexey Shpakovsky
a52f2e6758
tags_in_post() to list all tags referenced in one post file
2014-06-24 06:51:27 +02:00
Alexey Shpakovsky
b34c7fbd0f
make rebuild_tags() optionally accept 2 lists (of filenames and tags)
2014-06-24 06:25:55 +02:00
Alexey Shpakovsky
97f413e666
one forgotten translated string template
2014-06-22 08:41:21 +02:00
Alexey Shpakovsky
feb7f415ce
$preview_url for those who writes posts locally before uploading them
2014-06-22 08:26:39 +02:00
Carlos Fenollosa
b0dd400d1c
Merge pull request #49 from Puuhinen/master
...
LC_ALL=C for all machine readable `date` output
2014-06-17 18:42:33 +02:00
Puuhinen
78fc6aacb7
LC_ALL=C for all machine readable date
output
...
The script used to have LC_ALL=$date_locale for all calls to `date`.
However, this is undesirable for when $date_locale is non-English and
dates need to be machine readable, e.g. for `date --date=...` and
when generating RSS feeds.
2014-06-07 19:11:23 +03:00
Carlos Fenollosa
1929738073
Implement Lex's suggestion
2014-06-06 12:02:08 +02:00
Carlos Fenollosa
b2a27a5dc5
Merge branch 'master' of github.com:cfenollosa/bashblog
2014-06-05 18:51:43 +02:00
Carlos Fenollosa
d0f7e8eebd
New filename filtering
2014-06-05 18:51:28 +02:00
Carlos Fenollosa
852d4d9b32
Update README.md
2014-05-26 20:45:22 +02:00
Carlos Fenollosa
c8027a6205
updated README Markdown
2014-05-26 20:43:59 +02:00
Carlos Fenollosa
4789e1feaa
Merge pull request #47 from Lex-2008/master
...
Allow utf-8 filenames
2014-05-26 20:40:42 +02:00
Alexey Shpakovsky
5b71d1e524
add some options regarding filename generation:
...
* force to lowercase or not
* what symbol to use instead of space
* what symbols to allow in filenames (makes bashblog more utf-8 friendly)
2014-05-25 23:03:14 +02:00
Carlos Fenollosa
fbaa5118dd
Merge pull request #46 from Lex-2008/master
...
test markdown before editing *.md files
2014-05-23 19:20:11 +02:00
Alexey Shpakovsky
39c4a80cec
test markdown before editing *.md files
2014-05-21 20:27:41 +02:00
Carlos Fenollosa
ac7437778e
Update README.md
2014-05-20 12:36:08 +02:00
Carlos Fenollosa
efbb68dfb4
Fixed additional characters in all_tags.html
2014-05-20 10:16:34 +02:00
Carlos Fenollosa
e5b831b375
Typos
2014-05-19 21:08:55 +02:00
Carlos Fenollosa
30579df667
Added demo image to README
2014-05-19 19:04:47 +02:00
Carlos Fenollosa
46f92ee177
Update README.md
2014-05-17 11:51:24 +02:00
Carlos Fenollosa
88cfef4050
Fixed extra './' strings bug introduced in last commit
2014-05-15 14:50:19 +02:00
Carlos Fenollosa
8f4951219e
Fixed extra './' strings bug introduced in last commit
2014-05-15 14:39:03 +02:00
Carlos Fenollosa
5bd63c9be3
Merge pull request #43 from nonas/master
...
do not iterate over ls output where possible
2014-05-13 11:07:22 +02:00
nonas
a57aa4fe4e
do not iterate over ls output where possible + protection on 'name with dashes becoming options'
2014-05-11 00:18:04 +02:00
Carlos Fenollosa
b044ef73bc
Change help to reflect possibility of editing md files
2014-05-09 11:16:01 +02:00
Carlos Fenollosa
8cc568fb4a
Merge branch 'master' of github.com:cfenollosa/bashblog
2014-05-07 16:09:35 +02:00
Carlos Fenollosa
dc84ebde19
fix #42
2014-05-07 16:08:55 +02:00
Carlos Fenollosa
ea8e10a59c
Update README.md
...
updated original link
2014-04-14 14:41:27 +02:00
Carlos Fenollosa
236fdae71c
Fixed bug with yesterday.tar.gz
2014-03-25 16:08:52 +01:00
Carlos Fenollosa
777b90a7c8
Merge pull request #39 from Lex-2008/save-md
...
Save md
2014-03-25 08:50:48 +01:00
Alexey Shpakovsky
599b5a4e58
use *.html file timestamp, even when editing *.md file
2014-03-23 10:22:59 +01:00
Alexey Shpakovsky
49285d02b8
rename *.md file together with *.html
...
if called like this:
bb.sh edit -n posted.md
then editing title will rename posted.html to reflect new title.
Now it will rename posted.md, too
2014-03-22 15:51:55 +01:00
Alexey Shpakovsky
f3fa14dc5a
edit markdown posts
...
usage:
bb.sh edit article.md
to edit previously posted article (for which markdown source was saved),
and repost it (under the same name or not)
2014-03-22 15:45:56 +01:00
Alexey Shpakovsky
7e6816c391
save markdown file
2014-03-22 15:14:01 +01:00
Carlos Fenollosa
44eea21cf4
Merge pull request #37 from Lex-2008/small-fixes/2
...
Small fixes/2
2014-03-20 09:29:49 +01:00
Alexey Shpakovsky
2291238120
preserve backslashes when posting/editing
...
ask "read" not to process backslash sequences when reading user-edited file
and leave them as is, instead
2014-03-19 23:05:11 +01:00
Aleksei Shpakovskii
daf456b956
Clean up tag links only in "Tags:" line
...
The bug was that if you decide, for some reason, insert links to tag pages
into text of your article, then after editing this article, the links were
gone. That happened because "tag links cleaning" was too agressive (it was
cleaning tags not only on tag line, but in the whole text)
2014-03-19 18:02:15 +01:00