1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-04 20:08:02 +01:00
Commit Graph

1665 Commits

Author SHA1 Message Date
Fredrick Brennan
8e52335f7c Forgot assets template 2015-05-06 20:57:59 +08:00
Fredrick Brennan
ca066b0ca8 New feature: custom board assets 2015-05-06 20:40:11 +08:00
Fredrick Brennan
8068099bd5 Only fileboards should be able to have anal_filenames due to 8archive... 2015-05-06 20:37:50 +08:00
Fredrick Brennan
92168dd21e Board owners can now change their usernames and set recovery email during creation process and while logged in. 2015-05-06 19:27:27 +08:00
8chan
cbc49e2a16 Handle paperclip icon as OP image 2015-05-05 22:43:39 -07:00
8chan
25c5ccd2db Fileboards: Open link in new tab 2015-05-05 22:43:16 -07:00
Fredrick Brennan
691bc1c3fa Close ctrlcctrlv/infinity#481
Also improve CAPTCHA portability into other parrts of the software by removing weird CAPTCHA-specific config file
2015-04-25 19:50:07 +08:00
8chan
26a2eade57 Merge 2015-04-25 01:06:21 +00:00
czaks
8fcad764bc select onchange not oninput (firefox compat) 2015-04-25 03:02:52 +02:00
8chan
3e3c8c780c Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	stylesheets/style.css
2015-04-24 17:51:26 -07:00
8chan
e4f8725c55 Announcement class 2015-04-24 17:49:11 -07:00
8chan
bcb387da43 news+ -> n 2015-04-24 17:48:06 -07:00
czaks
7241d6e65b fileboard/8chan: anal filenames, webms for op 2015-04-23 05:18:43 +02:00
czaks
e4ed7434f4 fileboard: allowed ext op, add this to allowed filetypes 2015-04-23 05:08:55 +02:00
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