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

51 Commits

Author SHA1 Message Date
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
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
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
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
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
8chan
aa90f3b43b Remove ReCAPTCHA from remaining pages 2015-03-18 19:27:47 -07:00
8chan
bebd364a59 some style fixes 2015-03-11 18:22:22 -07:00
8chan
c52722906f Newsplus on homepage 2015-03-10 16:22:09 -07:00
8chan
30178fb383 Change 2 => 3 2015-02-19 19:15:18 -08: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
fb800497f1 /meta/ -> /operate 2015-02-16 16:26:20 -08:00
8chan
e21a292bd4 update homepage 2015-01-29 19:00:55 -08:00
8chan
2e72266c97 top2k template 2015-01-28 17:57:46 -08:00
8chan
79be851d1f Merge branch '8ch-net' of https://github.com/Pashe/infinity into Pashe-8ch-net
Conflicts:
	faq.php
	inc/8chan-mod-pages.php
	inc/instance-config.php
	js/twemoji/twemoji.js
	templates/mod/settings.html
2015-01-22 07:59:45 +00:00
Pashe
38de652f9b Replace '8chan.co's with '8ch.net's 2015-01-14 14:15:33 -06:00
8chan
94029b24a5 Use KiwiIRC instead of Rizon qwebirc 2015-01-05 04:39:53 -08:00
8chan
2bc652b34f Add /b/, /meta/, /news+/ to homepage; add press 2014-12-29 02:59:07 -08:00
8chan
05933f23d4 Make claim.html more discoverable 2014-12-03 00:20:36 -08:00
8chan
a86b07282f Featured -> Top 15 2014-12-03 00:19:27 -08:00
8chan
fa9a3da913 New boards.html page now with tags 2014-12-03 00:10:28 -08:00
8chan
89f0d4f3bc This exclamation mark was confusing people 2014-11-21 23:34:23 -08:00
8chan
d8c385176c New claim.html page 2014-11-21 23:32:22 -08:00
8chan
0ec5b61ae9 30 chars 2014-11-09 22:18:06 -08:00
8chan
cfb31c53af Merge https://github.com/ctrlcctrlv/8chan 2014-10-22 19:20:28 -07:00
8chan
ab3fd973ad Fix index page for new update_boards.js 2014-10-22 19:17:32 -07:00
unknown
3c2ebb2d6b Merge branch 'master' of git://github.com/ctrlcctrlv/8chan
Conflicts:
	templates/8chan/index.html
2014-10-19 11:15:57 -05:00
unknown
2d6d449bd2 [#184] Added <body> tag classes. Style selector now adds a <body> class. Moved board list under moderator dashboard. 2014-10-18 20:07:04 -05:00
8chan
ba7e3c4aaa use tabs and not spaces 2014-10-16 18:52:28 -07:00
VladVP
14ea4958e5 Added flag icon for Lojban language 2014-10-11 13:18:14 +02:00
8chan
9dd7e4d486 Sort by unique posters by default 2014-10-08 11:35:28 -07:00
8chan
d58adad48d SECURITY: Move indexed option to table...fixes unindexed boards appearing in search/random 2014-10-07 20:54:00 -07:00
8chan
d94bff238e Home page for unique IP based featured boards 2014-10-06 18:02:30 -07:00
8chan
15f2545418 Add disclaimer back 2014-09-30 23:09:33 +00:00
8chan
84d600a880 unique ips column 2014-09-29 07:17:00 +00:00
fourfivesix
1522c0b815 Makes the frontpage template W3C compliant. 2014-09-27 22:02:59 -03:00