1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
Commit Graph

1796 Commits

Author SHA1 Message Date
Michael Save
a2145d8435 Upgrade script for new kew 2013-01-19 18:49:00 +11:00
Michael Save
7666d93a11 Merge branch 'newkey' of https://github.com/Macil/Tinyboard 2013-01-19 18:47:01 +11:00
Michael
d2e02c97a9 Merge pull request #95 from Macil/nosubject
Add field_disable_subject and field_disable_reply_subject config options
2013-01-18 23:44:44 -08: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
903bf5e9b3 Remove now redundant single-column thread key from posts_* tables. 2013-01-19 01:20:55 -06:00
Michael
b91845ea7e Merge pull request #93 from Macil/image_reject_repost_in_thread
Add image_reject_repost_in_thread option
2013-01-18 23:03:16 -08:00
Michael
f050948a93 Merge pull request #92 from Macil/fixes
Miscellaneous bugfixes
2013-01-18 23:02:24 -08:00
Macil Tech
7871d30bda Incorrect parameter type.
The parameter was bound with the wrong type. I guess the type isn't
enforced judging by how the code still seemed to work, but it probably
should be fixed.
2013-01-19 00:39:30 -06:00
Macil Tech
3b739ba722 Fix transforming links to mod links in OP posts.
Similar regexes are called for threads and posts, but they differed
needlessly, and the thread regex would drop anything between the `<a`
and `href="` parts. This makes them both the same and functional.
2013-01-19 00:39:30 -06:00
Macil Tech
87b1498d23 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
e274368372 Made deleting posts by IP more efficient.
No longer rebuilds same thread multiple times.
2013-01-19 00:39:29 -06:00
Macil Tech
c61a74ca37 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
14469f80a9 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
e45efbfe87 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
42b3e6eea6 Fix incorrect log message when bumplocking and stickying threads. 2013-01-19 00:39:29 -06:00
Macil Tech
847ae1ef87 Global missing from mod_logout 2013-01-19 00:39:29 -06:00
Macil Tech
97ae4dd6bc 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
15043b39cf Add image_reject_repost_in_thread option 2013-01-19 00:25:24 -06:00
Macil Tech
417b765a47 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
6b3d02e4fa Remove buildThread() call from mod_deletefile because deleteFile()
already calls it.
2013-01-18 23:13:08 -06:00
szalej
8218b7cb8b Update stylesheets/testorange.css 2013-01-19 02:40:46 +01:00
szalej
fb37023c25 Update stylesheets/szalet.css 2013-01-19 02:38:01 +01:00
Michael
e19b283c7e Merge pull request #91 from Macil/truncfixes
Post Truncation fixes
2013-01-18 17:14:45 -08:00
Macil Tech
5c2b26d2d3 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
263ecfe5ce Don't truncate inside an HTML comment! 2013-01-18 18:26:25 -06:00
Macil Tech
36af0af624 Don't require closing tag for tags that don't need it. 2013-01-18 18:26:25 -06:00
Marcin Łabanowski
de696ba11b url_ads: fix it not working 2013-01-16 19:49:26 +01:00
Marcin Łabanowski
6cfe6acab7 url_ads: Fix comment in inc/config.php 2013-01-16 19:29:25 +01:00
Marcin Łabanowski
9834579a7c Merge pull request #7 from cccxd/patch-1
Update inc/config.php
2013-01-16 10:14:44 -08:00
Marcin Łabanowski
58220d9ebf Merge pull request #6 from cccxd/master
referrer
2013-01-16 10:14:20 -08:00
szalej
7f277c3833 Update inc/functions.php
url ads
2013-01-16 11:34:31 +01:00
szalej
34ddf09804 Update inc/config.php
hide referrer option
2013-01-16 11:32:15 +01:00
szalej
a5eba94538 Update inc/functions.php
Hide Referrer (nullrefer.com)
2013-01-16 10:50:20 +01:00
Marcin Łabanowski
7b6458d481 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-01-09 08:36:08 +01:00
Marcin Łabanowski
bbb5aede73 Merge branch 'master' of https://github.com/asiekierka/Tinyboard
Conflicts:
	mod.php
2013-01-09 08:35:27 +01:00
Marcin Łabanowski
bf164275de 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
919bb6460a edit bugfixes 2013-01-08 07:57:21 +01:00
asiekierka
aac31c9c19 [EDIT] basic edit support 2013-01-08 07:52:13 +01:00
asiekierka
09d787b2ec [EDIT] added dummy form 2013-01-08 04:35:22 +01:00
asiekierka
e83c9220e9 [EDIT] added dummy page 2013-01-08 04:31:09 +01:00
asiekierka
6e56588d3e added Fluttershy recent theme and theme picker 2013-01-06 13:40:33 +01:00
asiekierka
380e5251e3 refactored head away from templates 2013-01-06 09:41:00 +01:00
Adrian Siekierka
7ca2a155e7 Merge pull request #5 from asiekierka/master
Added vocaroo support
2013-01-05 05:08:04 -08:00
asiekierka
ef4bbba4fb Embedding: added vocaroo support 2013-01-05 13:45:21 +01:00
Marcin Łabanowski
25dbfe4957 Add stripes.css by klaczy 2013-01-02 08:08:14 +01:00
Marcin Łabanowski
e601fb3be4 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-01-02 07:59:24 +01:00
Marcin Łabanowski
cc73993674 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
92a2cd8813 Add futaba-light.css by Kurwancka 2013-01-02 07:55:13 +01:00
Marcin Łabanowski
7d62999ec2 Add Terminal-2 style by spider 2013-01-02 07:54:44 +01:00
Marcin Łabanowski
c92d440357 Add luna.css style by klaczy, ported by asiekierka 2013-01-02 07:53:50 +01:00