1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 02:04:35 +01:00
Commit Graph

520 Commits

Author SHA1 Message Date
Michael Foster
7ab7e0a862 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
d60c015fe9 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
64147c93fa Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-04 01:00:23 -04:00
Michael Foster
da73fd3283 Use exiftool to patch bug for now. 2013-08-04 00:48:28 -04:00
czaks
381a0d5823 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 22:18:46 -04:00
Michael Foster
c169b7ebe2 fix last commit 2013-08-03 22:16:17 -04:00
Michael Foster
6bd6faa57d Fix for instances with old GraphicsMagick or ImageMagick versions (no -auto-orient). 2013-08-03 22:14:25 -04:00
root
82f4a3d58f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 21:49:38 -04:00
Michael Foster
593f8757f2 Bugfix: gm and auto-orient thumbnailing 2013-08-03 21:47:24 -04:00
Michael Foster
afa37411c0 Fix some indent-formatting. Tab = 8 chars 2013-08-03 21:04:45 -04:00
czaks
9d6f58d226 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-03 21:01:26 -04:00
Michael Foster
67da80e354 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
8f7367d925 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
ad5570ada2 Update $config['try_smarter']. Should be working now. 2013-08-03 17:42:34 -04:00
Michael Foster
e9ebf724fe EXPERIMENTAL: Try not to build pages when we shouldn't have to. 2013-08-03 07:50:25 -04:00
Michael Foster
bb24c0b0f8 no 2013-08-03 05:25:41 -04:00
Michael Foster
e275a1b7fb Better/working web config editor 2013-08-03 05:21:02 -04:00
Michael Foster
3a0ed6fad3 Better error handling/displaying with $config['debug'] and $config['verbose_errors'] 2013-08-03 00:22:28 -04:00
Michael Foster
c6499dacce Better command-line ImageMagick image processing 2013-08-02 23:18:25 -04:00
Michael Foster
9ef34efc0d $config['dir']['static'] doesn't exist. 2013-08-02 21:01:04 -04:00
Michael Foster
d59e74f394 Major config.php cleanup and a few minor misc fixes. 2013-08-02 20:52:58 -04:00
czaks
6ed8e8752e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-02 00:09:07 -04:00
Michael Foster
01494dccce Installer: Nicer pre-installation test 2013-08-02 00:08:37 -04:00
czaks
d1a5e9d2cf 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
695d50be8c Simple file editor replacement for ?/config (optional). Issue #127 2013-08-01 17:18:10 -04:00
Michael Foster
538e88b7bd Web config editor: Use a <select> for JANITOR/MOD/ADMIN permissions 2013-08-01 15:20:25 -04:00
Michael Foster
ce1e206797 convert+gifscale didn't respect $config['thumb_keep_animation_frames'] 2013-08-01 04:24:34 -04:00
czaks
985778ec5b removed a relict from older post hider 2013-08-01 01:04:19 -04:00
czaks
926b2c31ed Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-01 00:47:33 -04:00
Michael Foster
d379224e3f Add optional database table prefix (issue #118; see issue comments for details) 2013-07-31 22:14:26 -04:00
czaks
0eaf52583f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/thread.html
2013-07-31 19:25:04 -04:00
Michael Foster
89285fd7c3 Fix issue #72 2013-07-31 18:29:09 -04:00
czaks
7e58e50516 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
cf7f7cc9d6 i18n some more strings in inc/config.php 2013-07-31 06:56:57 -04:00
czaks
ef68982c79 i18n some strings in inc/config.php 2013-07-31 04:54:08 -04:00
Michael Foster
7641c7280a Small comment change 2013-07-31 04:02:40 -04:00
Marcin Łabanowski
64c986017a Implement image identification buttons using regex.info/exif, google images and tineye 2013-07-31 04:00:22 -04:00
Michael Foster
84252f1c8a Rename $config['url_ads'] to $config['link_prefix'] 2013-07-31 03:43:01 -04:00
szalej
da43b78b8c Update inc/config.php
hide referrer option
2013-07-31 03:39:51 -04:00
asiekierka
0e909ee96e Embedding: added vocaroo support 2013-07-31 03:37:09 -04:00
Marcin Łabanowski
4263bb7dd8 Support for resizing gifs using gifsicle with resizing the rest using ImageMagick 2013-07-31 03:33:06 -04:00
czaks
eed8767039 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
ca6cb1fdea Allow Unicode in board URIs. 2013-07-31 02:08:55 -04:00
Michael Foster
2545acd35f Ability to hide IP addresses from mod log 2013-07-31 00:04:57 -04:00
czaks
32eca7cfc9 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-29 16:26:10 -04:00
Michael Foster
cc7615cf06 Search posts 2013-07-29 16:18:06 -04:00
Michael Foster
4f747172c2 Make font-awesome enabled by default 2013-07-29 12:27:10 -04:00
czaks
f5115f1945 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-28 20:51:43 -04:00
Michael Foster
9a14d32c77 Strip combining characters from Unicode strings (eg. Zalgo) 2013-07-28 20:33:26 -04:00
czaks
74ee540759 i18n some strings in inc/config.php 2013-07-27 01:33:21 -04:00
czaks
2e2469569b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
2013-07-24 16:24:20 -04:00
Michael Foster
8daaaf350a %length% in public ban messages 2013-07-24 11:30:01 -04:00
czaks
808ae271f4 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
e84dceb60c Option to use font-awesome for sticky/lock icons, etc. 2013-07-23 09:38:42 -04:00
Michael Foster
ad2edf62d7 Option to make stylesheet selections board-specific 2013-07-23 01:35:56 -04:00
czaks
b471c5e35d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
2013-07-22 23:33:02 -04:00
Michael Foster
9a35acdd1e Add custom links to dashboard 2013-07-22 18:30:45 -04:00
Michael Foster
aa598d28d1 Option to check public ban message by default 2013-07-22 17:51:13 -04:00
czaks
73414519ba Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-22 10:14:17 -04:00
Michael Foster
f798bb5209 Option to automatically strip EXIF metadata from JPEGs 2013-07-21 15:50:45 -04:00
czaks
600324b137 Remove imgcaptcha, this code is unused in any of our forks and needs work to get here back.
Revert "Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard"

This reverts commit 49afb685c8, reversing
changes made to 2451a0f29c.

Conflicts:

	js/imgcaptcha.js
2013-07-20 22:47:26 -04:00
czaks
c8a72be62f post search: missed default config 2013-07-20 22:45:21 -04:00
Czterooki
5feda30e63 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-07-20 18:28:57 -04:00
czaks
274a86dd03 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/themes/sitemap/info.php
2013-07-20 17:28:34 -04:00
Michael Foster
f49e6c9fc3 Search update 2013-07-20 12:05:42 -04:00
Michael Foster
b34ba883c5 Bring back search (searching posts not implemented yet) 2013-07-20 07:50:33 -04:00
Czterooki
acf93cda21 merge with vichan-gold 2013-07-20 00:19:08 -04:00
Czterooki
7761dc3fff config.php 2013-07-20 00:03:45 -04:00
czaks
6152ed43bd Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	install.php
	templates/index.html
	templates/thread.html
2013-07-16 13:02:13 -04:00
Michael Foster
4340e74569 $config['require_ban_view']: Force users to view the "You are banned" page at least once before letting a ban disappear naturally. 2013-07-16 06:33:37 -04:00
Michael Foster
9825d8611f Outputting thread subject in header/title (issue #122) 2013-07-16 02:48:20 -04:00
Michael Foster
4eea9507c3 Automatically dismiss all reports regarding a thread after it is locked. 2013-07-16 02:32:44 -04:00
czaks
a139c44a80 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
Michael
bab6548929 Merge pull request #116 from Macil/hardlimits
Adds image_hard_limit and reply_hard_limit options
2013-06-18 10:46:25 -07:00
Macil Tech
aa881058a3 Adds image_hard_limit and reply_hard_limit options.
Also reworks the numPosts() function and uses it elsewhere too.
2013-06-18 12:21:41 -05:00
czaks
f6701dfb74 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-05-26 17:53:00 -04:00
undido
cd3a05a9d1 update config.php config for unban limit
Adding config and error for unban list when a user tries to unban more users than they are allowed too.
2013-04-16 19:14:51 -03:00
Fredrick
b09a46fe99 Fix per-board name not being used 2013-03-20 07:46:48 -04:00
Michael Save
41b3638fbf Mod log in ?/IP (ie. ban history) 2013-03-16 18:27:24 +11:00
Marcin Łabanowski
cf49306488 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-28 13:29:21 +01:00
Michael
8594294b39 Merge pull request #96 from Macil/redis
Add Redis caching support
2013-01-27 21:32:28 -08:00
Marcin Łabanowski
5eb5fc2205 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	mod.php
2013-01-26 15:08:48 +01:00
Michael Save
d9b27fd42a New debug page: ?/debug/sql 2013-01-25 23:56:55 +11:00
Michael Save
adae930469 Raw HTML editing 2013-01-24 19:16:25 +11:00
Marcin Łabanowski
5cc2a67e63 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard into HEAD
Conflicts:
	mod.php
2013-01-23 18:58:38 +01:00
Marcin Łabanowski
3c1bf92f9d Revert "[EDIT] basic edit support"
This reverts commit 9fec3646fa.

Conflicts:
	inc/mod/pages.php
2013-01-23 18:54:41 +01:00
Michael Save
b15b38b505 Major fixes and clean-up for edit form 2013-01-24 04:16:09 +11:00
asiekierka
940e6c657b [EDIT] basic edit support 2013-01-24 03:53:23 +11:00
Macil Tech
da3a6a09a8 Add Redis caching support.
Compatible with the phpredis extension:
https://github.com/nicolasff/phpredis
2013-01-22 20:22:16 -06:00
Marcin Łabanowski
6990cab263 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-21 13:17:13 +01:00
Michael Save
4f58617507 Copyright and license update for 2013. 2013-01-20 21:23:46 +11:00
Marcin Łabanowski
f6b7b3901a Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-19 16:23:02 +01:00
Macil Tech
ef7c998b02 Add field_disable_subject and field_disable_reply_subject config options. 2013-01-19 01:37:48 -06:00
Macil Tech
15043b39cf Add image_reject_repost_in_thread option 2013-01-19 00:25:24 -06:00
Marcin Łabanowski
6cfe6acab7 url_ads: Fix comment in inc/config.php 2013-01-16 19:29:25 +01:00
szalej
34ddf09804 Update inc/config.php
hide referrer option
2013-01-16 11:32:15 +01:00
asiekierka
aac31c9c19 [EDIT] basic edit support 2013-01-08 07:52:13 +01:00
asiekierka
ef4bbba4fb Embedding: added vocaroo support 2013-01-05 13:45:21 +01:00
asiekierka
18f21ab762 PostHider: moved to localstorage 2012-12-24 13:16:12 +01:00
asiekierka
1f0ba79b23 PostHider: added dummy files 2012-12-24 12:30:32 +01:00
Marcin Łabanowski
913c8d582c Support for resizing gifs using gifsicle with resizing the rest using ImageMagick 2012-12-24 05:34:06 +01:00
asiekierka
2adeef7770 fixed to english 2012-12-23 19:01:59 +01:00
asiekierka
9c826550e8 pasek atencji ukonczony 2012-12-23 18:37:44 +01:00
Marcin Łabanowski
5a538ac319 Implement image identification buttons using regex.info/exif, google images and tineye 2012-12-23 04:38:20 +01:00
asiekierka
97412ba688 all the fixes 2012-12-22 18:27:57 +01:00
asiekierka
57682c728c added dependency note 2012-12-22 17:53:22 +01:00
asiekierka
1f42552b31 added a note 2012-12-22 17:46:07 +01:00
asiekierka
85fefb5a17 added imgcaptcha files 2012-12-22 17:38:49 +01:00
asiekierka
895dc1fc4a added config entries 2012-12-22 17:28:10 +01:00
asiekierka
c385d47c2c Added tinyboard integration stuff 2012-12-22 17:25:52 +01:00
Appe
bb7b907428 Updated Youtube embed code. 2012-11-08 23:58:05 +02:00
Michael Save
ab70068de2 CSRF protection 2012-08-27 15:19:05 +10:00
thegentoo
7bc48cca52 Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks 2012-07-13 10:58:42 +02:00
Michael Save
5767954841 Cache unread PM notices 2012-05-20 19:06:27 +10:00
Michael Save
75f61d45c4 $config[ipv6_regex] no longer used 2012-05-07 18:29:54 +10:00
Michael Save
8b2e62f105 custom capcode permissions 2012-05-07 18:22:20 +10:00
Michael Save
5283faa3ac Slightly less crappy stylesheet chooser 2012-05-06 01:37:46 +10:00
Michael Save
34380d247a a lot more improvements 2012-05-06 01:33:10 +10:00
Michael Save
1006d5b7a7 changed some default config values 2012-05-05 18:07:12 +10:00
Michael Save
3aaba56c52 minor CSS fixes 2012-05-05 18:04:07 +10:00
Michael Save
0e819a853c Paginate ?/noticeboard 2012-04-21 15:15:32 +10:00
Michael Save
54a37f8a84 Fix animated thumbnails with convert and Imagick 2012-04-19 01:34:08 +10:00
Michael Save
ab96a43b2b paginate ban list 2012-04-16 19:13:30 +10:00
Michael Save
17a56af9a7 code cleanup 2012-04-13 00:18:19 +10:00
Michael Save
0f984ebf77 Improved Tinyboard anti-bot/spam filter. See large comment in inc/config.php for details. 2012-04-12 21:56:01 +10:00
Michael Save
c98a8afc1d large cleanup 2012-04-12 02:49:22 +10:00
Michael Save
f5698dee0e simpler markup regular expressions 2012-04-11 06:10:50 +10:00
Michael Save
2ee9adb9c9 updated links to new documentation wiki 2012-04-11 02:37:12 +10:00
Michael Save
25e10def5b inline-expanding.js 2012-03-31 19:18:53 +11:00
Michael Save
bfbc22572e "Javascript" section in config.php 2012-03-31 11:10:54 +11:00
Michael Save
bb2e931fe7 Split [D+] (delete all posts by IP address) into global and non-global commands 2012-03-25 16:12:42 +11:00
Michael Save
672749be42 PHP already adds <code> for highlight_string() 2012-03-21 12:15:50 +11:00
Michael Save
df937ddb91 needs /m 2012-03-21 12:14:14 +11:00
Michael Save
52c6d919b3 PHP syntax highlighting is supposed to be an example. Comment it out. 2012-03-21 12:11:53 +11:00
Michael Save
779b4cf984 Moved messy $config initialization from inc/config.php to inc/functions.php. 2012-03-21 12:00:00 +11:00
Michael Save
347efb9484 Customizable markup syntax. 2012-03-21 11:57:30 +11:00
Michael Save
b93d735b7d New feature: "events". Will eventually replace/extend "themes". 2012-03-19 02:41:06 +11:00
Michael Save
de28d993ec s/thread/threat 2012-03-18 19:58:21 +11:00
Michael Save
be9229f32d Enable tor.dnsbl.sectoor.de by default. 2012-03-18 06:35:33 +11:00
Michael Save
1e5349af97 Proper DNSBL implementation. Very sexy. 2012-03-18 06:34:34 +11:00
Marcin Łabanowski
8283449908 utf-8 charset is called "utf8" in mysqlese 2012-03-17 22:55:16 +11:00
Michael Save
46df561454 Defaults: $config['mod']['skip_per_board'] changed to false 2012-03-17 14:38:06 +11:00
Michael Save
f3f93834b6 $config['thumb_method'] 2012-03-17 11:54:23 +11:00
Michael Save
95d8a70db8 Thumbnailing alternative: convert (command line ImageMagick instead of PHP bindings) 2012-03-17 10:32:50 +11:00
Marcin Łabanowski
2224ce03fa make the errors translatable; updated locale list 2012-03-15 20:24:56 +11:00
Michael Save
8dc8c07f4a Moved $config['local_time'] to Tinyboard-Tools (local-time.js) 2012-03-15 16:16:54 +11:00
Michael Save
9a133e87e5 Multiple changes.
Added $config['minify_js'] to compress Javascript with minify
Added $config['additional_javascript_compile'] to put all Javascript files/addons into one file.
Moved delete/report post controls to a shared template.
Ability to have different Javascript files between boards.
2012-03-14 21:48:31 +11:00
Michael Save
1a3542b9ae allow quick-reply.js to work 2012-03-14 18:09:23 +11:00
Michael Save
30439fb51e less warnings in CLI mode 2012-03-14 15:38:28 +11:00
Michael Save
6b75bf516c ability to adjust thumbnail size for OP images independently from reply images 2012-03-14 02:44:33 +11:00