Joomla! Platform Development Google Group

The official discussion list for development of the Joomla Platform. Follow development at: https://github.com/joomla/joomla-platform
  1. Problem with multiple user.php files and JTableUser definition
    Hi everybody,
    I found small problem to instantiate the JUser class if we are inside a
    component which has a user.php table definition inside
    the administrator/components/com_s omething/tables directory.
    Here is what happen:
    We have a small administrator module in which we need the some data of the
  2. Proposal on New MVC Classes and Backward Compatibility
    *In a recent thread in the Platform list (
    [link])
    there was a long discussion about an important pull request in the
    platform. The thrust of this pull request is to make significant changes to
    the MVC implementation in the platform.
  3. Missing JError at JApplication
    Lasts days I decided try use JApplication to personal applications
    development. In my first try I think I found a situation where we could add
    a Exception to JApplication code, and I want confirm here.

    At JApplication.php, line 199 we have:

    $info = JApplicationHelper::getClientI nfo($client, true);

  4. setQuery() method in JDatabase
    In the setQuery() method we have the following code:

    $this->limit = (int) $limit;
    $this->offset = (int) $offset;

    This code ensures we get integers, but we can still get SQL errors if one
    of these values is negative.

    If we prevented negative numbers for these values (with something like the

  5. Plugin class names
    I was working on an application with a plugin with the new mvc and it made
    me wonder if to be consistent with what we are doing elsewhere it makes
    sense to begin those class names with Plugin rather than Plg as we have
    been doing.
    Also, what's the intention with the authentication methods that are in
  6. JApplicationCli and Drush
    Drupal has a fantastic command-line interface called Drush ([link]<[link]>).
    It seems to me that a major use of JApplicationCli in Joomla could be to
    enable a similar functionality. Basically, allow installation, upgrades,
    enabling/disabling of extensions, permission changes and so forth on Joomla
  7. JHttpTransportCurl and ssl?
    Hey guys!
    Is there any way to use the JHttpTransportCurl with ssl?
    Basically I need to set those options:
    curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);
    But I can't seem to figure out how to do it? is this at all possible?
  8. MS SQL Server and JDatabase
    Shortly, I am going to begin working with JDatabase and SQL server. If
    anyone has any advise, it would be appreciated.
    Does the JDatabase solution require an ODBC driver? Or, does it use a
    native SQL Server driver?
    Does anyone knows of a tool that can automate the transformation of MySQL
    DDL to Transact SQL?
  9. 2 JFormField issues
    First, a simple bug in the JFormFieldColor field type. When inserting
    2 or more color fields via XML form definition, the second and
    subsequent fields are unusable. The first works fine, but when a
    color is selected - the color hex is sent to all color fields in the
    form. The second and subsequent color fields will display the
  10. Object oriented component loading - any plan? (link to CMS discussion)
    Hi all, I posted that topic in the CMS mailing list because so far (Joomla
    2.5 and Platform 1.4) component is still managed in the CMS, but as it is
    something that sooner or later will go in the platform, I thought to put a
    reminder here so to not duplicate the topic.
    Everything in components is object oriented, with the exception of the
  11. Joomla Composers
    So, I've been working on a few skeleton repo's to help people
    kickstart their platform apps. The idea is that these are more than
    just examples - they are whole repo's that you'd clone, copy or
    cherry-pick to get started on your own projects, but they are complete
    in their own right to get a feel for how platform apps would be built
  12. Proposal to add quoteDateTime to JDatabaseDriver class
    Hi,
    [I mentioned this a couple of weeks back on the general list and was asked to
    raise it here for platform]
    Would anybody oppose the addition of a quoteDateTime method to the database
    driver class?
    The issue is that not all RDBMS use string literals for date/time values. The
    way things are done currently using getDateFormat (and JDate::toSql accordingly)
  13. JDatabaseFactory Usage
    Am I using the JDatabaseFactory, as intended?
    1. Get an instance of JDatabaseFactory
    $dbFactory = JDatabaseFactory::getInstance( );
    2. Create a database connection (like JFactory::getDatabase(); does now)
    $options = array(
    'driver' => 'mysqli',
    'host' => 'localhost',
    'user' => 'root',
    'password' => 'definitely not root because that would be crazy',
  14. GSoC: Project JAmazonS3 package
    Hello everyone
    I have submitted my project proposal for S3 can be find here<[link]> or
    on google docs<[link]>.
    Waiting for mentors comments.
    Thanks
  15. Com_menu mentypes model (J!2.5.x)
    Hello everyone,
    I think we should allow devs to add custom attributes to metadata.xml that are reflected in the menu they create. I have modified the model to show what I mean. The code is here [link]. Let me know if I am thinking right!
    -Sanjeev
  16. Simplified MVC.
    Just wanting to draw everyone's attention to this important pull request:
    [link]
    The key features are that JModel, JView and JController are now
    interfaces. This would normally cause a backward compatibility
    problem but the existing MVC classes have been moved to the /legacy/
  17. GSoC - JGoogle Package
    Hello all, I'm a student and open source developer.
    You can find my GSoC proposal over at Melange<[link]>.
    I'm suggesting that Joomla add a JGoogle package which supports a number of
    common Google APIs including Google Maps, Google Analytics, Google
  18. JGoogle Package Joomla! Project Idea
    Hi All,
    Considering about giving new experience to Joomla users, I've suggested
    some new Google APIs to integrate with Joomla! platform.
    Link for my project idea :
    [link]

    I like to hear suggestions.
    Thank you!
    Buuddhima.

  19. GSOC - JEDI Joomla Extension Directory
    Hello,
    I just applied to the GSOC for the JEDI Project submitted by Daniel Dimitrov.
    As I had to modify the application template, I cannot link to it, because of my contact informations.
    But here is the pdf containing my researches and the proposal.
    [link]
  20. [GSoC 2012] Joomla Translation
    Hi,

    I would like just to introduce myself and show you my proposal.

    My name is Lucas, I am student of computer engineer at UNICAMP
    (Brazil) in double-diploma program with Ecole Centrale de Nantes
    (France). Last year I participated in GSoC and I was involved in a
    translation project in the Eclipse community. Recently I started

  21. Project JXMLRPC Package GSoC proposa
    Hi Devs,
    I came up with an idea to implement an XMLRPC library for the Joomla
    Platform.
    I have written a draft proposal [1] explaining the project in detail.
    I am waiting for some feedback from the community before i submit the final
    proposal.
    Please feel free to share your thoughts.
    [1]
    [link]
  22. Official Announcement - Pull Tester is back
    So a while ago the Pull Tester mysteriously disappeared from the build
    server, causing it to stop working. Due to a lack of time on my part it
    took a while to bring it back. I took the opportunity to take advantage of
    some of the fine work that Nikolai Plath has done in making significant
    improvements to the code and building in features that I had had on my mind
  23. Thanks to the Platform Team
    I just wanted to say thanks to the Platform Team - specifically to Rouven,
    Andrew, Louis, Ian, and Christoper for your work on github handling the
    pull requests.
    My recent experience helping with the Jerror/Exception effort was perhaps
    the best experience I have had contributing to the Joomla project because
  24. GSOC - a Library to compile and compress Javascript and CSS files
    Hi All,
    I have submitted my proposal[1] for the idea[2] of implementing a Library
    to compile and compress Javascript and CSS files. And I have implemented a
    prototype library with a number of working functions[3]. I am waiting for
    your feedback. Thank you.
    [1]
    [link]
  25. GSoC - JOpenStreetMap
    Hi,

    I've written a proposal for JOpenStreetMap component. I'd like to hear
    your suggestions.

    [link]

    Thanks in advance.
    Cheers.

  26. Summer of code projects -- feedback wanted
    As you probably have noticed, the applicants for Google Summer of Code
    platform projects are posting on list. This is a really important part of
    the process since they are planning their projects and input from
    experienced Joomla developers can help them make their projects better
    (input can be really specific about code or architeture or just practical
  27. JTable::store changes proposal
    Hi all,
    during some tests for PostgreSQL integration inside CMS I've found
    some problems that lead to JTable.
    Less important thing is that this class contain call to deprecated
    JException class.
    Now the big problem.
    Inside these three files, called when installing component inside CMS
    libraries/joomla/installer/ada pters/component.php
  28. My Project Proposal : Social Package Project
    *My project proposal for the project of Social Package is Attached in this
    post.
    *
  29. Routing JApplicationWeb
    Hey,
    As a step in learning Joomla Platform, I was trying to understand how the
    router would work in JApplicationWeb. I am a little confused about the
    following 2 things:
    I've noticed that in the old files, there was a method *route* in
    JApplication which was doing some of the routing part. Now the route should
  30. GSoc Proposal - JMediawikiPackage
    Hi devs,
    I have written a draft proposal [1] on JMediawiki Package Idea [2] for
    Joomla Platfrom.
    I look forward your feedback and suggestions.
    [1]
    [link]
    [2]
    [link]
  31. GSoC application proposals
    Hello,
    I have written 2 proposals:
    - JSocial Package: [link]
    - JCloudStorage Package: [link]
    I would appreciate your feedback.
    Thanks,
    Diana Prajescu
  32. GSoC - Web Service API for directory-like applications
    Hey,
    Here [1] is my proposal for Google Summer of Code. I look forward to hear
    your thoughts and suggestions.
    [1] -
    [link]
  33. Exceptions and Errors: what are they used FOR
    Part of the problem of following a discussion on changes to JException and
    JError is, I believe, a difference in viewpoint.

    From the point of view of developing platform code, when an exception is to
    be thrown that's it, end of the line, abort everything and die. Provide
    enough information in the exception for debugging and DIE.

  34. JInputFiles - missed definition of source for read data
    Today I try to use JInputFiles class and realize that must define source too
    ex new JInputFiles( $_FILES )
    othervise it handle _REQUEST as a source, because class inherit JInput
    constructor.
    Is this right?
  35. How to parse an xml
    What is the best way to parse and xml file returned from an http request?
    Should i use php simplexml element?
  36. Platform update Mar 26-27
    Just another quick update on platform stuff.
    12.1 will be release on the 18th April (roughly America time). We'll
    stop reviewing the pull requests and switch into release mode the day
    before so if you have things you want to have considered for 12.1, now
    is the time to get those in or make sure any existing pulls merge
  37. JString::parse_url
    Hey,
    Trying to fix one bug for JString::parse_url [1] , I have found two ways to do it. One would be with Regex and the other one would be by adding a small tweak to the existing code. I think the second one would be better but I would be glad to hear your thoughts too.
    Moreover, I have added in some unit tests for that method. I was hoping that maybe you can take a look over them too.
  38. Build.joomla.com discrepency
    According to: [link]
    There are 2295 tests, 0 failures, and 0 skipped
    According to: [link]
    There are 3233 tests 0 failures, 659 incomplete, and 279 skipped
    So which number is currently correct?
  39. Media list Form field
    Hello!
    I have created so called media list form field for my project. Is
    anybody interested in joining it to Joomla! platform?
    I inspired from JoomlaWorks K2 items field.
    What it does, if you click on the button modal com_media images view
    opens like for media field.
    Then if you click on image and insert buton image name is inserted in
  40. Should I merge my git feature branches from master or staging ?
    This is a general question about how to proceed with my branches
    before making a pull request..

    So, before making a pull request you should merge (or rebase) your
    branch with the current code from the Joomla! repository.

    The question is if your should merge the master or the staging branch.

  41. DocBook Editor
    What is recommended (or what are folks using) for DocBook Editors?
    [link]
    Thanks!
  42. JText Platform Effort
    Before I get started on continuing Andrew's work with JText
    [link],
    I wanted to ask a couple of questions.
    First - will we replace all JText messages? (Meaning beyond exceptions, so
    including JLog statements?)
    Second - should we keep track of the language strings removed for a later
  43. Creating branches in Github
    Hi devs,
    I,m new to Joomla Platform and Github.
    When contributing to the platform do i want to create a new branch for
    every single change.
    I,m working on improving the existing JGithub packages and implementing new
    functions.
    Do i want to create new branches for each function i create when making a
  44. JNode and JTree
    Hi folks,
    these pull requests are open for a really long time now and I'd like to
    ask the team to process them.
    [link]
    [link]
    There are two possibilities with these two classes:
    1. We simply accept these pull requests and deprecate those two classes,
  45. Platform Repositories
    Hi folks,
    why do we have a second (outdated) repository of Joomla in Mercury here?
    [link]
    Would it be possible to delete this in order to prevent any confusions?
    Or are there special reasons to keep this around?
    Hannes