Commit Graph

913 Commits

Author SHA1 Message Date
Fredrick Brennan
95b1e103cb Edit static pages commit 2016-05-06 16:03:55 +02:00
8chan
7911c374e8 Public action logs commit (log.php)
Note: In a previous commit, I began making inc/mod/auth.php more modular with the check_login() function. Including it does NOT check mod login by default anymore like it does on vichan. You have to call check_login(). I've finally included it in inc/functions.php. If you have any custom pages that use inc/mod/auth.php, just including functions.php is enough now.

===================================
Also: backports 351375185e5 (early 404)
2016-05-06 15:44:26 +02:00
czaks
2fa37278db boardlist goes before #top 2016-05-06 15:09:25 +02:00
Forkless
d069a4c9fd Added option for hiding IDs. 2016-05-06 14:32:53 +02:00
czaks
33ef3f9b01 synchronize catalog_link 2016-05-06 14:14:22 +02:00
Bui
33ef1d2123 add active page classes to body; czaks: go to bottom @ thread: fixes 2016-05-06 14:05:16 +02:00
8n-tech
6644ff666a Also improved some CSS and HTML aspects of the thread layout.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2016-05-06 13:51:15 +02:00
8chan
6da7f4d25a No more country flags in <title> 2016-05-06 12:40:37 +02:00
8chan
ae4eb4d3d9 RSS 2016-05-06 12:40:07 +02:00
8chan
632d0a76d0 Display placeholder if no file in catalog/theme.php; czaks: fix the code a bit 2016-05-06 12:37:00 +02:00
anonfagola
cb97029d0d Update catalog.html
Changed title from being - "Catalog /board/" to "/board/ - Catalog"
2016-05-06 12:27:21 +02:00
czaks
3f29170f1b debrand 8chan; btw. the previous commit was [SECURITY] i think? 2016-05-06 12:23:18 +02:00
8chan
ce62673a2c OpenGraph information in thread pages https://en.wikipedia.org/wiki/Facebook_Platform#Open_Graph_protocol 2016-05-06 12:18:31 +02:00
8chan
aa0d3395b1 Show first 256 chars of body in <title> 2016-05-06 12:17:51 +02:00
8chan
b6f3d44080 Go to bottom link 2016-05-06 12:16:01 +02:00
czaks
293543878a backport parts of 2d6d449bd2d72, in particular html classes 2016-05-06 12:14:28 +02:00
Bui
6c334a3b44 lol spaces 2016-05-06 11:45:52 +02:00
Bui
d46bf4e2f2 add id to thread links 2016-05-06 11:45:37 +02:00
czaks
02c3c28a16 main.js: a bit more sane code 2016-05-05 15:37:50 +02:00
czaks
6991ca270e fix bad merge 2016-05-05 13:53:52 +02:00
Fredrick Brennan
71fde35938 Oops forgot a file 2016-05-05 13:33:14 +02:00
Fredrick Brennan
8943bb0bb3 Rewrite report system due to flooding 2016-05-05 12:57:52 +02:00
8chan
95a9b7b72b Completely rewrite fix-report-delete-submit.js, add report/delete to menu 2016-05-05 12:52:17 +02:00
8chan
dd27026618 Show stickies at top of catalog 2016-05-05 12:01:16 +02:00
8chan
e8b530a783 Shift-click to hide threads in catalog 2016-05-05 12:00:21 +02:00
8chan
4f96263e3b Upgrade jQuery mixitup, preserve settings, no animations 2016-05-05 11:59:00 +02:00
czaks
77176faece enable javascript in mod panel 2016-05-05 09:56:54 +02:00
czaks
38bf3276e4 update copyright years; remove a link to tinyboard (website is dead) 2016-05-05 09:39:23 +02:00
czaks
8dac72e924 update installer 2016-05-05 09:16:09 +02:00
27chan
199931dc1a Fix default theme and add Font Awesome Icons 2016-04-29 18:00:33 -03:00
Michael Walker
75feb7fd50 Remove /rpg/ from rules page 2016-04-10 03:23:26 +01:00
Michael Walker
beef5db5cd Centre mascot on rules page 2016-04-10 03:22:29 +01:00
Michael Walker
c58b85371b Properly re-add underage rule. 2016-02-16 22:55:51 +00:00
Michael Walker
9f00630b40 Display banned post contents if reason does not contain cp 2016-02-11 15:21:54 +00:00
Matthieu
028fd3df15 Added: RSS theme 2016-01-26 00:51:39 +01:00
Matthieu
d2de4419bd Added: config option to hide email in post. (prevent emailfag but let the possibility to sage and noko) 2016-01-26 00:50:55 +01:00
Simon McFarlane
582cda3c89 Fix scaling on mobile devices 2016-01-09 02:24:35 +00:00
Simon McFarlane
36e001f007 Kalyx's new CSS 2016-01-09 02:24:35 +00:00
Michael Walker
b5532240c8 Merge pull request #39 from rmrhz/patch-1
Fixed contact email link. Closes #38
2015-10-18 20:10:56 +01:00
Michael Walker
692ca79d8b Don't include post messages in public banlist 2015-10-17 23:57:36 +01:00
rmrhz
900e99841e Fixed contact email link
As per issue #38
2015-10-15 19:37:14 +08:00
Michael Walker
36079b64e8 Merge pull request #36 from desudesutalk/thread_bottomlinks
Update thread template
2015-10-08 02:28:55 +01:00
www-data
a124189630 Repurpose recent theme for homepage 2015-10-08 02:27:10 +01:00
desudesutalk
400b4fd71a Correct bottom link. 2015-09-26 18:16:10 +03:00
desudesutalk
1c3e918159 Update thread.html 2015-09-26 18:06:47 +03:00
desudesutalk
3cb24f1cce return of pages div
It is needed actually. Added width reset for it.
2015-09-26 17:43:18 +03:00
desudesutalk
9fcebde134 Update thread.html
Removed duplicate for "return" and "go to top" links. Also removed the `<div class=pages></div>` from bottom bar - should help mobile users.
2015-09-26 17:31:56 +03:00
Michael Walker
6335ff308b Add zine theme 2015-09-12 21:29:33 +01:00
Michael Walker
43e366ca3b Add tips and more board-specific rules 2015-09-12 21:26:01 +01:00
Michael Walker
a4bd58e956 Change donate page 2015-09-12 21:25:06 +01:00
Michael Walker
166ba2a0a2 Merge remote-tracking branch 'vichan/master' 2015-09-12 21:03:54 +01:00
Michael Walker
05c569e656 Merge pull request #17 from mgrabovsky/ukko-catalog
Add catalog for ukko
2015-09-09 23:51:00 +01:00
Leo Bärring
2f0bfbc9aa make the catalog show the board name in the title
Currently: Having tabs open for /foo/ /bar/ and /baz/ catalogs, tabs would be listed as [Catalog] [Catalog] [Catalog] - confusing.
With the change: The tabs would now show [Catalog (/foo/)] [Catalog (/bar/)] [Catalog (/baz/)] - less confusing.
2015-09-07 21:19:31 +02:00
kalyx
25c3ca1899 Merge pull request #22 from mgrabovsky/theme/semirand
Semirandom theme
2015-09-04 13:35:38 -05:00
kellerwhy
d4dcfc6321 Make mod/recent_posts.html respect $config['dir']['res']
So certain links don't keep linking to /board/res/postnumber despite any changes to $config['dir']['res'] e.g. changing res/ to thread/
2015-08-10 23:16:23 -04:00
27chan
e6c1623a42 Add extension mp4 2015-08-10 22:09:26 -03:00
Jason Puglisi
90e4208473 Added [Return] and [Go to bottom] to thread page above posts 2015-08-08 13:45:02 -04:00
Matěj Grabovský
7c6eef81c5 Add a semirandom theme
This theme displays random threads intermixed with recently bumped ones.
The number of each is configurable.
2015-07-03 16:13:16 +02:00
selcal
0662f3e35b Prevents small background images in /walls from repeating
Quick additions to the inline styles of <html> and <body> so the background-image doesn't spew all over the place in lainchan radio.
2015-06-21 20:25:43 -04:00
Michael Walker
edde68f97d Disable dynamic resizing of config textbox 2015-06-17 23:10:22 +01:00
Matěj Grabovský
1c641eb46b Add catalog for Ukko 2015-06-05 23:15:54 +02:00
Simon McFarlane
4b40f69a4e Merge remote-tracking branch 'upstream/master' into vichan-merge 2015-05-29 01:34:53 -07:00
Simon McFarlane
98d5367f5d Update radio page for new container 2015-05-17 07:04:38 +02:00
Simon McFarlane
e174aa9ba7 Update rules 2015-05-17 07:04:13 +02:00
Michael Walker
61d9dacdfb When banning/deleting a post, return to the thread, not the board index (unless deleting the OP) 2015-05-10 13:22:53 +01:00
Michael Walker
4184fdec6e Pass the thread ID when banning/deleting 2015-05-10 02:56:48 +01:00
Michael Walker
9ae357facb Explicitly build post mod delete links 2015-05-10 02:37:47 +01:00
czaks
2d9214ac63 version check should point at engine.vichan.net and not tinyboard.org actually 2015-04-23 08:18:36 +02:00
czaks
271dcb7a65 fileboard: fix possible XSS (mainly applicable to 8chan) 2015-04-23 03:45:08 +02:00
Marcin Łabanowski
4014682882 fileboard support 2015-04-22 06:06:34 +02:00
czaks
4060bf10ed update copyright years & vichan website 2015-04-12 03:18:51 +02:00
czaks
1f9e36868e ukko: small optimization: move js creation to install time 2015-04-05 16:20:59 +02:00
czaks
e273111340 sitemap theme for smart_build 2015-04-03 05:57:39 +02:00
czaks
61d2729a40 themes can use smart_build now 2015-04-02 20:54:28 +02:00
czaks
e9e5ceaf90 main.js vs new file uploader 2015-04-01 19:37:06 +02:00
Matěj Grabovský
3e53a9e4e6 Bring mixitup.js back
Turns out it's essential for sorting
2015-03-31 08:14:55 +02:00
czaks
960053af75 catalog: fix for embed youtube on https 2015-03-31 07:48:03 +02:00
czaks
745bdc2b6c password is text nao, fuck you chrome 2015-03-31 07:01:51 +02:00
czaks
765dea599b trivial fixes to file-selector.js 2015-03-31 06:50:05 +02:00
8chan
f26256f55a Make file selector work, add to config
Conflicts:
	inc/instance-config.php
	templates/post_form.html
2015-03-31 05:59:54 +02:00
marktaiwan
6e84a25f9a Adds keyboard focus to file selector 2015-03-31 05:57:45 +02:00
marktaiwan
0005f11098 initialize file selector soon as it's loaded
Conflicts:
	templates/post_form.html
2015-03-31 05:57:22 +02:00
marktaiwan
3bd7f94861 Fallback for browsers that disables javascript
Conflicts:
	stylesheets/style.css
	templates/post_form.html
2015-03-31 05:54:07 +02:00
Marcin Łabanowski
8eb3d709f7 Merge pull request #129 from JasonPuglisi/active-content-fix
Fixed and re-enabled active content stat for recent theme
2015-03-28 05:22:02 +01:00
Matěj Grabovský
37c5e4f860 Make catalog look OK even with JS disabled
For some reason, threads in the catalog were laid out by a jQuery plug-in. This is
now removed and the layout is created purely by handcrafted CSS code.
2015-03-27 22:37:42 +01:00
Matěj Grabovský
20ce6999d2 Wrap controls on the catalog page in a div 2015-03-26 21:43:26 +01:00
Matěj Grabovský
282584e035 A bit more consistent formatting in catalog template 2015-03-26 21:42:12 +01:00
czaks
11c020be9b Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts:
	templates/post/image_identification.html
2015-03-23 00:35:48 +01:00
czaks
81afc17b67 image identification: url encode 2015-03-23 00:35:13 +01:00
Jason Puglisi
034b288a13 Fixed to work with multiple images 2015-03-20 09:47:40 -04:00
Jason Puglisi
1283e51ca5 Fixed and re-enabled active content stat for recent theme 2015-03-19 21:49:57 -04:00
Jason Puglisi
d6e91ec62f Added space after Google image search link 2015-03-19 19:35:28 -04:00
czaks
4aa1d387f8 ... 2015-03-10 13:34:02 +01:00
czaks
7d92a05bd8 ... 2015-03-10 13:23:40 +01:00
czaks
bdb6001f3f support for slugified links; may introduce a few bugs 2015-03-10 12:48:59 +01:00
Simon McFarlane
219a3c4910 Update template permissions 2015-02-14 06:14:27 +01:00
Simon McFarlane
2049f4d8f8 Update templates for new stylesheets 2015-02-14 06:12:54 +01:00
Simon McFarlane
addf730393 Update rules 2015-02-07 06:30:44 +01:00
Simon McFarlane
2729359163 Footer fixes 2015-02-07 06:30:25 +01:00
Michael Walker
9c091aaa47 Add random theme. Like Ukko, but sorts threads randomly. 2015-01-26 22:31:23 +00:00
Simon McFarlane
41b9a3d52e Apply hotwheels' catalog patch 2015-01-24 23:49:59 +01:00
8chan
a550c63f9c SECURITY / XSS : Stop XSS in post subjects displayed in catalog
git blame says czaks forgot an |e in catalog.html, this means that anyone posting a new thread with HTML in the subject field or name field can arbitrarily insert it into the page.

Conflicts:
	templates/themes/catalog/catalog.html
2015-01-23 10:40:08 +00:00
Michael Walker
ab24c2af57 Put threadlinks in a bar 2014-12-22 19:35:40 +00:00
Michael Walker
ec95c60be5 Change sidearrow display 2014-12-17 05:15:50 +00:00
Michael Walker
2b868ddd48 Change topbar display 2014-12-17 05:14:48 +00:00
Michael Walker
b524543bc7 Update boardlist on thread display 2014-11-13 00:36:37 +00:00
Michael Walker
f56d217c3d Add /lam/-specific rules 2014-11-13 00:36:37 +00:00
Michael Walker
844e1f9e57 Change theme on recent 2014-11-13 00:36:37 +00:00
Michael Walker
d67d316a54 Add boardlist to donate 2014-11-13 00:36:37 +00:00
Michael Walker
47ab5504fe Radio becomes IRC 2014-11-13 00:36:37 +00:00
Michael Walker
f7be1ee22e Add boardlist to catalog pages 2014-11-13 00:36:37 +00:00
Michael Walker
87cf853bc2 Change stylesheet and mascot in basic template 2014-11-13 00:36:37 +00:00
Michael Walker
b33c44cb10 Wrap up post replies in a postcontainer div 2014-11-13 00:20:04 +00:00
Michael Walker
c1c8e387f6 Allow the comment box to be disabled in the post form 2014-11-13 00:19:44 +00:00
Michael Walker
1cf546d363 Update post detail display 2014-11-13 00:15:58 +00:00
Michael Walker
d1fad22d37 Update index template for new boardlist 2014-11-13 00:15:06 +00:00
czaks
b55ebcd0ef custom alert: now alert will be able to display custom HTML 2014-10-18 22:43:35 +02:00
Michael Walker
08ad292ae0 Incorporate post form style changes (mostly yuuko) 2014-10-12 02:37:21 +01:00
czaks
948695e73c lel, this one will do 2014-10-09 01:49:29 +02:00
czaks
7719ad3e81 minor bugfix @ banlist 2014-10-09 01:26:34 +02:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
8chan
93b30d6829 class around poster IDs 2014-10-07 00:19:15 +02:00
Michael Walker
66f20f462d Fix /recent stylesheet 2014-10-06 21:35:05 +01:00
Michael Walker
befd0a1dc6 Add badges 2014-10-06 21:19:18 +01:00
Michael Walker
ce3a53fba1 Clear the /all/ boardlist 2014-10-06 21:12:23 +01:00
czaks
1964279436 Merge branch 'master' of github.com:vichan-devel/Tinyboard
Conflicts:
	stylesheets/style.css
2014-10-05 18:01:01 +02:00
Bui
62b7e02050 give OPs IDs 2014-10-05 17:49:31 +02:00
Bui
1edaea309b quote selected text on cite 2014-10-05 17:49:31 +02:00
czaks
86eed0b349 add stylesheet choice to catalog theme 2014-10-05 17:49:27 +02:00
kaf
296e4fd5fa Added an option to hide sages 2014-10-05 15:29:37 +00:00
Michael Walker
ac5936f0a5 Add catalog link to top page list in boards 2014-09-29 12:10:08 +00:00
Michael Walker
7c7a465966 Implement syntax highlighting 2014-09-28 23:06:18 +00:00
Michael Walker
63efe1e0db Add rules page 2014-09-28 23:06:06 +00:00
Michael Walker
3cd0a6093c Add radio page 2014-09-28 23:05:57 +00:00
Michael Walker
81bfe2e910 Add donate page 2014-09-28 23:05:52 +00:00
Michael Walker
19c35cdae6 Add slogan and banner to recent theme 2014-09-28 19:41:42 +00:00
Michael Walker
fc65cb6963 Add mascot image 2014-09-28 19:41:26 +00:00
8chan
cb7b7d070c threadscroll was in template for no reason 2014-09-27 11:37:50 +02:00
8chan
e81d016ffa Attempt to fix scroll to anchor issue 2014-09-25 06:56:24 +02:00
anonfagola
45dd9e637f Added scrolling threads with up and down keys
For 8chan X. Redone so it's in js folder.
@KillerWhale321
2014-09-24 04:47:40 +02:00
czaks
a25e5f7839 additional measurements for catalog, so it does not throw errors; should fix vichan-devel#84 2014-09-24 03:21:35 +02:00
dubcheck
c2f612bac9 'no comment' in Recent theme 2014-09-21 05:51:17 +02:00
czaks
7ec728ffb0 add a go to top link thread view; fixes #82 2014-09-21 02:52:20 +02:00
Fredrick Brennan
23c73ca839 Allow the user to decide whether or not he wants to display his country 2014-09-20 16:35:28 +00:00
czaks
ea3c571d6c Merge branch 'catalog-spoiler-fix' of https://github.com/marlencrabapple/vichan 2014-09-20 06:44:03 +02:00
czaks
ac888a769d add a very small image size for catalog 2014-09-20 06:40:43 +02:00
marlencrabapple
14cd12ff2a Fixed spoiler images in the catalog theme. 2014-09-17 16:15:18 -07:00
marlencrabapple
40787db177 Fixed spoiler thumbnails not showing up in the recent theme 2014-09-17 15:55:16 -07:00
Ian Bradley
cff2af99d5 Fixed blank catalog image count when zero image replies and threads with deleted files from being excluded 2014-09-16 13:10:54 -07:00
Juan Tamad
53ada6a5ff added option for showing the mod in ban page.
also fixes issue where the Staff is not shown in ban appeals.
2014-09-01 06:30:33 +08:00