Profiles – Weekly Update 4

Hi Everyone!

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my fourth weekly update regarding how things are going.

Once again, you can find my whole final schedule here: http://www.mertyazicioglu.com/2013/06/25/gsoc-2013-schedule-enhance-profiles-wordpress-org/

As you can see from the schedule, the things I was planning to complete by now was as follows:

July 9th – The codebase for feeding the Enhanced Activity Stream from bbPressbbPress Free, open source software built on top of WordPress for easily creating forums on sites. https://bbpress.org. should be ready and the codebase for feeding the Enhanced Activity Stream from TracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. should be finalized by now.

…and I’m happy to let you know that both are done!

The codebase for feeding the Enhanced Activity Stream is pretty much just a bbPress pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party that hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. to bb_new_post action which triggers when someone posts a new reply toa an existing topic or creates a new one.

The bbPress plugin can be found in the repository: https://gsoc.svn.wordpress.org/2013/merty/bbpress/bb-plugins/new-post-notifier.php

The second task was, as you can see above, to finalize the codebase for feeding Enhanced Activity Stream from Trac. As you might remember from the last week, I wrote 2 Trac plugins for that task: ActivityStreamNotifier and ActivityStreamRepositoryNotifier where the first one fires when a new ticket is added or a comment is added to an existing ticket, and the second one fires when a new commit occurs on the repository being tracked. After reading @nacin‘s comment, I have decided to join those two plugins into a single plugin and drop the part where I was extracting prop’ed usernames from the changeset message. Now the APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. receives the original revision message and decides what to do with it all by itself.

The final version of the Trac plugin can also be found in the repository: https://gsoc.svn.wordpress.org/2013/merty/trac/plugins/ActivityStreamNotifier.py

I will still be making changes on the bbPress plugin in the following week to finalize them.

To sum up, fourth week was also a success and in the next week’s update, I will be presenting the codebase for fetching the Enhanced Activity Stream data (BuddyPress plugin) and the final form of the codebase for feeding the Enhanced Activity Stream from bbPress.

See you next week!

#gsoc, #profiles, #weekly-update