1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-11 23:36:02 +01:00
Commit Graph

3474 Commits

Author SHA1 Message Date
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
3e3c8c780c Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	stylesheets/style.css
2015-04-24 17:51:26 -07:00
8chan
bcb387da43 news+ -> n 2015-04-24 17:48:06 -07:00
czaks
ba9142a235 Merge branch 'master' into gallery-view 2015-04-25 02:36:45 +02:00
Fredrick Brennan
67ae4314d6 Merge pull request #480 from czaks/fileboard
fileboard support
2015-04-24 04:58:27 -04:00
czaks
e561128793 fix error while installing themes; thanks xixi 2015-04-23 07:58:41 +02:00
czaks
9f61cf838c gallery-view/8chan: enable in instance-config 2015-04-23 07:56:04 +02:00
czaks
b49e92ad91 ok, fine, this is a better place for this 2015-04-23 05:25:13 +02:00
czaks
f00930a592 fix textboards 2015-04-23 05:24:07 +02:00
czaks
7241d6e65b fileboard/8chan: anal filenames, webms for op 2015-04-23 05:18:43 +02:00
czaks
4916869e4a fileboard/8chan: swf too 2015-04-23 04:31:59 +02:00
czaks
fb34878bb1 fileboard/8chan: mod config 2015-04-23 04:28:23 +02:00
Marcin Łabanowski
61fdd0c72b fileboard support 2015-04-22 06:19:50 +02:00
8n-tech
5ea7541817 (Hopefully) fixed last hour counts.
Also added extensive comments and adjusted logical branches.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-21 12:00:29 +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
8n-tech
c240c96ea8 Javascript ammendments, dio_ on Windows.
#475 - Fixed both issues.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-21 01:39:44 +10:00
8n-tech
0f4591aa90 Merge https://github.com/ctrlcctrlv/infinity 2015-04-20 23:00:29 +10:00
Fredrick Brennan
afe69248aa Merge pull request #473 from 8n-tech/master
Completely rebuild paragraph parser.
2015-04-20 08:34:17 -04:00
8chan
d2168fbe56 Fix post deletion 2015-04-20 04:20:17 -07:00
8n-tech
47b096159b Dead file. 2015-04-20 21:19:08 +10:00
8n-tech
d7b511270a Completely rebuild paragraph parser.
The paragraph parser will now encapsulate entire blocks in <p> tags.

#471 - Code tags are fixed. Old posts will need to be regenerated. :(
#458 - Parser improved.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-20 20:44:57 +10:00
8chan
53e2d65419 Merge https://github.com/ctrlcctrlv/infinity 2015-04-19 08:18:20 -07:00
8chan
01114796fc jp>ja 2015-04-19 08:17:00 -07:00
8chan
96411813b4 Rollback file_write function 2015-04-19 08:16:35 -07:00
Fredrick Brennan
1f4fd1398f Merge pull request #468 from 8n-tech/master
Fixed some styling issues with the latest update.
2015-04-19 10:56:02 -04:00
8n-tech
2c39452190 Fixed some styling issues with the latest update.
#201 - Increased top padding of post blocks.
#458 - Fixed meme arrows.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-20 00:51:45 +10:00
8chan
e44a609aa9 Sorry, I don't like this logo addition. 2015-04-19 06:46:02 -07:00
8chan
5cceda9d15 Merge https://github.com/ctrlcctrlv/infinity
Conflicts:
	boards.php
2015-04-19 06:09:14 -07:00
8n-tech
558152790d More board directory stuff.
#456 - Fixed issue where the CLI was generating the wrong index.
#456 - Fixed issue where the user was requesting 100% of the boards on pagination.
#456 - Fixed issue where board active users tracked the last hour and not the last 72 hours.

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 23:00:39 +10:00
8chan
b59999a05d Merge https://github.com/ctrlcctrlv/infinity 2015-04-19 05:37:51 -07:00
8n-tech
5f5dbbd163 #456 - boards.php no longer generates a cache file or forbids direct access if a $_GET is specified.
#456 - boards.php now generates a boards.json and boards-top20.json when accessed directly.
#456 - Added API compatibility to board-search.php ('max' and 'ppd')
#456 - Fixed an issue with listBoards() that caused an SQL error if you only asked for indexed.

fuck I hope this works

Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-19 22:11:56 +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
62380bfbde #458 - Issue Added RTL support for Arabic writers.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
2015-04-17 04:02:11 +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
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
8n-tech
ee7c624517 Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
inc/functions.php
- Fixed issues with dio on windows machines.

inc/lib/Twig/Extensions/Extension/Tinyboard.php
- Added strict (int) typecasting to avoid critical errors in timestamp formatting.

index.php
- Fixed issue where opening index.php would whitepage.

static/nsfw.png
static/swf.png
- Added missing static files.
2015-04-09 20:11:48 +10:00
8n-tech
46cd77e813 Merge branch 'master' of https://github.com/ctrlcctrlv/infinity 2015-04-09 10:22:24 +10:00
8chan
2be56352a1 Merge https://github.com/ctrlcctrlv/infinity 2015-04-06 20:12:42 -07:00
8chan
bd128bf465 This clean feature is too SQL intensive. Only check clean if in mod.php 2015-04-06 20:12:37 -07:00
czaks
51b93e643d 8chan/smart-build: includable 404.php 2015-04-07 01:44:55 +02:00
czaks
ac693427f8 infinity/smart-build: needless code duplication, fixed now 2015-04-07 00:20:07 +02:00
czaks
e3a8308e00 infinity/smart-build: fix order of loading 2015-04-07 00:04:55 +02:00
czaks
ef8ef2c0b4 infinity/smart-build: rebuild config cache when flags are modified 2015-04-06 23:58:23 +02:00
czaks
8a6a20bd9c infinity/smart-build: fix context 2015-04-06 23:54:00 +02:00
czaks
1670da07cb infinity/smart-build: move a require to instance-functions 2015-04-06 22:56:01 +02:00