Commit Graph

4156 Commits

Author SHA1 Message Date
e0be553970 Quick hack to prevent oversized PDF thumbnails. 2023-01-14 05:50:40 -01:00
20a86fd50e Only add drag-drop handlers to dropzone, not the entire document
This enables dragging text into the textbox.
2023-01-14 05:50:40 -01:00
e3ee4b0ce9 Add default ban length of 1 hour instead of permanent ban 2023-01-14 05:50:40 -01:00
a13330a77a Make bans default to board of offending post 2023-01-14 05:50:40 -01:00
5df46e0c77 Improve page titles and social media cards 2023-01-14 05:50:40 -01:00
tmp-server
7876df0a50 Fix new thread notifications title, fix thread body breaking script
Tried to access invalid child.
2023-01-14 05:50:40 -01:00
5fb6acf047 Use stored title instead of document.title in notifications
Prevents number of unreads being added to notification thread name
2023-01-14 05:50:40 -01:00
7535aad664 Make all notifications show, not just the first unread
Removal of unused varable
2023-01-14 05:50:40 -01:00
4cf0c59eee Separate mod auto-update settings from normal settings 2023-01-14 05:50:40 -01:00
bd120bbda7 Clean up duplicate code for IPv6 2023-01-14 05:50:40 -01:00
d606deba0e Add IPv6 support for DNSBL
Should have used the library but didn't want to experiement and posiibly break the includes
2023-01-14 05:50:40 -01:00
Your Name
74ecc4fe17 Automatically embeds with Tor if on the hidden site. Adds clearnet and onion invidious embed. 2023-01-14 05:50:40 -01:00
485c077187 Minor flag javascript fixes 2023-01-14 05:50:40 -01:00
92d7181932 Enable filtering by flag name 2023-01-14 05:50:40 -01:00
81bc9d23dd Enable posting from catalog without JS
Thank you based lewdposter
2023-01-14 05:50:40 -01:00
d3d3e2e969 Add catalog thumbnails for file placeholder, handle the first of multiple OP images being deleted
Thank you based lewdposter
2023-01-14 05:50:40 -01:00
b1004367b0 Add noindex meta tag to 'Last 50 posts' thread pages 2023-01-14 05:50:40 -01:00
ea6f004022 Adjust board search on index page
Don't show on non-boards (like overboards)
Show inline, not as a new line
Remove useless comment
2023-01-14 05:50:40 -01:00
151261fa80 Fix post-filter.js row highlighting making text ineligible 2023-01-14 05:50:40 -01:00
39d2ad5212 Improve citing in replies 2023-01-14 05:50:40 -01:00
f7478bc840 Remove newlines and modifiers from thread title 2023-01-14 05:50:40 -01:00
98cfb3ad2b Add mod recents auto-reload 2023-01-14 05:50:40 -01:00
ec917def7c Block D+ and D++ on special IP addresses 2023-01-14 05:50:40 -01:00
0ac2b7ec70 Show ban appeal count on mod dashboard 2023-01-14 05:50:40 -01:00
49b5fb75a6 Fix 387ebe9c0c for reports, extract limit to variable, give more descriptive error name 2023-01-14 05:50:40 -01:00
1f155498b0 Fix combining character set, allow limit for combining characters 2023-01-14 05:50:40 -01:00
b91d8694a9 Prevent double-encoding of HTML entities in [code] 2023-01-14 05:50:40 -01:00
617a924826 Recalculate filesize after stripping metadata 2023-01-14 05:50:40 -01:00
Pietro Carrara
43cc3fd465 Check if file fields are set on the API 2023-01-14 05:50:40 -01:00
Pietro Carrara
cb8c7ddd2e Load board config while generating json 2023-01-14 05:50:40 -01:00
Pietro Carrara
68dc6bb495 Check fields, use config paths 2023-01-14 05:50:40 -01:00
Pietro Carrara
3b9494e362 Use thumb, not thumb_path 2023-01-14 05:50:40 -01:00
Pietro Carrara
2b914f6145 Modify api image fields 2023-01-14 05:50:40 -01:00
49e1ab9a87 Extend maxlength of IP for IPv6 subnets 2023-01-14 05:50:40 -01:00
04c41a4f4a Fix image hover for catalog 2023-01-14 05:50:40 -01:00
6dfedaeb4c Enable download with filename without JavaScript
This enables the functionality of download-original.js for non-JS users.
2023-01-14 05:50:40 -01:00
713b08b689 Redirect to thread after deleting child post 2023-01-14 05:50:40 -01:00
b1629a33e9 Fix thumb_ext being ignored
When using ImageMagick's convert tool, the output defaults to the input format if no file extension or format is specified.
The temp file currently has no extension, so a $config['thumb_ext'] value has no effect on the image.
By appending the thumb_ext to the temp output file, it will convert the image to the intended format.
2023-01-14 05:50:40 -01:00
e310803f95 Create flag preview 2023-01-14 05:50:40 -01:00
0fdf53319a Move NPFchan's scripts into tools 2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
19e216b924 Display YouTube video thumbnail (with local url) in embeds 2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
eb0a8ac991 catalog page - rewrite youtube url to be local 2023-01-14 05:50:40 -01:00
PVNFU-28
a54e286b66 Update style.css
Made CSS formatting more consistent, really minor stuff
2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
146f7a341a Improve robustness when moving / merging posts and threads.
Co-Authored-By: Discomrade <nice@try.fbi>
2023-01-14 05:50:40 -01:00
ba235ac2bd Introduces the youtube embed changes.
This is a consolidation of the January youtube.js changes
2023-01-14 05:50:40 -01:00
95fc4a1f42 Adds the proposed ffmpeg.php changes 2023-01-14 05:50:40 -01:00
c3de0f1feb Removes rebuilds after each deleted post when deleting by IP. 2023-01-14 05:50:40 -01:00
Dedushka
d55dd98e68 Protect IPv6 IPs in public moderation logs.
As reported, IPv6 addresses were not properly hidden in the public
facing moderation logs. This commit filters both IPv4 and IPv6
addresses.
2023-01-14 05:50:40 -01:00
Pietro Carrara
38065ff02c Add unique_ips field to the API 2023-01-14 05:50:40 -01:00
971dd24441 Fixes inline-expanding.js to allow clickable pdf thumbnails 2023-01-14 05:50:40 -01:00