Commit Graph

613 Commits

Author SHA1 Message Date
czaks b585fe912e enable 4chan api by default. it bears some extra CPU time with it, but giving API to the users by default is the way to go. 2014-03-09 01:51:39 +01:00
czaks 75cca1ffb2 fix previous commit 2014-02-24 15:29:26 +01:00
czaks 14c499f9d1 Condense flags into one file. Heads-up for people having custom flags, disable $config['country_flags_condensed'] !!! 2014-02-24 00:06:01 +01:00
czaks ff9b684f7e remove old oekaki; see vichan-devel#20 2014-01-29 22:59:29 +01:00
czaks 858ebbe68f delegate youtube.js embed html code to config.php 2014-01-09 18:25:00 +01:00
czaks 8a2df689df config.php: clarify comment to mean quick-reply-old, as now it's named 2013-12-25 16:28:50 +01:00
czaks f5657caf24 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
	install.php
	post.php
	stylesheets/style.css
2013-11-11 21:54:35 +01:00
Michael Foster de70fb6253 $config['error']['lurk'] was last used in 2010 I think 2013-09-23 15:52:45 +10:00
Michael Foster 39be89ba49 ?/debug/apc 2013-09-23 10:11:16 +10:00
Michael Foster ff4352d914 Fixed automatic $config['root'] detection with mod.php 2013-09-22 08:13:19 +10:00
Michael Foster a9b7f9b1bc begin implementation of in-built ban appealing 2013-09-21 12:51:23 +10:00
ctrlcctrlv 0a58973631 Make it so that users can't insert code w/syntax errors into ?/config 2013-09-21 02:21:05 +00:00
czaks 8ca495e5b8 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
2013-09-17 19:12:19 -04:00
Michael Foster 3471f7c668 Optionally show post user was banned for 2013-09-18 08:47:34 +10:00
czaks 6cb7eb939e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into vichan-devel-4.5
Conflicts:
	inc/config.php
	inc/display.php
	inc/mod/pages.php
	install.php
	js/quick-reply.js
	post.php
	templates/index.html
2013-09-17 10:43:44 -04:00
Michael Foster 3e57bb04d7 Begin upgrade to much better bans table. DO NOT PULL YET; It won't work. 2013-09-17 09:15:24 +10:00
Michael Foster 00833eeafd js/ajax.js: post with ajax 2013-09-15 14:03:27 +10:00
Michael Foster 32c999346f Remove $config['url_regex']; 2013-09-15 05:46:08 +10:00
Michael Foster c4a6116722 Optionally show page navigation bar at the top too. 2013-09-15 00:42:20 +10:00
Michael Foster eea4e42609 Add ability to create custom user/permissions groups 2013-09-09 01:33:51 +10:00
Michael Foster 9a846d5ad5 Use Unicode in antispam stuff 2013-09-08 17:01:55 +10:00
Michael Foster d4cf4c7afb flood-count condition 2013-09-08 15:07:55 +10:00
Michael Foster a13571cdad Comment mistake 2013-09-08 14:59:43 +10:00
Michael Foster b7f16dee0f Add ! syntax (NOT) to filters. Don't throttle duplicate post bodies when they are empty 2013-09-07 12:58:23 +10:00
Michael Foster e9ccc5d72d Optionally EXPLAIN all SQL queries when in debug mode 2013-09-07 12:40:35 +10:00
Michael Foster f309e4037c Better and faster basic flood prevention, while merging it into $config['filters']. 2013-09-06 23:09:18 +10:00
czaks 069f1def9b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
2013-09-01 11:25:19 -04:00
Michael Foster f1b1d41230 Update comments for persistent database connections and increase timeout 2013-08-30 15:05:13 +10:00
czaks 8de81d176c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
2013-08-29 07:33:19 -04:00
Michael Foster 3f26aa5ac3 . 2013-08-29 20:05:24 +10:00
Michael Foster eb7cb42e93 $config['markup_repair_tidy']: Better comment 2013-08-29 18:59:36 +10:00
Michael Foster 7b817eea11 Fix markup again. And add the option to repair fucked up nesting (and more) with HTML Tidy ($config['markup_repair_tidy']) 2013-08-29 15:56:36 +10:00
Michael Foster abd013d6e4 Add $config['always_regenerate_markup'] (99.9% of Tinyboard users should ignore this) 2013-08-29 15:28:45 +10:00
czaks 8503e65858 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/functions.php
	install.php
	stylesheets/dark_roach.css
2013-08-28 12:41:36 -04:00
Michael Foster c31e374a71 Allow Unix sockets for database connection 2013-08-28 20:09:30 +10:00
Michael Foster b01a402d23 4chan-compatible api: better config.php comments 2013-08-21 22:41:42 +10:00
ctrlcctrlv ecda099dfb Custom fields in API, read config.php for info. Non-4chan compatible fields removed. 2013-08-21 22:35:01 +10:00
ctrlcctrlv 01e906b1d3 Make it possible to disable API, disable it by default
Conflicts:
	inc/functions.php
2013-08-21 22:34:52 +10:00
czaks de035f4a7e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	stylesheets/dark_roach.css
	stylesheets/style.css
2013-08-20 18:22:37 -04:00
ctrlcctrlv 3e9f4f101a Custom fields in API, read config.php for info. Non-4chan compatible fields removed. 2013-08-20 18:17:05 +00:00
ctrlcctrlv a29a9324ea Make it possible to disable API, disable it by default 2013-08-20 16:53:05 +00:00
Michael Foster e45ffb8592 custom timeouet for curl'ing upload urls 2013-08-19 18:54:10 +10:00
ctrlcctrlv 9773416553 Better setting name 2013-08-19 03:01:30 +10:00
ctrlcctrlv 47dec49465 Optionally access mod cookie in JavaScript 2013-08-19 03:01:15 +10:00
ctrlcctrlv 2eb68ac398 Better setting name 2013-08-18 01:53:39 +00:00
ctrlcctrlv 52fe0c8989 Optionally access mod cookie in JavaScript 2013-08-18 01:44:36 +00:00
ctrlcctrlv 5c2ec21e13 Bundle jscolor 2013-08-17 19:42:00 +00:00
ctrlcctrlv e3600131fc Configurable canvas size 2013-08-17 18:00:26 +00:00
czaks 146243c473 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-16 10:07:24 -04:00
Michael Foster 0ad1c03997 Optional "flag style" and "flag alt" modifiers 2013-08-16 23:12:40 +10:00
Michael Foster b666886416 A few modifications:
1. Finally, clean up some of the crappy code in inc/display.php; no more extreme clutter. new Thread() and new Post() take an array as the first parameter now.

2. Poster country flags. Currently requires the "geoip" extension.

3. Give post images a classname. This was also long-overdue.
2013-08-16 21:08:01 +10:00
Michael Foster 88dff2a683 Set $config['try_smarter'] to true. If you notice any problems, please report them to us. 2013-08-16 20:16:09 +10:00
czaks 4f855cf3b3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
2013-08-13 14:46:16 -04:00
Michael Foster 0de0bc6ceb Optional: Allow uploading by URL 2013-08-12 22:51:46 +10:00
Michael Foster a7a93ece3d $config['error']['invalidzip'] isn't used anywhere anymore 2013-08-12 22:14:26 +10:00
Michael Foster adbb0c1fdf ... 2013-08-12 13:01:34 +10:00
czaks 0f5f44bc95 spoilerimage config variable: this got fixed doubly, once wrong, merge both fixes
Conflicts:
	inc/config.php
2013-08-12 13:01:02 +10:00
Michael Foster 3a5f25f751 what 2013-08-12 13:00:06 +10:00
czaks 96122c3fc2 fix notice for mod spoiler image 2013-08-12 12:59:52 +10:00
ctrlcctrlv d846fe6370 forgot to rename config option 2013-08-12 12:58:04 +10:00
ctrlcctrlv 2018fd206b Improve spoiler action
Conflicts:
	inc/mod/pages.php
2013-08-12 12:57:54 +10:00
ctrlcctrlv ed04525994 Spoil files moderator action 2013-08-12 12:55:44 +10:00
czaks 92edc1d0a5 noko50: clarify in config how to disable it 2013-08-11 17:53:42 -04:00
czaks 8534e2cc80 Merge branch 'noko50-new-dev11' of http://github.com/fallenPineapple/Tinyboard
Conflicts:
	inc/functions.php
2013-08-11 17:49:29 -04:00
czaks 500468336e spoilerimage config variable: this got fixed doubly, once wrong, merge both fixes 2013-08-11 17:34:43 -04:00
czaks 6e26c76c56 Merge branch 'master' of http://github.com/ctrlcctrlv/Tinyboard 2013-08-11 17:32:57 -04:00
czaks c3cb0f171b fix notice for mod spoiler image 2013-08-11 17:22:39 -04:00
ctrlcctrlv b9ec342750 Merge conflict 2013-08-11 15:36:17 +00:00
ctrlcctrlv efebd30221 forgot to rename config option 2013-08-11 13:55:15 +00:00
ctrlcctrlv fd54de7126 Improve spoiler action 2013-08-11 13:54:11 +00:00
czaks fa9bf536c3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/mod/pages.php
	js/catalog-link.js
	post.php
	templates/banned.html
2013-08-11 09:50:33 -04:00
Michael Foster 4fb941dbfe $config['boardlist_wrap_bracket'] default to true 2013-08-11 21:30:46 +10:00
ctrlcctrlv 39f542704b Option to have a message on the ban page
Conflicts:
	inc/config.php
2013-08-11 21:29:02 +10:00
ctrlcctrlv acb4c47a9f Allow for HTML in the board subtitle
Conflicts:
	inc/config.php
2013-08-11 21:08:19 +10:00
Michael Foster 4bce3d7584 Clean: Make boardlist bracket wrapping optional 2013-08-11 21:06:13 +10:00
ctrlcctrlv 7d1acd4a05 Make boardlist bracket wrapping optional 2013-08-11 21:04:45 +10:00
fallenPineapple 12ee85beaf Adds "noko50" (View Last 50 Posts) pages. (Broken Reply) 2013-08-10 17:16:30 -04:00
czaks 98fa92f684 Fix boardlist bracketing issue 2013-08-09 17:16:25 -04:00
ctrlcctrlv ecb15c7dcb Option to have a message on the ban page 2013-08-09 19:52:19 +00:00
ctrlcctrlv 78ea9af97c Oekaki 2013-08-08 22:15:59 +00:00
ctrlcctrlv d4a1ae3595 Advertisements 2013-08-08 21:57:52 +00:00
ctrlcctrlv ddbe562f9c Optionally allow the moving of single replies 2013-08-08 21:08:01 +00:00
ctrlcctrlv a59c2e8369 Spoil files moderator action 2013-08-08 19:41:21 +00:00
ctrlcctrlv 7205801ced Optionally use email selectbox 2013-08-08 19:30:05 +00:00
ctrlcctrlv b8921508fe Allow for HTML in the board subtitle 2013-08-08 18:58:44 +00:00
ctrlcctrlv 3aa1305dab Make boardlist bracket wrapping optional 2013-08-08 18:43:24 +00:00
czaks 2cc0769f54 Revert "Merge branch 'master' of github.com:vichan-devel/Tinyboard"
This reverts commit a84c4510fc, reversing
changes made to a8327c3a37.
2013-08-05 06:17:01 -04:00
czaks a84c4510fc Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts:
	js/post-hider.js
2013-08-05 06:03:40 -04:00
czaks c669b087fa bring back ==tags== by default 2013-08-04 23:06:54 -04:00
czaks f494b34562 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/image.php
2013-08-04 21:17:38 -04:00
Michael Foster 0c829aa8f6 bugfix 2013-08-04 18:48:32 -04:00
Michael Foster 7a51444110 This should probably still be ADMIN. By default, don't let mods or janitors edit any of the config. 2013-08-04 17:53:55 -04:00
Michael Foster c3da5ab4e1 ?/config: Advanced permissions 2013-08-04 17:53:09 -04:00
Michael Foster 6e0e5b1e8a Not the nicest-looking fix, but comments (actual comments, not code examples) beginning with "$" are ignored by ?/config. 2013-08-04 16:46:08 -04:00
Michael Foster 0890557ebb Don't purge the ban list of expires bans every time somebody posts. Add a timer option. Less SQL queries when posting. 2013-08-04 04:48:13 -04:00
czaks 7ed01737c7 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-04 01:00:23 -04:00
Michael Foster 0387ae1b46 Use exiftool to patch bug for now. 2013-08-04 00:48:28 -04:00
czaks f128811dd3 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 22:18:46 -04:00
Michael Foster de62cced6f fix last commit 2013-08-03 22:16:17 -04:00
Michael Foster ac4306555b Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
root 1f5ce14f59 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 21:49:38 -04:00
Michael Foster b373b39f44 Bugfix: gm and auto-orient thumbnailing 2013-08-03 21:47:24 -04:00
Michael Foster 8fe33d3b79 Fix some indent-formatting. Tab = 8 chars 2013-08-03 21:04:45 -04:00
czaks d79da75fa9 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 21:01:26 -04:00
Michael Foster 5300ffadf1 Better image processing. Add support for GraphicsMagick (a fork of ImageMagick) and `exiftool` (for stripping EXIF metadata quickly). 2013-08-03 20:34:59 -04:00
czaks a0855cdcf5 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/functions.php
	templates/generic_page.html
	templates/index.html
2013-08-03 19:05:25 -04:00
Michael Foster a3fbff2259 Update $config['try_smarter']. Should be working now. 2013-08-03 17:42:34 -04:00
Michael Foster f7d068536a EXPERIMENTAL: Try not to build pages when we shouldn't have to. 2013-08-03 07:50:25 -04:00
Michael Foster d4ad874e09 no 2013-08-03 05:25:41 -04:00
Michael Foster c9684fc000 Better/working web config editor 2013-08-03 05:21:02 -04:00
Michael Foster 1d37e81ade Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster 62f8ea4813 Better command-line ImageMagick image processing 2013-08-02 23:18:25 -04:00
Michael Foster 934c00f488 $config['dir']['static'] doesn't exist. 2013-08-02 21:01:04 -04:00
Michael Foster 4fce9b63ae Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
czaks a15e0ffa98 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-02 00:09:07 -04:00
Michael Foster f06978659b Installer: Nicer pre-installation test 2013-08-02 00:08:37 -04:00
czaks 1ed45ebe9e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	stylesheets/dark.css
	stylesheets/futaba+vichan.css
	stylesheets/miku.css
	stylesheets/stripes.css
	stylesheets/testorange.css
	stylesheets/wasabi.css
2013-08-01 23:43:20 -04:00
Michael Foster 5a44c50811 Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
Michael Foster 6b6f32949d Web config editor: Use a <select> for JANITOR/MOD/ADMIN permissions 2013-08-01 15:20:25 -04:00
Michael Foster 22f3a95e0e convert+gifscale didn't respect $config['thumb_keep_animation_frames'] 2013-08-01 04:24:34 -04:00
czaks 235ee484fd removed a relict from older post hider 2013-08-01 01:04:19 -04:00
czaks 168a4d73cc Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-01 00:47:33 -04:00
Michael Foster a052a791b5 Add optional database table prefix (issue #118; see issue comments for details) 2013-07-31 22:14:26 -04:00
czaks b35ea55763 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/thread.html
2013-07-31 19:25:04 -04:00
Michael Foster 4891735c49 Fix issue #72 2013-07-31 18:29:09 -04:00
czaks 55c7146d88 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
	inc/image.php
	js/expand.js
	js/hide-threads.js
	js/local-time.js
	js/smartphone-spoiler.js
	templates/header.html
	templates/index.html
	templates/main.js
	templates/page.html
	templates/post_reply.html
	templates/post_thread.html
	templates/thread.html
2013-07-31 14:54:20 -04:00
Michael Foster 659310663e i18n some more strings in inc/config.php 2013-07-31 06:56:57 -04:00
czaks be2e7d9782 i18n some strings in inc/config.php 2013-07-31 04:54:08 -04:00
Michael Foster 64bc410484 Small comment change 2013-07-31 04:02:40 -04:00
Marcin Łabanowski 7c8bbe8527 Implement image identification buttons using regex.info/exif, google images and tineye 2013-07-31 04:00:22 -04:00
Michael Foster 18516ff828 Rename $config['url_ads'] to $config['link_prefix'] 2013-07-31 03:43:01 -04:00
szalej 51efd817c8 Update inc/config.php
hide referrer option
2013-07-31 03:39:51 -04:00
asiekierka 44d3b12cef Embedding: added vocaroo support 2013-07-31 03:37:09 -04:00
Marcin Łabanowski b7e725bf3e Support for resizing gifs using gifsicle with resizing the rest using ImageMagick 2013-07-31 03:33:06 -04:00
czaks 96bcf5dd1e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
	inc/mod/pages.php
	install.php
	js/expand.js
	mod.php
2013-07-31 02:30:44 -04:00
Michael Foster 42cba53887 Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster bb2868896c Ability to hide IP addresses from mod log 2013-07-31 00:04:57 -04:00
czaks 4257191acd Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-29 16:26:10 -04:00
Michael Foster 58306bdc63 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster 5bab041814 Make font-awesome enabled by default 2013-07-29 12:27:10 -04:00
czaks d11e9d752e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-28 20:51:43 -04:00
Michael Foster 57c8e4ee7c Strip combining characters from Unicode strings (eg. Zalgo) 2013-07-28 20:33:26 -04:00
czaks 3f2ea6b936 i18n some strings in inc/config.php 2013-07-27 01:33:21 -04:00
czaks 114e34eea5 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
2013-07-24 16:24:20 -04:00
Michael Foster 33a1c00bd5 %length% in public ban messages 2013-07-24 11:30:01 -04:00
czaks 1aa522e138 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/index.html
	templates/post_thread.html
	templates/thread.html
2013-07-23 10:25:33 -04:00
Michael Foster 1132a4ce79 Option to use font-awesome for sticky/lock icons, etc. 2013-07-23 09:38:42 -04:00
Michael Foster ab0c5ee481 Option to make stylesheet selections board-specific 2013-07-23 01:35:56 -04:00
czaks 88c1205e42 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
2013-07-22 23:33:02 -04:00
Michael Foster 6ba8f3f7de Add custom links to dashboard 2013-07-22 18:30:45 -04:00