aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/soft-delete] Add unit tests for get_forums_visibility_sql()Joas Schilling2012-10-011-1/+1
| | | | PHPBB3-9657
* [feature/soft-delete] Add get_visibility_sql_forums based on globalJoas Schilling2012-08-301-7/+2
| | | | | | | | | The resulting query is 4-times faster, as the forum_id IN () arrays are smaller and we need less AND/OR to build the hole query. The main difference between those two functions is, that this one takes an array of included ids and the _global one takes an array of excluded ids. PHPBB3-9657
* [feature/soft-delete] Simplification part2: user can see all item visibilitiesJoas Schilling2012-08-291-5/+10
| | | | | | | If the user can see all visibilities, we can simply leave out the query part, instead of adding a bunch of ANDs. PHPBB3-9657
* [feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibilityJosh Woody2012-08-291-5/+5
| | | | | | Rename the class to more accurately reflect what it does. PHPBB3-9657
* [feature/soft-delete] I told you I was going to rename the class!Josh Woody2012-08-291-5/+5
| | | | | | Rename topic_visibility class to phpbb_visibility. Also a bit of work to the class itself, mostly cleanup and adding the comments that I'd previously written. PHPBB3-9657
* [feature/soft-delete] Lay the groundwork for a soft-delete featureJosh Woody2012-08-291-15/+13
| | | | | | So far, I've added no new functionality. The biggest change here is adjusting the DB column names to "visibility" rather than "approved". Some things here are pretty likely to change, for example the name and location of the topic_visibility class. Happy birthday phpBB :) PHPBB3-9657
* Merge branch 'feature/new-tz-handling' of https://github.com/p/phpbb3 into ↵Joas Schilling2012-06-041-10/+2
|\ | | | | | | | | | | | | | | | | feature/new-tz-handling Conflicts: phpBB/includes/functions_profile_fields.php phpBB/includes/session.php phpBB/install/database_update.php
| * [feature/new-tz-handling] Sort timezones in selector by offset.Oleg Pudeyev2012-03-141-9/+1
| | | | | | | | | | | | | | | | | | | | | | Since the list of timezones is very long, and users are likely to know their current offset but not necessarily which city that is nearby is in the timezone database, sort the list of timezones by offset. UTC is specially handled to show up before other GMT+0 timezones. PHPBB3-9558
| * [feature/new-tz-handling] Remove code using legacy timezone properties.Chris Smith2012-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code accessing the legacy user::$timezone and user::$dst properties has been removed and replaced with code utilising user::create_datetime(). Changed by Oleg: in viewtopic, memberlist and index use getTimestamp() + getOffset(). We show members that have birthdays on the specified date. getTimestamp() returns the current date in UTC. We add getOffset() to obtain the current local time in the viewing user's timezone. Then we find members having birthday on this date. Changed by Oleg again: Take leap year status out of the datetime object we have, this seems like it should work as one would expect. PHPBB3-9558
* | [ticket/10672] Fix total post count language string in statistics and feedJoas Schilling2012-02-271-1/+1
| | | | | | | | PHPBB3-10672
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | [ticket/10345] Use the plural function in some more places.Joas Schilling2011-11-251-1/+1
| | | | | | | | | | | | | | I added two function avatar_explanation_string() and avatar_error_wrong_size() for easier handling of the "pixels"-languages, as they are used quite often. PHPBB3-10345
* | [ticket/10345] Make use of the plural function in some basic placesJoas Schilling2011-11-251-1/+1
|/ | | | PHPBB3-10345
* [feature/remove-imagesets] Adjustments to php filesVjacheslav Trushkin2011-09-041-1/+1
| | | | | | Removing imagesets. Adjustments to php files PHPBB3-10336
* Merge branch 'develop-olympus' into developNils Adermann2011-08-261-0/+6
|\ | | | | | | | | * develop-olympus: [ticket/10335] Add X-PHPBB-IS-BOT header so reverse proxies know about bots.
| * Merge remote-tracking branch 'github-bantu/ticket/10335' into develop-olympusNils Adermann2011-08-261-0/+6
| |\ | | | | | | | | | | | | * github-bantu/ticket/10335: [ticket/10335] Add X-PHPBB-IS-BOT header so reverse proxies know about bots.
| | * [ticket/10335] Add X-PHPBB-IS-BOT header so reverse proxies know about bots.Andreas Fischer2011-08-241-0/+6
| | | | | | | | | | | | PHPBB3-10335
* | | Merge branch 'develop-olympus' into developNils Adermann2011-08-251-23/+2
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/10320] Exclude passworded forums when determining "Most active topic". [ticket/10320] Move phpbb_feed_base::get_passworded_forums() to user class.
| * | [ticket/10320] Move phpbb_feed_base::get_passworded_forums() to user class.Andreas Fischer2011-08-251-23/+2
| |/ | | | | | | PHPBB3-10320
* | [ticket/9684] Remove code for global announcement in root-filesJoas Schilling2011-04-071-94/+22
| | | | | | | | PHPBB3-9684
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-02-271-19/+27
|\ \ | |/ | | | | | | | | | | | | | | * develop-olympus: [ticket/10009] Entries are always posts, update fields accordingly. [ticket/10009] Always show 'published' data in feed item statistics. [ticket/10009] Make atom:update output unconditional and before atom:published [ticket/10009] Send atom:updated whenever possible [ticket/10009] Differentiate published from updated in Atom feed
| * [ticket/10009] Entries are always posts, update fields accordingly.Andreas Fischer2011-02-211-7/+5
| | | | | | | | PHPBB3-10009
| * [ticket/10009] Always show 'published' data in feed item statistics.Andreas Fischer2011-02-211-2/+2
| | | | | | | | PHPBB3-10009
| * [ticket/10009] Make atom:update output unconditional and before atom:publishedKevin Locke2011-02-211-9/+2
| | | | | | | | PHPBB3-10009
| * [ticket/10009] Send atom:updated whenever possibleKevin Locke2011-02-211-0/+4
| | | | | | | | | | | | | | | | | | For posts/topics which have not been edited/updated, use the creation date to populate atom:updated, as suggested by bantu. This should increase compatibility with user agents which expect an atom:updated element. PHPBB3-10009
| * [ticket/10009] Differentiate published from updated in Atom feedKevin Locke2011-02-211-14/+27
| | | | | | | | | | | | | | | | | | | | Change the handling of dates to differentiate between the date when an entry was published and the date on which it was last updated. Incorporate this information into the Atom feed by using <published> and <updated> appropriately according to sections 4.2.9 and 4.2.15 of the spec. PHPBB3-10009
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-3/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* [ticket/9727] Smiley Path replacement in feeds is too genericJosh Woody2010-07-181-2/+2
| | | | | | | | The smiley path replacement in the feeds was too broad: any post content containing "./" was changed to the fully qualified board URL. This broke CSS for example. PHPBB3-9727
* Merge branch 'feature/nickvergessen/unapproved-posts-in-feed' into ↵Nils Adermann2010-04-041-9/+29
|\ | | | | | | | | | | | | | | | | | | | | | | develop-olympus * feature/nickvergessen/unapproved-posts-in-feed: [feature/unapproved-posts-in-feed] Little changelog correction [feature/unapproved-posts-in-feed] Increase performance of is_moderator_approve_forum() as per bantu [feature/unapproved-posts-in-feed] View note for moderators on unapproved posts/topics with unapproved posts in ATOM Feed Conflicts: phpBB/docs/CHANGELOG.html
| * [feature/unapproved-posts-in-feed] Increase performance of ↵Joas Schilling2010-04-041-3/+8
| | | | | | | | is_moderator_approve_forum() as per bantu
| * [feature/unapproved-posts-in-feed] View note for moderators on unapproved ↵Joas Schilling2010-04-041-9/+24
| | | | | | | | posts/topics with unapproved posts in ATOM Feed
* | Merge branch 'bug/nickvergessen/58695' into develop-olympusNils Adermann2010-04-041-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * bug/nickvergessen/58695: [bug/58695] Use method to get forums where user is moderator, thanks to bantu for the hint [bug/58695] Only show unapproved posts in ATOM Feeds for moderators (Bug #58695) Conflicts: phpBB/docs/CHANGELOG.html
| * | [bug/58695] Use method to get forums where user is moderator, thanks to ↵Joas Schilling2010-04-031-1/+1
| | | | | | | | | | | | bantu for the hint
| * | [bug/58695] Only show unapproved posts in ATOM Feeds for moderators (Bug #58695)Joas Schilling2010-04-031-2/+2
| |/
* | [bug/9108] Fix table binding issues with PostgreSQL in board-wide feed. (Old ↵Andreas Fischer2010-04-011-1/+1
|/ | | | | | | | | Bug #58425) The order in the FROM clause is important. The posts table has to be the last one in the chain, so it can be correctly bound with the forums table in the LEFT JOIN. This only affects the overall feed (board-wide feed). All the other feeds are unaffected.
* Fix Bug #58595 - ATOM Feed exposes forum content under some circumstances.Andreas Fischer2010-03-051-1/+1
|
* Let's remove this warning again, since it for example also works quite well ↵Andreas Fischer2010-01-241-3/+0
| | | | | | with the topic_id. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10435 89ea8834-ac86-4346-8a33-228a782c2dd0
* acl_get() of course requires the forum_id there.Andreas Fischer2010-01-241-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10434 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Feature] Ability to use HTTP authentication in ATOM feeds by passing the ↵Andreas Fischer2010-01-191-0/+9
| | | | | | GET parameter auth=http git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10430 89ea8834-ac86-4346-8a33-228a782c2dd0
* No longer include subforums in forum feed.Andreas Fischer2010-01-121-34/+35
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10405 89ea8834-ac86-4346-8a33-228a782c2dd0
* m_approve array can be emptyAndreas Fischer2010-01-121-2/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10404 89ea8834-ac86-4346-8a33-228a782c2dd0
* Exclude moved topics.Andreas Fischer2010-01-121-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10403 89ea8834-ac86-4346-8a33-228a782c2dd0
* min() is actually pointless there.Andreas Fischer2010-01-121-3/+4
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10402 89ea8834-ac86-4346-8a33-228a782c2dd0
* Actually use the new method.Andreas Fischer2010-01-121-8/+17
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10401 89ea8834-ac86-4346-8a33-228a782c2dd0
* Improve overall feed performanceAndreas Fischer2010-01-121-17/+31
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10400 89ea8834-ac86-4346-8a33-228a782c2dd0
* Make sure ORDER BY is SELECTedAndreas Fischer2010-01-081-2/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10398 89ea8834-ac86-4346-8a33-228a782c2dd0
* We have to prefetch post ids from other tables where possible.Andreas Fischer2010-01-081-26/+92
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10397 89ea8834-ac86-4346-8a33-228a782c2dd0
* #54235Andreas Fischer2009-12-291-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10388 89ea8834-ac86-4346-8a33-228a782c2dd0
* Integrate active topics feed. Some language adjustments and rearrangements.Andreas Fischer2009-12-271-1/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10382 89ea8834-ac86-4346-8a33-228a782c2dd0
* Reduce amount of forums by selecting postable forums only.Andreas Fischer2009-12-251-1/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10381 89ea8834-ac86-4346-8a33-228a782c2dd0