Commit Graph

21 Commits

Author SHA1 Message Date
777fd85085 Dust off gophertype and fix some bugs
* Add a rate limiter to the login page.
* Fix the CSRF cookie expiring after 24 hours; it now will be a session
  cookie that expires on browser exit so you get a fresh one each visit.
* Remove the dependency on go-bindata and use native Go file embed
* Add documentation
2022-12-05 21:09:06 -08:00
708a850ecb Bugfix in contact.gohtml 2020-10-28 19:02:54 -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
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
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