Commit Graph

736 Commits

Author SHA1 Message Date
Michael Save
b082c8c811 detect lowercase GIFs 2012-03-13 03:48:12 +11:00
Michael Save
ce74d25a56 use sys_get_temp_dir() for finding /tmp 2012-03-13 02:34:45 +11:00
Michael Save
77c256157f small mistake in thumbnail animation. was trying to animate all formats (not just GIF). 2012-03-12 18:54:05 +11:00
Michael Save
6dbd2d3b8d use sampleImage() on GIFs as it is much faster 2012-03-12 04:58:55 +11:00
Michael Save
6cc5cd73e0 don't accept just 'http://' etc as a URL 2012-03-11 11:31:05 +11:00
Michael Save
32c8791ff8 URL regex fix 2012-03-11 11:29:33 +11:00
Michael Save
842b4312c9 config[jpeg_quality] no longer used 2012-03-10 23:09:03 +11:00
Michael Save
e2a93b6b5c animated thumbnail fix 2012-03-10 22:59:18 +11:00
Michael Save
0bab56cbb2 removed useless clone 2012-03-10 22:57:31 +11:00
Michael Save
f1a2af2d8a experimental animated GIF thumbnails 2012-03-10 22:56:45 +11:00
Michael Save
3c4d8843ba experimental animated GIF thumbnails 2012-03-10 22:56:28 +11:00
Michael Save
5c5cfa28e0 comments fix 2012-03-10 21:16:21 +11:00
Michael Save
de17bdb317 Remade config[redraw_image] 2012-03-10 20:53:41 +11:00
Michael Save
ab4361d5f3 fixed encoding error for extended ASCII characters 2012-03-08 01:57:10 +11:00
Marcin Łabanowski
936bb07fcb updated polish translation 2012-03-04 22:54:20 +11:00
Marcin Łabanowski
652099e0c4 updated Polish locale 2012-03-04 22:54:06 +11:00
Marcin Łabanowski
d0c02f79f3 preliminary polish translation 2012-03-04 03:19:36 +11:00
Michael Save
d446ba94b9 use 303 See Other instead of 302 Found, by default 2012-02-25 08:47:39 +11:00
Michael Save
e8bfdfd9c8 Automatically convert all post times to local time using Javascript. 2012-02-20 02:20:51 +11:00
Michael Save
5d06fecfb7 specify timezone in <time> datetime attribute 2012-02-19 23:38:55 +11:00
Michael Save
3b17f32047 increased board uri/title/subtitle character limits 2012-02-19 19:37:39 +11:00
Michael Save
e2b3d05cf3 typo... 2012-02-18 01:15:00 +11:00
Michael Save
a4fe0d9d47 small bug 2012-02-18 01:14:13 +11:00
Michael Save
5eb0d7e8e2 moved hasPermission() to functions.php 2012-02-16 23:32:28 +11:00
Michael Save
56821eb375 allow mods to bypass forced anonymity (and other disabled fields). also fixed some small per-board permission bugs 2012-02-16 23:07:25 +11:00
Michael Save
3f1c279ce3 experimental post editing (for mods) 2012-02-15 20:11:09 +11:00
Michael Save
e3f322e213 optional cache prefix for multiple tinyboard instances on one machine 2012-02-14 23:36:08 +11:00
Michael Save
bc78a6b28a categories theme v0.3 2012-02-14 21:28:18 +11:00
Michael Save
cba5bc9c70 ... 2012-02-14 20:25:38 +11:00
Michael Save
652429a23e removed old code that will never be executed 2012-02-14 20:24:20 +11:00
Michael Save
ae76ddb079 Fixed issue #34: "HTML entities can be cut in half when truncating posts" 2012-02-11 18:53:27 +11:00
Michael Save
d4a1264ae6 config[blotter] = false when unset 2012-02-06 17:49:05 +11:00
Michael Save
75421c1ccb ... 2012-02-06 17:42:25 +11:00
Michael Save
bb1546ad66 false "Your browser sent an invalid or no HTTP referer" error 2012-02-02 10:24:48 +11:00
Michael Save
4706ef8789 Don't auto-unicode on links 2012-01-31 05:57:25 +11:00
Michael Save
16f2d47813 allow "^" in links 2012-01-31 05:57:08 +11:00
Michael Save
5510be3ded allow more punctuation after URLs 2012-01-27 03:58:38 +11:00
Michael Save
d404a40ce8 wordfilters (non-regex) should be case-insensitive 2012-01-26 18:35:16 +11:00
Michael Save
cd30f3b0b9 prohibit using same anti-bot hashes across different boards/threads 2012-01-20 02:37:53 +11:00
Michael Save
368050852a HTML fix 2012-01-09 14:28:54 +11:00
Michael Save
05ab38d355 escape HTML in debug data 2012-01-09 14:15:36 +11:00
Michael Save
c7d72306ed XSS in login form 2012-01-07 21:10:10 +11:00
Michael Save
ef5869014f trailing \n after inline replying with minify_html enabled 2012-01-07 11:55:25 +11:00
Michael Save
0ac75577ac use &#010; when new lines are a must if minify_html is enabled 2012-01-07 11:54:25 +11:00
Michael Save
1311bc977c 2012 update 2012-01-06 10:07:31 +11:00
Michael Save
3d8c2407a3 allow closing bracket after citation 2012-01-06 06:44:51 +11:00
Michael Save
8231f40fee allow closing bracket after citation 2012-01-06 06:44:12 +11:00
Michael Save
c519bd66f5 horrible bug in the "post too long. click here to view the full text" truncating 2012-01-06 06:40:26 +11:00
Michael Save
f21577fa5a do not count puncutation after links as part of the uRL 2012-01-06 06:34:21 +11:00
Michael Save
5095be4602 PHP warnings in newer PHP versions when loading config 2011-12-30 00:36:20 +11:00
Michael Save
9bb0e1984d Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5 2011-12-30 00:30:01 +11:00
Savetheinternet
21b35094dd s/or/are 2011-12-24 01:01:32 +11:00
Savetheinternet
e7eb4e856d customizable footer text in config 2011-12-24 00:51:24 +11:00
Savetheinternet
be860577a9 optionally disable image requirement for new threads 2011-12-18 08:48:16 +11:00
Savetheinternet
1519637bf1 removed debug crap 2011-12-15 03:22:24 +11:00
Savetheinternet
250d06074d typo 2011-12-10 21:46:10 +11:00
Savetheinternet
74f5964471 use raw SHA1 to calculate anti-spam inputs 2011-12-08 14:44:33 +11:00
Savetheinternet
6a02dfd5aa use multibyte-aware mb_strlen() instead of strlen(); fixed issue #8) 2011-12-07 17:47:36 +11:00
Savetheinternet
a08f93b71f removed now unused config directives 2011-12-06 17:25:39 +11:00
Savetheinternet
68cfe46677 ... 2011-12-06 17:24:30 +11:00
Savetheinternet
1a4eb1dea6 bugfix: posting from another page would return "invalid referrer" errors 2011-12-06 17:21:26 +11:00
Savetheinternet
2050a97e13 fixed syslog() for CLI mode 2011-12-06 03:04:46 +11:00
Savetheinternet
38c53c9002 missing global $config; 2011-12-06 03:02:26 +11:00
Savetheinternet
d454fc6423 syslog() mod actions 2011-12-06 03:00:59 +11:00
Savetheinternet
fd0eaa672f ... 2011-12-06 00:39:02 +11:00
Savetheinternet
64fac6c3cc Garfunkel: h 2011-12-06 00:29:47 +11:00
Savetheinternet
d8a8c29a23 small indent fix 2011-12-06 00:27:34 +11:00
Savetheinternet
0d6997bd29 Fixed bug affecting Safari. Safari seems to like to send the client-side part of URLs (#) in the referrer. 2011-12-05 22:59:51 +11:00
Savetheinternet
0df1e4972d rebuild thread after rebuilding post 2011-12-05 13:21:49 +11:00
Savetheinternet
b57be65c9f track cites (remove broken links after a post 404s) 2011-12-05 13:17:34 +11:00
Savetheinternet
fc417bc446 use NULL in database where possible 2011-12-05 10:47:30 +11:00
Savetheinternet
c5a961a6a5 custom capcode fix 2011-12-05 10:33:31 +11:00
Savetheinternet
c9844b86bf v0.9.4 2011-12-04 13:51:12 +11:00
Savetheinternet
82f4e4f685 SQL query compression for debug view 2011-12-04 11:28:33 +11:00
Savetheinternet
3819379a6a use 0.0.0.0 when in CLI mode 2011-12-03 15:54:30 +11:00
Savetheinternet
c120938557 ... 2011-12-03 15:45:24 +11:00
Savetheinternet
79aea393c6 $rebuild_after switch for deleteFile() 2011-12-03 15:41:14 +11:00
Savetheinternet
95920a6972 generate_tripcode() rewrite 2011-12-03 15:11:15 +11:00
Savetheinternet
dbe3302987 Avoid DNS timeouts by using host and cache if available 2011-12-03 11:52:31 +11:00
Savetheinternet
3979d9a740 ability to translate error messages 2011-12-02 19:42:51 +11:00
Savetheinternet
c1be29ce35 ammended mod authentication system (no more $_SESSION) 2011-12-02 15:11:13 +11:00
Savetheinternet
313012f034 removed cookies that have been superfluous and unused for a year 2011-12-02 15:10:20 +11:00
Savetheinternet
8c2f6d978a Automatic transformation of IPv6-IPv4 addresses (::ffff:0.0.0.0) should not be an optional feature. 2011-11-25 03:02:34 +11:00
Savetheinternet
b4d4fca071 ... 2011-11-24 08:04:49 +11:00
Savetheinternet
4f1c0109f2 Typo in config. 2011-11-24 08:03:48 +11:00
Savetheinternet
87c73a41dd Last finnish translations for the day 2011-11-23 23:52:38 +11:00
Savetheinternet
5df15bb904 More finnish translations 2011-11-23 23:47:54 +11:00
Savetheinternet
982fcebe27 Finnish translation 2011-11-23 22:58:02 +11:00
Savetheinternet
95ffef8876 Use LIKE instead of REGEX for wildcard bans 2011-11-23 22:24:48 +11:00
Savetheinternet
d1c2db4493 Minor bug causing range bans to not get purged 2011-11-23 21:36:40 +11:00
Savetheinternet
09accb53ce "*" in range bans should match everything 2011-11-23 21:33:50 +11:00
Savetheinternet
a83d584255 Ability to disable certain superfluous fields. ("Forced anonymous") 2011-11-23 21:24:06 +11:00
Savetheinternet
5632a971ee Slightly differnet default config.ban_date 2011-11-23 16:27:48 +11:00
Savetheinternet
814226f6d6 Moving <hr/> in debug text 2011-11-23 16:18:50 +11:00
Savetheinternet
51cdaaccd1 Use template instead of inline HTML for ban messages. 2011-11-23 16:12:19 +11:00
Savetheinternet
db0dac2b85 Styling ban form... 2011-11-22 02:35:26 +11:00
Savetheinternet
6aa24cce92 CIDR netmask bans 2011-11-22 00:25:00 +11:00
Savetheinternet
3380c3008f Better SSL support. 2011-11-20 16:19:00 +11:00
Savetheinternet
7e4a58cbf6 - 2011-11-20 08:40:54 +11:00
Savetheinternet
20855379c9 .. 2011-11-20 04:07:30 +11:00
Savetheinternet
457e474520 Use strftime() instead of date() to respect other languages. 2011-11-20 04:07:17 +11:00
Savetheinternet
5fce70d703 More descriptive error messages. 2011-11-20 03:38:57 +11:00
Savetheinternet
e8ad164358 "Shadow thread" automated reply with thread moving. 2011-11-19 03:40:23 +11:00
Savetheinternet
d8fe3ff8d8 Ability to "move" a thread to another board (2/3 done) 2011-11-19 01:35:22 +11:00
Savetheinternet
0279cfd3fb Ability to customize filenames, replacing the standard UNIX timestamp + random 2011-11-19 00:22:48 +11:00
Savetheinternet
3e28328dc9 syslog() 2011-11-18 23:39:13 +11:00
Savetheinternet
6d82894b82 ... 2011-11-17 15:24:39 +11:00
Savetheinternet
b2f083be30 Fixed bug with some embedded YouTube videos (containing _ or -) 2011-11-17 08:03:01 +11:00
Savetheinternet
a3f6420f00 Temporary fix for some gettext issues. 2011-11-17 03:13:49 +11:00
Savetheinternet
4a03c4c3cd XSS/bug with last commit to utf8tohtml(). 2011-11-17 01:22:25 +11:00
Savetheinternet
79d7bf54fa Replaced buggy UTF-8 -> HTML conversion with mb_encode_numericentity() 2011-11-17 01:06:00 +11:00
Savetheinternet
0ba885d9c1 Attempt at using HTML5 microdata 2011-11-16 20:41:16 +11:00
Savetheinternet
3733162e0a Fixed issue #26 (text-based flood filter should not include blank posts) 2011-11-16 19:59:21 +11:00
Savetheinternet
1a58f6ff01 minor bug with previous commit 2011-11-16 16:41:57 +11:00
Savetheinternet
27dde88e15 Added config option to automatically remove unnecessary whitespace when compiling HTML files from templates 2011-11-16 16:01:02 +11:00
Savetheinternet
834a38a562 Replace tabs with 8 spaces 2011-11-16 15:54:35 +11:00
Savetheinternet
86bbe132a9 ... 2011-11-16 07:40:31 +11:00
Savetheinternet
a48572119e Added rel="directory" to "return" links 2011-11-16 07:40:03 +11:00
Savetheinternet
c13ce6a35c Fixed bug particularly effecting new installations 2011-11-09 13:44:34 +11:00
Savetheinternet
99979ea41c Ensure UTF-8 for MySQL 2011-11-05 17:35:07 +11:00
Savetheinternet
b20ba4126a Fixed bug in removeBan() 2011-10-17 18:02:54 +11:00
Savetheinternet
1d1f391c5e Allow per-board template directories. 2011-10-15 17:06:22 +11:00
Savetheinternet
eab04df57b Compiled new .mo for ru_RU 2011-10-12 07:56:39 +11:00
turanga
01973da299 Edited inc/locale/ru_RU/LC_MESSAGES/tinyboard.po via GitHub 2011-10-11 21:10:08 +09:00
Savetheinternet
ff730c861b Started on internationalization (i18n) 2011-10-11 21:49:14 +11:00
Savetheinternet
e8183e7899 Missing global for Tinyboard vesion number 2011-10-11 03:00:04 +11:00
Savetheinternet
79cc1c5238 Bug fix: HTML files for old pages were not being deleted 2011-10-11 02:57:37 +11:00
Savetheinternet
ffb215eb47 added "bumplocking" feature 2011-10-10 22:37:39 +11:00
Savetheinternet
851d8eaa9b SQL debug 2011-10-10 21:49:45 +11:00
Savetheinternet
ef125249b9 fix pm_snippet bug 2011-10-10 21:49:38 +11:00
Michael D. Reiley
a88f89a4aa Footer version string pulled from .installed 2011-10-10 03:40:31 -07:00
Savetheinternet
85d37a55c3 remove the retard function html_entity_decode_utf8(). not sure why seisatsu added it in the first place. 2011-10-10 21:06:39 +11:00
Savetheinternet
bf803e5d58 ... 2011-10-10 20:50:01 +11:00
Savetheinternet
fe86fed3a5 cache bug 2011-10-09 16:26:34 +11:00
Michael D. Reiley
b8cc793021 Forgot a global in boardTitle function. 2011-10-08 12:56:38 -07:00
Savetheinternet
df0813e9d8 cache bug 2011-10-09 04:35:50 +11:00
Savetheinternet
57f652f804 bugfix: Tinyboard was trying to PURGE /tmp files 2011-10-09 02:58:56 +11:00
Savetheinternet
ea2e4f12f8 pm_snippet bugfix (incorrectly double-escaped HTML entity) 2011-10-08 21:01:26 +11:00
Savetheinternet
42d3a5e9f8 debug: show individual query execution times 2011-10-08 19:05:59 +11:00
Savetheinternet
3520a10f0d additional cache 2011-10-08 17:46:48 +11:00
Savetheinternet
555688e880 memcached, APC, xcache 2011-10-07 16:51:19 +11:00
Savetheinternet
160647d196 newline after CLI errors 2011-10-07 00:55:45 +11:00
Savetheinternet
ea641d4335 broken unicode 2011-10-06 23:26:07 +11:00
Savetheinternet
c1593be1c8 replace hardcoded "templates/" directory with appropriate config directive 2011-10-06 14:28:56 +11:00
Savetheinternet
a16a45bce8 more effective thread index caching 2011-10-06 00:16:28 +11:00
Savetheinternet
0629bf68f7 use template files instead of hardcoded HTML for generating psots 2011-10-05 23:53:43 +11:00
Savetheinternet
260a12241f ... 2011-10-05 19:42:00 +11:00
Savetheinternet
0191327651 ... 2011-10-05 19:41:47 +11:00
Savetheinternet
6030dc6a9b ... 2011-10-05 16:48:31 +11:00
Savetheinternet
d7f32670c5 non-image file icons 2011-10-05 16:45:34 +11:00
Savetheinternet
1b136555d2 transition to Twig 2011-10-05 15:22:53 +11:00
Savetheinternet
514eb2aa84 bug fix for non-image and spoiler thumbnails 2011-10-04 03:07:20 +11:00
Savetheinternet
c887be655b bug fix for non-image and spoiler thumbnails 2011-10-04 03:06:47 +11:00
Savetheinternet
60f93b1517 spoiler_images config description 2011-10-04 02:47:58 +11:00
Savetheinternet
53dce652a8 image spoilers 2011-10-04 02:46:39 +11:00
Savetheinternet
9191c0704a ... 2011-10-04 00:49:35 +11:00
Savetheinternet
89c33f38f7 reorganized config.php 2011-10-04 00:48:09 +11:00
Savetheinternet
67b954924b Referer checking; more descriptive error message 2011-10-03 18:38:19 +11:00
Savetheinternet
339853e5de Show full filename on mouseover. 2011-10-01 22:12:31 +10:00
Savetheinternet
0bad03d3a2 Disable inline-expanding for non-images 2011-10-01 21:43:23 +10:00
Savetheinternet
cbb1bc1031 references do not work well in config.php 2011-10-01 16:13:23 +10:00
Savetheinternet
9fe173445d URLs can have vertical bar/pipe characters, apparently. 2011-09-30 05:14:30 +10:00
Savetheinternet
8e9dc2736b Handle question mark (?) after cross-board or cross-post link 2011-09-30 05:10:13 +10:00
Savetheinternet
ec772fb8ea Fixed banner dimensions 2011-09-29 22:23:03 +10:00
Savetheinternet
9e081f0a70 very much needed whitespace 2011-09-29 21:21:30 +10:00
Savetheinternet
4ec10dc89a Fixed arrow glyphs in auto unicode 2011-09-25 16:40:30 +10:00
Michael D. Reiley
d3fb010a8f New "Categories" theme, modifications for support. 2011-09-20 12:49:07 -07:00
Savetheinternet
4ef2caecc1 Removed $config[force_body]. Made threads without text possible. 2011-09-15 20:32:49 +10:00
Savetheinternet
2b68ddaff0 Don't order by time() 2011-09-11 14:23:21 +10:00
Savetheinternet
cfc6428219 handle post citations with trailing punctuation 2011-08-18 20:16:02 +10:00
Savetheinternet
e3f2aa8da3 ... 2011-08-15 00:49:52 +10:00
Savetheinternet
2162238813 tiny bug fix 2011-08-13 16:21:45 +10:00
Savetheinternet
9f88a742ef fixed bug in cached bans 2011-08-07 16:10:19 +10:00
Savetheinternet
c4c6a98396 various bug fixed, introduced ban ID, temporarily broke caching bans with memcached 2011-08-04 15:47:34 +10:00
Savetheinternet
65ad6bf063 better error message for "unknown auth method" 2011-07-30 21:02:26 +10:00
Savetheinternet
e3918f7110 public key authentication for remote servers 2011-07-30 20:45:51 +10:00
Savetheinternet
7ff9cd6f2d require "inc/instance-config.php", not "instance-config.php" 2011-07-30 20:23:02 +10:00
Savetheinternet
8b4f3c3754 patched bug/issue #24 2011-07-28 20:25:06 +10:00
Savetheinternet
612b51abcc "all boards" checked by default for bans 2011-07-27 13:47:48 +10:00
Savetheinternet
4c1935a6b6 per-board bans 2011-07-27 13:40:27 +10:00
Savetheinternet
101530151a transparent background on SVG and other iamge formats 2011-07-22 20:45:09 +10:00
Savetheinternet
ecb42bcc6d ImageMagick invalid image handling 2011-07-22 19:53:22 +10:00
Savetheinternet
cf31555818 comment 2011-07-22 19:45:45 +10:00
Savetheinternet
89024e7ac2 removed accidentally committed crap-code 2011-07-22 19:41:53 +10:00
Savetheinternet
ab0d6e27d7 ImageMagick support (including SVG, etc.) 2011-07-22 19:40:57 +10:00
Savetheinternet
d32f2c43e8 don't ignore config[cookies][mod] 2011-07-13 21:54:52 +10:00
Savetheinternet
b52e2b1eb3 ommit image errors 2011-07-12 20:31:18 +10:00
Savetheinternet
97979b7999 image handling class 2011-07-12 20:29:35 +10:00
Savetheinternet
4bf3a5da58 target="_blank" on images 2011-07-11 08:19:04 +10:00
Savetheinternet
41920ec098 fixed duplicate image blocking 2011-07-09 03:02:43 +10:00
Savetheinternet
eadeb6669e wildcard option ("*") for per-board mods 2011-07-08 23:03:12 +10:00
Savetheinternet
11409bb9d7 made inline expanding of images optional 2011-07-07 23:07:38 +10:00
Savetheinternet
aba6f147f7 basic futaba stylesheet 2011-07-07 22:52:53 +10:00
Savetheinternet
dcd6a59613 moved stylesheets into a new "stylesheets" directory 2011-07-07 22:35:35 +10:00
Savetheinternet
1e88c55b37 removed annoying white-space 2011-07-07 05:22:33 +10:00
Savetheinternet
6f894ad4ee made the per-board mod functionality optional 2011-07-03 23:11:31 +10:00
Savetheinternet
e3cba2b450 per-board moderators 2011-07-03 23:05:14 +10:00
Savetheinternet
1338769d44 "lock" should be "unlock" and "unlock" should be "lock" 2011-06-27 20:01:39 +10:00
Savetheinternet
01a5846557 fixed but telling non-mods they have an unread PM sometimes 2011-06-25 16:03:57 +10:00
Savetheinternet
370b829460 reCAPTCHA support 2011-06-16 04:59:16 +10:00