Commit graph

215 commits

Author SHA1 Message Date
2f357d6418 Hide deprecated warnings in CAPTCHA script 2023-09-24 23:38:31 -07:00
334359e31f Fix expanding thumbnail causing page content to jump
Resolves #281.
2023-09-24 23:04:08 -07:00
2aa8a8efa0 Migrate to code.rocket9labs.com
Run the following command to ensure continued updates:
  git remote set-url origin https://code.rocket9labs.com/tslocum/tinyib.git
2023-09-24 16:30:53 -07:00
5f42b82cc0 Operate on text using multibyte functions
TinyIB now fully supports UTF-8 encoded text input.

Resolves #255.
Resolves #273.
2023-09-24 14:17:24 -07:00
b22ff54f12 Switch gettext library from v5.6.1 to v4.8.11
This restores compatibility with PHP 5+.

Relates to #273.
2023-09-09 09:13:00 -07:00
7c6cf64d4d Add missing addLogs function
This function is required when migrating between databases.
2023-03-19 19:18:17 -07:00
57704531cf Use newer syntax when including variables in strings
Resolves #271.
2023-01-05 10:27:06 -08:00
baba988f0a Fix translation issue when moderating post
Resolves #270.
2023-01-05 10:22:07 -08:00
averageLukas
c5af7a0ef7
Fix flatfile database audit log 2022-06-23 07:15:38 +02:00
204e157c61 Open footer links in new tab 2022-04-08 17:05:18 -07:00
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
93c91aec20 Fix ampersand encoding in message URLs
Resolves #235.
2022-03-31 10:45:48 -07:00
2805934548 Suppress strftime deprecation warning
Relates to #254.
2022-03-16 11:03:05 -07:00
0b02c3fdb5 Update Gettext library
Relates to #254.
2022-03-10 20:36:18 -08:00
87fca86b67 Fix missing thumbnail for some videos
Resolves #239.
2021-09-22 17:40:46 -07:00
970dd7b47a Increase translatable strings 2021-08-05 11:31:07 -07:00
c09278028d Add TINYIB_REPLYCAPTCHA
This allows different CAPTCHA settings for new threads and replies.

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

Resolves #120.
2021-07-07 23:28:22 -07:00
088353c25c Add TINYIB_BANMESSAGE
Allow staff to append a custom message to posts when banning users.
2021-07-06 00:37:22 -07:00
4c2ec96e6b Add post type hint to reflinks
Resolves #226.
2021-06-11 01:42:08 -07:00
306e3e5cf8 Sort management panel page links 2021-06-11 00:19:03 -07:00
f6ee0ef162 Improve layout of several management panel forms 2021-06-11 00:09:59 -07:00
d300d9b2f2 Require confirmation when changing password
Resolves #227.
2021-06-11 00:00:19 -07:00
586c0ae939 Fix pending posts display in management panel
Resolves #219.
2021-06-08 12:47:52 -07:00
77b6b7e00b Allow creating staff posts without using raw HTML
Resolves #224.
2021-06-06 19:46:19 -07:00
febb5af681 Fix warning when deleting post 2021-06-06 19:27:10 -07:00
c4dd643f53 Fix thread caching 2021-06-03 17:57:10 -07:00
8b8c4a88c3 Add TINYIB_BACKLINKS
Display reflinks to replies that reference a post.
2021-06-02 23:26:36 -07:00
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
dd3b994a3c Do not accept reports for approved posts
Relates to #219.
2021-05-28 20:13:30 -07:00
400f95b7ff Fix calculating static file thumbnail dimensions
Resolves #216.
2021-05-17 23:28:15 -07:00
fe2a861221 Fix flatfile database mode
Resolves #217.
2021-05-17 23:28:11 -07:00
a3a8b8db28 Add support for marking an image as a spoiler, causing the thumbnail to be blurred 2021-05-07 23:47:10 -07:00
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
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
24d8f6a85d Add reflink hover preview 2021-05-07 00:20:04 -07:00
dd1ae575c9 Support setting keywords to hide posts when used 2021-05-05 22:24:07 -07:00
cff26e609d Add TINYIB_AUTOHIDE 2021-05-05 19:56:41 -07:00
fbea1d4140 Fix TINYIB_EXPANDWIDTH
Resolves #211.
2021-05-04 17:12:44 -07:00
7202b733af Add TINYIB_EXPANDWIDTH 2021-05-04 00:06:20 -07:00
cc097ef408 Add TINYIB_STRIPMETADATA 2021-05-03 23:53:44 -07:00
45f549482a Support regular expression keywords 2021-04-30 23:23:44 -07:00
1a898e353c Prevent management panel reauthentication in a single request
Resolves #208.
2021-04-28 19:31:56 -07:00
f3b892c960 Fix modlog navigation
Resolves #207.
2021-04-26 08:40:01 -07:00
34d4dd3d6c Fix thumbnail scaling 2021-04-25 00:08:30 -07:00
3e90dafc21 Prioritize static thumbnails (when specified) over dynamic
Resolves #178.
2021-04-24 23:52:35 -07:00