|
1.45 (+2 -5 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.44 (+2 -2 lines) |
01/02/2008 06:13 AM |
Jan Schneider jan |
Happy New Year |
|
1.43 (+2 -2 lines) |
11/24/2007 08:04 AM |
Duck duck |
Show extended results only when requested |
|
1.42 (+5 -15 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.41 (+29 -26 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.40 (+2 -2 lines) |
01/02/2007 07:48 AM |
Jan Schneider jan |
Happy New Year |
|
1.39 (+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.38 (+2 -28 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.37 (+2 -2 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 (+14 -3 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 (+2 -2 lines) |
01/03/2005 09:35 AM |
Jan Schneider jan |
Happy New Year |
|
1.33 (+17 -18 lines) |
11/19/2004 11:45 AM |
Chuck Hagenbuch chuck |
[cjh] Comments can be restricted to only authenticated users now
(Duck <duck@obala.net>) |
|
1.32 (+2 -2 lines) |
11/03/2004 03:59 PM |
Chuck Hagenbuch chuck |
Use new menus. |
|
1.31 (+2 -2 lines) |
10/18/2004 08:46 PM |
Chuck Hagenbuch chuck |
Registry::getParam() -> Registry::get(). |
|
1.30 (+23 -1 lines) |
09/24/2004 11:42 AM |
mdjukic |
Add comments to polls.
Bug: Duck <duck@obala.net> |
|
1.29 (+2 -2 lines) |
01/17/2004 05:57 PM |
Jan Schneider jan |
All footers look the same, so why not use only one. |
|
1.28 (+2 -2 lines) |
01/01/2004 10:16 AM |
Jan Schneider jan |
Happy new year everyone. |
|
1.27 (+6 -4 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.26 (+17 -6 lines) |
11/22/2003 11:15 AM |
Chuck Hagenbuch chuck |
Pass 'url' parameter along so we can come back to the right place;
add conclude link (coming shortly), and make sure links are protected
by proper permissions. |
|
1.25 (+9 -5 lines) |
11/21/2003 10:49 PM |
Chuck Hagenbuch chuck |
- tweak poll display html
- avoid double bars in the percentage bar graphs |
|
1.24 (+1 -5 lines) |
11/20/2003 02:59 PM |
Chuck Hagenbuch chuck |
Minor tweaks/cleanups. |
|
1.23 (+6 -6 lines) |
11/11/2003 06:41 PM |
Chuck Hagenbuch chuck |
Use template dividers |
|
1.22 (+4 -4 lines) |
11/08/2003 04:21 PM |
mdjukic |
better naming of var |
|
1.21 (+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.20 (+7 -7 lines) |
09/18/2003 12:34 PM |
Jan Schneider jan |
Class name changes. Missed that module completely. |
|
1.19 (+3 -3 lines) |
09/18/2003 09:11 AM |
mdjukic |
fix class name |
|
1.18 (+10 -9 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.17 (+9 -8 lines) |
07/08/2003 12:29 PM |
Chuck Hagenbuch chuck |
use icons here, too; show a page title. |
|
1.16 (+3 -3 lines) |
07/07/2003 04:14 PM |
Chuck Hagenbuch chuck |
- clean up vote checking
- allow a local scry admin |
|
1.15 (+6 -6 lines) |
05/21/2003 03:02 PM |
Chuck Hagenbuch chuck |
HTML cleanups; capitalize actions |
|
1.14 (+5 -9 lines) |
05/05/2003 01:36 PM |
mdjukic |
use Scry::getDate() for dates |
|
1.13 (+10 -11 lines) |
05/04/2003 06:37 PM |
mdjukic |
simplify the arrays and use |
|
1.12 (+5 -3 lines) |
05/03/2003 10:00 PM |
mdjukic |
don't bother showing an edit link if the poll is not editable |
|
1.11 (+15 -4 lines) |
05/03/2003 09:54 PM |
mdjukic |
use SCRY_TEMPLATES, add actions to the view |
|
1.10 (+6 -8 lines) |
02/20/2003 03:29 PM |
Chuck Hagenbuch chuck |
More useful results for polls, some cleanup. |
|
1.9 (+4 -14 lines) |
02/01/2003 07:37 PM |
mdjukic |
cleaning, graphs now done in Scry::getResultsGraph(), initiated in base.php, and use Scry::getStatusLabel for the enabled status label |
|
1.8 (+10 -2 lines) |
02/01/2003 12:51 AM |
Chuck Hagenbuch chuck |
show admins who voted for which choices. |
|
1.7 (+9 -2 lines) |
02/01/2003 12:32 AM |
Chuck Hagenbuch chuck |
- remove unnecessary sql call
- improve display of enable/disabled and null start/end dates. |
|
1.6 (+6 -4 lines) |
02/01/2003 12:24 AM |
Chuck Hagenbuch chuck |
add missing $notification->notify() to a few scripts. |
|
1.5 (+4 -4 lines) |
01/29/2003 12:23 PM |
mdjukic |
use better naming scheme for the backend |
|
1.4 (+3 -3 lines) |
01/22/2003 05:18 PM |
Jan Schneider jan |
I think this is correct. |
|
1.3 (+9 -1 lines) |
01/22/2003 12:16 PM |
mdjukic |
add notify where missing and start putting in some proper standardised headers |
|
1.2 (+8 -5 lines) |
01/21/2003 12:28 PM |
mdjukic |
shuffling around of variables |
|
1.1 |
01/21/2003 07:14 AM |
mdjukic |
adding the view poll script |