Commit Graph

23 Commits

Author SHA1 Message Date
8f98e72e47 Lazy load blog post images by default
* Post.HTML() and PreviewHTML() both mogrify the resulting HTML code to
  ensure all <img> tags have loading="lazy" unless a loading attribute
  is already present.
2020-04-09 19:16:41 -07:00
211b7d8318 Multitag frontend update, bug fixes
* Checking the box to reset a post's UpdatedAt to CreatedAt now actually
  does so (removes the "updated at" label from front-end)
* Tagged Posts index now has better header formatting when multi-tags
  are in use.
  * No longer "Tagged as: hello,world,-mars"
  * Now is titled "Tagged Posts" and includes the lists of Tags and Not
    formatted nicely with clickable links.
* Fixes the "Read more..." link always appearing in HTML-type blog
  posts even when they didn't use the `<snip>` tag.
2020-02-26 12:51:51 -08:00
b57dfa9e64 Remove extra tag from questions.gohtml 2020-02-19 16:36:37 -08:00
b1ea864bd3 Trim unnecessary files from ACE editor 2020-02-19 16:24:11 -08:00
9e0f8c24a0 Bugfix for RSS feeds 2020-02-18 11:04:34 -08:00
c4ec197456 Vendor ACE Code Editor 2020-02-17 21:21:34 -08:00
4d97fec246 ACE Code Editor and Blog Random-Page Endpoint 2020-02-17 21:21:09 -08:00
b642562792 Blog multi-tag query: whitelist and blacklist
* Can query blog posts by multiple tags now.
* e.g. /tagged/blog,updates,-photos would query all posts that have tags
  "blog" OR "updates" but NOT show any post with tag "photos"
2020-02-17 20:26:30 -08:00
bf86ceb585 Ask Me Anything and Contact Me pages 2020-02-17 19:40:57 -08:00
5b6712ea97 Blog Archive, RSS Feeds, and Model Cleanup
* Legacy-importer tool updates the DB primary key serial after migrating
  the posts, to be max(posts.id)+1 -- especially important for
  PostgreSQL and MySQL (SQLite3 correctly picked the next ID by
  default?)
* Add blog archive page and RSS, Atom and JSON feeds for the blog.
  URLs are /blog.rss, /blog.atom and /blog.json
2020-02-17 18:10:35 -08:00
383b5d7591 Age Gate, Legacy kirsle/blog Migration Program
* Add the Age Gate middleware for NSFW sites.
* Cache thumbnail images from blog entries.
* Implement the user-root properly for loading web assets.
2020-02-17 15:50:04 -08:00
c1995efb7a Image uploader on Blog Edit page 2020-02-15 20:34:32 -08:00
91e3bdaa53 Comment Subscriptions and Recent Comments Page 2020-02-15 19:43:08 -08:00
87fbdea68b Admin email on new comments + Quick Delete 2020-02-13 22:37:23 -08:00
ceb42aa4d0 Basic Commenting System Implemented
* List comments on a post
* Add comments, with preview
* Users can edit their own comments (EditToken)
* Admin can edit all comments
* Delete comments
* Comment counts on main blog index pages
2020-02-13 22:03:01 -08:00
fd1494cf75 Tags List page 2019-11-26 17:30:31 -08:00
117542b23c Basic Blog Functionality & Permissions 2019-11-26 16:54:02 -08:00
0b04dad045 Pretty Logger and Persistent App Settings JSON 2019-11-26 11:17:01 -08:00
4eef81c07f Sessions, log in and out 2019-11-25 19:55:28 -08:00
9348050b4c CSRF, Initial Setup and Admin User Creation 2019-11-14 20:58:55 -08:00
c4cc4ba854 Bootstrap Vendored Dependency 2019-11-14 19:04:08 -08:00
f8bb08d2f5 Initial Prototype 2019-11-14 19:03:56 -08:00
5191afd120 Initial commit 2019-11-05 16:49:18 -08:00