Commit Graph

4093 Commits

Author SHA1 Message Date
f0x52
e3b3e1601c escaping on all fields 2017-04-17 22:30:14 +02:00
f0x52
641b694d59 issue #94, mod edit form 2017-04-17 22:15:45 +02:00
Benjamin Southall
8a5850aa11 Invalid unique key in install.sql #93 Reduced board and name varchar length to 125 (1000/8 = 125) 2 columns , 4 bytes each column in pages table schema. 2017-04-17 03:15:59 +09:00
Benjamin Southall
9016ab6db9 Remove extra static epub thumbnail file with incorrect name. 2017-04-17 03:14:11 +09:00
Benjamin Southall
b722b22cfb Fix typographical error in epub placeholder image 2017-04-14 23:43:01 +09:00
Benjamin Southall
ddbabcccab Implemented mods can't access random from dashboard #88. Please note this doesn't use mod custom_pages functionality provided by vichan (because the that only works if your overboard has name that doesn't look like other boards), and requires ['overboards'] to be set as an array of board uri's which are overboards, with the correct values for type (theme type e.g. ukko, rand or semirand) title, subtitle, thread_limit and exclude in array of for each board uri 2017-04-11 03:08:20 +09:00
Benjamin Southall
e37a3d6e64 #90 Adding tsuki CSS 2017-04-11 00:43:49 +09:00
Appleman1234
0ba51a63a8 Merge pull request #91 from sometoby/catalog-lock-indicator
Show whether threads are locked on the catalog page
2017-04-09 03:11:45 +09:00
Flisk
13b92967ab Show locked status of threads on catalog page 2017-04-08 15:17:30 +02:00
Benjamin Southall
bb3ef66c03 Adding images from Recent theme to static directory 2017-04-07 21:27:44 +09:00
Benjamin Southall
1a7201eb30 Add additional valid inputs for multi-url file upload for ['spam']['valid_inputs'] 2017-04-07 19:42:39 +09:00
Benjamin Southall
5296f2a784 Make exception handler PHP5 / PHP7 agnostic. 2017-03-24 18:49:04 +09:00
Benjamin Southall
9b9b0f0a7e Add isempty check for POST variable for multi file upload via URL 2017-03-23 01:10:53 +09:00
Benjamin Southall
4800138b29 Add support for multiurl file upload fields to valid input whitelist for spam filter. 2017-03-20 21:04:39 +09:00
Benjamin Southall
ef41b1622d Adding support for multiple file upload using URLs, previously only one URL was supported. Also removes duplicate slack reporting merge. 2017-03-20 20:19:03 +09:00
Benjamin Southall
08114c44e9 Initial implementation of Better post form #32. Still need to add language specification to code tag insertion,markdown support and latex support. 2017-03-14 01:59:27 +09:00
Benjamin Southall
0ba23fcf01 Deleting all posts by IP (D++) doesn't seem to work properly #87 Changing query inside the while loop to query2 in order to delete all posts, not just the first post. 2017-03-13 23:34:15 +09:00
Benjamin Southall
2fae551db7 Feature Req: on/off button for auto-reload js #1 Fix insertafter selector so that new post gets autoloaded with the correct formatting and spacing. 2017-03-13 19:02:22 +09:00
Benjamin Southall
ad935a1aef Feature Req: on/off button for auto-reload js #1 Fix incorrect insertAfter selector which prevented page from being updated when auto-reloaded and caused new post count to climb incorrectly in title of page 2017-03-11 17:52:39 +09:00
Benjamin Southall
3a2e2f4f6e Initial Implementation of Feature Req: on/off button for auto-reload js #1, configurable in localstorage using options menu 2017-03-10 15:37:36 +09:00
Benjamin Southall
a1d4854448 Initial implementation of Thread stats for mods #33, Implemented using Twig without persistent storage, and display at end of thread. 2017-03-10 11:34:46 +09:00
Benjamin Southall
bf1e627c59 Thumbnails for PDFs / other things #6 When locale fails to be loaded fallback on C.UTF-8 instead of C, so that boards with unicode characters in the name are not stripped by escape_shell_args 2017-03-09 13:58:41 +09:00
Benjamin Southall
f36222c0e9 Initial implementation of Feature Req: board-independent file size management #4. Using ['board_specific'][['uri']]['max_filesize'] as maximum file size if avaliable otherwise using config['max_filesize'] as default 2017-03-05 02:18:28 +09:00
Benjamin Southall
f3a5eb0940 Initial implementation for Thumbnails for PDFs / other things #6, requires ['pdf_file_thumbnail'] is set to true and using convert from imagemagick. If ['pdf_file_thumbnail'] is false then it uses standard configured static file icon 2017-03-05 01:41:52 +09:00
Benjamin Southall
5684461902 Implements pull request #86 without the padding because margin-top is already set by media-query for screens <= 600px 2017-03-03 17:04:04 +09:00
Benjamin Southall
8c57f71893 Display post moderation fields by default 2017-03-03 16:01:17 +09:00
Benjamin Southall
f88856e4ac Force file link from file information to always open in a new tab. 2017-03-03 15:54:21 +09:00
Benjamin Southall
9c9b859845 Center the image of Lain in Basic Theme 2017-03-03 15:52:11 +09:00
Benjamin Southall
63228cf236 Update stream theme, link to newer video.js, add defined checks for stream now playing feeds and add meta viewport for CSS on mobile devices 2017-03-03 15:48:53 +09:00
Benjamin Southall
f87e2ca3cc Updated FAQ Theme contents 2017-03-03 15:45:35 +09:00
Benjamin Southall
35eb18bddc Adding snow / snow storm javascript 2017-03-03 15:44:16 +09:00
Benjamin Southall
826ba04305 Add fireworks javascript and CSS 2017-03-03 15:39:28 +09:00
Benjamin Southall
a69bc13ba2 Change code hightlighting to highlight.js from google-code prettify.js 2017-03-03 15:34:45 +09:00
Benjamin Southall
2c678488ee Add additonal brackets to min_body post length check in order to ensure operation precedence 2017-03-03 15:25:30 +09:00
Benjamin Southall
3eea75ef77 Add meta viewport tag to various themes / extensions for CSS on mobile devices to make use of 2017-03-03 15:20:07 +09:00
Benjamin Southall
4f9408a68f Update included version of prettify.js, despite the fact we use highlight.js for code highlighting now 2017-03-03 15:09:52 +09:00
Benjamin Southall
7e0cf814fa Change post hover behaviour to show actual post, rather than last post in thread. 2017-03-03 15:07:27 +09:00
Benjamin Southall
21e7520caa Add overboard support to image-hover functionality. 2017-03-03 15:04:23 +09:00
Benjamin Southall
139176eaed Add support to pm_snippet to maintaining spolier tags, so that spoilers are not revealed by Recent Theme on frontpage 2017-03-03 14:58:35 +09:00
Benjamin Southall
f758139c87 Add mininum post length configuration value to combat spam. Note that the posts with 0 length are still allowed in order to allow image only posts for /layer/. Fix paths for spoiler and deleted images. Change flood filters so that moderators are not restricted by them. 2017-03-03 12:26:00 +09:00
Benjamin Southall
454acf0566 Add JSON interface to Recents Posts functionality, e.g. mod_recent_posts 2017-03-02 11:40:27 +09:00
Benjamin Southall
6c06045c03 #87 Attempt to change the error message associated when using deletebyip e.g D++ with autotagging of deletions enabled. 2017-03-02 11:36:29 +09:00
Benjamin Southall
b4c53e4474 Fix relative path to temporary directory for Tesseract OCR 2017-03-02 11:26:51 +09:00
Benjamin Southall
7f53755f75 When reporting posts return to the reported post, instead of generating a new page 2017-03-02 11:25:45 +09:00
Benjamin Southall
9c189eff4f Don't remove post selection checkbox for reporting when hiding threads 2017-03-02 11:20:04 +09:00
Benjamin Southall
503af65968 Don't remove mentioned post links from post-hover popups. 2017-03-02 11:18:14 +09:00
Benjamin Southall
9229b280c7 Added check for post time being empty string, in order to handle the case that occurs when a deleted post is deleted a second time. 2017-01-18 12:13:11 +09:00
Benjamin Southall
3b35eb46a9 Add autotagging feature for deletion. E.g. automatically generate an IP note when a post is deleted by moderator action. 2017-01-17 22:56:46 +09:00
Benjamin Southall
d83376f155 Add min_body configuration option for post too short check 2017-01-17 22:55:46 +09:00
Benjamin Southall
9716372fca Orient images using EXIF in Firefox and increase margin between top bar and content 2017-01-17 22:55:02 +09:00