├── .gitignore ├── Procfile ├── README.md ├── src ├── main │ ├── resources │ │ ├── templates │ │ │ ├── home-button.ftl │ │ │ ├── social │ │ │ │ └── social-links.ftl │ │ │ ├── error.ftl │ │ │ ├── not-found.ftl │ │ │ ├── footer.ftl │ │ │ ├── tag.ftl │ │ │ ├── home.ftl │ │ │ ├── posts.ftl │ │ │ ├── post.ftl │ │ │ ├── head.ftl │ │ │ ├── analytics │ │ │ │ └── analytics.ftl │ │ │ └── disqus │ │ │ │ └── disqus.ftl │ │ ├── application.yml │ │ └── static │ │ │ ├── css │ │ │ ├── bp.css │ │ │ ├── prism.css │ │ │ └── bootstrap.min.css │ │ │ └── js │ │ │ └── prism.js │ └── java │ │ └── com │ │ └── tidyjava │ │ ├── bp │ │ ├── post │ │ │ ├── MissingPostException.java │ │ │ ├── PostReader.java │ │ │ ├── Tag.java │ │ │ ├── Post.java │ │ │ ├── PostController.java │ │ │ ├── PostReaderImpl.java │ │ │ └── PostFactory.java │ │ ├── git │ │ │ ├── GitSupport.java │ │ │ ├── GitController.java │ │ │ └── GitSupportImpl.java │ │ ├── util │ │ │ ├── DateUtils.java │ │ │ └── ExceptionUtils.java │ │ ├── BloggingPlatform.java │ │ ├── social │ │ │ ├── SocialLinksControllerAdvice.java │ │ │ ├── SocialLinkProperties.java │ │ │ └── SocialLink.java │ │ ├── sitemap │ │ │ ├── SitemapController.java │ │ │ └── SitemapGenerator.java │ │ ├── analytics │ │ │ └── AnalyticsControllerAdvice.java │ │ ├── rss │ │ │ ├── RssController.java │ │ │ └── RssFeedGenerator.java │ │ ├── disqus │ │ │ └── DisqusControllerAdvice.java │ │ └── config │ │ │ └── MvcConfig.java │ │ └── commonmark │ │ └── mark │ │ ├── Mark.java │ │ ├── MarkExtension.java │ │ └── internal │ │ ├── MarkNodeRenderer.java │ │ └── MarkDelimiterProcessor.java └── test │ ├── resources │ ├── application.yml │ └── sitemap.xml │ └── groovy │ └── com │ └── tidyjava │ └── bp │ ├── git │ ├── GitSupportImplSpec.groovy │ └── GitControllerIntegrationSpec.groovy │ ├── post │ ├── PostReaderImplSpec.groovy │ └── PostControllerIntegrationSpec.groovy │ ├── analytics │ └── AnalyticsIntegrationSpec.groovy │ ├── disqus │ └── DisqusIntegrationSpec.groovy │ ├── social │ └── SocialLinksIntegrationSpec.groovy │ ├── rss │ ├── RssControllerIntegrationSpec.groovy │ └── RssFeedGeneratorIntegrationSpec.groovy │ └── sitemap │ └── SitemapControllerIntegrationSpec.groovy ├── .travis.yml ├── LICENSE └── README-old.md /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | .gradle 3 | *.iml 4 | *.ipr 5 | *.iws 6 | .idea 7 | .contents -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: java $JAVA_OPTS -Dserver.port=$PORT -jar build/libs/blogging-platform.jar -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # This project is no longer active (read-only)! 2 | Please don't waste your time working on it or using it productively. 3 | -------------------------------------------------------------------------------- /src/main/resources/templates/home-button.ftl: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/com/tidyjava/bp/post/MissingPostException.java: -------------------------------------------------------------------------------- 1 | package com.tidyjava.bp.post; 2 | 3 | class MissingPostException extends RuntimeException { 4 | } 5 | -------------------------------------------------------------------------------- /src/main/java/com/tidyjava/bp/git/GitSupport.java: -------------------------------------------------------------------------------- 1 | package com.tidyjava.bp.git; 2 | 3 | import java.io.File; 4 | 5 | public interface GitSupport { 6 | File getWorkTree(); 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/templates/social/social-links.ftl: -------------------------------------------------------------------------------- 1 |