309 Commits (d2b7b86e0b35b0826a56cdff92f51b9da44b4691)
 

Author SHA1 Message Date
Carmen La 2635126ca3 Merge pull request #63 from tomasz-biernacki/authors
Add multiple authors filtering support
9 years ago
Tomasz Biernacki c84b550f92 Add multiple authors filtering support 9 years ago
Carmen La 394ff37643 Bump up version 9 years ago
Carmen La 4989fc04d7 Merge pull request #62 from tomasz-biernacki/rss-auth-desc
Add author and (short) description for RSS
9 years ago
Tomasz Biernacki e5395a362a Add author and (short) description for RSS 9 years ago
Yogthos e1a03943c4 bumped up dependency 9 years ago
Dmitri Sotnikov c0a3084d39 bumped up dependencies and version 9 years ago
Carmen La a0cf654453 Bump up version 9 years ago
Carmen La 69385c1f22 Merge pull request #61 from seanirby/patch-1
Add home to index params when previews are enabled
9 years ago
Sean 852b431d71 Add home to index params when previews are enabled 9 years ago
Dmitri Sotnikov 1fb621e6ed Update project.clj 9 years ago
Dmitri Sotnikov 8ab65e0297 Merge pull request #60 from ponkore/better-support-for-preview
content-with-more-marker returns with correct html closing tags
9 years ago
ponkore 556fe84ef8 content-with-more-marker returns with correct tags
`content-with-more-marker` returns a HTML string when the `content`
conteins more marker ("<!--more-->").

In many case, HTML tags in `content` is balanced.
ex.
------------------------------
<div id='post'>
  <div class='post-content'>
    this post has more marker
<!--more-->
and more content.
  </div>
</div>
------------------------------

But original code breaks the balance.
------------------------------
<div id='post'>
  <div class='post-content'>
    this post has more marker
------------------------------

Afer this patch applied, `tagsoup` read above text and `hiccup`
re-render to HTML text with correct balanced tags.
------------------------------
<div id='post'>
  <div class='post-content'>
    this post has more marker
</div></div>
------------------------------
9 years ago
Yogthos 13c445ff17 bumped up dependencies, version 9 years ago
Dmitri Sotnikov a95b58bd00 Merge pull request #59 from ponkore/rewrite-hrefs-fix
Fix #58
9 years ago
ponkore 792833facb rewrite-hrefs bug fix (when :blog-prefix is blank)
When :blog-prefix in `config.edn` is set nil or "",
rewrite-hrefs should return `text` itself.
9 years ago
Carmen La 839ed5c469 Remove unnecesasry tag-root key 9 years ago
Carmen La 1abc4c6137 Fix bug with rewrite-href function 9 years ago
Carmen La bcd841d3df bump up version and dependencies 9 years ago
Carmen La 7040e1d573 Merge pull request #56 from sbondaryev/feature/custom-uri
Blog/Page/Post/Tag uri customisation
9 years ago
Sergiy BONDARYEV eea999e1d7 add Blog/Page/Post/Tag uri customisation
add :tag-root-uri :page-root-uri :post-root-uri parsing

replace {entity}-root with {entity}-root-uri parameters to set uri

fix root-path call

fix root-path function params order
(worked erlier because of keyword<->map transposition)

fix keyword :{entity}-root-uri to :{entity}-root transformation

misprint: congig -> config

add function to compose file path

add create-file function

add function to compose a path

handle empty blog-path using path function

fix filename for preview
9 years ago
Yogthos 5b13b3b761 added :draft? key to allow creation of draft posts that won't be published 9 years ago
Carmen La 2eb469ee3f Merge pull request #55 from Artiavis/fixing-generate-toc-true
Add regression for the old style of using {:toc true}
9 years ago
Jeff Rabinowitz e34ea8c989 Fixed a regression under which the old style of using :toc true would throw an exception because the tag was not properly cast to a :ul or :ol tag. Added unit testing for all cases. 9 years ago
Carmen La 6d50af6a7a Merge pull request #51 from Artiavis/zipper-toc
Use Zippers to Build TOC Data Structure and add unit tests
Fixes cryogen-project/cryogen#62
9 years ago
Jeff Rabinowitz 365df0e680 Reimplemented TOC logic using zippers to ensure state is always internally valid. Also added unit testing to provide a regression testing suite. This should fix issue #19. 9 years ago
Carmen La da1fa73f8c bump up dependencies and version number 9 years ago
Carmen La 1063704f4f Swap order of _list-types and list-type in toc.clj 9 years ago
Carmen La 30b3503abc add '.html' ending to prev/next links in preview pages 9 years ago
Carmen La 21e3c0e75f Add ".html" ending to preview pages.
cryogen-project/cryogen#92
9 years ago
Carmen La 91a924a147 Merge pull request #50 from Artiavis/fix-toc-bug
fixed bug with threading macro in wrong order
9 years ago
Jeff Rabinowitz 61e93a3480 fixed bug with threading macro in wrong order. fixed bug with where space not present between tag and class for top level ul/ol.. 9 years ago
Carmen La f9fb1195a0 Merge pull request #49 from Artiavis/master
Submitting a feature request for the :toc to support both ordered and…
9 years ago
Jeff Rabinowitz 482700a311 Submitting a feature request for the :toc to support both ordered and unordered lists by expanding the vocabulary of the existing :toc directive to include :ul and :ol 9 years ago
Dmitri Sotnikov b96a872654 Merge pull request #47 from jstepien/pmap
Parallelize read-posts with pmap
9 years ago
Jan Stępień 2a95e477de Parallelize read-posts with pmap
This makes each markup implementation process posts in parallel.

In case of a simple test blog with 4 markdown pages mean compilation
time was reduced from 395 to 330ms. In the experiment I used OpenJDK 8
running `lein ring server` on a 4 core CPU.
9 years ago
Dmitri Sotnikov 2df8fdec31 Update project.clj 9 years ago
Carmen La e6ee1012d8 Merge pull request #45 from jstepien/md5
require pandect.algo.md5 instead of pandect.core
9 years ago
Jan Stępień aa7ac4d98c require pandect.algo.md5 instead of pandect.core
This makes compilation of cryogen-core.watcher faster by reducing the
number of its dependencies. Now it depends just on pandect.algo.md5
instead of all pandect.algo.*
9 years ago
Dmitri Sotnikov ca18cdf916 Merge pull request #44 from jstepien/enumeration-seq
Simplify load-plugins with enumeration-seq
9 years ago
Jan Stępień c557fa8478 Simplify load-plugins with enumeration-seq 9 years ago
Dmitri Sotnikov 9500f2185d Merge pull request #43 from jstepien/previews
Previews
9 years ago
Jan Stępień 1a7c48731a Simplify create-previews with map 9 years ago
Jan Stępień f6a7d17213 Don't invoke select-keys on post in create-preview
This allows preview templates to access all of post's metadata.
9 years ago
Carmen La 933d213d15 Merge pull request #42 from jstepien/find-more-with-indexof
create-preview: simplify the more marker lookup
9 years ago
Jan Stępień 1b4306c3a3 create-preview: simplify the more marker lookup
This commit replaces a regular expression lookup with a simple
String/indexOf substring search.

It addresses pathological cases in which re-find took several
seconds to process contents of a blog post. An example of such
a case was a post with 16kB of nested HTML tags in a single line.
9 years ago
Carmen La e4a56d2140 Merge pull request #41 from markokocic/no-reflection
Fix type hint cast
9 years ago
Marko Kocic 8e5b3a9fee Fix type hint cast 9 years ago
Dmitri Sotnikov 7c3cf47db4 Merge pull request #39 from markokocic/no-reflection
Clear reflection warnings
9 years ago
Marko Kocic f4888b26d9 Clear reflection warnings 9 years ago