Commit Graph

340 Commits

Author SHA1 Message Date
Trevor Slocum 3ba8e3045b Merge pull request 'Fix audit log for flat file database' (#257) from averageLukas/tinyib:fix/flatfile-audit-log into master
Reviewed-on: https://code.rocketnine.space/tslocum/tinyib/pulls/257
2022-06-23 22:31:16 -07:00
averageLukas c5af7a0ef7
Fix flatfile database audit log 2022-06-23 07:15:38 +02:00
Trevor Slocum 735ad801ab Update translations 2022-06-06 16:44:31 -07:00
Trevor Slocum 204e157c61 Open footer links in new tab 2022-04-08 17:05:18 -07:00
Trevor Slocum 093be77908 Update translations 2022-04-08 16:33:40 -07:00
Trevor Slocum 57b50658a2 Obtain an exclusive lock before writing to the database
This prevents race conditions caused by multiple instances of TinyIB
accessing the database simultaneously.

Resolves #251.
2022-04-08 15:10:39 -07:00
Trevor Slocum 93c91aec20 Fix ampersand encoding in message URLs
Resolves #235.
2022-03-31 10:45:48 -07:00
Trevor Slocum 2805934548 Suppress strftime deprecation warning
Relates to #254.
2022-03-16 11:03:05 -07:00
Trevor Slocum 0b02c3fdb5 Update Gettext library
Relates to #254.
2022-03-10 20:36:18 -08:00
Trevor Slocum 6e4dee4e56 Update translations 2021-10-08 12:43:28 -07:00
Trevor Slocum 080bba04bc Update translations 2021-09-22 17:43:09 -07:00
Trevor Slocum 87fca86b67 Fix missing thumbnail for some videos
Resolves #239.
2021-09-22 17:40:46 -07:00
Trevor Slocum 970dd7b47a Increase translatable strings 2021-08-05 11:31:07 -07:00
Trevor Slocum c09278028d Add TINYIB_REPLYCAPTCHA
This allows different CAPTCHA settings for new threads and replies.

Resolves #131.
2021-07-09 00:22:02 -07:00
Trevor Slocum 884c1aa262 Fix false positives when checking for an existing keyword
Resolves #234.
2021-07-08 19:54:01 -07:00
Trevor Slocum 340b66fe1b Fix URL encoding issues
Resolves #235.
2021-07-08 19:45:10 -07:00
Trevor Slocum 013270c532 Fallback to visitor IP address when CloudFlare IP address header is missing
Resolves #232.
2021-07-07 23:37:56 -07:00
Trevor Slocum 13aff83a30 Add TINYIB_UPDATEBUMPED
Update thread position when a reply is deleted.

Resolves #120.
2021-07-07 23:28:22 -07:00
Trevor Slocum 088353c25c Add TINYIB_BANMESSAGE
Allow staff to append a custom message to posts when banning users.
2021-07-06 00:37:22 -07:00
Trevor Slocum 8ba54d87f0 Remove TinyIB DEMOS file
This list was being used by spammers, and the linked sites frequently
contain pornography. Link to a read-only demo installation instead.

Resolves #221.
2021-06-11 02:02:20 -07:00
Trevor Slocum 4c2ec96e6b Add post type hint to reflinks
Resolves #226.
2021-06-11 01:42:08 -07:00
Trevor Slocum 306e3e5cf8 Sort management panel page links 2021-06-11 00:19:03 -07:00
Trevor Slocum f6ee0ef162 Improve layout of several management panel forms 2021-06-11 00:09:59 -07:00
Trevor Slocum d300d9b2f2 Require confirmation when changing password
Resolves #227.
2021-06-11 00:00:19 -07:00
Trevor Slocum 586c0ae939 Fix pending posts display in management panel
Resolves #219.
2021-06-08 12:47:52 -07:00
Trevor Slocum 6bcc978bc9 Fix .htaccess closing IfModule tags
Case-sensitive tags? In *my* markup? It's more likely than you think.

Resolves #225.
2021-06-08 00:21:48 -07:00
Trevor Slocum 77b6b7e00b Allow creating staff posts without using raw HTML
Resolves #224.
2021-06-06 19:46:19 -07:00
Trevor Slocum febb5af681 Fix warning when deleting post 2021-06-06 19:27:10 -07:00
Trevor Slocum c4dd643f53 Fix thread caching 2021-06-03 17:57:10 -07:00
Trevor Slocum 8b8c4a88c3 Add TINYIB_BACKLINKS
Display reflinks to replies that reference a post.
2021-06-02 23:26:36 -07:00
Trevor Slocum fca5562fd2 Update translations 2021-06-02 17:18:21 -07:00
Trevor Slocum 2f900306cb Minor tweaks to TINYIB_DEFAULTSTYLE 2021-06-02 17:17:06 -07:00
Tortle 32ae4efbcf Make CSS styles configurable (#222)
Make CSS styles configurable

Co-authored-by: Tortle <tortle.1099@gmail.com>
Reviewed-on: https://code.rocketnine.space/tslocum/tinyib/pulls/222
Co-Authored-By: Tortle <tortle@noreply.%(DOMAIN)s>
Co-Committed-By: Tortle <tortle@noreply.%(DOMAIN)s>
2021-06-02 17:07:31 -07:00
Trevor Slocum dd3b994a3c Do not accept reports for approved posts
Relates to #219.
2021-05-28 20:13:30 -07:00
Trevor Slocum f89556e482 Remove neetchat from DEMOS
Resolves #220.
2021-05-28 17:49:25 -07:00
Trevor Slocum bbb7411830 Update translations 2021-05-24 22:10:33 -07:00
Trevor Slocum 7ff78da64a Add neetchat to DEMOS
Resolves #218.
2021-05-24 22:02:46 -07:00
Trevor Slocum c9e596506e Update translations 2021-05-17 23:31:51 -07:00
Trevor Slocum 400f95b7ff Fix calculating static file thumbnail dimensions
Resolves #216.
2021-05-17 23:28:15 -07:00
Trevor Slocum 497a48c640 Require TINYIB_TRIPSEED to be configured 2021-05-17 23:28:15 -07:00
Trevor Slocum fe2a861221 Fix flatfile database mode
Resolves #217.
2021-05-17 23:28:11 -07:00
Trevor Slocum 4e6d3a76ca Update translation source file 2021-05-10 23:35:17 -07:00
Trevor Slocum 7f1310b7e6 Fix reflink preview for auto-refresh replies
Resolves #215.
2021-05-10 23:14:17 -07:00
Trevor Slocum a3a8b8db28 Add support for marking an image as a spoiler, causing the thumbnail to be blurred 2021-05-07 23:47:10 -07:00
Trevor Slocum e954a78ac5 Add support for hiding text until it is hovered over
Use <s>text here</s> or <spoiler>text here</spoiler>
2021-05-07 23:13:11 -07:00
Trevor Slocum 7261b104be Fix default post.moderated value
If you were affected by this bug, you must set the default value of
post.moderated to 1 in your database. You may also need to update existing
posts' moderated value to 1.

Relates to #212.
2021-05-07 09:03:18 -07:00
Trevor Slocum 24d8f6a85d Add reflink hover preview 2021-05-07 00:20:04 -07:00
Trevor Slocum dd1ae575c9 Support setting keywords to hide posts when used 2021-05-05 22:24:07 -07:00
Trevor Slocum cff26e609d Add TINYIB_AUTOHIDE 2021-05-05 19:56:41 -07:00
Trevor Slocum fbea1d4140 Fix TINYIB_EXPANDWIDTH
Resolves #211.
2021-05-04 17:12:44 -07:00