1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-21 10:03:42 +01:00

1630 Commits

Author SHA1 Message Date
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
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
marktaiwan
26ce0158d8 initial commit templates 2015-03-15 22:18:27 +08:00
marktaiwan
455ec06b91 Merge branch 'master' into post-form 2015-03-15 21:28:12 +08:00
8chan
968491b8b8 No more country flags in <title> 2015-03-14 22:03:08 -07:00
8chan
f70adfbd01 Add version/scripts included to main.js 2015-03-14 00:06:16 -07:00
Fredrick Brennan
8aad0dea98 Desktop notifications in auto-reload.js 2015-03-13 19:18:56 +08:00
Fredrick Brennan
83d74fdf69 Fix some templates 2015-03-13 12:46:36 +08:00
Fredrick Brennan
6186be4837 Rewrite report system due to flooding 2015-03-13 12:45:57 +08:00