Andreas Fischer
|
085f89e1c1
|
min() is actually pointless there.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10402 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2010-01-12 00:45:56 +00:00 |
|
Andreas Fischer
|
aa14d12abb
|
Actually use the new method.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10401 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2010-01-12 00:24:39 +00:00 |
|
Andreas Fischer
|
2be2a2eb63
|
Improve overall feed performance
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10400 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2010-01-12 00:12:06 +00:00 |
|
Andreas Fischer
|
e5c228d564
|
Make sure ORDER BY is SELECTed
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10398 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2010-01-08 22:38:02 +00:00 |
|
Andreas Fischer
|
fffe436914
|
We have to prefetch post ids from other tables where possible.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10397 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2010-01-08 22:30:30 +00:00 |
|
Andreas Fischer
|
4729046bf4
|
#54235
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10388 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-29 02:37:16 +00:00 |
|
Andreas Fischer
|
ad7e3ccf4c
|
Integrate active topics feed. Some language adjustments and rearrangements.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10382 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-27 00:48:52 +00:00 |
|
Andreas Fischer
|
d7261a5425
|
Reduce amount of forums by selecting postable forums only.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10381 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-25 16:34:27 +00:00 |
|
Andreas Fischer
|
f94b24bc62
|
Draft for active topics feed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10380 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-25 16:27:11 +00:00 |
|
Andreas Fischer
|
a4cee51de5
|
Split feed_limit into feed_limit_post and feed_limit_topic. Drop feed_overall_topics_limit.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10366 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-23 02:30:37 +00:00 |
|
Andreas Fischer
|
cc43a90996
|
Forgot to add this to the commit list.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10364 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-22 19:26:25 +00:00 |
|
Andreas Fischer
|
64898803af
|
Automatically lookup num_items in the config array if it is a string.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10359 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 19:46:48 +00:00 |
|
Andreas Fischer
|
d7e8e4d9cb
|
Cleanup. Remove unused methods and logic.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10358 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 19:40:13 +00:00 |
|
Andreas Fischer
|
757afe0b76
|
Abstract class for post based feeds. Separate overall, forum and topic feed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10357 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 19:23:06 +00:00 |
|
Andreas Fischer
|
773f3727de
|
Let forums feed use the new methods.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10356 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 15:18:32 +00:00 |
|
Andreas Fischer
|
2f0d9f7d3d
|
Abstract class for topic based feeds.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10355 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 15:09:27 +00:00 |
|
Andreas Fischer
|
183045072f
|
Cache forever, destroy on change.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10354 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 14:31:37 +00:00 |
|
Andreas Fischer
|
d64516057f
|
Also improve topics feed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10353 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 14:22:51 +00:00 |
|
Andreas Fischer
|
7ac774432e
|
Improve news feed. It basically only runs two queries now for the main content.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10352 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 13:52:56 +00:00 |
|
Andreas Fischer
|
28c33de6d9
|
Provide some more generic methods.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10351 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 13:18:04 +00:00 |
|
Andreas Fischer
|
7d406a36cd
|
All topics feed now returns newest board topics. Reduce required queries and complexity.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10350 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-20 00:05:47 +00:00 |
|
Andreas Fischer
|
2eb337ba41
|
Topic has to be approved.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10349 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-19 23:47:35 +00:00 |
|
Andreas Fischer
|
9d436a33f6
|
Some corrections for r10347 and r10345.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10348 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-17 01:06:01 +00:00 |
|
Andreas Fischer
|
437c66e8c8
|
#54275 - Let's use a method for that. Also return ->lang['GUEST'] instead of ['username'].
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10347 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-17 00:55:55 +00:00 |
|
Andreas Fischer
|
4e49152529
|
Use correct limit config parameter in the News feed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10346 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-17 00:41:30 +00:00 |
|
Andreas Fischer
|
69c07b8330
|
News feed: Correctly handle global announcements.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10345 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-17 00:39:41 +00:00 |
|
Andreas Fischer
|
6cc60ee8c2
|
Improve 'All forums' feed: Remove limit, display all forums. Join all queries to one.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10344 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-17 00:12:51 +00:00 |
|
Andreas Fischer
|
d5c16e4c8f
|
I've got to take this back. Revert r10316 partly.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10343 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-16 18:13:41 +00:00 |
|
Andreas Fischer
|
2ac753b725
|
"0" is a valid title.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10338 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-14 12:59:07 +00:00 |
|
Andreas Fischer
|
1f2f658920
|
title already censored lower down.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10336 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-13 23:58:51 +00:00 |
|
Andreas Fischer
|
b6f9a1a6e8
|
Topic/Forum Feed: Also throw NO_FEED if forum has been excluded from feeds.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10328 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-13 13:02:37 +00:00 |
|
Andreas Fischer
|
07c990302c
|
We don't need this anymore.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10327 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-12 21:27:05 +00:00 |
|
Andreas Fischer
|
d3cd9ce01e
|
#54345 - Passworded forums
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10318 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-11 16:41:37 +00:00 |
|
Andreas Fischer
|
afa8dcb42a
|
Bug #54345 - Do not deliver topics from unreadable forums in the news feed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10317 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-11 16:18:56 +00:00 |
|
Andreas Fischer
|
c207c530b7
|
Bring back caching.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10316 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-11 14:46:06 +00:00 |
|
Andreas Fischer
|
9189b8203a
|
Add another layer of abstraction.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10315 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-11 13:42:38 +00:00 |
|
Andreas Fischer
|
b63cad6b89
|
Remove some unnecessary code and join two queries.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10314 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-10 16:59:25 +00:00 |
|
Andreas Fischer
|
3f35de4c63
|
Database input, already specialchared.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10313 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-10 03:05:33 +00:00 |
|
Andreas Fischer
|
56cc34602b
|
Correctly use RFC 3339 date in ATOM feeds. Bug #55005
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10312 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-10 01:12:54 +00:00 |
|
Andreas Fischer
|
25545c06b2
|
Let's add some more checks. #54295
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10308 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-09 21:33:25 +00:00 |
|
Andreas Fischer
|
ccc774412e
|
Optimize SQL queries 'a little'.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10304 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-08 03:53:41 +00:00 |
|
Andreas Fischer
|
0fbea43f4b
|
Fix Bug #55005 - Correctly take post time instead of topic time for the overall forum feed statistics row.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10302 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-08 01:53:26 +00:00 |
|
Andreas Fischer
|
b5dcc21280
|
Make things easier. #54295, r10296
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10301 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-08 01:23:40 +00:00 |
|
Andreas Fischer
|
57ddd53d59
|
#54295 - Thanks Paul.J.Murphy
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10297 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-01 12:54:25 +00:00 |
|
Andreas Fischer
|
1de328e2fe
|
Fix Bug #54295 - Cleanly handle forum/topic not found in ATOM Feeds. Also related: Bug #54735
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10296 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-12-01 12:25:34 +00:00 |
|
Andreas Fischer
|
40bc220a41
|
Adjust logic to what the comment says.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10290 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-11-25 13:12:32 +00:00 |
|
Andreas Fischer
|
00859fa47c
|
We've got to use array_merge() as long as we want to be able to write to $global_vars. r10281 didn't change this, btw. ;-)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10289 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-11-24 18:47:42 +00:00 |
|
Joas Schilling
|
02235a87cd
|
Bug #54275 - Do not link to user profile in ATOM feed entry if post has been made by the guest user.
Authorised by: bantu
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10288 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-11-24 18:28:46 +00:00 |
|
Joas Schilling
|
4f0db631d9
|
Bug #54285 - Correctly exclude subforums from ATOM Feeds.
Authorised by: bantu
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10287 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-11-24 18:26:15 +00:00 |
|
Andreas Fischer
|
f864e75174
|
Nitpicks. r10283, r10285
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10286 89ea8834-ac86-4346-8a33-228a782c2dd0
|
2009-11-24 17:58:22 +00:00 |
|