I spent this week updating the backend to fix vulnerabilities, update deprecated dependencies, and clean up technical debt introduced by me and the creator of jschan.
- First big change is fixing the broken Docker files, the ones currently present in the original jschan fork do not work and when I first started working with NodeJS I used a virtual machine to test updates for the website. This was a huge pain and made it really hard to test changes, leading to a lot of bugs in the process. With docker I can now work on the site on any machine and really fast.
- I updated the nginx configurations, removing deprecated modules and updating to the latest LTS version.
- I updated the database to the latest LTS version and addressed vulnerabilities present in the original jschan project
- I migrated the project to the latest NodeJS LTS release for speed and security updates
- I updated/replaced deprecated dependencies in the project
- Added a frontend setting to automatically watch threads after posting, the original implementation I half baked but this now pairs with a [Watch] button and can be disabled if you do not wish to clutter your thread watcher
- Reworked the file approval system, fixing live updates and notifications
- Reworked the trust system, allowing both anonymous and logged in users to bypass with ease while also making accountability easier to enforce. It also now has 'Last used' time to allow the clean up of older IPs and making it harder to cycle.
- Updated the rules section, removing a lot of the cruft.
After the update, I had to restore and fix the database. If you had an account, that was trusted or higher, and cannot log in please let me know in the /meta/ thread. The permission system is different now, but you should see no differences.
Notable regressions
- Site stats reset, give one day to be back to normal
- Mod macros are missing
- Moves break post quotes, mods should avoid moving threads to /archive/ and star them instead. I have increased the page count to 50 for /anthro/ as compensation.
- Foomojis are missing
- Flags were wiped from posts, unfortunately I had no time left to bring them back
If I missed anything please let me know, I will be working on removing all these limitations as soon as I can. Regarding the Foomojis, they will be back soon bigger and better!
If I missed anything please let me know.