Commit Graph

1737 Commits

Author SHA1 Message Date
Macil Tech
90ada24ddc Insert into posts table using named columns.
Makes it easier to update the posts table schema.
2013-01-19 00:39:29 -06:00
Macil Tech
5628f78970 Made deleting posts by IP more efficient.
No longer rebuilds same thread multiple times.
2013-01-19 00:39:29 -06:00
Macil Tech
0092fc62ab Extend timelimit when rebuilding from mod interface.
The rebuild_timelimit config option was not used anywhere since the mod
interface rewrite.
2013-01-19 00:39:29 -06:00
Macil Tech
67ab3760ba Removed redundant code in image processing.
Both paths of the code here did the same thing.
2013-01-19 00:39:29 -06:00
Macil Tech
f2d3e45fd3 Handle posts without filenames.
If a post doesn't have a filename (such as because of a post event
changing it), then don't show an empty filename with the post.
2013-01-19 00:39:29 -06:00
Macil Tech
322b902c8a Fix incorrect log message when bumplocking and stickying threads. 2013-01-19 00:39:29 -06:00
Macil Tech
fda99305ae Global missing from mod_logout 2013-01-19 00:39:29 -06:00
Macil Tech
9007640e88 Don't do anything if a mod link is middle-clicked.
This lets Chrome users open mod actions in a new tab by middle-clicking,
as Chrome still calls the onclick event when middle-clicking unlike
Firefox.
2013-01-19 00:38:44 -06:00
Macil Tech
91e8547b04 Add image_reject_repost_in_thread option 2013-01-19 00:25:24 -06:00
Macil Tech
b1c1a25c26 Add (thread, id) multi-column key to optimize rebuilding index pages.
This SQL command can be used to add the key to existing board tables:
create index `thread_id` on posts_%s (`thread`, `id`);
2013-01-19 00:13:01 -06:00
Macil Tech
00bd5e8d20 Remove buildThread() call from mod_deletefile because deleteFile()
already calls it.
2013-01-18 23:13:08 -06:00
szalej
f9a907620d Update stylesheets/testorange.css 2013-01-19 02:40:46 +01:00
szalej
f62766abf3 Update stylesheets/szalet.css 2013-01-19 02:38:01 +01:00
Michael
ced540a66e Merge pull request #91 from Macil/truncfixes
Post Truncation fixes
2013-01-18 17:14:45 -08:00
Macil Tech
b63d94838d Do truncation by actual character count.
Using substr can cut a multi-byte character in half.

Also, if a long post with many multi-byte characters was reported, then
the mod interface would temporarily extend the body_truncate_char
setting to be sure to cover all of the *characters* in the report, but
this function would interpret body_truncate_char as a number of *bytes*,
so sometimes the end of the report's appended html would be cut off.
2013-01-18 18:26:25 -06:00
Macil Tech
948dfe8555 Don't truncate inside an HTML comment! 2013-01-18 18:26:25 -06:00
Macil Tech
46f50248f0 Don't require closing tag for tags that don't need it. 2013-01-18 18:26:25 -06:00
Marcin Łabanowski
fa0a79d992 url_ads: fix it not working 2013-01-16 19:49:26 +01:00
Marcin Łabanowski
1c7adaa3cf url_ads: Fix comment in inc/config.php 2013-01-16 19:29:25 +01:00
Marcin Łabanowski
b3cbf0ec9c Merge pull request #7 from cccxd/patch-1
Update inc/config.php
2013-01-16 10:14:44 -08:00
Marcin Łabanowski
84a5066300 Merge pull request #6 from cccxd/master
referrer
2013-01-16 10:14:20 -08:00
szalej
35613c6de5 Update inc/functions.php
url ads
2013-01-16 11:34:31 +01:00
szalej
30ddc46f44 Update inc/config.php
hide referrer option
2013-01-16 11:32:15 +01:00
szalej
dd8b340459 Update inc/functions.php
Hide Referrer (nullrefer.com)
2013-01-16 10:50:20 +01:00
Marcin Łabanowski
20b4afed1c Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-01-09 08:36:08 +01:00
Marcin Łabanowski
c18ed4e51a Merge branch 'master' of https://github.com/asiekierka/Tinyboard
Conflicts:
	mod.php
2013-01-09 08:35:27 +01:00
Marcin Łabanowski
f6e9dbed13 Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
2013-01-09 08:33:40 +01:00
asiekierka
e145a0ea89 edit bugfixes 2013-01-08 07:57:21 +01:00
asiekierka
9fec3646fa [EDIT] basic edit support 2013-01-08 07:52:13 +01:00
asiekierka
1a2c859996 [EDIT] added dummy form 2013-01-08 04:35:22 +01:00
asiekierka
a051ca64ab [EDIT] added dummy page 2013-01-08 04:31:09 +01:00
asiekierka
60fceb9a20 added Fluttershy recent theme and theme picker 2013-01-06 13:40:33 +01:00
asiekierka
b35f7d9e1e refactored head away from templates 2013-01-06 09:41:00 +01:00
Adrian Siekierka
71e84f94f9 Merge pull request #5 from asiekierka/master
Added vocaroo support
2013-01-05 05:08:04 -08:00
asiekierka
909e1b81fb Embedding: added vocaroo support 2013-01-05 13:45:21 +01:00
Marcin Łabanowski
e448bcb69c Add stripes.css by klaczy 2013-01-02 08:08:14 +01:00
Marcin Łabanowski
e6e6ab039d Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-01-02 07:59:24 +01:00
Marcin Łabanowski
1768c3d389 Merge styles from Tinyboard-Tools package from savetheinternet.
The history of the styles is available on https://github.com/savetheinternet/Tinyboard-Tools

The commit includes also additions for vichan's boardlist.
2013-01-02 07:56:50 +01:00
Marcin Łabanowski
57cb55ed47 Add futaba-light.css by Kurwancka 2013-01-02 07:55:13 +01:00
Marcin Łabanowski
d387445cab Add Terminal-2 style by spider 2013-01-02 07:54:44 +01:00
Marcin Łabanowski
8c7d3fc941 Add luna.css style by klaczy, ported by asiekierka 2013-01-02 07:53:50 +01:00
Marcin Łabanowski
bef3d34f65 Add szalet.css style by Kurwancka from http://lepszy.vichan.net/ 2013-01-02 07:53:00 +01:00
Marcin Łabanowski
839854ffc4 add js device_type variable (mobile-style.js) and make smartphone-spoiler.js use it 2013-01-02 06:05:44 +01:00
Marcin Łabanowski
4972ebdc7e fix boardlist being lower than some other website elements 2013-01-02 05:55:53 +01:00
Marcin Łabanowski
7c8e020a88 Added recent_dark stylesheet for recent template, need to be changed currently in style.php though 2013-01-02 05:49:04 +01:00
Marcin Łabanowski
468bcdf683 mobile-style.js: add windows phone/tablet user agents 2012-12-29 16:31:23 +01:00
Marcin Łabanowski
69b52935eb smartphone-spoiler.js: add windows phone/tablet user agents 2012-12-29 16:30:46 +01:00
Marcin Łabanowski
7be36592d2 image identification: add imgops.com button 2012-12-28 19:08:25 +01:00
Marcin Łabanowski
4787328281 Revert "style.css fixes"
This reverts commit 5032bba6af.
2012-12-28 05:36:35 +01:00
Marcin Łabanowski
819c4c7b9c futaba.css - styling of top boardlist bar 2012-12-25 01:27:39 +01:00