1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-22 12:25:59 +01:00
Commit Graph

4672 Commits

Author SHA1 Message Date
Michael Save
4c6faeb7a2 Convert $post to an object before passing it to event(). This way it can be modified by event handlers before entering the database. See http://tinyboard.org/docs/events.html#examples 2012-03-24 15:31:35 +11:00
Michael Save
29dc55c4e8 Close and unzip zip file upon errors (?/upgrade) 2012-03-21 22:04:58 +11:00
Michael Save
cf6bf2c7dc PHP already adds <code> for highlight_string() 2012-03-21 12:15:50 +11:00
Michael Save
ce2d794137 needs /m 2012-03-21 12:14:14 +11:00
Michael Save
a77b0b5f70 PHP syntax highlighting is supposed to be an example. Comment it out. 2012-03-21 12:11:53 +11:00
Michael Save
66b08bafef Moved messy $config initialization from inc/config.php to inc/functions.php. 2012-03-21 12:00:00 +11:00
Michael Save
4afd2c7cb2 Customizable markup syntax. 2012-03-21 11:57:30 +11:00
Michael Save
7e1ff9580d escapeshellarg() for auto-upgrade unzip 2012-03-20 03:43:57 +11:00
Michael Save
58baab6a6e issue #41 2012-03-20 03:39:44 +11:00
Michael Save
9c62a4d2be Use "events" in more functions. Documentation coming soon. 2012-03-19 05:43:55 +11:00
Michael Save
8703ea3d4a $post['file_path'] 2012-03-19 02:55:34 +11:00
Michael Save
7c8dc230b8 Moved rebuildThemes() in post.php back for now. 2012-03-19 02:53:33 +11:00
Michael Save
ac9cefd863 Moved rebuildThemes() in post.php back for now. 2012-03-19 02:52:05 +11:00
Michael Save
9d58186360 New feature: "events". Will eventually replace/extend "themes". 2012-03-19 02:41:06 +11:00
Michael Save
d0e20ca71f show-mentions.js -> show-backlinks.js 2012-03-19 00:48:06 +11:00
Michael Save
8afaba9a81 show-mentions.js 2012-03-19 00:33:06 +11:00
Michael Save
741e30e22f post-hover.js: Fixed bug on index pages 2012-03-19 00:11:55 +11:00
Michael Save
d38801fc4e auto-reload.js: poll every 5 seconds, not 500 ms 2012-03-18 23:57:38 +11:00
Michael Save
21a1152ebe custom event for new posts, so auto-reload.js etc will work with forced-anon.js and post-hover.js 2012-03-18 23:55:01 +11:00
Michael Save
8208d7151b Close board before writing modlog entry. 2012-03-18 20:47:45 +11:00
Michael Save
ab1db9dd8a s/thread/threat 2012-03-18 19:58:21 +11:00
Michael Save
c136d44894 Better upload handling (don't move file before handling it) 2012-03-18 19:53:56 +11:00
Michael Save
fb5fc04599 Small DNSBL fix 2012-03-18 06:58:20 +11:00
Michael Save
1a3a363c7d Enable tor.dnsbl.sectoor.de by default. 2012-03-18 06:35:33 +11:00
Michael Save
35a1e05787 Proper DNSBL implementation. Very sexy. 2012-03-18 06:34:34 +11:00
Michael Save
0c8941fc5b benchmark.php: Benchmark thumbnailing methods 2012-03-18 01:00:58 +11:00
Michael Save
b561066a4c convert: Suppress warnings when trying to delete temporary file. 2012-03-18 00:57:11 +11:00
Michael Save
7d39384581 Don't forget new lines on error. 2012-03-18 00:36:51 +11:00
Marcin Łabanowski
ff172eb418 utf-8 charset is called "utf8" in mysqlese 2012-03-17 22:55:16 +11:00
Michael Save
c6478b378f convert: Don't rely on PHP GD to get the image dimensions; use identify. 2012-03-17 22:49:56 +11:00
Michael Save
fe7182404f Better thumbnailing with convert. 2012-03-17 22:28:23 +11:00
Michael Save
e6337640c8 Defaults: $config['mod']['skip_per_board'] changed to false 2012-03-17 14:38:06 +11:00
Michael Save
75efb21035 permissions bug 2012-03-17 14:22:43 +11:00
Michael Save
6ab3ec5da9 convert: chmod(664) after moving temporary image 2012-03-17 12:02:51 +11:00
Michael Save
b82e3a814a Thumbnail the first frame only. 2012-03-17 11:55:16 +11:00
Michael Save
6db45d4c3d $config['thumb_method'] 2012-03-17 11:54:48 +11:00
Michael Save
290b2b2dea $config['thumb_method'] 2012-03-17 11:54:23 +11:00
Michael Save
c36d654a08 Clip post to page borders. 2012-03-17 11:33:20 +11:00
Michael Save
de5e7e27ec Don't clone replies we can already see. That will break stuff. 2012-03-17 11:10:59 +11:00
Michael Save
443c79047b post-hover.js: Fix position on AJAX.
Fetch all replies when using AJAX.
2012-03-17 10:59:14 +11:00
Michael Save
4c3486bec9 Thumbnailing alternative: convert (command line ImageMagick instead of PHP bindings) 2012-03-17 10:32:50 +11:00
Michael Save
d531487bad Animated thumbnails fix 2012-03-17 08:29:46 +11:00
Michael Save
bf7fd32c21 start_hover() causing weird positing issues when using AJAX method 2012-03-17 08:12:47 +11:00
Michael Save
a2ac54e01e Check if post is below viewable region. 2012-03-17 08:09:24 +11:00
Michael Save
ce25db62ea css bug 2012-03-17 07:54:08 +11:00
Michael Save
134146e32c Allow post-hover.js to work /without/ forced-anon.js... 2012-03-17 07:51:45 +11:00
Michael Save
e34de4e09d Allow post-hover.js to work with forced-anon.js 2012-03-17 07:46:44 +11:00
Michael Save
68e873315a Ensure no double-fetching of posts. 2012-03-17 07:45:38 +11:00
Michael Save
50624ba5ce Use AJAX to fetch posts that aren't on the current page. 2012-03-17 07:40:15 +11:00
Michael Save
ccf17c3d6f quick-post-controls.js: clone input element or Tinyboard will consider everyone a bot when posting 2012-03-16 20:22:26 +11:00