Michael Save
c0876c4e86
local-time.js: don't use jQuery
2012-03-31 19:12:08 +11:00
Michael Save
2faaacd0f2
Update links in Javascript comments
2012-03-31 11:13:11 +11:00
Michael Save
2f7902293f
"Javascript" section in config.php
2012-03-31 11:10:54 +11:00
Michael Save
4039930074
Merge scripts from Tinyboard-Tools
2012-03-31 11:03:12 +11:00
Michael Save
fef9a3ca82
Merge branch 'master' of github.com:savetheinternet/Tinyboard-Tools into tools
...
Conflicts:
README.md
2012-03-31 10:59:20 +11:00
Michael Save
2df1ebd88c
smartphone-spoiler.js
2012-03-29 22:16:59 +11:00
Michael Save
1e88a003cf
Split [D+] (delete all posts by IP address) into global and non-global commands
2012-03-25 16:12:42 +11:00
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
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
Michael Save
34fc25f716
clip to top
2012-03-16 09:48:37 +11:00
Michael Save
1d7381554d
Don't show post when it's already in view. Highlight it instead.
2012-03-16 09:42:17 +11:00
Michael Save
a573960229
show actual posts instead of highlighting them
2012-03-16 09:29:58 +11:00
Michael Save
f48d338ce0
$('div.post.reply:last') is too specific; use $('div.post:last') or else it won't include the OP
2012-03-16 09:08:03 +11:00
Michael Save
53f4bf6136
quick-posts-controls.js: Fill in password automatically.
...
fix-report-delete-submit.js
2012-03-16 02:04:17 +11:00
Michael Save
6b42c71c79
rebuild.php command line switches (--quiet, --board, etc.)
2012-03-15 22:37:43 +11:00
Michael Save
224c776307
pass command line arguments to http client
2012-03-15 22:16:26 +11:00
Michael Save
af7b5b5d78
better scroll events
2012-03-15 20:40:52 +11:00
Michael Save
ae848ef666
use border-right-color for firefox
2012-03-15 18:57:43 +11:00
Michael Save
f3d784de51
Fixed bug redeclaring gettext functions. Edit KusabaX config before including it.
2012-03-15 18:42:17 +11:00
Michael Save
9fab9253a3
quick-post-controls.js
2012-03-15 18:14:54 +11:00
Michael Save
85cc117b33
post-hover.js
2012-03-15 17:05:33 +11:00
Michael Save
a3b3e1cc64
Don't check for new posts unless user is scrolled past the most recent one.
2012-03-15 16:42:58 +11:00
Michael Save
34301da174
local-time.js: convert times into user's timezone
2012-03-15 16:19:26 +11:00
Michael Save
14a2f97323
Moved $config['local_time'] to Tinyboard-Tools (local-time.js)
2012-03-15 16:16:54 +11:00
Michael Save
ee54df825a
auto-reload.js: bringing AJAX to tinyboard
2012-03-15 14:44:15 +11:00
Michael Save
1769de4cdc
h
2012-03-15 14:19:37 +11:00
Michael Save
5abe3ae4b2
cache DNS
2012-03-15 14:13:43 +11:00
Michael Save
3179eef338
use `host` if available for standard DNS lookups too
2012-03-15 14:00:25 +11:00
Michael Save
2bc3c10ee7
readme
2012-03-15 06:22:14 +11:00
Michael Save
70e7840566
.
2012-03-15 05:04:08 +11:00
Michael Save
8e101ab956
banner-reload-helper.js
2012-03-15 04:55:59 +11:00
Michael Save
a2ebcfdaba
remove redundant code
2012-03-15 03:15:45 +11:00
Michael Save
9e20b4071f
copy environment when dropping privileges
2012-03-15 03:14:09 +11:00
Michael Save
6a52a9b31e
$TINYBOARD_PATH environment varaible
2012-03-15 02:11:38 +11:00
Michael Save
64c1f6821c
get_httpd_privileges() function for CLI scripts
2012-03-15 01:44:29 +11:00
Michael Save
2482723ff2
readme update: migration/
2012-03-15 00:44:06 +11:00
Michael Save
4c9440b1d0
removed my config location from default
2012-03-15 00:42:02 +11:00
Michael Save
65996db1c2
KusabaX migration script is now compatible with v0.9.5
...
Do embedding, capcodes
Cleaner config
2012-03-15 00:39:04 +11:00
Michael Save
b8fca6a325
Added Tinyboard-Kusabax
2012-03-14 23:32:49 +11:00
Michael Save
51dc524ac4
Merge branch 'master' of git://github.com/savetheinternet/Tinyboard-KusabaX into kusabax
...
Conflicts:
README.md
2012-03-14 23:31:02 +11:00
Michael Save
81c9b612bc
Don't animate thumbnails when impossible.
2012-03-14 22:11:07 +11:00
Michael Save
6d56e00600
use "Submit" for submit button if appropriate
2012-03-14 22:04:27 +11:00
Michael Save
9daf12dccf
add jquery
2012-03-14 21:57:13 +11:00
Michael Save
9df2ce179e
per-board javascript files
2012-03-14 21:55:22 +11:00
Michael Save
2a760de289
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
d3b1f4cfa3
Quick reply needs $config['quick_reply'] = true;
2012-03-14 20:19:35 +11:00
Michael Save
d47bfe019b
readme
2012-03-14 20:00:57 +11:00
Michael Save
28c2dd9d06
quick reply
2012-03-14 19:41:56 +11:00
Michael Save
60aab92f47
allow quick-reply.js to work
2012-03-14 18:09:23 +11:00
Michael Save
272cc7c2f9
use "git pull" in auto-upgrade if available
2012-03-14 16:56:33 +11:00
Michael Save
6720cd095b
hide hardcoded "0.0.0.0" ip address for command line clients
2012-03-14 16:49:08 +11:00
Michael Save
a79b8c473b
use system account
2012-03-14 16:45:59 +11:00
Michael Save
6657b13067
uid < 0 is now pseudo "system" user account
2012-03-14 16:45:27 +11:00