1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-04 11:58:05 +01:00
Commit Graph

1193 Commits

Author SHA1 Message Date
Forkless
4b44d2fdde Fix for the js being shitty inside the compiled main.js. 2014-11-08 14:25:54 -06:00
Fredrick Brennan
03ac1426f5 Merge pull request #233 from topkek/patch-8
Changes to post-hover.js
2014-11-08 11:21:49 +08:00
Fredrick Brennan
3f3531e8d2 Merge pull request #232 from forklessanon/hide-ids
Added option for hiding IDs
2014-11-08 11:21:20 +08:00
Fredrick Brennan
d75a119a7f Merge pull request #231 from forklessanon/master
Support for youtube's 'start' and 'end' URL parameters
2014-11-08 11:20:38 +08:00
Fredrick Brennan
68c9d9e9c7 Merge pull request #227 from forklessanon/comment-toolbar
Fix for update to comment toolbar (should work now)
2014-11-08 11:19:59 +08:00
Fredrick Brennan
b035d82453 Merge pull request #228 from forklessanon/thread-stats
Added thread statistics.
2014-11-08 11:18:13 +08:00
Forkless
4db6dc96f3 Removed redundant setting.
Bugfix.
2014-11-06 06:29:59 -06:00
topkek
1b3e922424 Fix inlining glitches 2014-11-05 23:13:06 +00:00
topkek
2a2108a698 Highlight references to the current post 2014-11-05 22:41:35 +00:00
topkek
1a259a3cd4 Update post-hover.js 2014-11-03 23:40:54 +00:00
Forkless
c009543ce1 Re-added support for youtu.be shortURLs 2014-11-03 09:30:15 -06:00
Forkless
a82889a557 Added option for hiding IDs. 2014-11-03 02:28:04 -06:00
Forkless
d3c0b85eb2 quickfix 2014-11-03 00:38:29 -06:00
Forkless
cfa01786bd Missed a couple things for the youtube timeslice support. 2014-11-02 23:46:13 -06:00
Markerov
6b1f55d9a0 Catalog Search 2014-11-02 22:55:35 +08:00
Forkless
7a8fd3c100 Added thread statistics. 2014-11-01 22:34:21 -05:00
Forkless
68890326e1 Fix for update to comment toolbar (should work now) 2014-11-01 22:28:16 -05:00
8chan
4267da837a Merge https://github.com/ctrlcctrlv/8chan 2014-11-01 23:18:08 +00:00
Fredrick Brennan
6fb174a4f7 Merge pull request #225 from topkek/patch-7
Comment out example lines from user JS/CSS
2014-11-02 07:12:26 +08:00
8chan
9dd8cb141c Merge https://github.com/ctrlcctrlv/8chan 2014-11-01 16:10:11 -07:00
Fredrick Brennan
9d21fa44fc Revert "Comment toolbar update and Thread stats addition" 2014-11-02 07:08:01 +08:00
topkek
331c10d2f2 Comment out example 2014-11-01 23:06:49 +00:00
topkek
47348bd336 Comment out example 2014-11-01 23:05:56 +00:00
8chan
c695839cb5 Merge ../http
Conflicts:
	inc/instance-config.php
2014-11-01 16:01:59 -07:00
8chan
ff984694d4 Revert breaking change 2014-11-01 16:00:48 -07:00
Fredrick Brennan
4332956f3e Merge pull request #196 from Pashe/thread-watcher
Thread watcher
2014-11-02 06:44:51 +08:00
ForklessAnon
fd1aee2d57 Added option to disable/ignore keybinds. 2014-11-01 16:49:34 -05:00
ForklessAnon
f555d950a3 Some code cleanup on thread stats. 2014-11-01 04:29:21 -05:00
ForklessAnon
3a07e2c6f5 Added script for appending thread statistics to the bottom of a thread. 2014-11-01 04:00:45 -05:00
ForklessAnon
d670f60284 Update formatting toolbar to include user definable settings and customized options. 2014-10-31 21:53:02 -05:00
Fredrick Brennan
5dfc7735ab Merge pull request #214 from 7185/master
Fix selector in inline.js
2014-10-30 20:47:21 +08:00
Fredrick Brennan
654817b08a Merge pull request #217 from marktaiwan/comment-toolbar
Comment toolbar
2014-10-30 20:39:46 +08:00
Fredrick Brennan
b244925a59 Merge pull request #211 from marktaiwan/inline-expanding
Display full inline image on load start, scroll to thumb
2014-10-30 20:39:34 +08:00
8chan
aabfda9278 Merge https://github.com/ctrlcctrlv/8chan 2014-10-30 05:33:24 -07:00
Markerov
d913280480 initial commit 2014-10-30 20:26:27 +08:00
8chan
1db3bbe201 Top bar blacklist 2014-10-28 23:22:13 -07:00
Markerov
c8cb173e27 scroll to thumb
scroll up to image if its top is out of view when shrunk.
Requires jQuery
2014-10-28 23:35:58 +08:00
7185
622bf62409 Fix selector in inline.js
Should make >>>/crossboard/links (and expanding links) work again
2014-10-27 19:13:30 +01:00
Markerov
ba0878a88d renamed 'this.childNodes[0]' to thumb 2014-10-27 16:57:03 +08:00
Markerov
40b7193cc1 Display inline image when it starts loading,
Rewrote inline-expanding.js to display full image as soon as it starts
loading.
Modified expand-all-images.js to work with the new change
Moved max-width to style.css
2014-10-27 16:49:17 +08:00
topkek
2b318b6528 Make it a little neater 2014-10-24 06:07:12 +01:00
topkek
92c1057b5c Use append instead of insertAfter to add new posts 2014-10-24 05:55:18 +01:00
8chan
57e74e74a7 Merge /srv/http 2014-10-22 04:08:15 +00:00
8chan
82064547f5 Fix own post (You) 2014-10-21 21:08:17 -07:00
8chan
02ee2edd9e Bring people to catalogs if in catalog view 2014-10-21 21:07:29 -07:00
8chan
1bd7609805 Upgrade jQuery mixitup, preserve settings, no animations 2014-10-21 21:06:34 -07:00
8chan
6e30bda41b Optimization: Load only top 20 boards in update_boards.js 2014-10-21 21:04:46 -07:00
Pashe
25ed820f8a thread-watcher.js: fix background and border 2014-10-20 16:46:03 -05:00
Pashe
8564f23caa thread-watcher.js: change display format 2014-10-20 16:42:04 -05:00
czaks
70d881f61a Merge https://github.com/vichan-devel/vichan 2014-10-20 14:29:12 +02:00
czaks
f16c14640e hide-threads.js: hide youtube videos and other iframe embeds as well; fixes ctrlcctrlv#193 2014-10-20 14:28:22 +02:00
czaks
3ac3899787 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan 2014-10-18 22:45:02 +02:00
czaks
8f038d3cef Merge https://github.com/vichan-devel/vichan 2014-10-18 22:44:53 +02:00
czaks
4220b259e6 show-own-posts.js: remove a debugging expression 2014-10-18 22:44:38 +02:00
8chan
0743da4e4b Merge https://github.com/ctrlcctrlv/8chan 2014-10-18 13:33:36 -07:00
8chan
3f6805d7df Break TeX on purpose due to Khan/KaTeX#158 2014-10-18 13:18:04 -07:00
czaks
751edc2ac9 Merge https://github.com/vichan-devel/vichan 2014-10-18 19:36:03 +02:00
czaks
638931b02d show-own-posts.js: fix a bug 2014-10-18 19:35:41 +02:00
czaks
26f214c5fc Merge https://github.com/vichan-devel/vichan 2014-10-18 16:50:37 +02:00
czaks
e3652ef980 shown-own-posts.js: documentation fix 2014-10-18 16:50:21 +02:00
czaks
81e6385351 Merge https://github.com/vichan-devel/vichan 2014-10-18 16:37:22 +02:00
czaks
67988221b4 show-own-posts.js initial commit 2014-10-18 16:36:04 +02:00
czaks
6fc4c02c4e ajax.js: add ajax_after_post event 2014-10-18 15:31:48 +02:00
czaks
31097b89d1 overcome a transifex bug with translation of one string 2014-10-18 13:59:17 +02:00
8chan
b2cbb70da3 Khorne in #8chan on irc.rizon.net contributed this thread watcher.
Can't properly attribute the code to him because he doesn't want it
connected to his Github account for some reason.

Conflicts:
	inc/instance-config.php
2014-10-11 20:41:40 +02:00
8chan
f3e2131f06 Actually fix new_post event inline.js 2014-10-11 20:39:25 +02:00
8chan
1506bcc834 Make inline work on new_post event 2014-10-11 20:38:02 +02:00
8chan
2e694b8b1c Khorne in #8chan on irc.rizon.net contributed this thread watcher.
Can't properly attribute the code to him because he doesn't want it
connected to his Github account for some reason.
2014-10-11 10:21:00 -07:00
8chan
f7c1c63f78 Actually fix new_post event inline.js 2014-10-10 11:13:26 -07:00
8chan
d26762af15 Make inline work on new_post event 2014-10-09 17:48:23 -07:00
czaks
f3e132a429 Merge vichan 2014-10-09 02:04:54 +02:00
czaks
74a40b72ed ban-list.js: vstaff 2014-10-09 02:03:35 +02:00
czaks
e9fd2c68db Merge vichan 2014-10-09 01:04:11 +02:00
czaks
ab96e30d89 infinite scroll implementation 2014-10-09 00:58:30 +02:00
czaks
643de18d64 Merge with a private vichan branch
Conflicts:
	inc/bans.php
	inc/mod/pages.php
2014-10-08 23:32:01 +02:00
czaks
9b3fa77719 new banlist implementation; also includes a public banlist 2014-10-08 23:23:59 +02:00
czaks
906764a62f bundle longtable library @ https://github.com/czaks/longtable 2014-10-08 23:19:03 +02:00
8chan
3928a3212a Merge branch 'master' of https://github.com/ctrlcctrlv/8chan 2014-10-08 20:11:36 +00:00
8chan
ee53d1a25e I did not notice this code was GPLv3. We cannot accept GPLv3 code. Please re-license or make a GPLv3 fork. 2014-10-08 20:11:10 +00:00
Marcin Łabanowski
6a6250eb77 Merge pull request #155 from hugofragata/master
Added download-all feature
2014-10-08 05:53:33 +02:00
hugofragata
d3e10b6fb8 Changed x from being a local var to a global 2014-10-07 18:02:54 +01:00
hugofragata
f329811ca3 Removed 8chan reference in js/download-all.js 2014-10-07 15:03:29 +01:00
hugofragata
5ce9f6fa1a Added download-all feature without instanceconfig
The button to download all the files in a thread only appears when the
page is a thread, such as treeview.
I added the download-all button next
to the treeview one.
I modified stylesheets/v8ch.css to include the id
#download-all.
I DIDN'T modified inc/instance-config.php to include the
download-all.js and jszip.min.js. That goes in the next commit.

I added the files js/jszip.min.js
which is a library to work with zip files in JS and I added
js/download-all.js which goes through all files, adds them to a zip and
then gives it to the user.
2014-10-07 14:58:25 +01:00
hugofragata
7239350e69 Revert "Added download-all feature"
This reverts commit 12a8f1a672.
2014-10-07 14:46:50 +01:00
ForklessAnon
507a2b1a6c Featured boards fix for reverse compatibility with how it was previously. 2014-10-07 00:45:44 -05:00
czaks
53d46d358e Merge https://github.com/vichan-devel/vichan 2014-10-07 05:40:51 +02:00
czaks
ca42984ddc i18n auto-reload.js 2014-10-07 05:40:37 +02:00
8chan
9768bb6726 fuck 2014-10-07 04:41:41 +02:00
8chan
582c77a935 Fix name and order 2014-10-07 04:41:41 +02:00
8chan
b7e9007ad4 This makes the options appear at the bottom for some reason 2014-10-07 04:41:41 +02:00
8chan
894faf989c User can disable backlinks if they want to, off by default 2014-10-07 04:41:41 +02:00
8chan
1f28316fca Make inline.js work in mod panel
Conflicts:
	inc/instance-config.php
2014-10-07 04:41:05 +02:00
8chan
9468df05b9 fuck 2014-10-06 19:03:50 -07:00
8chan
85a9077645 Fix name and order 2014-10-06 19:02:39 -07:00
8chan
31127bbdbe This makes the options appear at the bottom for some reason 2014-10-06 18:42:07 -07:00
8chan
5295c6366f User can disable backlinks if they want to, off by default 2014-10-06 18:39:38 -07:00
8chan
db55a3040f Make inline.js work in mod panel 2014-10-06 18:36:19 -07:00
James Campos
fee03312d7 optional backlink hiding 2014-10-07 03:27:36 +02:00
James Campos
0b8728d7ce add loading stub 2014-10-07 03:27:36 +02:00
James Campos
f1b89a5302 optional 2014-10-07 03:27:36 +02:00
James Campos
1e04f29485 extract caching 2014-10-07 03:27:36 +02:00
James Campos
daa30a12de better op selector, don't attach to links 2014-10-07 03:27:36 +02:00
James Campos
262f525e75 fix 2014-10-07 03:27:36 +02:00
James Campos
702e20753a clearfix 2014-10-07 03:27:36 +02:00
James Campos
9dce04ebc8 remove inlined posts for new inlined posts 2014-10-07 03:27:35 +02:00
James Campos
2f85073d28 fix front page backlink 2014-10-07 03:27:35 +02:00
James Campos
3ce156a0d0 rename 2014-10-07 03:27:35 +02:00
James Campos
3c98319e52 front page fixes 2014-10-07 03:27:35 +02:00
James Campos
9ea5ff610e bypass (OP) text 2014-10-07 03:27:35 +02:00
James Campos
b1a5911673 fix when quote is last element 2014-10-07 03:27:35 +02:00
James Campos
aea23e99b6 less invasive css fix 2014-10-07 03:27:35 +02:00
James Campos
bb193e93e2 fix for image posts 2014-10-07 03:27:34 +02:00
James Campos
8d91efc560 grab the whole post 2014-10-07 03:27:34 +02:00
James Campos
26e343d02a fix 2014-10-07 03:27:34 +02:00
James Campos
ee4716b048 work for backlinks 2014-10-07 03:27:34 +02:00
James Campos
91ab8eeae6 disable highlightReply 2014-10-07 03:27:34 +02:00
James Campos
970ff0d619 this is how you cache 2014-10-07 03:27:34 +02:00
James Campos
51a74bbd73 fix selector 2014-10-07 03:27:34 +02:00
James Campos
67d3449998 fix cross-thread inlining 2014-10-07 03:27:33 +02:00
James Campos
274ac0965a get op from input value 2014-10-07 03:27:33 +02:00
James Campos
3de119e417 maybe support cross thread inlining 2014-10-07 03:27:33 +02:00
James Campos
cb92ee0483 inline 2014-10-07 03:27:33 +02:00
8chan
ed94a1671d Merge https://github.com/ctrlcctrlv/8chan
Conflicts:
	post.php
2014-10-06 18:12:50 -07:00
8chan
345e5aa3a4 Featured boards now based on uniques 2014-10-06 18:01:01 -07:00
Fredrick Brennan
34627e4331 Merge pull request #34 from aeosynth/inline
[wip] inline posts
2014-10-06 19:26:10 -04:00
hugofragata
12a8f1a672 Added download-all feature
The button to download all the files in a thread only appears when the
page is a thread, such as treeview. I added the download-all button next
to the treeview one. I modified stylesheets/v8ch.css to include the id
#download-all. I modified inc/instance-config.php to include the
download-all.js and jszip.min.js. I added the files js/jszip.min.js
which is a library to work with zip files in JS and I added
js/download-all.js which goes through all files, adds them to a zip and
then gives it to the user.
2014-10-06 16:50:20 +01:00
James Campos
a1e7f171b0 optional backlink hiding 2014-10-05 17:26:50 -07:00
James Campos
6e16a963b3 add loading stub 2014-10-05 16:52:00 -07:00
James Campos
4119442877 optional 2014-10-05 16:20:25 -07:00
James Campos
68d138fa6c extract caching 2014-10-05 15:51:22 -07:00
czaks
606b39450d better synchronize the javascripts with 8chan 2014-10-05 18:30:47 +02:00
czaks
8b698e36e7 Merge https://github.com/vichan-devel/vichan
Conflicts:
	inc/mod/pages.php
	js/auto-reload.js
	js/id_colors.js
	js/id_highlighter.js
	stylesheets/style.css
	templates/index.html
2014-10-05 18:12:19 +02:00
Bui
5f521adfd5 fix hide link on images fetched with ajax 2014-10-05 17:49:31 +02:00
ScriptKi77y
7d5899d3a7 Quick fix to remove lag..
Executing a function to make a get request while simultaneously triggering a scroll event within the executed scroll event is probably not the best idea.

This still needs work, there should probably be something else used to check for updates, such as an event where page has focus or something else that doesn't get called so many times, preferably something that reduces the timer instead.

This is just a quick fix to stop all the lag on threads when scrolling near the bottom.
2014-10-05 17:49:31 +02:00
ScriptKi77y
2ece97d685 Scroll hook thread polling adjusttment.
Fixed an issue with the scroll hook thread polling.
Users scrolling near the bottom of the page are making upwards of 7-10 requests a second to the site.

Added a small timer using the "poll_interval_mindelay" value to prevent unnecessary polling, one is enough during this minimum time delay.
2014-10-05 17:49:30 +02:00
Bui
7aa2976524 wrap updater in ID span 2014-10-05 17:48:51 +02:00
topkek
c4fd370d3f Update settings.js 2014-10-05 17:48:51 +02:00
7185
b34f9c31f9 Poster ID readability
Conflicts:
	js/id_colors.js
2014-10-05 17:48:43 +02:00
Bui
6133386b82 change ID text colour on hover 2014-10-05 17:48:07 +02:00
Bui
22f4543e6f remove vertical padding on coloured IDs 2014-10-05 17:48:07 +02:00
topkek
71491bc9e9 Update auto-reload.js 2014-10-05 17:48:07 +02:00
topkek
dd99b22f06 Update settings.js 2014-10-05 17:48:07 +02:00
topkek
3918386aab Update settings.js 2014-10-05 17:48:07 +02:00
topkek
9a096f5888 Update auto-reload.js 2014-10-05 17:48:07 +02:00
8chan
8bfd5e1bcd this>el 2014-10-05 17:48:07 +02:00
8chan
f8178dcbe4 Color IDs on new posts received via AJAX 2014-10-05 17:48:07 +02:00
8chan
035f8437ab Call on ready, dont pollute window namespace with vars 2014-10-05 17:48:07 +02:00
8chan
c3ba4cc7ef Remove prototype pollution, call on ready 2014-10-05 17:48:07 +02:00
anonfagola
01ce31a516 Added id_colors.js 2014-10-05 17:46:58 +02:00
anonfagola
b419c85f8c Forgot .js extension 2014-10-05 17:46:57 +02:00