1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 17:31:00 +01:00
Commit Graph

1638 Commits

Author SHA1 Message Date
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
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
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
Fredrick Brennan
12fa8ec3ef Edit static pages commit 2015-03-29 09:18:14 +08:00
Fredrick Brennan
5ccebaf0f6 I've made enough commits to this project to have a spot in the license file I think :^) 2015-03-28 18:15:08 +08:00
Fredrick Brennan
a224829cd4 Commit empty ad templates 2015-03-27 18:43:31 +08:00
Fredrick Brennan
afa2bba3c7 Add some missing i18n tags 2015-03-20 16:09:21 +08:00
8chan
3e648e617f Merge https://github.com/ctrlcctrlv/infinity 2015-03-19 20:24:25 -07:00
8chan
5c57bd44e1 Suppress TypeError if no password form 2015-03-19 20:23:34 -07:00
8chan
f82ad879f0 Make file selector work, add to config 2015-03-19 20:22:17 -07:00
marktaiwan
8fe4c70223 Adds keyboard focus to file selector 2015-03-20 09:02:53 +08:00
Fredrick Brennan
5c976ea689 Merge pull request #428 from marktaiwan/post-form
Feature: drag and drop file selector
2015-03-19 12:29:58 +08:00
8chan
aa90f3b43b Remove ReCAPTCHA from remaining pages 2015-03-18 19:27:47 -07:00
marktaiwan
50857d76c5 initialize file selector soon as it's loaded 2015-03-18 21:43:20 +08:00
marktaiwan
6e35f12e3a Fallback for browsers that disables javascript 2015-03-18 18:44:47 +08:00
8chan
c6f6dae87f Prevent double / in templates/post/flag 2015-03-16 16:48:31 -07:00