[Discuss] Google & phpBB Summer of Code Participants Ann...

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Get Involved
User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29251
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

[Discuss] Google & phpBB Summer of Code Participants Ann...

Post by Marshalrusty » Mon Apr 23, 2012 7:17 pm

Please use this topic to discuss the "Google & phpBB Summer of Code Participants Announced" announcement

Here is a list of the RFCs and Tickets related to the accepted proposals. Please discuss the implementation of the proposals in those locations, rather than here.
Search Backend Refactoring - RFC | Ticket
Attachment Improvements - RFC | Ticket
Auth Plugin Refactoring & User Integration - RFC | Ticket
Post Revisions/Edit Log - RFC | Ticket
Last edited by imkingdavid on Tue Apr 24, 2012 2:37 pm, edited 2 times in total.
Reason: Added links to RFCs and Tickets for respective proposals.
Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs

User avatar
callumacrae
Former Team Member
Posts: 2662
Joined: Tue Feb 12, 2008 12:28 pm
Location: London, UK
Name: Callum Macrae
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by callumacrae » Mon Apr 23, 2012 7:24 pm

Congrats, guys!
macr.ae = my website. you probably won't like it.
Proud user ofProud user of

User avatar
naderman
Consultant
Consultant
Posts: 3735
Joined: Fri Aug 01, 2003 10:06 pm
Location: Berlin, Germany
Name: Nils Adermann
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by naderman » Mon Apr 23, 2012 7:31 pm

Congratulations indeed! Looking forward to working with you guys. We've had a lot of interested students join us on IRC and contribute patches recently. I really hope you will all stay around to work on phpBB!
I appreciate gifts from my Amazon wishlist.
naderman.de twitter: @naderman

User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by drathbun » Mon Apr 23, 2012 8:03 pm

Post Revisions/Edit Log by David King, United States
David will implement a post revision system, enabling moderators to view detailed differences between edits made to a post with the ability to revert. This feature will have an option to be disabled, and can be further configured via the ACP to enable revision pruning.
This is an excellent feature, and in fact one that I've written for *mumble-older-version-of-phpbb-mumble* and am about to go live with. I would suggest to the coder, however, that a separate table is not required. In my implementation I create additional rows in the posts_text table, and store a tag called post_version that differentiates the various versions. The current version is always 0, so most of the phpBB code that retrieves post information simply adds "and post_version = 0" to the SQL code. By including this in the index performance does not suffer. Every edit for a post becomes an insert, with pseudo-code as follows:

Code: Select all

Update posts_text set post_version = post_version + 1;
Insert new post_text values;
The moderator option to review post versions include HTML "diff" code borrowed from Wordpress which seems to work similar to the library linked in the proposal linked in the announcement topic. A moderator can restore an older version of a post edit, but so can the owner of the post. A moderator can also lock a post to prevent further editing.

It's an excellent feature / concept, and I'm glad to see it coming about. It can help board moderators combat spam (as mentioned in the proposal) but it can also help when board users post a question, get their answer, and then go back and edit their original post to "thanks" or something that completely destroys the flow of the conversation.

I can also envision it being very powerful when used for legal investigations. Since nothing is ever edited (or deleted) only stored as versions, we can recreate the entire process that it took to get to a particular post. By including a "soft delete" feature you have a fairly bullet-proof legal archive of post activity.
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by imkingdavid » Mon Apr 23, 2012 8:15 pm

drathbun, thanks for the comments on the post revisions feature. I will consider what you said about using the existing posts table instead of adding a new revisions table, but there are a couple of issues that I can foresee with the fact that each revision would be then treated as a different post by the software. For instance, let's say that a moderator locks editing to the current revision of the post, but the post is then switched to a different revision. Because it is stored as a separate post, this revision is not locked and can be edited yet again. With the way I propose, only the information that is specific to each revision is stored separately, and the rest is globally applied to any revision of that post. Of course, to fix that with your solution, it would simply mean updating all posts that are revisions of a post whenever something is done to that post, such as locking it from being edited.

Anyway, to all, from now on please use this topic for discussion of the GSoC/PSoC program, and discuss the actual proposals and their implementations on the Area51 forum in the respective RFCs or in the Tracker in the respective tickets instead of here.

EDIT: To be helpful, I edited the first post of this topic with links to the tickets and RFCs for each of the proposals. Note that Joas's proposal is simply to finish up some RFCs for 3.1, so you can simply browse the 3.1 RFC forum on Area51 if you wish to provide input on those.
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by Pony99CA » Mon Apr 23, 2012 8:59 pm

I certainly applaud this action to help enhance and improve phpBB. However, I also hope that time spent mentoring will have little or no impact on phpBB 3.1, which is already (arguably) late. In other words, I hope that mentors' work on phpBB 3.1 is already done or that they're giving up their personal time to mentor instead of time that they would have spent working on phpBB 3.1 (not that anybody can really track that). ;)

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by drathbun » Mon Apr 23, 2012 9:26 pm

imkingdavid wrote:EDIT: To be helpful, I edited the first post of this topic with links to the tickets and RFCs for each of the proposals.
Thanks
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image

CaNNon_
Registered User
Posts: 392
Joined: Wed Apr 29, 2009 2:07 am

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by CaNNon_ » Mon Apr 23, 2012 9:59 pm

Good luck with the projects they all look interesting.

bjongen
Registered User
Posts: 23
Joined: Fri Jan 28, 2005 9:58 am
Name: Bart Jongen
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by bjongen » Tue Apr 24, 2012 5:48 am

Congratulations and good luck! It's gonna be a good summer! :D
Chris Rea: the man, the voice, the guitar --> http://www.chrisrea.nl

User avatar
/a3
Registered User
Posts: 411
Joined: Sun Sep 19, 2010 9:08 am
Location: /dev/random

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by /a3 » Tue Apr 24, 2012 7:41 am

PostgreSQL/Sphinx indexing, better attachments, auth plugins? And not to mention the existing RFCs and post revisions? Sounds pretty exciting to me.

Good luck to all involved. :cool:
$ git commit -m "YOLO"

SuperFedya
Registered User
Posts: 248
Joined: Sun Jul 14, 2002 9:14 pm
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by SuperFedya » Fri May 04, 2012 12:00 am


User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by Erik Frèrejean » Fri May 04, 2012 9:22 am

Most likely because there is already a Sphinx search backed for phpBB (this board runs it and the plugin can be found on GitHub, which then easily can be re-factored to work with the new system, AFAIK there isn't a Solr plugin and writing search plugins is outside the scope of that project.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)

kickball365
Registered User
Posts: 101
Joined: Thu Jul 13, 2006 2:48 am
Contact:

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by kickball365 » Tue May 08, 2012 4:11 am

Wow, this is going to be great to see implemented! GOOD LUCK and KICK ASS! While it may be approaching spring/summer we're already looking forward to the Fall for the next release (hopeful!).

K365

User avatar
Techie-Micheal
Security Consultant
Posts: 19511
Joined: Sun Oct 14, 2001 12:11 am
Location: In your servers

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by Techie-Micheal » Fri May 11, 2012 12:15 am

drathbun wrote:...

Code: Select all

Update posts_text set post_version = post_version + 1;
Insert new post_text values;
...
Keywords all-caps please. :( :P
Proven Offensive Security Expertise. OSCP - GXPN

Jabhi
Registered User
Posts: 572
Joined: Mon Feb 27, 2012 6:12 am

Re: [Discuss] Google & phpBB Summer of Code Participants Ann

Post by Jabhi » Fri May 18, 2012 11:02 am

Congrats and happy coding....
Go phpBB go... Respected : Developers, Supporters.

Post Reply

Return to “phpBB Discussion”