Commit Graph

4301 Commits

Author SHA1 Message Date
Benjamin Southall
e69657065e Fix top and bottom bar on various CSS themes to have same backgroud color as page on both mobile and desktop. Change imgur links to local static links for Content Security Policy. 2017-04-23 21:14:08 +09:00
Benjamin Southall
b68e749876 Fix mod_view_board for ukko / overboard theme / extension. Add support for boards_alias to mod_view_board and initial preliminary support to markup for crossboard citations 2017-04-23 20:01:34 +09:00
Benjamin Southall
afd749415b Add data-board to post container in order to allow quick-post-controls.js to work with overboard's / ukko theme 2017-04-23 16:29:16 +09:00
Benjamin Southall
ac07ce6220 Update copyright year in page footer. 2017-04-19 23:27:58 +09:00
Benjamin Southall
ea418e2741 Merge branch 'master' of https://github.com/lainchan/lainchan 2017-04-19 07:11:33 +09:00
Benjamin Southall
ed162554db Add ['boards_alias'] in order to have Unicode icons in top bar that route to non unicode board names intelligently. 2017-04-19 07:09:02 +09:00
f0x52
045825e64b minimal lain stylesheet 2017-04-18 18:53:14 +02:00
Appleman1234
687024ab60 Merge pull request #95 from f0x52/master
issue #94, mod edit form
2017-04-18 05:49:46 +09:00
f0x52
77e8dfc02a escaping on all fields 2017-04-17 22:30:14 +02:00
f0x52
f69f306430 issue #94, mod edit form 2017-04-17 22:15:45 +02:00
Benjamin Southall
82e7228393 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
e170624b22 Remove extra static epub thumbnail file with incorrect name. 2017-04-17 03:14:11 +09:00
Benjamin Southall
46ce8c7024 Fix typographical error in epub placeholder image 2017-04-14 23:43:01 +09:00
Benjamin Southall
e3302d0723 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
56dadd6c5b #90 Adding tsuki CSS 2017-04-11 00:43:49 +09:00
Appleman1234
6dd8258163 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
dfe7e51d9c Show locked status of threads on catalog page 2017-04-08 15:17:30 +02:00
Benjamin Southall
c6686f1658 Adding images from Recent theme to static directory 2017-04-07 21:27:44 +09:00
Benjamin Southall
54279249a4 Add additional valid inputs for multi-url file upload for ['spam']['valid_inputs'] 2017-04-07 19:42:39 +09:00
Benjamin Southall
a247a3950b Make exception handler PHP5 / PHP7 agnostic. 2017-03-24 18:49:04 +09:00
Benjamin Southall
08f5412458 Add isempty check for POST variable for multi file upload via URL 2017-03-23 01:10:53 +09:00
Benjamin Southall
45954b5144 Add support for multiurl file upload fields to valid input whitelist for spam filter. 2017-03-20 21:04:39 +09:00
Benjamin Southall
47273d6887 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
5ee7954f95 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
332cc15810 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
0cc6eb2f79 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
bc9e94d3d1 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
baacee3fd3 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
3ef22877cc 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
3f236c3f25 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
d4e460c5e9 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
44e8b9615c 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
d76a981dfb 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
ef22020403 Display post moderation fields by default 2017-03-03 16:01:17 +09:00
Benjamin Southall
db64e74f7d Force file link from file information to always open in a new tab. 2017-03-03 15:54:21 +09:00
Benjamin Southall
eafb464a77 Center the image of Lain in Basic Theme 2017-03-03 15:52:11 +09:00
Benjamin Southall
65d96528d7 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
4b83baa6cc Updated FAQ Theme contents 2017-03-03 15:45:35 +09:00
Benjamin Southall
7d0c867544 Adding snow / snow storm javascript 2017-03-03 15:44:16 +09:00
Benjamin Southall
b8dec91885 Add fireworks javascript and CSS 2017-03-03 15:39:28 +09:00
Benjamin Southall
93e3b76b97 Change code hightlighting to highlight.js from google-code prettify.js 2017-03-03 15:34:45 +09:00
Benjamin Southall
d23355ce48 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
590178e77d 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
eb968a7d01 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
fc3956a7fc Change post hover behaviour to show actual post, rather than last post in thread. 2017-03-03 15:07:27 +09:00
Benjamin Southall
1164bf56ef Add overboard support to image-hover functionality. 2017-03-03 15:04:23 +09:00
Benjamin Southall
a75427254a 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
7245722254 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
e01a6d19f3 Add JSON interface to Recents Posts functionality, e.g. mod_recent_posts 2017-03-02 11:40:27 +09:00
Benjamin Southall
35c0152f6d #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