Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 10 #195

Open
wants to merge 1,388 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1388 commits
Select commit Hold shift + click to select a range
d01d892
Merge pull request #100 from cable6-dev/feature-hide-sage
czaks Oct 5, 2014
97a25da
Merge pull request #102 from cable6-dev/bugfix-genwebmerror
czaks Oct 5, 2014
3f652ce
Merge pull request #93 from kaernyk/master
czaks Oct 5, 2014
1964279
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Oct 5, 2014
606b394
better synchronize the javascripts with 8chan
czaks Oct 5, 2014
8518164
sync locales with transifex
czaks Oct 5, 2014
944c3b6
Fix post width & codeblocks
Oct 5, 2014
2b1a1df
Merge pull request #104 from kaernyk/master
czaks Oct 5, 2014
6804a2e
remove default margin for table elements; fixes vichan-devel#95
czaks Oct 5, 2014
8b99322
add forward-confirmed reverse DNS
bui Oct 5, 2014
1e95e58
don't break if dns_system is true
bui Oct 5, 2014
aba8d27
wasn't aware of DNS function
bui Oct 5, 2014
cb9b4db
do security checks *after* checking captcha
bui Oct 6, 2014
c7351df
4 times "elseif" is not the way
wopot Oct 6, 2014
93b30d6
class around poster IDs
ctrlcctrlv Sep 23, 2014
cb92ee0
inline
aeosynth Sep 24, 2014
3de119e
maybe support cross thread inlining
aeosynth Sep 24, 2014
274ac09
get op from input value
aeosynth Sep 24, 2014
67d3449
fix cross-thread inlining
aeosynth Sep 24, 2014
51a74bb
fix selector
aeosynth Sep 24, 2014
970ff0d
this is how you cache
aeosynth Sep 24, 2014
91ab8ee
disable highlightReply
aeosynth Sep 25, 2014
ee4716b
work for backlinks
aeosynth Sep 25, 2014
26e343d
fix
aeosynth Oct 3, 2014
8d91efc
grab the whole post
aeosynth Oct 3, 2014
bb193e9
fix for image posts
aeosynth Oct 3, 2014
aea23e9
less invasive css fix
aeosynth Oct 3, 2014
b1a5911
fix when quote is last element
aeosynth Oct 3, 2014
9ea5ff6
bypass (OP) text
aeosynth Oct 3, 2014
3c98319
front page fixes
aeosynth Oct 3, 2014
3ce156a
rename
aeosynth Oct 3, 2014
2f85073
fix front page backlink
aeosynth Oct 3, 2014
9dce04e
remove inlined posts for new inlined posts
aeosynth Oct 3, 2014
702e207
clearfix
aeosynth Oct 4, 2014
262f525
fix
aeosynth Oct 4, 2014
daa30a1
better op selector, don't attach to links
aeosynth Oct 5, 2014
1e04f29
extract caching
aeosynth Oct 5, 2014
f1b89a5
optional
aeosynth Oct 5, 2014
0b8728d
add loading stub
aeosynth Oct 5, 2014
fee0331
optional backlink hiding
aeosynth Oct 6, 2014
f294af1
Reset to global locale before openBoard
ctrlcctrlv Sep 29, 2014
c4dc3f4
Fix spoiler image not working
ctrlcctrlv Oct 7, 2014
1f28316
Make inline.js work in mod panel
ctrlcctrlv Oct 7, 2014
894faf9
User can disable backlinks if they want to, off by default
ctrlcctrlv Oct 7, 2014
b7e9007
This makes the options appear at the bottom for some reason
ctrlcctrlv Oct 7, 2014
582c77a
Fix name and order
ctrlcctrlv Oct 7, 2014
9768bb6
fuck
ctrlcctrlv Oct 7, 2014
ca42984
i18n auto-reload.js
czaks Oct 7, 2014
906764a
bundle longtable library @ https://github.com/czaks/longtable
czaks Oct 7, 2014
9b3fa77
new banlist implementation; also includes a public banlist
czaks Oct 8, 2014
ab96e30
infinite scroll implementation
czaks Oct 8, 2014
ccd871c
missed ban-list.css from banlist commit
czaks Oct 8, 2014
7719ad3
minor bugfix @ banlist
czaks Oct 8, 2014
948695e
lel, this one will do
czaks Oct 8, 2014
ef3bb46
bans.php: surpress error
czaks Oct 9, 2014
74a40b7
ban-list.js: vstaff
czaks Oct 9, 2014
dfd05e8
possible fix of themes` interactions
czaks Oct 9, 2014
3a552e5
hopefully fix locales
czaks Oct 9, 2014
5d1b426
fix bans.php on removing a ban by a semi-privileged mod
czaks Oct 11, 2014
803c76a
.x.x less confusing...will change to less_ip eventually
ctrlcctrlv Oct 9, 2014
1506bcc
Make inline work on new_post event
ctrlcctrlv Oct 10, 2014
f3e2131
Actually fix new_post event inline.js
ctrlcctrlv Oct 10, 2014
b2cbb70
Khorne in #8chan on irc.rizon.net contributed this thread watcher.
ctrlcctrlv Oct 11, 2014
6052ed8
SECURITY: imagemagick/graphicsmagick was ignoring all errors
ctrlcctrlv Oct 11, 2014
d266908
Fix API: Swap image width/height, make replies an integer, fix origin…
Oct 16, 2014
49079e5
Fix expanded tabs
Oct 16, 2014
24548e3
update locales
czaks Oct 18, 2014
31097b8
overcome a transifex bug with translation of one string
czaks Oct 18, 2014
6fc4c02
ajax.js: add ajax_after_post event
czaks Oct 18, 2014
f9308ff
fix options.js textareas
czaks Oct 18, 2014
6798822
show-own-posts.js initial commit
czaks Oct 18, 2014
e3652ef
shown-own-posts.js: documentation fix
czaks Oct 18, 2014
638931b
show-own-posts.js: fix a bug
czaks Oct 18, 2014
b55ebcd
custom alert: now alert will be able to display custom HTML
czaks Oct 18, 2014
4220b25
show-own-posts.js: remove a debugging expression
czaks Oct 18, 2014
f16c146
hide-threads.js: hide youtube videos and other iframe embeds as well;…
czaks Oct 20, 2014
14e9697
requirements: php 5.3 -> php 5.4
czaks Oct 23, 2014
fe196be
install.php: php 5.4 suggestion, remove imagick suggestion
czaks Oct 23, 2014
daad519
config[php_md5] feature
czaks Oct 24, 2014
bd6e5da
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Oct 24, 2014
f4422e5
fix a related bug
czaks Oct 24, 2014
014f973
Updated license date
benhc123 Jan 1, 2015
a550c63
SECURITY / XSS : Stop XSS in post subjects displayed in catalog
ctrlcctrlv Jan 23, 2015
2d396c4
Add E Z board locking feature
newusernamenotme Feb 16, 2015
aa0d606
Add in E Z board locking
newusernamenotme Feb 16, 2015
56b29f7
Merge pull request #121 from yeltsew7/master
czaks Feb 26, 2015
30d2f3a
Merge pull request #117 from benhc123/patch-1
czaks Feb 26, 2015
0ab8890
tools/rebuild: show currently rebuilded themes
czaks Feb 26, 2015
a93f168
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Feb 26, 2015
6d28f9c
Fixed error that would prevent posting without ['mod']
JasonPuglisi Feb 27, 2015
f51e72c
Merge pull request #123 from JasonPuglisi/master
czaks Feb 27, 2015
bffe03e
rearrange config processing a bit
czaks Feb 27, 2015
eb245c2
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Feb 27, 2015
bdb6001
support for slugified links; may introduce a few bugs
czaks Mar 10, 2015
f4bba2e
...
czaks Mar 10, 2015
429c9f8
...
czaks Mar 10, 2015
fe7e9c5
...
czaks Mar 10, 2015
0062125
...
czaks Mar 10, 2015
d690567
... (minor fix for locales)
czaks Mar 10, 2015
7d92a05
...
czaks Mar 10, 2015
e999955
...
czaks Mar 10, 2015
4aa1d38
...
czaks Mar 10, 2015
7623de9
... (cache)
czaks Mar 10, 2015
58b60f0
...
czaks Mar 10, 2015
2f7aeec
...
czaks Mar 10, 2015
9f34d33
..
czaks Mar 10, 2015
50b80e9
... (slug api)
czaks Mar 10, 2015
a2544bc
... (cites)
czaks Mar 10, 2015
4bf5255
...
czaks Mar 10, 2015
6c4d394
api fix
czaks Mar 10, 2015
bf1b610
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Mar 10, 2015
dbaaa0c
watch.js & slugify fix
czaks Mar 10, 2015
e7d3097
Removed extra space for some options
JasonPuglisi Mar 11, 2015
0f533aa
Merge pull request #127 from JasonPuglisi/settings-space-fixes
czaks Mar 11, 2015
10a8219
enable a `basic` cache by default; notify me if it breaks your chan
czaks Mar 11, 2015
a16538e
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Mar 11, 2015
3851087
slug size should be configurable
czaks Mar 11, 2015
d863bf0
update readme
czaks Mar 12, 2015
d6e91ec
Added space after Google image search link
JasonPuglisi Mar 19, 2015
d4d5f59
Merge pull request #128 from JasonPuglisi/img-id-space-fix
czaks Mar 19, 2015
1283e51
Fixed and re-enabled active content stat for recent theme
JasonPuglisi Mar 20, 2015
034b288
Fixed to work with multiple images
JasonPuglisi Mar 20, 2015
158371d
switch to hotwheels' wPaint branch
czaks Mar 22, 2015
81afc17
image identification: url encode
czaks Mar 22, 2015
11c020b
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Mar 22, 2015
9fa3208
wpaint has new dependencies – important!
czaks Mar 23, 2015
10f93d0
implement a protection against transparent proxies
czaks Mar 24, 2015
8eb3d70
Merge pull request #129 from JasonPuglisi/active-content-fix
czaks Mar 28, 2015
25c2a18
Made quick-reply box resizable horizontally
JasonPuglisi Mar 30, 2015
cdac85b
Merge pull request #133 from JasonPuglisi/horizontal-quick-reply-resize
czaks Mar 30, 2015
5d8e023
remove tinyboard special markup from slugs; thanks stigma for reporting
czaks Mar 30, 2015
8f30b02
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Mar 30, 2015
300e9e7
fix some png images being discarded
czaks Mar 31, 2015
4a22ee9
Extra files and IDs in API
ctrlcctrlv Oct 30, 2014
e35d261
enable embed field for api
czaks Mar 31, 2015
61371f7
rebuild2 - multithreaded rebuild script
ctrlcctrlv Feb 20, 2015
4083c92
Stop double posting AJAX bug
ctrlcctrlv Nov 9, 2014
d3cc27f
Handle XHR errors better
ctrlcctrlv Nov 17, 2014
0f1d506
Change this message again
ctrlcctrlv Mar 11, 2015
48cd743
initial commit file-selector.js
marktaiwan Mar 15, 2015
5a9af83
better slugify support for api
czaks Mar 31, 2015
d7f82c5
Run on index and thread
marktaiwan Mar 15, 2015
3bd7f94
Fallback for browsers that disables javascript
marktaiwan Mar 18, 2015
0005f11
initialize file selector soon as it's loaded
marktaiwan Mar 18, 2015
4da073b
Keep quick-reply and main form in sync
marktaiwan Mar 19, 2015
6e84a25
Adds keyboard focus to file selector
marktaiwan Mar 20, 2015
f26256f
Make file selector work, add to config
ctrlcctrlv Mar 20, 2015
419d69b
ayylmao @marktaiwan
ctrlcctrlv Mar 20, 2015
e42ffb2
fix file selector element reference
marktaiwan Mar 20, 2015
6f94a06
file selector: correct typo, click event target
marktaiwan Mar 22, 2015
765dea5
trivial fixes to file-selector.js
czaks Mar 31, 2015
388e877
small tweaks to stylesheet
czaks Mar 31, 2015
c74fc6c
QR fix for tablet (portrait) mode in laptops
anonish Jan 30, 2015
d3d54b8
Update quick-reply.js
anonish Feb 7, 2015
745bdc2
password is text nao, fuck you chrome
czaks Mar 31, 2015
0e805c2
file-selector.js: allow file dropping anywhere
czaks Mar 31, 2015
de1a9fe
futaba+vichan.css: do proper styling
czaks Mar 31, 2015
a8982ce
f+v.css ...
czaks Mar 31, 2015
2f7127a
Catalog Search
marktaiwan Nov 2, 2014
6363d8d
change to use onready()
marktaiwan Jan 2, 2015
960053a
catalog: fix for embed youtube on https
czaks Mar 31, 2015
2256604
add global option for tree view
topkek Nov 26, 2014
d673515
toggle tree view
topkek Nov 26, 2014
1888e17
chrome fix
topkek Nov 27, 2014
8de9b68
checkbox for tree view
topkek Nov 28, 2014
e6da7b4
clean up options code
topkek Nov 28, 2014
d94143b
fix wpaint & file-selection interaction
czaks Mar 31, 2015
6cbd51b
for fastcgi users: rearrange post.php, sort of, so that posts are cre…
czaks Mar 31, 2015
7fd8c75
don`t rebuild a page, when not needed, even if it doesn`t exist
czaks Apr 1, 2015
deefe82
unlink a .gz version of a file if it exists
czaks Apr 1, 2015
4030c42
add a global_api variable for buildIndex
czaks Apr 1, 2015
e4e01e4
smart build: define configuration variables
czaks Apr 1, 2015
d4892ac
fix one of the previous commits: fix api_global
czaks Apr 1, 2015
ed07404
smart_build.php: initial release
czaks Apr 1, 2015
55277ce
smart_build for buildIndex
czaks Apr 1, 2015
14671e0
functions.php fix: after_open_board support; so that we may disable s…
czaks Apr 1, 2015
f2a7481
smart_build: buildThread
czaks Apr 1, 2015
b246daa
Revert "smart_build: buildThread" (for a moment, something b0rks)
czaks Apr 1, 2015
a19853d
smart_build.php: misc fixes
czaks Apr 1, 2015
e9e5cea
main.js vs new file uploader
czaks Apr 1, 2015
cfb2f55
Revert "smart_build for buildIndex"
czaks Apr 2, 2015
0870acb
smart_build.php: optimizations, guards, also a functionality to corre…
czaks Apr 2, 2015
9970683
Revert "Revert "smart_build for buildIndex""
czaks Apr 2, 2015
67db118
Revert "Revert "smart_build: buildThread" (for a moment, something b0…
czaks Apr 2, 2015
018ec3b
smart_build.php: additional fixes
czaks Apr 2, 2015
fd0f319
smart_build.php: add a protection for +50; maybe we don`t need to reb…
czaks Apr 2, 2015
e1a8c4a
smart_build.php: a small fix to catalog handling
czaks Apr 2, 2015
61d2729
themes can use smart_build now
czaks Apr 2, 2015
e273111
sitemap theme for smart_build
czaks Apr 3, 2015
8cf2868
Removed tab at start of api.php to fix ban list and possibly other stuff
JasonPuglisi Apr 3, 2015
97d1f27
Merge pull request #134 from JasonPuglisi/api-tab-fix
czaks Apr 3, 2015
fa2e6cf
made the define_groups function play nice on hhvm
Apr 5, 2015
1f9e368
ukko: small optimization: move js creation to install time
czaks Apr 5, 2015
cbbebcd
optimization: if gettext.so is loaded, we don`t need the fallback imp…
czaks Apr 5, 2015
34eeacc
optimization: we don`t need bans.php most of the time and bans.php ha…
czaks Apr 5, 2015
71ef343
optimization: get rid of one more sql query related to installed themes
czaks Apr 5, 2015
e997357
add tmp subdirectory (a filesystem used for further optimizations)
czaks Apr 5, 2015
758cb94
optimization: locale caching, so we don`t have to reparse instance-co…
czaks Apr 5, 2015
b78b3db
uncache themes on settings change
czaks Apr 5, 2015
1d28b4b
cache.php: fs cache
czaks Apr 5, 2015
b8fe93f
update gitignore
czaks Apr 5, 2015
dc2928a
cache_config preliminary release
czaks Apr 5, 2015
aadbf48
tools/rebuild.php: fix for bans.php not included by default and publi…
czaks Apr 5, 2015
45f11d1
indent the file (inc/functions.php) after the latest changes
czaks Apr 5, 2015
f053450
cache_config: fix debug notice
czaks Apr 5, 2015
6fd4eb2
fix a locale issue
czaks Apr 5, 2015
9831b58
groups were not defined
czaks Apr 5, 2015
c50635c
Merge branch 'master' of github.com:vichan-devel/Tinyboard
czaks Apr 5, 2015
8fcb919
Merge pull request #137 from lewdchan/master
czaks Apr 5, 2015
64a0b48
smart_build.php: nginx – cache 404 replies for 120s
czaks Apr 6, 2015
094f60d
try_smarter: fix two bugs. 1. uncovered by the second, during a bump …
czaks Apr 6, 2015
11dfc8b
fs cache backend: silence the error
czaks Apr 6, 2015
0658a2b
fix banned.php; thanks stigma
czaks Apr 7, 2015
652018f
own-board.js: initial release
czaks Apr 7, 2015
f2848f2
Update GeoIP database
ctrlcctrlv Mar 29, 2015
fae2e33
Added script for appending thread statistics to the bottom of a thread.
Nov 1, 2014
8d45128
Some code cleanup on thread stats.
Nov 1, 2014
1aa8f62
Have to load onready
ctrlcctrlv Nov 12, 2014
fdc14c6
Fix color incase page is missed and then found again.
Nov 17, 2014
cf91dae
No need to display pruned in two places...especially if server times …
ctrlcctrlv Nov 22, 2014
4b782d6
Fix thread stats so post count hover works on the OP's id.
Nov 23, 2014
c4fc827
some style fixes
ctrlcctrlv Mar 12, 2015
0d0b2fc
thread-stats.js: vichan fixes
czaks Apr 10, 2015
c4569b2
thread-stats.js: code typo :^)
czaks Apr 10, 2015
f86be0f
thread-stats: best viewed inline
czaks Apr 10, 2015
2d68972
thread-stats style: add margins
czaks Apr 10, 2015
bdda161
thread-stats.js: final vichan fix, should work now
czaks Apr 10, 2015
00ad1ec
smart_build: fix one possible performance problem
czaks Apr 11, 2015
cb700e6
live index should refresh every 20s
czaks Apr 11, 2015
4131a6e
watch.js: slow down a little bit, let`s see how it works out
czaks Apr 11, 2015
197d5f2
[code] tag support
czaks Apr 11, 2015
1b16e97
[code] fix regexps
czaks Apr 12, 2015
4060bf1
update copyright years & vichan website
czaks Apr 12, 2015
4014682
fileboard support
czaks Apr 22, 2015
b5370fd
fileboard: op tag fix
czaks Apr 23, 2015
271dcb7
fileboard: fix possible XSS (mainly applicable to 8chan)
czaks Apr 23, 2015
3f02985
gallery-view.js: initial commit
czaks Apr 23, 2015
4c1d2f9
fix error while installing themes; thanks xixi
czaks Apr 23, 2015
2d9214a
version check should point at engine.vichan.net and not tinyboard.org…
czaks Apr 23, 2015
163a4e6
gallery-view: support key events (up/down/left/right)
czaks Apr 23, 2015
099e347
gallery-view: preloading images, webm support
czaks Apr 23, 2015
5014840
gallery-view: i forgot the stylesheet
czaks Apr 23, 2015
d20149b
gallery view: right bar should be 12%, not 15%
czaks Apr 25, 2015
3f29bdf
the poster IDs were showing in API despite being disabled
May 30, 2015
d3d167a
SECURITY: XSS fix for youtube.js/metacafe embed
czaks Jul 8, 2015
c97475d
Added ability to hide videos/webms
JasonPuglisi Jul 28, 2015
481f9b1
Merge pull request #151 from JasonPuglisi/hide-videos
czaks Jul 28, 2015
90e4208
Added [Return] and [Go to bottom] to thread page above posts
JasonPuglisi Aug 8, 2015
7aefa96
Merge pull request #152 from JasonPuglisi/bottom-button
czaks Aug 9, 2015
219c198
Add extension mp4
27chan Aug 11, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 49 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,49 @@
# static html
*.html

# instance-config
/inc/instance-config.php

# .installed
/.installed

# script file
/main.js

# templates cache
/templates/cache

# other stuff
.DS_Store
thumbs.db
Icon?
Thumbs.db
# static html and json
/*/*.html
/*/*.json
/*/res
/*/src
/*/thumb
/*/config.php
/*.html

# include some files though
!/templates/*.html
!/inc/config.php

# minify
/inc/lib/minify

# instance-config
/inc/instance-config.php

# .installed
/.installed

# script file
/main.js

# templates cache
/templates/cache

# other stuff
.DS_Store
.htaccess
thumbs.db
Icon?
Thumbs.db
*.patch
*.diff
*.rej
*.orig
*~

# tmp filesystem
/tmp/cache/*
/tmp/locks/*
!/tmp/cache/.gitkeep
!/tmp/locks/.gitkeep

#vichan custom
favicon.ico
/static/spoiler.png
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "js/wPaint"]
path = js/wPaint
url = https://github.com/vichan-devel/wPaint.git
22 changes: 22 additions & 0 deletions LICENSE.Tinyboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# License
Copyright (c) 2010-2014 Tinyboard Development Group (tinyboard.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

All copyright notices and permission notices (including this file) shall be
included and remain unedited in all copies or substantial portions of the
Software. This explicitly includes but is not limited to the Tinyboard copyright
notices found in the footers of some template files.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
44 changes: 42 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
# License
# License of vichan
Copyright (c) 2012-2015 vichan-devel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

All copyright notices and permission notices (including this file) shall be
included and remain unedited in all copies or substantial portions of the
Software. This explicitly includes but is not limited to the vichan copyright
notices found in the footers of some template files.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

# License of Tinyboard
This code is licensed under BOTH a vichan license and a Tinyboard license.
You must agree to both (not either) licensing terms in order to use this
software. The original Tinyboard license can be found in a LICENSE.Tinyboard.md
file, it is included below for your convenience:

Copyright (c) 2010-2014 Tinyboard Development Group (tinyboard.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -12,11 +40,23 @@ All copyright notices and permission notices (including this file) shall be
included and remain unedited in all copies or substantial portions of the
Software. This explicitly includes but is not limited to the Tinyboard copyright
notices found in the footers of some template files.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

# Brief
This section is not a law code, it just describes the license in a
human-friendly way.

Both licenses are slight modifications of the MIT/X11 license. This is a
permissive license, you can do anything with code, but you just have to leave
copyright notices untouched. Beside, we give you absolutely no guarantees.

Tinyboard and vichan licenses also clarify, that the copyright notices found
in the template footers are also covered by the copyright notice preservation
clause.
107 changes: 88 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
Tinyboard - A lightweight PHP imageboard.
==========================================
vichan - A lightweight and full featured PHP imageboard.
========================================================

About
------------
Tinyboard is a free light-weight, fast, highly configurable and user-friendly
vichan is a free light-weight, fast, highly configurable and user-friendly
imageboard software package. It is written in PHP and has few dependencies.

vichan is a fork of (now defunc'd) [Tinyboard](http://github.com/savetheinternet/Tinyboard),
a great imageboard package, actively building on it and adding a lot of features and other
improvements.

Support and announcements: https://engine.vichan.net/

Requirements
------------
1. PHP >= 5.3
2. MySQL server
1. PHP >= 5.4 (we still try to keep compatibility with php 5.3 as much as possible)
2. MySQL/MariaDB server
3. [mbstring](http://www.php.net/manual/en/mbstring.installation.php)
4. [PHP GD](http://www.php.net/manual/en/intro.image.php)
5. [PHP PDO](http://www.php.net/manual/en/intro.pdo.php)

We try to make sure Tinyboard is compatible with all major web servers and
operating systems. Tinyboard does not include an Apache ```.htaccess``` file nor does
We try to make sure vichan is compatible with all major web servers and
operating systems. vichan does not include an Apache ```.htaccess``` file nor does
it need one.

### Recommended
1. MySQL server >= 5.5.3
1. MySQL/MariaDB server >= 5.5.3
2. ImageMagick (command-line ImageMagick or GraphicsMagick preferred).
3. [APC (Alternative PHP Cache)](http://php.net/manual/en/book.apc.php), [XCache](http://xcache.lighttpd.net/) or [Memcached](http://www.php.net/manual/en/intro.memcached.php)
3. [APC (Alternative PHP Cache)](http://php.net/manual/en/book.apc.php),
[XCache](http://xcache.lighttpd.net/) or
[Memcached](http://www.php.net/manual/en/intro.memcached.php)

Contributing
------------
You can contribute to Tinyboard by:
You can contribute to vichan by:
* Developing patches/improvements/translations and using GitHub to submit pull requests
* Providing feedback and suggestions
* Writing/editing documentation
Expand All @@ -37,33 +45,94 @@ Installation
1. Download and extract Tinyboard to your web directory or get the latest
development version with:

git clone git://github.com/savetheinternet/Tinyboard.git
git clone git://github.com/vichan-devel/vichan.git

2. Navigate to ```install.php``` in your web browser and follow the
prompts.
3. Tinyboard should now be installed. Log in to ```mod.php``` with the
3. vichan should now be installed. Log in to ```mod.php``` with the
default username and password combination: **admin / password**.

Please remember to change the administrator account password.

See also: [Configuration Basics](http://tinyboard.org/docs/?p=Config).

Upgrade
-------
To upgrade from any version of Tinyboard or vichan:

Either run ```git pull``` to update your files, if you used git, or
backup your ```inc/instance-config.php```, replace all your files in place
(don't remove boards etc.), then put ```inc/instance-config.php``` back and
finally run ```install.php```.

To migrate from a Kusaba X board, use http://github.com/vichan-devel/Tinyboard-Migration

Support
--------
Tinyboard is still beta software -- there are bound to be bugs. If you find a
vichan is still beta software -- there are bound to be bugs. If you find a
bug, please report it.

If you need assistance with installing, configuring, or using Tinyboard, you may
If you need assistance with installing, configuring, or using vichan, you may
find support from a variety of sources:

* If you're unsure about how to enable or configure certain features, make
sure you have read the comments in ```inc/config.php```.
* Documentation can be found [here](http://tinyboard.org/docs/).
* You can join Tinyboard's IRC channel for support and general queries:
[irc.datnode.net #tinyboard](irc://irc.datnode.net/tinyboard).
* You may find help at [tinyboard.org](http://tinyboard.org/#help).
* Check out an [official vichan board](http://int.vichan.net/devel/).
* You can join vichan's IRC channel for support
[irc.6irc.net #vichan-devel](irc://irc.6irc.net/vichan-devel)

### Tinyboard support
vichan is based on a Tinyboard, so both engines have very much in common. These
links may be helpful for you as well:

* Tinyboard documentation can be found [here](https://web.archive.org/web/20121016074303/http://tinyboard.org/docs/?p=Main_Page).

Donations
---------
Do you like our work? You can motivate us financially to do better ;)
* Bitcoin: 1GjZEdLaTQ8JWVFGZW921Yv4x59f9oiZME

You can also ask us to develop some feature specially for you <3. Join our IRC
channel and ask for a quote (there are a few of us, who work with the codebase
and are skilled enough to develop such features pretty quickly).

CLI tools
-----------------
There are a few command line interface tools, based on Tinyboard-Tools. These need
to be launched from a Unix shell account (SSH, or something). They are located in a ```tools/```
directory.

You actually don't need these tools for your imageboard functioning, they are aimed
at the power users. You won't be able to run these from shared hosting accounts
(i.e. all free web servers).

Localisation
------------
Wanting to have vichan in your language? You can contribute your translations at this URL:

https://www.transifex.com/projects/p/tinyboard-vichan-devel/

Oekaki
------
vichan makes use of [wPaint](https://github.com/websanova/wPaint) for oekaki. After you pull the repository, however, you will need to download wPaint separately using git's `submodule` feature. Use the following commands:

```
git submodule init
git submodule update
```

To enable oekaki, add all the scripts listed in `js/wpaint.js` to your `instance-config.php`.

WebM support
------------
Read `inc/lib/webm/README.md` for information about enabling webm.

vichan API
----------
vichan provides by default a 4chan-compatible JSON API. For documentation on this, see:
https://github.com/vichan-devel/vichan-API/ .

License
--------
See [LICENSE.md](http://github.com/savetheinternet/Tinyboard/blob/master/LICENSE.md).
See [LICENSE.md](http://github.com/vichan-devel/vichan/blob/master/LICENSE.md).

8 changes: 8 additions & 0 deletions banned.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
require_once 'inc/functions.php';
require_once 'inc/bans.php';
checkBan();
print "<!doctype html><html><head><meta charset='utf-8'><title>"._("Banned?")."</title></head><body>";
print "<h1>"._("You are not banned.")."</h1>";
print "</body></html>";
?>