|
1.44 (+2 -2 lines) |
01/02/2008 06:13 AM |
Jan Schneider jan |
Happy New Year |
|
1.43 (+6 -2 lines) |
11/24/2007 07:00 AM |
Duck duck |
- check if poll is existing directly in getPoll()
- use count() for hasVoted inseted selecting data
- avoid some warnings |
|
1.42 (+136 -57 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.41 (+2 -2 lines) |
01/02/2007 07:48 AM |
Jan Schneider jan |
Happy New Year |
|
1.40 (+3 -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.39 (+10 -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.38 (+14 -11 lines) |
11/17/2006 01:27 PM |
Ben Klang bklang |
Only attempt to apply permissions on a new poll. Existing polls have a separate
permission editor form. |
|
1.37 (+22 -5 lines) |
11/17/2006 10:21 AM |
Ben Klang bklang |
* Change $scry->isOpen() to accept a poll_id for API consistency
* Properly check for editable polls |
|
1.36 (+29 -2 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.35 (+2 -2 lines) |
01/01/2006 04:11 PM |
Jan Schneider jan |
Happy new year\! |
|
1.34 (+3 -2 lines) |
12/01/2005 04:57 AM |
Matt Selsky selsky |
References. |
|
1.33 (+2 -2 lines) |
11/02/2005 11:43 AM |
Matt Selsky selsky |
cannot |
|
1.32 (+2 -2 lines) |
08/24/2005 01:16 AM |
Matt Selsky selsky |
Use double-quotes. |
|
1.31 (+3 -3 lines) |
06/07/2005 11:48 PM |
Matt Selsky selsky |
Remove object keyword from phpdoc. |
|
1.30 (+6 -4 lines) |
05/10/2005 08:55 PM |
Matt Selsky selsky |
Fix viral 'wil' typo. |
|
1.29 (+14 -20 lines) |
05/10/2005 08:33 PM |
Matt Selsky selsky |
Remove "optional" from phpdoc. |
|
1.28 (+1 -2 lines) |
04/20/2005 12:02 AM |
Matt Selsky selsky |
Remove @version. |
|
1.27 (+3 -3 lines) |
01/03/2005 09:35 AM |
Jan Schneider jan |
Happy New Year |
|
1.26 (+3 -3 lines) |
01/01/2004 10:16 AM |
Jan Schneider jan |
Happy new year everyone. |
|
1.25 (+3 -3 lines) |
12/06/2003 09:25 PM |
Chuck Hagenbuch chuck |
need to count votes, not choices |
|
1.24 (+3 -3 lines) |
11/25/2003 06:05 PM |
Chuck Hagenbuch chuck |
make sure cookie exists first. |
|
1.23 (+8 -9 lines) |
11/25/2003 05:56 PM |
Chuck Hagenbuch chuck |
Don't re-fetch votes. |
|
1.22 (+16 -6 lines) |
11/22/2003 11:13 AM |
Chuck Hagenbuch chuck |
Add a check to see if a poll is open, that doesn't check identifiers. |
|
1.21 (+2 -6 lines) |
11/21/2003 10:21 PM |
Chuck Hagenbuch chuck |
these is_null calls were circumventing valid horde_form handling... |
|
1.20 (+4 -4 lines) |
11/21/2003 05:37 PM |
Chuck Hagenbuch chuck |
Add more poll state filters, and add tabs across the top of the poll list for switching
between open, all, closed, and disabled (only for admins) polls. |
|
1.19 (+3 -3 lines) |
10/30/2003 06:38 PM |
Jan Schneider jan |
PHP 5 fixes. |
|
1.18 (+12 -4 lines) |
09/01/2003 07:19 PM |
Jan Schneider jan |
Simplify driver instantiation even more. |
|
1.17 (+6 -6 lines) |
08/29/2003 11:22 PM |
mdjukic |
fix setting of cookie |
|
1.16 (+14 -6 lines) |
08/22/2003 08:36 PM |
Jan Schneider jan |
Let all driver based applications use Horde::getDriverConfig(). |
|
1.15 (+6 -5 lines) |
07/07/2003 04:15 PM |
Chuck Hagenbuch chuck |
- clean up vote checking
- allow a local scry admin |
|
1.14 (+5 -5 lines) |
05/08/2003 01:38 PM |
Chuck Hagenbuch chuck |
minor style cleanups |
|
1.13 (+4 -4 lines) |
05/06/2003 10:13 PM |
mdjukic |
should be false, and change the message to a generic denial |
|
1.12 (+2 -3 lines) |
05/06/2003 11:29 AM |
Chuck Hagenbuch chuck |
Remove var_dump().
Submitted by: Nuno Loureiro <nuno@co.sapo.pt> |
|
1.11 (+14 -13 lines) |
05/06/2003 02:01 AM |
mdjukic |
better logic |
|
1.10 (+27 -45 lines) |
05/05/2003 01:44 PM |
mdjukic |
- clean up, get rid of unneeded vars and functions
- change hasVoted() to isVotable() and check if voting withing time limits
- isEditable() check to stop editing of polls which have started voting already |
|
1.9 (+3 -3 lines) |
05/04/2003 07:24 PM |
Jan Schneider jan |
Don't use call-time pass-by-reference. |
|
1.8 (+63 -56 lines) |
05/04/2003 06:40 PM |
mdjukic |
- remove some unneeded functions
- add the parente savePoll() function
- clean up logVote()
- better error trapping/messages
- start the code to support different identifier methods
- clean up the hasVoted() logic |
|
1.7 (+35 -2 lines) |
05/03/2003 08:29 PM |
mdjukic |
add the parent logVote() function |
|
1.6 (+4 -4 lines) |
03/03/2003 02:10 PM |
Chuck Hagenbuch chuck |
Nuke a lot of constants.php files.
Specific Reason: constants should be defined in the application's base
class file UNLESS constants are needed in one of the configuration
files (the case for all those remaining). Only then should you break
things out to a seperate file (and even then, we may want to just
include the app's library file).
General Reason: Including files is *very* expensive. Short files are
pointless if we can avoid them; it's much cheaper to have slightly
longer files than multiple short ones (especially when we're going to
include all the short files anyways). |
|
1.5 (+23 -2 lines) |
02/02/2003 08:07 PM |
mdjukic |
add the variable to determine if a poll is editable or not |
|
1.4 (+14 -17 lines) |
02/01/2003 07:17 PM |
mdjukic |
reshuffle the functions for setting/getting of current poll id |
|
1.3 (+54 -2 lines) |
01/28/2003 10:12 AM |
mdjukic |
fix the displaying of voting/voting results |
|
1.2 (+3 -3 lines) |
01/27/2003 09:27 PM |
mdjukic |
fix the fatal call |
|
1.1 |
01/20/2003 03:18 PM |
mdjukic |
the libraries for the Scry app |