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

1651 Commits

Author SHA1 Message Date
czaks
fb34878bb1 fileboard/8chan: mod config 2015-04-23 04:28:23 +02:00
czaks
e2218ff471 fileboard: 8chan didn`t apply slugify patchset 2015-04-23 04:26:29 +02:00
czaks
8bf71ded5b fileboard: fix possible XSS (mainly applicable to 8chan) 2015-04-23 03:45:47 +02:00
Marcin Łabanowski
61fdd0c72b fileboard support 2015-04-22 06:19:50 +02:00
8chan
14b953ae21 Give some helpful tips on the IP block form 2015-04-21 07:11:46 -07:00
8chan
402a246174 Suppress (maybe harmless) error on no postcontrols selector (happens on catalog) 2015-04-21 07:11:33 -07:00
8chan
a4312e7d16 Fix no board_name on catalog causing weird bugs with filter/other problems 2015-04-21 07:11:00 -07:00
8n-tech
97ae37651f Quickfix of CSS issues for boardlist.
#467 - Added missing HTML for noJS users.
#467 - Added additional CSS for FireFox fixes.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-21 11:33:04 +10:00
8n-tech
3de0e897be Multiple boardlist enhancements.
#467 - Reduced and modified columns.
#467 - Styling changes across all supported stylesheets.
#467 - PPH now reflects last hour's posts count and has average in title.
#467 - Removed precision, except for boards that have between 0~1 posts.
#467 - Fixed issue where inline board tags pointed to the HTML file, rendering them nonfunctional for noJS users.
Misc - Fixed quote color in certain stylesheets.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-21 11:08:47 +10:00
Fredrick Brennan
b6f0c28234 Merge pull request #472 from 8n-tech/master
Board directory, board search, script escapes.
2015-04-20 00:44:58 -04:00
8n-tech
2edebbf438 Board directory, board search, script escapes.
#467 - Now escapes HTML in the title.
#467 - hashChange is now captured and assumed to be a tag. Comma dillimitation turns into multiple tags.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-20 14:41:28 +10:00
8chan
d3bb0266db Add stylesheet to 8chan/index.html 2015-04-19 08:18:12 -07:00
Fredrick Brennan
0be784e1c8 Merge pull request #463 from 8n-tech/master
#456 #458 #460 #461- Board Lists, RTL Arabic, Index page links, Quick reply link
2015-04-19 06:46:25 -04:00
8n-tech
32061668a3 #456 #458 - Completed language support on boards list.
#461 - "Post a reply" button JS added.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 13:10:13 +10:00
8n-tech
7257642906 #461 - Added "Post a Reply" button to the thread index page.
Also improved some CSS and HTML aspects of the thread layout.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-18 04:39:50 +10:00
8n-tech
80c312b7e3 Issue #460 - No linkbanks to the index or frontpage
I've added the infinity logo to page.html. Any standard page (boards / mod pages / plain pages) will have the logo.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 20:55:04 +10:00
8n-tech
95e92c40a8 Bug fixes.
- board-search.php Fixed an issue with tag weight where all tags have an equal prominance
- inc/functions.php Fixed an issue where board stats were incorrectly assuming all recent activity was in the last hour.
- js/board-directory.js JS will now repopulate the tag list.
- Improved handling of the load more button.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 19:41:52 +10:00
8n-tech
9eb8452793 Made the range for board range now inclusive. i.e. 1-50 instead of 0-50. 101-200 instead of 100-200. 2015-04-16 07:08:30 +10:00
8n-tech
497e554f49 "Load more" button and functionality.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 07:02:17 +10:00
8n-tech
ec90c96459 - board-search.php Now properly calculates tag weight.
- boards.php Passes $search parameters into Twig.
- js/board-reictory.js Stores last search parameters and handles tag click events.
- Twig now passes old search parameters into the search form.
- Tags now link in such a way that they will preserve form data and other tags when clicked in a browser without JavaScript.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 05:46:48 +10:00
Doctor-von-Piglet
cde464b6bf replaced location.origin
location.origin is not defined in all browsers.
2015-04-15 12:03:42 -07:00
8n-tech
67bab31510 - Reworked tag weight.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-16 00:35:36 +10:00
8n-tech
0347bf772d - board-search.php Improved result limiting.
- boards.php Passes omit information
- js/board-directory.js Improved code organization.
- js/board-directory.js Added NSFW icon.
- js/board-directory.js Added basic locale handling.
- js/board-directory.js Disabled submit button until JS is bound.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 22:02:11 +10:00
8n-tech
f09def2712 Main change with this commit is adding board-directory.js which is to handle JS enabled searching.
Highly incomplete. Barely functional. Just lays groundwork.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-15 05:06:49 +10:00
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
8n-tech
316e681bbd New CLI tool for upgrade: tools/migrate_board_stats.php
- Adds new coumn to `boards` for easy-access post total storage.
- Migrates the AUTO_INCREMENT number to the `posts_total` column for every board. This ensures accurate post count measurement.
- Adds `board_stats` table for recording histric data.
- Retroactively records all boards into `board_stats`.

- inc/functions.php Added handling for `posts_total` column in `boards`.
- inc/functions.php Removed some bogus data from fetchBoardActivity
- board-search.php Fixed issue with SFW filtering.
- board-search.php Now accurately sends `posts_total` data for board sum posts.
- boards-search.html Various form fixes so search now submits correctly.
- boards-table.html Fixed `posts_total` value.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-14 05:36:38 +10:00
8n-tech
6d1eb9961d - board-search.php can now act as an include as well as a direct request.
- boards.php completely rewritten to work with new board-search.php. Functions (sort-of) without JavaScript.
- inc/functions.php fetchBoardActivity() now pulls total board counts with a more reliable and faster method.
- inc/functions.php fetchBoardActivity() & fetchBoardTags() now expect db prefixes.
- stylesheets/stylesheet.css now handles title search bar.
- boards-tags.html completely thrown out for flat tag list styling.
- boards-search.html added for the new page layout.
- boards-table.html added for the <tbody> contents.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-14 01:40:45 +10:00
8n-tech
0ceb814ab3 - Added board-search.php with improved board directory searching.
- Added new functions to functions.php for fetching board meta.
- Added new styling for non-index page 12-col layouts.
- Modified templating for board directories.
- Moved CSS from the index page to CSS files.


Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-13 14:24:55 +10:00
czaks
c67520d8b1 ukko: small optimization: move js creation to install time 2015-04-06 19:11:30 +02:00
czaks
3b9e174173 sitemap theme for smart_build 2015-04-06 19:10:41 +02:00
czaks
36b1714e42 themes can use smart_build now 2015-04-06 19:09:03 +02:00
Fredrick Brennan
8a05c2c122 New board option: Max newlines limit 2015-04-04 10:36:03 +08:00
8chan
f7f046bf13 Commit some forgotten mod.php templates 2015-04-03 19:01:15 -07:00
8chan
b069fb9590 Allow global admin to make an announcement without affecting blotters (unused currently) 2015-04-03 18:51:35 -07:00
8chan
bf2238d088 Put bump limit after cycle icon 2015-04-03 18:50:45 -07:00
8chan
30f13f844f Add image_reject_repost_in_thread to ?/settings 2015-04-03 18:50:28 -07:00
8chan
6d93cf725d Add hint about caches that may be on an imageboard to flags page 2015-04-03 18:49:56 -07:00
8chan
7df34415bf Bugfix: Don't show cycle link on replies 2015-04-03 18:49:38 -07:00
Fredrick Brennan
6da9f7ad93 Make it so you can change names/file of user flags 2015-04-03 17:59:15 +08:00
Fredrick Brennan
31d160d25b Make it so you can edit/remove embed, post preview 2015-04-03 15:37:55 +08:00
Fredrick Brennan
1e91310f6a Cyclical threads ♺ 2015-04-03 14:56:28 +08:00
Fredrick Brennan
4c94fa7284 Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-03-30 11:54:25 +08:00
Fredrick Brennan
d48616fa04 highlightReply: work for OP 2015-03-30 11:53:51 +08:00
Fredrick Brennan
16b259ff15 Change edited_at to INT(11) 2015-03-30 11:12:35 +08:00
8chan
43af0db4e7 oops, didn't exactly test a0c40b7f63 2015-03-29 16:39:02 -07:00
Fredrick Brennan
a0c40b7f63 Stop showing local users the raw HTML thing, they can't use it anyway 2015-03-30 07:14:26 +08:00
8chan
f617f7de88 Fix link to ?/edit_pages 2015-03-28 19:37:33 -07:00
8chan
7d71c23742 Fix footers 2015-03-28 19:37:15 -07:00
8chan
fe6683ee5c Merge https://github.com/ctrlcctrlv/infinity 2015-03-28 18:37:51 -07:00
8chan
631c50c3b3 Update "featured on" 2015-03-28 18:37:47 -07:00