Peaches N Stink Versions Save

Lightweight internet forum

v2.4.0

3 weeks ago

This is the source code for Comment Castles v2.4.0.

Changelog

  • Used a webpage instead of a blank page for the following page if visited by a non logged in user.
  • Changed the logo in the site header from an emoji character to a png file.
  • Moved all the source code into a src directory.
  • Removed unused multer, morgan and shortid node modules.
  • Created config values for default time zone and default comment reply mode.
  • Added a button to the settings page that resets all settings to the defaults.
  • Added responsive design for posts single-line layout.
  • Made it easier to change all the default settings in the source code.
  • Changed five of the default settings in the source code.
  • Set the URL fragment when an AJAX comment is created so that it works just like a non-AJAX comment.
  • Added a dark mode.
  • Upgraded the argon2, nanoid, pug, pg, uuid, dotenv and express node modules to the latest version.
  • Fixed the username link in the main nav when a user first logs in.
  • Added a date format setting.
  • Performed other changes that are too minor to mention here. The Git commit messages contain all the changes.

v2.3.0

5 months ago

This is the source code for Comment Castles v2.3.0.

Changelog

  • On the help page, indicated that the formatting rules apply to user profiles.
  • Removed setting the font size on the single post page titles because it was messing up the line height when the title word wrapped.
  • Added a new setting for main text color.
  • For lists of posts, increased the margin between the last post and the more button so that the margin matches the margin between the first post and the sorting options.
  • Added a new setting for post spacing. This is the amount of vertical spacing between posts for lists of posts.
  • Combined the is_visible and is_followed flags into a single flag. This makes it so that the follow/unfollow button is always synced with content visibility. If you can see the content, then the button will always be unfollow. If you can't see the content, then the button will always be follow.
  • Changed the GitHub link in the site footer to point to the new project name.
  • Made new user sign ups automatically follow all users that the admin is following. This forces the logged out view to be exactly the same as when someone first logs in.
  • Simplified the help page content and emphasized the whitelist moderation.
  • Refactored the following page routes.
  • Added a button to the following page that unfollows all users.
  • Added a button to the following page that follows all the users that admin is following.
  • Changed the default view mode for logged in users from discover to locked.
  • Showed a message on the sign up page when a logged out user tries to follow or unfollow a user. The new message on the sign up page indicates that they need to sign up in order to follow or unfollow.
  • Removed the box that surrounded post content and top comment content. That box was creating a sort of double border that looked bad.

v2.2.0

7 months ago

This is the source code for Comment Castles v2.2.0.

Changelog

  • Renamed instruction manual to help.
  • Added PKCE support to the OAuth 2 JSON API.
  • Improved error responses for OAuth authorize and token routes.
  • On single post page, made the post title an h1 instead of an h3.
  • Added "Fonts" and "User Profiles" sections to the help page.
  • Used a config value for default user id.
  • Optimized following list lookup for logged out users.
  • Changed default user's username to "admin".
  • Added user public ids to all posts and comments in the JSON API.
  • Added user profile pages.

v2.1.0

9 months ago

This is the source code for Comment Castles v2.1.0.

Changelog

  • Added 9 new API endpoints(get followed users, create comment, follow user, create post, edit comment, edit post, delete comment, unfollow user, and delete post).
  • Refactored route, validation and database for create new post.
  • Moved AJAX endpoint into its own route file.
  • Redid layout of API documentation page.
  • Added error messages and HTTP status codes for API errors.
  • Refactored edit post.
  • Defined config values for site URL and API URL.
  • Hardcoded the postgres time zones into the config file so we don't have to SQL query them all the time.
  • Used a single cookie for all settings when the user is logged out.
  • Don't use an HTML h1 for the site logo, instead use h1 for page titles.
  • Optimized delete post.
  • Refactored draw post code.
  • Added 4 new settings: post layout, posts per page, main background color and secondary background color.
  • Used config values for site width default, min and max.
  • Increased max site width from 1000 to 1500.
  • Increased the size of the commenting textareas.
  • Used small rounded corners for the main content area.
  • Used config values for the js and css directories.
  • Renamed the js and css directories to 'js' and 'css'.

v2.0.0

10 months ago

This is the source code for Comment Castles v2.0.0.

Changelog

  • Changed the project name to Comment Castles.
  • Added the ability for users to delete their posts and comments.
  • Added config value for 'default visitor view mode'.
  • Changed database table name ttest to tcomment (the comments table had always been called ttest).
  • Dropped four database tables that weren't needed.
  • Changed the site header logo and site favicon.
  • Improved success and error message text color for forms.
  • Added OAuth 2 for API calls (ie. users can now log into third-party apps).
  • Removed groups from unfollowed posts in API data.
  • Removed decentralization (ie. instances can't connect to each other, and there's only one site now)
  • Removed action groups.

v1.0.1

2 years ago

This is the source code for Peaches 'n' Stink v1.0.1.

Changelog

  • Improved whitespace for SQL query inside getPosts().
  • Fixed a grammatical error in the Action Groups section of the instruction manual.
  • Optimized home page SQL query.

v1.0.0

2 years ago

This is the source code for Peaches 'n' Stink v1.0.0. This goes together with the v1.0.0 website post.

Changelog

  • Implemented action groups and the new-node action.
  • Fixed comment pagination for the /post and /comment API calls.
  • Added a new /ping API call.
  • Added a network page and a link to it in the site footer.
  • Put the site name, default username and contact email in variables so they're easy to change in the site copy.
  • Updated the pg library to the latest version.

v0.4.0

2 years ago

This is the source code for Peaches 'n' Stink v0.4.0. This source code release goes together with the v0.4.0 website release.

Changelog

  • Add private groups.
  • Remove hyperlink underlines from most of the navigation links.
  • Refactor the single post route.
  • Paginate comments.

v0.3.0

2 years ago

This is the source code for Peaches 'n' Stink v0.3.0. This source code release goes together with the v0.3.0 website release.

Changelog

  • Add page headings to pages that don't have a heading.
  • Correct the pagination size that's listed in the API docs.
  • Add sorting options for posts. Users can sort posts by newest, oldest, most comments and most recent comment. Post sorting is available on the home page, group pages and with the /posts API call.
  • Update the "What is Peaches 'n' Stink?" section in the instruction manual.
  • Update structure.sql with the latest database schema.

v0.2.0

2 years ago

This is the source code for Peaches 'n' Stink v0.2.0. This source code release coincides with the v0.2.0 website release.

Changelog

  • Remove some unnecessary margin from the site footer.
  • Fix some grammatical errors in the instruction manual.
  • Ensure all SQL queries sorted by username sort in a case-insensitive manner.
  • Fix some grammatical errors in the privacy policy.
  • Add a 32x32 pixel favicon.
  • Don't show the post title in the browser tab if the user can't see the post.
  • Move several helper functions out of routing files and into misc.js or db/index.js.
  • Use one route per file instead of all routes in one file.
  • Create a config file for some constants and move "eyesDefaultUsername" into it.
  • Fix a bug if someone enters a decimal for the site width setting.
  • On the sign up form turn a "log in" phrase and a "log out" phrase into links that previously were not links.
  • Fix a group pagination issue.
  • Add the username setting to the instruction manual.
  • Don't store routes in variables.
  • Add some spacing to the bullet points in the formatting and settings sections of the instruction manual.
  • Require that post links start with "http" or "https".
  • If a post has a link filled in, then display the domain name of the link next to the post title.
  • Adjust the post title font size and spacing.
  • Change the default view mode for logged out users from locked to discover.
  • Change home, group and inbox pagination size from 15 to 20.
  • Darken the red links below each comment.
  • Update the postgreSQL structure dump.
  • Add an additional script to the README "Update" section.