91 Commits

Author SHA1 Message Date
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
87fca86b67 Fix missing thumbnail for some videos
Resolves #239.
2021-09-22 17:40:46 -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
4c2ec96e6b Add post type hint to reflinks
Resolves #226.
2021-06-11 01:42:08 -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
8b8c4a88c3 Add TINYIB_BACKLINKS
Display reflinks to replies that reference a post.
2021-06-02 23:26:36 -07:00
Trevor Slocum
400f95b7ff Fix calculating static file thumbnail dimensions
Resolves #216.
2021-05-17 23:28:15 -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
cff26e609d Add TINYIB_AUTOHIDE 2021-05-05 19:56:41 -07:00
Trevor Slocum
cc097ef408 Add TINYIB_STRIPMETADATA 2021-05-03 23:53:44 -07:00
Trevor Slocum
45f549482a Support regular expression keywords 2021-04-30 23:23:44 -07:00
Trevor Slocum
1a898e353c Prevent management panel reauthentication in a single request
Resolves #208.
2021-04-28 19:31:56 -07:00
Trevor Slocum
34d4dd3d6c Fix thumbnail scaling 2021-04-25 00:08:30 -07:00
Trevor Slocum
3e90dafc21 Prioritize static thumbnails (when specified) over dynamic
Resolves #178.
2021-04-24 23:52:35 -07:00
Trevor Slocum
b8da098a51 Do not use ffmpeg for jpeg files
Resolves #203.
2021-04-24 23:43:53 -07:00
Trevor Slocum
4e05d8512c Detect failure to create a thumbnail for non-video uploads
Resolves #205.
2021-04-15 21:38:15 -07:00
Trevor Slocum
07b4e57ad3 Use ffmpeg instead of medianinfo and ffmpegthumbnailer 2021-04-14 20:35:25 -07:00
Trevor Slocum
4ed5f2e125 Add TINYIB_CLOUDFLARE
Resolves #188.
2021-04-13 22:54:27 -07:00
Trevor Slocum
496447e965 Add moderation log 2021-04-09 20:38:10 -07:00
Trevor Slocum
4c8996b7d1 Fix warning when logging in with blank username 2021-04-07 18:01:35 -07:00
Trevor Slocum
03b88dc9fb Deny access to disabled accounts 2021-04-04 17:12:17 -07:00
Trevor Slocum
1256e7cca0 Add account system
When TINYIB_ADMINPASS is set, a super-administrator account with the
username 'admin' is created using the provided password.

WHEN TINYIB_MODPASS is set, a moderator account with the username 'mod'
is created using the provided password.
2021-04-04 13:05:10 -07:00
Trevor Slocum
421503ee01 Fix TINYIB_MANAGEKEY issue
Resolves #194.
2021-03-28 11:06:43 -07:00
Trevor Slocum
c50c797234 Support setting management panel key to improve security
Resolves #144.
2021-03-13 19:08:08 -08:00
Trevor Slocum
23bf4e3937 Add hCaptcha support 2021-03-10 11:09:16 -08:00
Trevor Slocum
066613d55c Add default name (or names) setting for anonymous posters
Resolves #171.
2021-01-31 00:14:15 -08:00
Trevor Slocum
d36f250e8c Add maximum field length settings
Resolves #166.
2021-01-28 15:10:55 -08:00
Trevor Slocum
e8057508c3 Fix duplicate file error
Resolves #152.
2020-12-20 22:50:17 -08:00
Trevor Slocum
91c137b264 Fix missing error message when embedding fails 2020-11-30 17:25:48 -08:00
Trevor Slocum
67483c3774 Support blocking keywords
Resolves #122.
2020-11-23 12:44:02 -08:00
Trevor Slocum
bce5c8fc30 Include IP address when informing users they are banned 2020-11-13 13:19:07 -08:00
Trevor Slocum
2a6c8c8dc3 Support reporting posts
Resolves #43.
2020-11-13 12:32:42 -08:00
Trevor Slocum
3ec33e3b2b Support requiring users to pass a CAPTCHA to log in
Resolves #128.
2020-10-30 09:43:20 -07:00
Trevor Slocum
0133da8cb2 Update TINYIB_DATEFMT to use strftime format (instead of date) 2020-10-22 08:24:11 -07:00
Trevor Slocum
9ea891f03f Support migration between any database mode
Resolves #126.
2020-10-14 09:37:15 -07:00
Trevor Slocum
409b91e861 Allow files to be uploaded via URL
Resolves #82.
2020-10-08 11:20:26 -07:00
Trevor Slocum
ef4b8c0adf Support custom date format
Resolves #121.
2020-09-14 20:40:13 -07:00
Trevor Slocum
12f6566f74 Expand internationalization support
Resolves #118.
2020-09-06 09:42:29 -07:00
Trevor Slocum
2bbbfc972c Use third-party translation library
Resolves #101.
2020-08-31 20:52:57 -07:00
Trevor Slocum
2978d41212 Internationalization support
Partially implements #101.
2020-08-28 16:25:04 -07:00
Trevor Slocum
7f05618811 Show error when ImageMagick is enabled but is not installed 2020-08-18 18:51:32 -07:00
Trevor Slocum
b8603b717f Initialize missing post field
Resolves #108.
2020-08-11 06:09:11 -07:00
Trevor Slocum
d705edda91 Add catalog page
Resolves #107.
2020-08-11 06:01:00 -07:00
Trevor Slocum
3b4e486160 Support array_map in PHP <5.5
Resolves #109
2020-08-10 14:52:27 -07:00
Trevor Slocum
c3e137d48d Support locking threads
Resolves #41.
2020-07-31 16:16:37 -07:00
Trevor Slocum
e34c85bd9e Obey TINYIB_THUMBNAIL when overlaying video_overlay.png
Closes #79
2018-10-19 00:10:53 -07:00
Trevor Slocum
c8d4d2c4c1 Add TINYIB_WORDBREAK - resolves #60 2018-07-24 16:50:26 -07:00