|
1.51 (+2 -2 lines) |
04/15/2008 01:06 AM |
Chuck Hagenbuch chuck |
- Use .html.php for view templates (or whatever format is appropriate, like .xml.php)
- simplify templates directory depth |
|
1.50 (+2 -2 lines) |
01/02/2008 06:13 AM |
Jan Schneider jan |
Happy New Year |
|
1.49 (+2 -1 lines) |
11/26/2007 03:33 AM |
Duck duck |
Include files missed by autoloader. |
|
1.48 (+8 -13 lines) |
11/23/2007 09:35 PM |
Duck duck |
First optimization step reducing the number of queries and simplify query types:
- use just one simple query in getPolls() as retrieving polls ID separated is not needed and choices are retrieved by getVotes()
- track choice count on vote instead of having a join query to get the choices count
- cannot find any usage of poll_results_to so remove it
- use div and CSS insted of requesting the server for the pixel.php colored image
- add a dedicated and cached get poll function (getPoll still is called when lisitng polls several times for every poll)
- make getVotes() statis as we get them in the poll list then again later when chekig individual poll actions in isEditabe()
- remove settings the group permission. poll_group was droped last year so the cast to set the group permission never occurs
- use scry_voted cookie even to reduce DB access in hasVoted()
Permissions
- Avoid permission check overhead for common poll show/read task by do not set the permission of every poll as default permission on poll creation time. Create the default permission only when you actually pass to the permission editing form. Check the default permissions in the Scry::hasPermission function for non existing permissions.
Demographics
- Added demographics.php config file to define demographics groups
- Added hook to detect user demographics group belonging
- Add a drop down to which display between demographics groups in poll view
Others changes:
- spited read support in sql driver
- template -> view
- php5 constants and function definitions
- replace deprecated is_a with interface of
- autoload |
|
1.47 (+2 -2 lines) |
01/02/2007 07:48 AM |
Jan Schneider jan |
Happy New Year |
|
1.46 (+5 -3 lines) |
01/01/2007 07:41 PM |
Jan Schneider jan |
Assign copyright to The Horde Project for those copyright holders that already agreed to it. |
|
1.45 (+17 -7 lines) |
11/18/2006 01:58 AM |
Ben Klang bklang |
* Standardized poll management links
* Changed $scry->isVotable() to accept a poll_id for API consistency
* Remove need to pass $votes to $scry->isEditable()
* Only allow group to be set on poll creation. Further permissions editing will be done with a new UI |
|
1.44 (+13 -11 lines) |
11/17/2006 01:22 AM |
Ben Klang bklang |
* Implement per-poll permissions
* Scry::isEditable() no longer returns true if the poll is closed
* Drop storage of the poll group in the SQL driver
ToDo: Allow existing polls' permissions to be edited by users with PERMS_EDIT. Probably will reuse Perms_UI if possible. |
|
1.43 (+7 -9 lines) |
04/09/2006 08:02 PM |
Chuck Hagenbuch chuck |
Remove unnecessary references and Horde_Form::singleton calls. |
|
1.42 (+3 -3 lines) |
01/22/2006 11:23 PM |
Chuck Hagenbuch chuck |
Fix start/end dates.
Submitted by: Roel Gloudemans <roel@gloudemans.info> |
|
1.41 (+2 -2 lines) |
01/01/2006 04:11 PM |
Jan Schneider jan |
Happy new year\! |
|
1.40 (+3 -3 lines) |
08/24/2005 01:16 AM |
Matt Selsky selsky |
Use double-quotes. |
|
1.39 (+2 -2 lines) |
06/12/2005 11:04 PM |
Matt Selsky selsky |
Add/remove spaces. |
|
1.38 (+2 -4 lines) |
05/22/2005 05:26 PM |
Chuck Hagenbuch chuck |
just check validate |
|
1.37 (+2 -2 lines) |
01/03/2005 09:35 AM |
Jan Schneider jan |
Happy New Year |
|
1.36 (+2 -2 lines) |
11/03/2004 03:59 PM |
Chuck Hagenbuch chuck |
Use new menus. |
|
1.35 (+2 -2 lines) |
10/18/2004 08:46 PM |
Chuck Hagenbuch chuck |
Registry::getParam() -> Registry::get(). |
|
1.34 (+2 -2 lines) |
09/24/2004 04:30 PM |
Chuck Hagenbuch chuck |
More Location: fixes. |
|
1.33 (+4 -4 lines) |
09/24/2004 10:52 AM |
Chuck Hagenbuch chuck |
Fix redirect full urls. |
|
1.32 (+2 -1 lines) |
08/30/2004 05:17 AM |
mdjukic |
- Don't include entire lib/base.php if not needed, eg. in Blocks no need for Menu/Help etc.
- Add ability to select to display always the latest Poll, based on idea from Adrian Silaghi <adi@tvr.ro> |
|
1.31 (+3 -3 lines) |
04/07/2004 10:43 AM |
Chuck Hagenbuch chuck |
No more HORDE_LIBS. |
|
1.30 (+3 -2 lines) |
02/26/2004 08:02 AM |
eraserhd |
* Use Variables::getDefaultVariables() instead of Horde_Form::getDefaultVars()
* Delete Horde_Form::getDefaultVars()
* Make sure that appropriate files require 'Horde/Variables.php' |
|
1.29 (+10 -10 lines) |
02/25/2004 11:19 PM |
eraserhd |
* Delete Horde_Form_Vars::, use Variables:: instead.
* Delete Horde_Form_Renderer_rows::, was only used by Hermes and depends on
Horde_Form_Vars:: cruft. |
|
1.28 (+3 -3 lines) |
02/09/2004 09:41 AM |
mdjukic |
fix monthdayyear format_in |
|
1.27 (+2 -2 lines) |
01/17/2004 05:57 PM |
Jan Schneider jan |
All footers look the same, so why not use only one. |
|
1.26 (+2 -2 lines) |
01/13/2004 03:46 PM |
mdjukic |
fix horde_form paths |
|
1.25 (+2 -2 lines) |
01/01/2004 10:16 AM |
Jan Schneider jan |
Happy new year everyone. |
|
1.24 (+7 -1 lines) |
12/06/2003 09:37 PM |
Chuck Hagenbuch chuck |
let polls by only for a specific group. |
|
1.23 (+5 -8 lines) |
11/22/2003 07:40 PM |
Chuck Hagenbuch chuck |
Clean up the generation and passing of the 'url' parameter to make sure that
we return to from whence we came. |
|
1.22 (+7 -1 lines) |
11/22/2003 11:18 AM |
Chuck Hagenbuch chuck |
a few comments/phpdoc |
|
1.21 (+3 -1 lines) |
11/21/2003 11:11 PM |
Chuck Hagenbuch chuck |
add reasonable defaults for radio buttons |
|
1.20 (+4 -2 lines) |
11/21/2003 11:08 PM |
Chuck Hagenbuch chuck |
fix creating polls so that you don't have to submit the form twice. |
|
1.19 (+14 -14 lines) |
11/21/2003 10:49 PM |
Chuck Hagenbuch chuck |
- tweak poll display html
- avoid double bars in the percentage bar graphs |
|
1.18 (+2 -2 lines) |
11/20/2003 11:03 PM |
Chuck Hagenbuch chuck |
Allow for much longer questions. |
|
1.17 (+65 -47 lines) |
11/20/2003 10:59 PM |
Chuck Hagenbuch chuck |
Move the poll form into a class, keeping it in the same file. Much easier for me to
follow; seems more organized. |
|
1.16 (+7 -4 lines) |
11/20/2003 10:43 PM |
Chuck Hagenbuch chuck |
Make the maximum number of choices in a poll configurable. |
|
1.15 (+1 -5 lines) |
11/20/2003 02:59 PM |
Chuck Hagenbuch chuck |
Minor tweaks/cleanups. |
|
1.14 (+3 -4 lines) |
09/29/2003 07:32 AM |
mdjukic |
don't default to formatted menu, generate full menu parts and use them in the templates |
|
1.13 (+3 -4 lines) |
09/28/2003 04:20 AM |
mdjukic |
use the setButtons() function for setting submit/reset buttons in Horde_Form |
|
1.12 (+6 -6 lines) |
09/18/2003 12:34 PM |
Jan Schneider jan |
Class name changes. Missed that module completely. |
|
1.11 (+4 -4 lines) |
09/18/2003 09:11 AM |
mdjukic |
fix class name |
|
1.10 (+20 -14 lines) |
08/16/2003 01:47 PM |
mdjukic |
minor typos, include scripts |
|
1.9 (+2 -3 lines) |
07/22/2003 10:18 AM |
mdjukic |
no need for the token setting here |
|
1.8 (+8 -7 lines) |
07/10/2003 04:40 PM |
Chuck Hagenbuch chuck |
- remove global $scry_template variable (helps avoid lots of scope problems)
- clean up blocks a bit
- shorten the polls summary display
- display better title in the poll block; still need to fix inlining and voting here. |
|
1.7 (+38 -6 lines) |
07/08/2003 02:06 PM |
mdjukic |
- get rid of the external lib/Edit.php file
- set up the form vars entirely within edit.php |
|
1.6 (+19 -7 lines) |
07/08/2003 12:51 PM |
Chuck Hagenbuch chuck |
fix up editing - should work now. |
|
1.5 (+3 -3 lines) |
07/07/2003 04:14 PM |
Chuck Hagenbuch chuck |
- clean up vote checking
- allow a local scry admin |
|
1.4 (+12 -6 lines) |
05/05/2003 01:36 PM |
mdjukic |
clean up, comments, better checking of when the number of questions has changed, isEditable() check to allow editing or not |
|
1.3 (+11 -9 lines) |
05/04/2003 06:34 PM |
mdjukic |
use and not |
|
1.2 (+21 -2 lines) |
05/03/2003 10:00 PM |
mdjukic |
toggling of enabled/disabled states |
|
1.1 |
05/03/2003 08:21 PM |
mdjukic |
cleaner save script, now with editing too |