Revisions for scry/delete.php

Location: [ Horde ] / scry / delete.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.35 (+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.34 (+2 -2 lines) 01/02/2008 06:13 AM Jan Schneider jan

Happy New Year

1.33 (+9 -1 lines) 12/17/2007 04:59 AM Duck duck

Delete comments with poll

1.32 (+2 -2 lines) 11/26/2007 03:33 AM Duck duck

Include files missed by autoloader.

1.31 (+8 -9 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.30 (+2 -2 lines) 01/02/2007 07:48 AM Jan Schneider jan

Happy New Year

1.29 (+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.28 (+10 -6 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.27 (+5 -7 lines) 04/09/2006 08:02 PM Chuck Hagenbuch chuck

Remove unnecessary references and Horde_Form::singleton calls.

1.26 (+2 -2 lines) 01/01/2006 04:11 PM Jan Schneider jan

Happy new year\!

1.25 (+2 -2 lines) 08/24/2005 01:16 AM Matt Selsky selsky

Use double-quotes.

1.24 (+1 -2 lines) 04/20/2005 12:02 AM Matt Selsky selsky

Remove @version.

1.23 (+3 -3 lines) 01/03/2005 09:35 AM Jan Schneider jan

Happy New Year

1.22 (+3 -3 lines) 11/03/2004 03:59 PM Chuck Hagenbuch chuck

Use new menus.

1.21 (+3 -3 lines) 10/18/2004 08:46 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

1.20 (+3 -3 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.19 (+4 -3 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.18 (+15 -13 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.17 (+3 -3 lines) 01/17/2004 05:57 PM Jan Schneider jan

All footers look the same, so why not use only one.

1.16 (+3 -3 lines) 01/01/2004 10:16 AM Jan Schneider jan

Happy new year everyone.

1.15 (+4 -3 lines) 11/22/2003 11:25 AM Chuck Hagenbuch chuck

Implement manual conclusion of polls (just sets the end date to the current time)
- stops voting.

1.14 (+30 -4 lines) 11/22/2003 11:08 AM Chuck Hagenbuch chuck

Inline the Delete form class.

1.13 (+4 -3 lines) 11/21/2003 11:10 PM Chuck Hagenbuch chuck

Fix deleting polls.

1.12 (+2 -2 lines) 11/20/2003 02:59 PM Chuck Hagenbuch chuck

Minor tweaks/cleanups.

1.11 (+2 -3 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.10 (+3 -3 lines) 09/18/2003 09:11 AM mdjukic

fix class name

1.9 (+7 -6 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.8 (+2 -2 lines) 07/07/2003 04:14 PM Chuck Hagenbuch chuck

- clean up vote checking
- allow a local scry admin

1.7 (+38 -23 lines) 05/05/2003 08:00 AM mdjukic

clean up

1.6 (+10 -10 lines) 05/04/2003 06:34 PM mdjukic

capitals and change the  to

1.5 (+5 -1 lines) 04/08/2003 02:14 AM mdjukic

- don't do blanket isAdmin() check in base.php but rather in individual files - allows for setting up polls to be answered by "guests";
- hide respective menu items from non admin.

1.4 (+2 -4 lines) 04/05/2003 05:59 AM mdjukic

new horde_form syntax

1.3 (+2 -2 lines) 03/26/2003 09:41 PM mdjukic

use the new Form.php syntax for setting up variables

1.2 (+4 -4 lines) 02/20/2003 03:29 PM Chuck Hagenbuch chuck

More useful results for polls, some cleanup.

1.1 02/02/2003 08:05 PM mdjukic

add the function to delete polls