Development

{5} Assigned, Active Tickets by Owner (Full Description)

You must first sign up to be able to contribute.

{5} Assigned, Active Tickets by Owner (Full Description) (15 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

Carl.Vondrick

Ticket Summary Component Milestone Type Created
Description
#2757 sfLucene : highlight errors with utf8 accentuated chars when escaping is on sfLucenePlugin None defect 01/03/08

To fix it:

in the partial app/frontend/modules/sfLucene/templates/_modelResult:

(You should also modify the partial _actionResult)

<?php $query = html_entity_decode($sf_data->getRaw('query'), ENT_NOQUOTES, sfConfig::get('sf_charset')) ?>

<?php echo link_to(highlight_keywords($result->getInternalTitle(ESC_RAW), $query, sfConfig::get('app_lucene_result_highlighter', '<strong class="highlight">%s</strong>')), add_highlight_qs($result->getInternalUri(), $query)) ?> (<?php echo $result->getScore() ?> %)
<p><?php echo highlight_result_text(__($result->getInternalDescription(ESC_RAW)), $query, sfConfig::get('app_lucene_result_size', 200), sfConfig::get('app_lucene_result_highlighter', '<strong class="highlight">%s</strong>')) ?></p>

#2652 Provide sub-framework for permissions in sfLucene sfLucenePlugin None enhancement 12/12/07

From: "Luciano A. Andrade" <andrade.luciano@gmail.com> To: symfony-users@googlegroups.com Date: 11/16/2007 4:29 am

 

Hello everyone i was looking to the sfLucenePlugin and the custom indexer sfSimpleCMSIndexer, it looks ok, but i like to provide a search for the no published pages, this will means that all the SimpleCMS objects get indexed but they get removed from the search if they get found by a anonymous user and appear if they found by an administrator (or similar). Can any one sugest a method to accomplish that. At first i think i add the state (published or not) and force the state (to published) on the not administrators, but this looks quite simplified and if i use a more complex control over permissions is not good enough.


#3082 sfValidatorDate should acknowledge date_format option with array values validation None enhancement 03/10/08

Hi!

In the class sfValidatorDate

class sfValidatorDate extends sfValidator
{
  /**
   * Configures the current validator.
   *
   * Available options:
   *
   *  * date_format:       A regular expression that dates must match
   *  * with_time:         true if the validator must return a time, false otherwise
   *  * date_output:       The format to use when returning a date (default to Y-m-d)
   *  * datetime_output:   The format to use when returning a date with time (default to Y-m-d H:i:s)
   *  * date_format_error: The date format to use when displaying an error for a bad_format error
   *
   * Available error codes:
   *
   *  * bad_format
   *
   * @see sfValidator
   */
  protected function configure($options = array(), $messages = array())
  {
    $this->addMessage('bad_format', '"%value%" does not match the date format (%date_format%).');

    $this->addOption('date_format', null);
    $this->addOption('with_time', false);
    $this->addOption('date_output', 'Y-m-d');
    $this->addOption('datetime_output', 'Y-m-d H:i:s');
    $this->addOption('date_format_error');
  }

  /**
   * @see sfValidator
   */
  protected function doClean($value)
  {
    if (is_array($value))
    {
      $clean = $this->convertDateArrayToTimestamp($value);
    }
    else if ($regex = $this->getOption('date_format'))
    {
      if (!preg_match($regex, $value, $match))
      {
        throw new sfValidatorError($this, 'bad_format', array('value' => $value, 'date_format' => $this->getOption('date_format_error') ? $this->getOption('date_format_error') : $this->getOption('date_format')));
      }

in the code part:

 protected function doClean($value)
  {
    if (is_array($value))
    {
      $clean = $this->convertDateArrayToTimestamp($value);
    }

I suggest to add the validation for "date_format" like it is in the lower line:

    $regex = $this->getOption('date_format');
    if (!preg_match($regex, $clean, $match))

This is useful if you have a different date input form, like YYYY-mm or just: YYYY. In this case you can validate if it's correct.


FabianLange

Ticket Summary Component Milestone Type Created
Description
#3169 Askeed day 13, invalid fixtures askeet None documentation 03/20/08

there are proplems with the identifieers and duplicate data in these fixtures:

QuestionTag:
  t1: { question_id: q1, user_id: fabien, tag: relatives }
  t2: { question_id: q1, user_id: fabien, tag: girl }
  t4: { question_id: q1, user_id: francois, tag: activities }
  t6: { question_id: q2, user_id: francois, tag: 'real life' }
  t5: { question_id: q2, user_id: fabien, tag: relatives }
  t5: { question_id: q2, user_id: fabien, tag: present }
  t6: { question_id: q2, user_id: francois, tag: 'real life' }
  t7: { question_id: q3, user_id: francois, tag: blog }
  t8: { question_id: q3, user_id: francois, tag: activities }

Todo: Check if any of those is required by a later example and correct it.


#3561 Spanish translation do sfSimpleForumPlugin sfSimpleForumPlugin enhancement 05/16/08

This is my first contribution to symfony.


Leon.van.der.Ree

Ticket Summary Component Milestone Type Created
Description
#3456 Saving edit-pages need some testing and enhancements sfExtjsThemePlugin plugins task 05/02/08

When you save the data from your edit-page the data gets send to the server by a ajax-request which is OK. however it can use some further testing.

- I think things can go wrong you leave drop-down (non-required) foreign-keys empty.

- When saving without filling all required fields (of all tab-pages), it would be nice if you would jump to the first tab-page which has a empty-required field.

- when you successfully save, you get back the primary-key of the saved item. This is used to set the primary key for new-items, which works out OK. However when you click in your grid from the list-view on Add-New it will try to open the same tab-panel again, even though it now has a new id. Very strange...

- Besides having an Id of the primary key, the edit-panel should also have a tag for its module-name, since you probably want your tabpanel to be able to open multiple items from different modules. (else you are not able to open both city-id-1 and country-id-1)

Maybe more?


#3432 rewrite grids in list-pages in same way as form-panels in edit-pages sfExtjsThemePlugin plugins enhancement 04/29/08

To improve the maintainability of the generated code, the list-pages can need a rewrite in the same way as the edit-page have been written; by extending base classes.

For more info about this see: http://blog.extjs.eu/know-how/writing-a-big-application-in-ext/


Pascal.Borreli

Ticket Summary Component Milestone Type Created
Description
#2679 Documentation Update other None enhancement 12/16/07

Add the last line show here to Chapter 10 forms, listing 10-27 to make it clearer.

converters:         # Converters to apply
  htmlentities:     [first_name, comments]
  htmlspecialchars: [comments]
  my_function:      [comments]  # add your custom functions to config/config.php



Whosrodney

Ticket Summary Component Milestone Type Created
Description
#3388 [PATCH] auto_link_text() should give option to truncate urls helpers enhancement 04/23/08

It would be nice if auto_link_text() had an option to truncate the text portion of a url after a center number of characters (i.e. http://www.google.com/search?q=symfony+rocks&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enUS263US263 would become http://www.google.com/search...).


davedash

Ticket Summary Component Milestone Type Created
Description
#1707 Enhanced documentation regarding sfGuard's installation sfGuardPlugin documentation 04/23/07

It would be nice if the documentation on that page could be made more verbose as to where the changes in the .yml files need to be made. Only at the top it refers to backend and frontend, but not further down, causing confusion and possible incorrect setups, read: developer time wasted.


dwhittle

Ticket Summary Component Milestone Type Created
Description
#1565 [PATCH] Text helper works wrong with Unicode helpers defect 03/13/07

truncate_text and excerpt_text produce garbaged output when used utf-8 strings. The reason is that these helpers are not using mbstring extension - in fact, non-multibyte safe functions like strlen are used. The appropriate patch is attached.


jamesGlinn

Ticket Summary Component Milestone Type Created
Description
#2818 sfFileCache doesn't expire cache without explicit call to setLifeTime() cache None defect 01/21/08

The sfFileCache::initalize() method accepts a lifeTime parameter, but doesn't correctly set the refreshTime property. This causes the cache to never be invalidated, regardless of the lifeTime value set when calling the initialize() method.

A workaround is to explicitly call setLifeTime() itself.


phpleo

Ticket Summary Component Milestone Type Created
Description
#2810 detectModuleAndAction method in the sfCssTabs class plugins None enhancement 01/20/08

In the "detectModuleAndAction()" method of the "sfCssTabs" class (that extend the "sfWebRequest" class, the "getPathInnfo()" method is used to set the "actualModule" and the "actualAction" variable. I think it's better to use the "getModuleName()" and "getActionName()" of "sfContext" class.


temsse79

Ticket Summary Component Milestone Type Created
Description
#2304 [sfDomPDFPlugin][PATCH] doesn't seem to work right sfDomPDFPlugin None defect 09/30/07

Hello,

perhaps it is my fault, and I shouldn't create a ticket. But perhaps something isnt right with this plugin. I can't install the sfDomPDFPlugin properly.

I used this instructions: http://trac.symfony-project.com/wiki/sfDomPDFPlugin, and invoked a

symfony plugin-install http://plugins.symfony-project.com/sfDomPDFPlugin

So far so good. But when I execute the example at the line

$q = new sfDomPDFPlugin($invoice);

my sf throws this error:

Fatal error: Class 'sfDomPDFPlugin' not found in /vserver/xxxxx/apps/samt/apps/frontend/modules/validationReq uest/actions/actions.class.php on line 265

What is the problem? Should the classes be includes automatically? I did a clear-cache but without result. Do i need to set the include_path manually? If yes, this needs to be stated in the wiki.


trivoallan

Ticket Summary Component Milestone Type Created
Description
#1682 [sfPropelActAsNestedSetBehavior][PATCH] add criteria option sfPropelActAsNestedSetBehaviorPlugin defect 04/18/07

please add Criteria option to (get|delete|count|has)(Descendants|Children) etc. thanks


Note: See TracReports for help on using and creating reports.