1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-11 07:16:10 +01:00
Commit Graph

1131 Commits

Author SHA1 Message Date
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
anonfagola
fda530953b Create id_highlighter 2014-10-05 17:46:10 +02:00
James Campos
53cc67ba2d better op selector, don't attach to links 2014-10-05 07:19:14 -07:00
James Campos
bbc4169eaa fix 2014-10-04 08:16:01 -07:00
James Campos
e7e057c8c8 clearfix 2014-10-04 06:48:29 -07:00
James Campos
29c887f99d remove inlined posts for new inlined posts 2014-10-03 13:41:54 -07:00
James Campos
b17a81dece fix front page backlink 2014-10-03 13:40:05 -07:00
James Campos
241eb0c6c7 rename 2014-10-03 13:32:41 -07:00
James Campos
09684c5450 front page fixes 2014-10-03 13:28:52 -07:00
James Campos
a38fa1bf75 bypass (OP) text 2014-10-03 13:08:50 -07:00
James Campos
acd66b608e fix when quote is last element 2014-10-03 13:05:45 -07:00
James Campos
c7345d12cc less invasive css fix 2014-10-03 10:03:31 -07:00
James Campos
eef2f09fb4 fix for image posts 2014-10-03 10:00:44 -07:00
James Campos
6b2733feb5 grab the whole post 2014-10-03 09:53:11 -07:00
James Campos
7f42b2e9f6 fix 2014-10-03 09:17:19 -07:00
Fredrick Brennan
4b3e33c5b0 Merge pull request #118 from topkek/master
404/Error handling for thread updater
2014-10-02 23:19:32 -04:00
Bui
b76f590a98 fix hide link on images fetched with ajax 2014-10-03 00:37:43 +09:00
ScriptKi77y
e9352a2ea8 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-09-30 01:58:23 -05:00
ScriptKi77y
0f7220fa40 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-09-29 22:02:57 -05:00
Bui
156d207469 wrap updater in ID span 2014-09-29 05:18:00 +09:00
topkek
7b8cef2446 Update settings.js 2014-09-28 20:25:07 +01:00
topkek
c9942ab3db Keep trying to update if thread didn't 404 2014-09-28 20:23:30 +01:00
topkek
d4b73046b9 Error/404 handling 2014-09-28 20:00:43 +01:00
7185
bbd4cf88bc Poster ID readability 2014-09-28 05:55:10 +02:00
Fredrick Brennan
b2ab0d1e49 Merge pull request #108 from bui/master
remove vertical padding on coloured IDs
2014-09-27 21:28:21 -04:00
Bui
0e59f565c4 change ID text colour on hover 2014-09-28 09:17:30 +09:00
Bui
836e557773 remove vertical padding on coloured IDs 2014-09-28 08:58:39 +09:00
topkek
cd227d6509 Update auto-reload.js 2014-09-28 00:40:00 +01:00
topkek
ea318be4e8 Update settings.js 2014-09-28 00:27:28 +01:00
topkek
e4c68b83f5 Update settings.js 2014-09-28 00:17:16 +01:00
topkek
128adfd999 Update auto-reload.js 2014-09-28 00:16:16 +01:00
8chan
befe393778 Rewrite color IDs script so it actually works 2014-09-27 21:23:51 +00:00
8chan
150480f3fc Highlight IDs on new posts received via AJAX 2014-09-27 20:23:27 +00:00
8chan
de0328f329 this>el 2014-09-27 20:19:58 +00:00
8chan
3d73def541 Color IDs on new posts received via AJAX 2014-09-27 20:17:31 +00:00
8chan
4208c16f61 Call on ready, dont pollute window namespace with vars 2014-09-27 20:04:57 +00:00
8chan
98209fc806 Remove prototype pollution, call on ready 2014-09-27 20:04:27 +00:00
anonfagola
4086749dfe Added id_colors.js 2014-09-27 11:56:21 -07:00
anonfagola
e7c1f7d22f Forgot .js extension 2014-09-27 11:55:39 -07:00
anonfagola
677a9a8428 Create id_highlighter 2014-09-27 09:47:11 -07:00
czaks
e748a286b3 Merge branch 'master' of https://github.com/ctrlcctrlv/8chan
Conflicts:
	inc/api.php
	js/multi-image.js
2014-09-27 11:34:05 +02:00
czaks
9b466f74a6 Merge https://github.com/vichan-devel/vichan 2014-09-27 11:26:41 +02:00
czaks
f2e101f30d fix multi-image.js when quick-reply isn`t loaded 2014-09-27 11:22:28 +02:00
czaks
370c724550 Merge https://github.com/vichan-devel/vichan
Conflicts:
	js/multi-image.js
	stylesheets/style.css
2014-09-27 11:19:25 +02:00
czaks
dda7462013 catalog link not always working; fix ctrlcctrlv#88 2014-09-27 11:13:04 +02:00
8chan
6fd3b64c67 Disallow multiple Shrink all images appearing
fixes vichan-devel#91
2014-09-27 10:55:14 +02:00
8chan
56f3d89774 Fix multi image from quick reply
Conflicts:
	js/multi-image.js
2014-09-27 10:52:24 +02:00
anonfagola
d9f20c290d Updated threadscroll.js with bettter compatibility 2014-09-27 10:48:36 +02:00
Fredrick Brennan
5d6de13561 Merge pull request #95 from undido/patch-2
Fixed bug with webm's and remove images if they are clicked to be expanded
2014-09-26 23:41:11 -04:00
Fredrick Brennan
f04c4843ab Merge pull request #98 from anonfagola/patch-12
Updated threadscroll.js with bettter compatibility
2014-09-26 23:40:40 -04:00
8chan
5357db8475 Merge https://github.com/ctrlcctrlv/8chan
Conflicts:
	inc/instance-config.php
	templates/index.html
2014-09-27 00:47:47 +00:00
8chan
5e62e7a143 Disallow multiple Shrink all images appearing 2014-09-27 00:44:55 +00:00
8chan
f16f88966c Fix multi image from quick reply 2014-09-27 00:44:41 +00:00
anonfagola
992d2472c9 Updated threadscroll.js with bettter compatibility 2014-09-26 16:55:16 -07:00
undido
c599bbb4bc only append hover-toggle element to first options_tab class 2014-09-26 18:08:11 -03:00
undido
1ba6003c81 Fixed bug with webm, image-hover closes when you click an image to expand it to expand it inline 2014-09-26 17:34:34 -03:00
czaks
bb4ebebe89 Merge https://github.com/vichan-devel/vichan
Conflicts:
	js/auto-reload.js
	stylesheets/catalog.css
	stylesheets/style.css
2014-09-26 13:40:02 +02:00
Nebs
ab2a83d194 Fixes catalog href on a potential /res/ board 2014-09-26 13:10:21 +02:00
Nebs
b7592c3eec Fixed unanimating gifs in the catalog 2014-09-26 13:10:14 +02:00
czaks
ba515c5f05 post-hover.js: show a popup preview if a reply is only partially on screen; fixes ctrlcctrlv#84 2014-09-26 12:56:05 +02:00
Nebs
35e33f61d4 Fixed unanimating gifs in the catalog 2014-09-26 00:30:23 -05:00
Nebs
4c6cc59a37 Fixes catalog href on a potential /res/ board 2014-09-25 18:27:39 -05:00
8chan
4bb8eb49e8 Merge /home/service/www/http
Conflicts:
	inc/instance-config.php
	js/auto-reload.js
2014-09-25 20:55:05 +00:00