lp:~m-baert/planet-drupal/planet_split

Created by Rocky Road and last modified

Planet code has been here split into as many files as functions, for better history tracking.
Original commit dates are specified in commit messages.

Get this branch:
bzr branch lp:~m-baert/planet-drupal/planet_split
Only Rocky Road can upload to this branch. If you are Rocky Road please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Rocky Road
Project:
Planet-drupal
Status:
Experimental

Recent revisions

14. By David Giard

[2009-03-08 15:00:05 -0400] D6 port: generating RSS feeds

13. By swe3tdave

[2009-03-07 22:14:07 -0500] Also added an automatic refresh when an admin add a feed

TODO: SubFunctions to simplify planet_user_feeds() and _planet_settings().

12. By Michael Lustfield

[2009-03-04 10:23:51 -0600] Changing some spelling/words

11. By swe3tdave

[2009-03-03 13:55:42 -0500]
* Added an automatic refresh when a user add a feed, removing the need to wait for the next cron (planet_user_feeds()).

* Removed Refresh and Freeze for users since they dont have the permissions (planet_user_feeds()).

* When modifying a feed, if the user is not in the selected author role, it will be added to the authors options (planet_feed_form()).

10. By swe3tdave

[2009-02-28 22:00:14 -0500] My latest changes as of Feb. 28, 2009.

TODO: need a way to selectively hide a feed item.

BUG: user refresh is not working

NEW FEATURE: My Account->Planet Feeds
NEW FEATURE: You can select the filter format in planet settings.
NEW FEATURE: When you delete a feed, all the items and nodes that where comming from that feed are also deleted.. (TODO: i should make this an option...)
NEW FEATURE: Planet menu going to Planet Page.
                      *****
I added below detailled description of the changes.

-- RockyRoad.

                      *****

== D6 port ==
* upgraded hook_perm()
  - planet.module
  - planet_perm()

* replaced TRUNCATE sql instructions with call to drupal_uninstall_schema()
  - planet_uninstall()

* removed sivaji's TODO comments
  - planet.module

* removed PLANET_ADMIN constant

== FEATURES ==

* added 'Delete all' processing
  - _planet_settings()
  - planet_multiple_delete_confirm()
  - planet_multiple_delete_confirm_submit()

* added planet_user_feeds() menu callback
  - planet_menu() // (user/%user/planet)

* replaced node type with user setting 'planet_filter_formats'
  - planet_page_last()
  - planet_parse_items()
  - planet_settings_form()

* removed planet_auto_publish variable
  - planet.install
  - planet_parse_items()

* removed planet_queue()
  - planet_queue()
  - planet_feed_form()
  - planet_help()

* removed planet_to_blog conversion
  - planet_menu()
  - planet_convert_to_blog()

== CHANGES ==
* added a new optional parameter $user, to planet_feed_form()
  - planet_feed_form()

== CLEANUP ==
* Removed unused caching features
  - planet_menu()

== MISC ==
* Commented instructions
  - planet_parse_xml()

9. By sivaji

[2009-02-28 21:54:23 -0500] Initial port to 6.x by sivaji (http://drupal.org/user/328724)
                      *****
I added below detailled description of the changes.

-- RockyRoad.

                      *****
== D6 PORT ==

* TODO entries
  - planet.module

* Upgraded to D6 schema API
  - planet.install

* upgrade to new menu API
  - planet_menu() // added long TODO comment

* New form_state argument to forms
  - planet_settings_form()

* using hook_access new definition
  - planet_access()

* conform to new hook_help() signature
  - planet_help()

* conform to new url() signature
  - planet_feed()

* added TODO about l() invocation
  - planet_user()

* changed submit button label
  - planet_feed_form()

* removed t() call from watchdog argument
  - planet_refresh()

== FEATURES ==
* extended feeds table query
  - _planet_settings()

== CHANGES ==
* Commented out theme_pager() and theme_xml_icon() calls
  - planet_page_last()

== CODING STYLE ==
* added @file doc section.
  - planet.module

* Removed closing php tag at the end of mudule
  - planet_form() // last function in file

* Array formatting
  - planet_feed_form()

* Spaces around parenthesis, operators

* removed spaces on constant side of concat operator
  - planet_refresh()
  - planet_parse_items()

== MISC ==
* updated module version information
  - planet.info

* CVS Id reset
  - planet.install

* CVS Id added
  - planet.module

8. By swe3tdave

[2009-02-28 21:52:51 -0500] initial upload of planet-5.x-1.2.tar.gz

7. By daryl

[2007-06-15 19:28:29 +0200] updating planet.module to allow node/ urls to redirect to actual link; also includes admin form to toggle this option

                      *****
I added below detailled description of the changes.

-- RockyRoad.
                      *****
== FEATURES ==
* made variable 'planet_redirect_page' configurable
  - _planet_settings()
  - planet_settings_form()
* Implemented hook_view() : Display a node
  - planet_view() (new)
  - planet.module
* Made strings translatable (i18n)
     - 'planet_author_roles' : planet_settings_form()

6. By daryl

[2007-05-30 05:22:01 +0200] updates including fix for inability to edit feed and failure to create planet items because of empty auto_publish string

                      *****
I added below detailled description of the changes.

-- RockyRoad.
                      *****
== FIXES ==
* added link field to DB Schema
  - planet.install
* fid value in form['feeds']
  - planet_feed_form()
* completed auto_publish testing
  - planet_parse_items()

== FEATURES ==
* enabled revisions in planet nodes
  - planet_parse_items()

== MISC ==
* CVS Id updated
  - planet.install
  - planet.info

* debugging instructions (commented out)
  - planet_parse_items()

* TODO comment (planet node format id)
  - planet_parse_items()

5. By daryl

[2007-05-10 22:27:41 +0200] checking in files for drupal 5.1
                      *****
I added below detailled description of the changes.

While doing this, I suspected a couple of bugs, but left the code as is,
apart from file splitting by function. I noted them elsewhere for future check,
before reporting and fixing.

-- RockyRoad.
                      *****
== D5 PORT ==
* changed $_POST['edit'] to $_POST
  - _planet_settings()
* completed Planet node info
  - planet_node_info()

== FIXES ==
* Database abstraction layer: added curly braces around table names
  - _planet_settings()
* fixed invocation of planet_replace_entities
  - planet_parse_items()

== REFACTORING ==
* form invocation through drupal_get_form()
  - _planet_settings(), planet_feed_form()
* extracted planet_setting_form()
  - _planet_settings()
  - planet_settings_form()
  - planet.module

== FEATURES ==
* added 'administer nodes' permission
  - planet_access()
* added link field to planet item node
  - planet_load()
  - planet_parse_items()
* added 'load' action type
  - planet_user()

== CHANGES ==
* feeds listing: changed GROUP BY clause and aggregated field
  - _planet_settings()
* removed 'settings' form invocation
  - planet_feed_form()
* moved 'queue' in its own fieldset
  - planet_feed_form()
* removed ul closing tag
  - planet_help()
* renamed node to "Planet Entry"
  - planet_node_info()
* set node format to 4 instead of 3
  - planet_parse_items()
* renamed (in user interface) "Planet entry" to "Blog"
  - planet_user()

== CLEANUP ==
* removed unused (non-hook) function
  - planet_node_name()
  - planet.module

== MISC ==
* removed credits to aggregator2 module
  - CREDITS
* CVS Id updated
  - planet.install

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers