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

374 Commits

Author SHA1 Message Date
8n-tech
ecfe072a4f - IMPORTANT: Now EXPLICITLY defines $post['time'] as PHP time() instead of relying on database NOW().
- Increased memory management in all of my recent work.
- board-search.php Fetches activity from board_stats and now includes timestamp as a search option.
- boards.php Correctly fetches board activity and formats numbers.
- inc/functions.php Completely reworked activity fetching.
- inc/functions Wrote updateStatisticsForPost() which streams new posts in statistics.
- post.php Writes into updateStatisticsForPost() for streaming new posts.
- Added styling for tags (in progress work).
- tools/migrate_board_stats.php Now correcty defines author_ip_count.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 01:01:32 +10:00
ninjadoge24
d0e240acb7 Remove redundant check for existence of board
It already gets checked in line 217.
2015-04-08 21:49:03 +05:30
Fredrick Brennan
37f7406db8 Fix _() string 2015-04-04 10:37:11 +08:00
Fredrick Brennan
8a05c2c122 New board option: Max newlines limit 2015-04-04 10:36:03 +08:00
8chan
edeb3df3ce Make cyclical threads always bump if not sage 2015-04-03 18:49:02 -07:00
Fredrick Brennan
c8a733d04a Oops, forgot about media/cites 2015-04-03 15:06:29 +08:00
Fredrick Brennan
1e91310f6a Cyclical threads ♺ 2015-04-03 14:56:28 +08:00
Fredrick Brennan
5f3778036a Merge vichan 2015-03-31 16:17:20 +08:00
Fredrick Brennan
b85e1f2f0b Make it so board owners can force flags
For country flags, a "?" will now show if the flag is unknown (for example, if the user is using Tor or just has an IP that is not in the GeoIP database)

For board owner-defined flags, "None" option disappears and posting is impossible without choosing a valid flag.

This commit is for /fringe/.
2015-03-16 16:31:01 +08:00
Fredrick Brennan
6186be4837 Rewrite report system due to flooding 2015-03-13 12:45:57 +08:00
8chan
eb4b1db309 No bump checkbox 2015-03-10 16:21:15 -07:00
Bui
9c7cfc56d0 actually check if images are disabled
fixes #410
2015-02-27 23:34:16 +09:00
8chan
2f04aefdf5 Re-enable antibot system, disable hash expiration & unicode 2015-02-26 01:12:12 -08:00
8chan
4b8eddbaf6 MD5 filters part 1 2015-02-25 17:26:04 -08:00
8chan
d970baa5d8 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.
2015-02-25 17:21:49 -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
ee635db05f new checkDNSBL() function, return true/false, not error 2015-02-16 16:24:11 -08:00
blahblah666
f79c87b2e0 Update post.php 2015-01-28 23:18:05 -08:00
8chan
9a2155914c Trial: checkDNSBL only if file 2015-01-05 04:39:33 -08:00
8chan
a7adf844eb Close ctrlcctrlv/infinity#161 2014-12-31 22:39:49 -08:00
8chan
3f3b0051d8 Move login check in inc/mod/auth.php to a function
This allows pages like create.php to not include inc/mod/pages.php while still being able to use the mod auth functions (like generating salts and passwords)
2014-12-31 22:35:21 -08:00
8chan
1cab7bc74f Prevent one type of blank-posting 2014-12-14 03:28:38 -08:00
8chan
9db6895c98 Allow + in board names, add some new config vars (news+) 2014-12-14 03:25:43 -08:00
8chan
58c13bd2a7 Better post.php allow_delete error msg 2014-12-03 00:16:01 -08:00
8chan
faa51accaa We dynamic pages now, read.php 2014-11-21 04:05:20 -08:00
czaks
62a6dac022 custom captcha integration 2014-11-14 15:09:52 +01:00
8chan
1267c60a2c SECURITY: CSRF in post.php 2014-11-12 21:08:32 -08:00
BkPHcgQL3V
d398a49fc6 Add MD5 for individual files to the API 2014-11-04 06:55:55 +00:00
unknown
9c5ec12aaa [#184] Reports made to clean posts are now ignored correctly (and in accordance with the local/global duality). Marking posts clean dismisses posts (also in accordance with local/global duality). Fixed up some templating issues (now display more correct messages and omit actions that are invalid). Moved Clean action off post-level and into reports action. 2014-10-21 07:50:25 -05:00
unknown
7cac272396 [#184] FUCK PLEASE WORK 2014-10-19 12:10:50 -05:00
unknown
9920a51ff5 - Resolved board creation script throwing SQL error for mismatched column count.
- Resolved warnings would be thrown if inc/dnsbls.php did not exist.
- Resolved problem where shell_exec_error was incorrectly reporting a success in instances where 'md5sum' was not supported, resulting in "'md5sum'" literally being recorded as the file hash. This then lead to hex2bin throwing an error on page load, preventing access to threads (among other problems).
2014-10-17 02:32:39 -05:00
8chan
95e99d75ba This bot check is weird and keeps breaking when locales do 2014-10-10 09:52:51 -07:00
8chan
ed94a1671d Merge https://github.com/ctrlcctrlv/8chan
Conflicts:
	post.php
2014-10-06 18:12:50 -07:00
czaks
cc44a64097 Merge https://github.com/vichan-devel/vichan 2014-10-07 00:17:29 +02:00
Bui
cb9b4db73d do security checks *after* checking captcha 2014-10-07 00:15:45 +02:00
8chan
4414ef80b4 DNSBLs bypass stuff, fix Opera bug. 2014-10-05 17:07:59 +00:00
8chan
2338f461a9 Disable this for now. 2014-09-30 23:10:00 +00:00
8chan
d5b551e682 Disable hash antispam (lazy - need to add an option later) 2014-09-26 23:53:25 +00:00
8chan
19e864c15c I don't know what I did. 2014-09-25 22:53:56 +00: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
Fredrick Brennan
19f2505ae6 Merge https://github.com/vichan-devel/vichan 2014-09-20 15:29:05 +00:00
Fredrick Brennan
696b551a31 Allow the user to decide whether or not he wants to display his country 2014-09-20 15:21:50 +00:00
Ian Bradley
c1ecef3772 Added support for BSD md5 incase md5sum isn't available. 2014-09-15 16:33:37 -07:00
8chan
0dc66a0faa Merge https://github.com/vichan-devel/vichan 2014-07-06 00:18:45 +00:00
czaks
9b943da60a Revert "Rework the GeoIP code, add country-based poster names"
This reverts commit db3c7f4ee9.
2014-07-06 02:13:08 +02:00
Jano Slota
a1d2d2388a Fix the bug that allowed to post an empty reply 2014-07-06 01:29:30 +02:00
Jano Slota
db3c7f4ee9 Rework the GeoIP code, add country-based poster names 2014-07-06 01:29:12 +02:00
8chan
eea984859b Better remote errors 2014-05-27 23:50:11 +00:00