Commit Graph

631 Commits

Author SHA1 Message Date
czaks
b438fb294b post-hover.js: support linking to OPs (requires ukko patchset!) 2013-08-05 01:00:25 -04:00
czaks
185e68de47 post-hover.js: allow working between threads and boards (ukko patchset required!) 2013-08-05 00:18:25 -04:00
czaks
71db417206 post-hover.js: ukko fix 2013-08-04 06:08:10 -04:00
czaks
fb3b9ea868 quick-post-controls.js: fix javascript interactions 2013-08-04 04:35:41 -04:00
czaks
8a89893b02 quick-post-controls.js: fix javascript interactions 2013-08-04 01:53:37 -04:00
czaks
49993a3559 inline-expanding-filename.js: expand images also by clicking a link and not image 2013-08-02 01:05:29 -04:00
czaks
3b259aab14 style-select.js: add id for a styling ability 2013-08-02 00:24:37 -04:00
czaks
be8c84a2ab style-select.js: fix on firefox 2013-08-02 00:24:27 -04:00
czaks
22cecf9de7 style-select.js: add id for a styling ability 2013-08-02 00:21:41 -04:00
czaks
0d64ae0472 style-select.js: fix on firefox 2013-08-02 00:18:02 -04:00
czaks
1ed45ebe9e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	stylesheets/dark.css
	stylesheets/futaba+vichan.css
	stylesheets/miku.css
	stylesheets/stripes.css
	stylesheets/testorange.css
	stylesheets/wasabi.css
2013-08-01 23:43:20 -04:00
Michael Foster
2fd60c6d25 Select chosen stylesheet on load 2013-08-01 19:26:09 -04:00
Michael Foster
cf0a20a564 js/style-select.js: Changes the stylesheet chooser links to a <select> 2013-08-01 19:21:15 -04:00
Michael Foster
2fdc8fe650 Moved stylesheets to main repo 2013-08-01 03:31:12 -04:00
czaks
38cc2d77f8 toggle-images.js: javascript i18n 2013-08-01 01:03:37 -04:00
czaks
168a4d73cc Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-08-01 00:47:33 -04:00
Michael Foster
5bf0e7f7e7 Better/fixed jQuery styling and slightly improved js/inline-expanding.js accuracy (when jQuery is enabled) 2013-08-01 00:27:54 -04:00
czaks
55c7146d88 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/config.php
	inc/display.php
	inc/functions.php
	inc/image.php
	js/expand.js
	js/hide-threads.js
	js/local-time.js
	js/smartphone-spoiler.js
	templates/header.html
	templates/index.html
	templates/main.js
	templates/page.html
	templates/post_reply.html
	templates/post_thread.html
	templates/thread.html
2013-07-31 14:54:20 -04:00
czaks
45ead9803f ukko: fix javascript interoperation
Conflicts:
	js/expand.js
	js/hide-threads.js
	templates/themes/ukko/ukko.js
2013-07-31 04:51:53 -04:00
czaks
2868dd7886 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs)
Conflicts:
	js/expand.js
	js/inline-expanding.js
2013-07-31 04:47:50 -04:00
czaks
e648121e4a hide-images.js: javascript i18n 2013-07-31 04:42:07 -04:00
czaks
a1b739b818 js i18n: quick-post-controls.js 2013-07-31 04:40:42 -04:00
czaks
223624892a js i18n: forced-anon.js 2013-07-31 04:40:22 -04:00
czaks
bf4eca82b6 js i18n: hide-locked-threads.js i18n 2013-07-31 04:40:16 -04:00
czaks
fee73c2087 js i18n: local-time.js 2013-07-31 04:40:09 -04:00
Marcin Łabanowski
2779db56cb smartphone-spoiler.js: add windows phone/tablet user agents 2013-07-31 04:39:37 -04:00
czaks
4922828e35 js i18n: expand.js 2013-07-31 04:38:23 -04:00
Michael Foster
0a97cf7215 js/local-time.js: Make jQuery optional 2013-07-31 04:37:07 -04:00
czaks
46ebcbf51d local-time.js: make it work with thread expand etc; BEWARE IT NOW NEEDS JQUERY TO BE LOADED BEFORE 2013-07-31 04:35:29 -04:00
czaks
f98d5bdd18 local-time.js: make it work in localised environments 2013-07-31 04:35:14 -04:00
czaks
61a305a1a2 js i18n: misc fixes; quick-reply.js i18n
Conflicts:
	tools/i18n_compile.php
2013-07-31 04:13:29 -04:00
czaks
96bcf5dd1e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	inc/functions.php
	inc/mod/pages.php
	install.php
	js/expand.js
	mod.php
2013-07-31 02:30:44 -04:00
Michael Foster
3bee1ba4fd Issue #61 2013-07-31 00:39:00 -04:00
Michael Foster
91bb3182da ⌘+click should open image in new tab 2013-07-30 19:07:28 -04:00
czaks
793042ee6c Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/inline-expanding.js
2013-07-29 23:17:37 -04:00
czaks
54714595f7 js/inline-expanding.js: Allow to work with auto-reload.js, etc. (jQuery is still optional)
Conflicts:
	js/inline-expanding.js
2013-07-29 22:54:09 -04:00
czaks
07ea457aa5 inline-expanding.js: missed preventing default action; shouldn't open new window when unwanted anymore 2013-07-27 02:19:58 -04:00
czaks
3e5234e54e toggle-images.js: javascript i18n 2013-07-27 01:16:12 -04:00
czaks
d09ef22154 hide-images.js: javascript i18n 2013-07-27 01:12:22 -04:00
czaks
880cf25366 fix merge 2013-07-27 01:08:26 -04:00
czaks
64a66db613 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
	js/inline-expanding.js
	stylesheets/style.css
2013-07-27 01:04:36 -04:00
czaks
e3cb427fee ukko: fix javascript interoperation 2013-07-27 00:57:12 -04:00
czaks
1c33285c81 hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.)
Conflicts:
	stylesheets/style.css
2013-07-27 00:33:51 -04:00
czaks
4b50f1475e hide-threads.js: fix previous commit 2013-07-27 00:29:59 -04:00
czaks
c51dc146e2 hide-threads.js: show post hider even in posts without an image 2013-07-27 00:29:37 -04:00
czaks
d82cd9b7bd expand.js: fix post order when new posts appear between loading index and expanding 2013-07-27 00:28:55 -04:00
czaks
6bf217941a expand.js: fix a weird bug - thread expand not always worked due to post being loaded in DOM, but not put in a right place in a thread, or so, so check if it has been loaded in a thread instead of if it exists in DOM 2013-07-27 00:28:43 -04:00
Michael Foster
c0a45ba123 Allow hide-images.js, toggle-images.js and inline-expanding.js to work together 2013-07-27 00:14:43 -04:00
czaks
e5bdf63692 expand.js: fix post order when new posts appear between loading index and expanding 2013-07-26 22:39:00 -04:00
czaks
a28b5fc3a1 expand.js: fix a weird bug - thread expand not always worked due to post being loaded in DOM, but not put in a right place in a thread, or so, so check if it has been loaded in a thread instead of if it exists in DOM 2013-07-26 22:34:06 -04:00
Michael Foster
a11c8981fe js/hide-images.js: Hide individual images 2013-07-26 19:55:28 -04:00
Michael Foster
baa6793516 toggle-images.js (this was written last year, but I never pushed it to git) 2013-07-26 19:39:11 -04:00
czaks
1a43b87315 hide-threads.js: further fixes and customisations, mainly due to unexpanding previously not working here, but working on another boards (4chon, etc.) 2013-07-26 15:31:20 -04:00
czaks
95c50ae778 hide-threads.js: fix previous commit 2013-07-26 14:57:08 -04:00
czaks
c217069f2b hide-threads.js: show post hider even in posts without an image 2013-07-26 14:27:38 -04:00
czaks
1aa522e138 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/index.html
	templates/post_thread.html
	templates/thread.html
2013-07-23 10:25:33 -04:00
Michael Foster
c562149458 Bugfix: "[]" showing for mods when hiding threads 2013-07-23 09:20:37 -04:00
czaks
88c1205e42 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	js/hide-threads.js
2013-07-22 23:33:02 -04:00
czaks
6bc309697e hide-threads.js: fix working with ukko 2013-07-22 23:29:24 -04:00
czaks
acea5a3ccc youtube.js: make it work with thread expand etc. 2013-07-22 19:02:01 -04:00
czaks
96f3363a8b youtube.js: better working in https environments 2013-07-22 19:01:50 -04:00
czaks
bdffdcb1c3 youtube.js: made it actually work, also a fix in usage 2013-07-22 19:01:40 -04:00
czaks
e2806cfcaf youtube.js: fix previous commit 2013-07-22 19:01:32 -04:00
czaks
51bd267764 youtube.js: prevent default action of opening new window 2013-07-22 19:01:10 -04:00
czaks
163df14b50 hide-threads.js: a bigger minus character 2013-07-22 18:58:58 -04:00
czaks
d111c6ab8c hide-threads.js: a bigger minus character 2013-07-22 10:26:14 -04:00
czaks
805c729892 Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-07-22 10:14:17 -04:00
czaks
e5663953b5 Remove our post-hider script in favour of STI's one, leave symlink for compatibility 2013-07-22 10:14:08 -04:00
Michael Foster
51361d02fb Strange bug in last commit 2013-07-21 21:18:57 -04:00
Michael Foster
9123161870 js/hide-threads.js: Simple thread-minimizing script 2013-07-21 21:12:30 -04:00
czaks
97a22e57c1 Remove imgcaptcha, this code is unused in any of our forks and needs work to get here back.
Revert "Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard"

This reverts commit 49afb685c8, reversing
changes made to 2451a0f29c.

Conflicts:

	js/imgcaptcha.js
2013-07-20 22:47:26 -04:00
Czterooki
bc1bc9f6ef Merge branch 'master' of github.com:vichan-devel/Tinyboard 2013-07-20 18:28:57 -04:00
czaks
d31be1958d youtube.js: make it work with thread expand etc. 2013-07-20 18:25:58 -04:00
czaks
ede654cbd8 youtube.js: better working in https environments 2013-07-20 18:12:45 -04:00
czaks
70a861ec54 youtube.js: made it actually work, also a fix in usage 2013-07-20 18:11:25 -04:00
czaks
2edbb1c210 youtube.js: fix previous commit 2013-07-20 18:01:46 -04:00
czaks
b5d33b0e1c youtube.js: prevent default action of opening new window 2013-07-20 17:50:52 -04:00
czaks
9f323ae65f Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/themes/sitemap/info.php
2013-07-20 17:28:34 -04:00
Michael Foster
e8b693b044 js/quote-selection.js: Slightly less buggy, especially on Macs 2013-07-20 14:05:39 -04:00
Czterooki
aef4425592 merge with vichan-gold 2013-07-20 00:19:08 -04:00
Czterooki
72876b6492 js/quick-reply.js 2013-07-20 00:07:28 -04:00
Czterooki
2304683d1c js/post-hider.js 2013-07-20 00:06:41 -04:00
Czterooki
dfddeb30da js/expand.js 2013-07-20 00:06:08 -04:00
Michael Foster
158a7c0e79 Experimental / Proof-of-concept: Don't load the YouTube player unless the video image is clicked. 2013-07-19 19:06:27 -04:00
czaks
dd4aea5431 inline-expanding.js: internal fix for better stability 2013-07-17 22:15:26 -04:00
czaks
95b49f2215 quick-reply.js: activate only on index page 2013-07-17 22:09:42 -04:00
czaks
1e3ae4c7f7 js i18n: quick-post-controls.js 2013-07-03 01:55:43 -04:00
czaks
05e719cea0 js i18n: forced-anon.js 2013-07-03 01:48:24 -04:00
czaks
7660be1e02 js i18n: hide-locked-threads.js i18n 2013-07-03 01:40:23 -04:00
czaks
f9abd0669b js i18n: local-time.js 2013-07-03 01:27:09 -04:00
czaks
7180a77705 smartphone-spoiler.js: make it work with thread expanding etc. 2013-07-03 01:18:44 -04:00
czaks
37c1b134de js i18n: expand.js 2013-07-03 01:17:56 -04:00
czaks
da9f367f2f js i18n: misc fixes; quick-reply.js i18n 2013-07-03 01:04:08 -04:00
czaks
fe1e07f1bf local-time.js: make it work with thread expand etc; BEWARE IT NOW NEEDS JQUERY TO BE LOADED BEFORE 2013-07-02 21:09:05 -04:00
czaks
dfe31de156 local-time.js: make it work in localised environments 2013-07-02 20:58:16 -04:00
czaks
d134d2ae22 post-hider.js: further code cleanup; fix displaying on board pages 2013-06-24 09:05:33 -04:00
czaks
0cae0d70b8 post-hider.js: fixed multiple board issues; eg. you could hide a thread on one board, and threads from other boards with the same id would have been hidden too 2013-06-24 09:02:12 -04:00
czaks
24a520485d Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/page.html
2013-06-21 16:41:39 -04:00
Michael
0ac9dd5f25 Merge pull request #115 from Macil/miscfixes
Miscellaneous fixes
2013-06-18 10:45:13 -07:00
Macil Tech
399aa463b3 Fix #71. 2013-06-18 12:10:06 -05:00
Michael
81b3eec4e0 Merge pull request #104 from undido/patch-1
Update auto-reload.js possible minor issue
2013-06-17 09:52:29 -07:00
czaks
1d76164e29 javascripts: fixed interactions (BEWARE, inline-expanding.js now requires jquery! fix your configs) 2013-06-15 01:39:39 -04:00
czaks
ef66fd62b4 inline-expanding.js: don't set max height 2013-06-15 00:37:12 -04:00
czaks
e53481f93e Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
	templates/index.html
2013-06-15 00:08:11 -04:00
lanc33
0e490407e1 Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply']. 2013-05-29 19:16:37 -03:00
undido
41ee55a1b2 Update auto-reload.js
check if viewing a thread or viewing a board page when updating a thread so new posts do not appear at bottom of page while viewing threads list not sure if this was because of an outdated template but I thought I should point out this as it may affect html templates no matter the code as the banner code is the only code that checks where the user currently is.
2013-03-20 00:56:59 -03:00
Marcin Łabanowski
d1bd4e1f7b Merge branch 'master' of https://github.com/savetheinternet/Tinyboard 2013-01-28 13:29:21 +01:00
Michael Save
bf792ae7b7 toggle-locked-threads.js: Don't hide thread if accessed directly (only on index) 2013-01-27 19:01:31 +11: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
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
d3cd26be65 Merge branch 'master' of github.com:vichan-devel/Tinyboard 2012-12-25 01:10:50 +01:00
asiekierka
146859f94a added config root to attention bar and imgcaptcha 2012-12-24 18:22:23 +01:00
asiekierka
b169de9d49 PostHider: fix for a:link styling 2012-12-24 13:36:56 +01:00
asiekierka
55ee009605 PostHider: added omitted to hidelist 2012-12-24 13:17:54 +01:00
asiekierka
7839d53b3a PostHider: moved to localstorage 2012-12-24 13:16:12 +01:00
asiekierka
ba1a4fc182 PostHider: added opacity 2012-12-24 13:04:06 +01:00
asiekierka
53a2544218 PostHider: engine done 2012-12-24 13:03:07 +01:00
asiekierka
be3c467b60 PostHider: added dummy files 2012-12-24 12:30:32 +01:00
Marcin Łabanowski
c1a737d4b4 attention bar: optimize 2012-12-24 03:54:57 +01:00
asiekierka
260415fb5f fixed to english 2012-12-23 19:01:59 +01:00
asiekierka
94e472438c pasek atencji ukonczony 2012-12-23 18:37:44 +01:00
Marcin Łabanowski
9a33867e65 Fix expanding boards on boardlist on Webkit browsers using javascript 2012-12-23 00:48:14 +01:00
Marcin Łabanowski
49afb685c8 Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard 2012-12-22 21:43:55 +01:00
Marcin Łabanowski
f0ec60afef mobile-style.js: facilitate styling differently for mobile devices and desktops 2012-12-22 20:18:35 +01:00
asiekierka
2735e2a644 fixed naming 2012-12-22 17:52:18 +01:00
asiekierka
f754fcaea1 integrated imgcaptcha with Tinyboard 2012-12-22 17:44:43 +01:00
asiekierka
7898de2589 Added tinyboard integration stuff 2012-12-22 17:25:52 +01:00
Michael Save
9fbf24dca5 p.body changed to div.body 2012-08-27 23:01:08 +10:00
Michael Save
46f7ec1a94 minor CSS fixes 2012-05-04 00:21:16 +10:00
Michael Save
02e0237ec1 add class="unimportant" to js/show-backlinks.js 2012-04-30 03:01:48 +10:00
Michael Save
3d00a7bdec js/post-hover.js and js/show-backlinks.js to work together 2012-04-30 02:59:11 +10:00
Michael Save
760023fd32 js/show-op.js 2012-04-30 02:31:45 +10:00
Michael Save
0183506993 Correction: js/show-backlinks.js needs jquery 2012-04-22 17:05:14 +10:00
Michael Save
21cb95af28 inline-expanding.js: don't expand larger than the window 2012-04-22 16:57:26 +10:00
Michael Save
d834e09b09 smartphone-spoiler.js: Blackberry support 2012-04-03 00:04:45 +10:00
Michael Save
c2437737b4 smartphone-spoiler.js: Opera Mini support 2012-03-31 23:29:50 +11:00
Michael Save
af3ec3f8c7 expand.js: inline thread expanding 2012-03-31 21:32:09 +11:00
Michael Save
b3ae75ed14 smartphone-spoiler.js: don't use jQuery 2012-03-31 19:51:25 +11:00
Michael Save
f444fa3b6e onready() instead of onload() 2012-03-31 19:37:31 +11:00
Michael Save
d9b2b3f7a1 inline-expanding.js 2012-03-31 19:18:53 +11:00
Michael Save
c0876c4e86 local-time.js: don't use jQuery 2012-03-31 19:12:08 +11:00
Michael Save
6a9169657d Merged js/ into https://github.com/savetheinternet/Tinyboard 2012-03-31 11:20:18 +11:00
Michael Save
2faaacd0f2 Update links in Javascript comments 2012-03-31 11:13:11 +11:00
Michael Save
2df1ebd88c smartphone-spoiler.js 2012-03-29 22:16:59 +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
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
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
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
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
ee54df825a auto-reload.js: bringing AJAX to tinyboard 2012-03-15 14:44:15 +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
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
d3b1f4cfa3 Quick reply needs $config['quick_reply'] = true; 2012-03-14 20:19:35 +11:00
Michael Save
28c2dd9d06 quick reply 2012-03-14 19:41:56 +11:00
Michael Save
e6854ad546 copyright notice and usage 2012-03-14 16:05:39 +11:00
Michael Save
61f1d0865e forced anon 2012-03-14 16:01:52 +11:00