1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-12 15:51:17 +01:00
Commit Graph

7484 Commits

Author SHA1 Message Date
8chan
3312e38f07 Change from fopen/flock to dio_open/dio_fcntl in file_write
8chan uses NFS and flock() does not work over NFS. See http://0pointer.de/blog/projects/locking.html for more information.

Without proper file locking, race conditions are possible in ?/settings and other pages. The one in ?/settings is particularly bad, too many successive writes can cause a PHP file with bad syntax to be written which breaks an entire board and many scripts that call openBoard().

You need to install the dio.so module if you merge this commit.
2015-02-25 17:12:25 -08:00
marktaiwan
e826eb95e6 minor options template adjustment 2015-02-26 02:39:34 +08:00
marktaiwan
7d615bb038 post-filter.js restructure
- Changed how filters are stored. Have included code to migrate from
previous version
- Added support for 'subject' and 'comment' in the options panel
- Added regex support in the options panel
2015-02-26 00:05:43 +08:00
marktaiwan
7e0c7ae426 Bugfix: scroll to thumbnail on multipost close
Indroduced in 7364e85
2015-02-24 20:34:13 +08:00
Pashe
2fd294d0d9 Have image-hover.js use data-fullimage instead of the API 2015-02-24 03:17:35 -06:00
Pashe
74c61fe31a Add data-fullimage attribute to catalog images 2015-02-24 03:10:15 -06:00
marktaiwan
793bc3590c Changed 'hide post' button behavior 2015-02-24 16:30:51 +08:00
marktaiwan
d6aa5c0fe5 Split post menu into own function 2015-02-24 16:04:00 +08:00
Anonish
14f664b558 Merge pull request #4 from ctrlcctrlv/master
update to infinity
2015-02-22 13:28:31 -06:00
8chan
1258d793c0 Loop videos by default WebM option 2015-02-21 04:49:45 -08:00
8chan
ae02998948 Upgrade HTMLPurifier library 4.5->4.6 2015-02-20 23:16:38 -08:00
8chan
e2baf27c5c SECURITY: No more off-site images in board announcements 2015-02-20 23:13:52 -08:00
anonish
6dd547e1bf revert changes to template.php 2015-02-21 00:47:07 -06:00
Anonish
79e972945f Merge pull request #3 from ctrlcctrlv/master
update to infinity
2015-02-21 00:39:20 -06:00
8chan
af9bf5e80b Clicking IP goes to IP_less by default 2015-02-20 17:17:05 -08:00
8chan
2b987b2198 Add one click [-]/[+] to post-filter.js 2015-02-20 17:16:29 -08:00
8chan
aa1d2b3128 /infinity/ board with locked owner password 2015-02-20 17:16:06 -08:00
8chan
488f8e2648 Redchanit CSS 2015-02-20 17:15:40 -08:00
8chan
7495e68fc2 Image hover backported from 8chan X 2015-02-20 12:10:04 +00:00
8chan
8c63d906e9 Sorry @Kyokou, this should fix both problems, close ctrlcctrlv/infinity#399 2015-02-20 10:16:28 +00:00
8chan
7364e85351 Fix many features for Internet Explorer 9 and 10
Please don't use "dataset" in scripts anymore, it doesn't work in IE9 or 10. Instead use $.data
2015-02-20 01:51:06 -08:00
8chan
3e0134e53e New feature: Board owner logs of their board 2015-02-19 22:58:30 -08:00
8chan
61fd6ef25c Use post filter JS instead of hide-threads 2015-02-19 20:52:53 -08:00
8chan
ef21c6d864 Close ctrlcctrlv/infinity#396 2015-02-19 20:52:26 -08:00
Fredrick Brennan
c025c8f173 Merge pull request #392 from marktaiwan/post-filter
post-filter
2015-02-20 11:20:11 +08:00
8chan
65e3ca5fce Merge https://github.com/ctrlcctrlv/infinity 2015-02-20 03:14:57 +00:00
8chan
eb9db634d3 Bug fix: fix backlinks in Gecko 2015-02-19 19:15:42 -08:00
8chan
30178fb383 Change 2 => 3 2015-02-19 19:15:18 -08:00
8chan
9beffe618c /meta/ back in top bar next to /operate/ 2015-02-19 19:14:55 -08:00
8chan
78425e8d87 rebuild2 - multithreaded rebuild script 2015-02-19 19:14:24 -08:00
8chan
39476e9bfa Fix no country flag on post if forced anonymous 2015-02-18 16:55:48 -08:00
8chan
4e335db3e8 Add event to quote backlinks 2015-02-18 16:55:03 -08:00
marktaiwan
d4bc803f4b fix menu UI for Firefox 2015-02-18 14:47:43 +08:00
marktaiwan
09fe78342a reset thread timer on new filter 2015-02-18 14:04:09 +08:00
marktaiwan
071f9af660 Clear empty thread/board from filter list 2015-02-18 14:03:06 +08:00
marktaiwan
df856bc734 Added tripcode, capcode to external preview 2015-02-18 09:37:48 +08:00
Fredrick Brennan
744c578a8a Merge pull request #393 from jeifour/master
fix missing semicolons in install.sql
2015-02-18 05:27:19 +08:00
Fredrick Brennan
6cc668a722 Merge pull request #394 from ctrlcctrlv/revert-381-master
Revert "Fixed add_favorites to append to the correct element"
2015-02-18 04:35:26 +08:00
Fredrick Brennan
1627bccfd4 Revert "Fixed add_favorites to append to the correct element" 2015-02-18 04:34:04 +08:00
Jei Four
64e33bdb28 fix missing semicolons in install.sql 2015-02-17 19:44:39 +01:00
marktaiwan
1724e94c42 Update external preview to show UID and embed 2015-02-17 18:16:10 +08:00
marktaiwan
c1ac4791a7 Fix: external post preview due to thumbnail extension change
Hotfix for post-hover.js external post preview so that it works with the
recent change to newly generated thumbnails.
2015-02-17 14:55:06 +08:00
marktaiwan
6455fca5bd post-filter
Adds a dropdown menu to each post that allows for filtering by:
- post
- post and all replies to it
- poster ID
- poster ID and all replies to it
- name
- tripcode

In the options panel, adds a new tab for adding/removing name and
tripcode filters.
2015-02-17 14:40:04 +08:00
8chan
8ddc472239 Fix shadow cap 2015-02-16 16:56:09 -08:00
8chan
027687acc0 Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	inc/8chan-mod-pages.php
	templates/mod/settings.html
2015-02-17 00:43:00 +00:00
8chan
26fe49f39b Tor posting: I need to document this more. It's missing inc/dnsbls.php too. Wait for a future commit 2015-02-16 16:42:31 -08:00
8chan
3a44ccbf85 Blank email if config.field_email_selectbox 2015-02-16 16:35:37 -08:00
8chan
0389b280d8 Fix mod_move if file deleted or spoiler 2015-02-16 16:35:15 -08:00
8chan
f00d342c41 Extend max webm length 2015-02-16 16:35:01 -08:00
8chan
61e50ff3cf Show what line an error occured on by default 2015-02-16 16:34:45 -08:00