Revisions for beatnik/editrec.php

Location: [ Horde ] / beatnik / editrec.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.
 
  Revision Date Author Log Message
1.33 (+1 -7 lines) 08/20/2008 04:56 AM Duck duck

Assign my copyrights to Horde.
Small clean up.
Remove unused JS functions

1.32 (+2 -2 lines) 03/11/2008 04:57 AM Duck duck

Fix double define in api.
Small clean up

1.31 (+2 -2 lines) 03/11/2008 04:49 AM Duck duck

@define -> define

1.30 (+2 -2 lines) 06/27/2007 01:23 PM Jan Schneider jan

Bump year, looks like a missed a few last time.

1.29 (+4 -4 lines) 06/14/2007 11:40 PM Chuck Hagenbuch chuck

Use 'beatnik' for session space and $beatnik_driver for global driver

1.28 (+2 -2 lines) 08/27/2006 01:01 PM Ben Klang bklang

Renaming lib/Form to lib/Forms for consistency with other Horde apps

1.27 (+2 -2 lines) 08/23/2006 07:39 PM Ben Klang bklang

* Created Autogeneration form for reuse with Horde Registry API
* Moved autogeneratino logic into Beatnik::autogenerate() method for use with
the Horde Registry API
* Moved recordExists() to Beatnik_Driver::.  This will allow overrides later
if a backend has a more efficient way than iterating over all results of
getRecords().  It also allows the method to be used generically rather than
just for the autogeneration routine
* Moved getRecord() into Beatnik_Driver:: rather than Beatnik:: for consistency
* Created ability to choose from a list of multiple templates

1.26 (+2 -2 lines) 08/23/2006 05:16 PM Ben Klang bklang

Refactor driver wrappers from Beatnik:: back into the driver object where they
belong.  Both drivers are updated to provide private methods and phpdoc is
updated accordingly.

More methods will be moved up to the generic Driver level as appropriate.

1.25 (+3 -31 lines) 08/23/2006 01:09 PM Ben Klang bklang

* Move DeleteRecord into reuseable form
* Refresh to zone view if deleting a non-SOA record instead of zone list
* Move getRecord into Beatnik:: temporarily
* Add initial permissions checking routine (not used yet, but soon)
* Fix ldap2dns driver's deleteRecord functionality

TODO: Refactor driver bits that have strayed into Beatnik:: into a generic
driver class that can call private methods on the backends.  This will allow
for a clean API and reuse as much code as possible (for example with access
control and sorting/filtering)

1.24 (+1 -2 lines) 08/13/2006 11:19 PM Ben Klang bklang

Remove unused variable

1.23 (+2 -2 lines) 08/13/2006 08:39 PM Ben Klang bklang

Add wrapper for saveRecord() to check if the zone serial needs updating
Add zone serial check notification.

1.22 (+2 -3 lines) 08/13/2006 02:52 PM Duck duck

- Check if records exists before autogenerate it
- Remove superadmin  permission. Is not needed. Super-admins can be set by adding them to the main beatnik:domains permission.
- Added page titles
- Added id column to sql beatnik_soa sql script
- Order getRecords in sql driver by hostname
- Fix permissions on domain names.
- Populate ipaddreses in tinydns.php script
- Update slovenian translation

1.21 (+5 -5 lines) 08/11/2006 12:18 PM Ben Klang bklang

Only go to autogenerate form is the SOA save is a a new domain

1.20 (+9 -2 lines) 08/09/2006 01:28 PM Ben Klang bklang

Allow editing of the SOA

1.19 (+12 -6 lines) 08/08/2006 09:44 AM Duck duck

- Redirect to autogeneration form after adding a SOA.
- Fix perm parameter name in Beatnik::getDomains
- Use current() when falling to default domain in base.php, so if domains is empty will return false without warnings

1.18 (+11 -3 lines) 08/08/2006 09:14 AM Duck duck

* Call the renderer directly in editre.php and remove uneeded edit.inc.
* Dont show id and rectype when deleting an SOA.

1.17 (+3 -2 lines) 08/08/2006 08:54 AM Duck duck

Save method requires an array: ex. from Horde_Form::getInfo(). This was needed for autogeneration. So Ben please update the LDAP driver.

1.16 (+3 -3 lines) 08/08/2006 04:55 AM Duck duck

Beatnik::getDomains() cannot return an error but pushes an notification message and returns an empty array. So we don't need to recheck output.
Move the empty check from  getDefaultDomains to getDomains. Since we should notify about empty results even after permission check. Now the getDefaultDomains can be completely avoided.
Do not need the set curdomain as is already in session

1.15 (+6 -8 lines) 08/06/2006 06:11 AM Duck duck

- Remove delete var from edit form
- Fix SQL update and insert methods
- Remove Beatnik::populateVars since is used only once in editrec.php
- Update translation

1.14 (+2 -8 lines) 08/05/2006 06:58 PM Ben Klang bklang

Remove single-record-multiple-attribute support.  It doesn't make sense in most
cases and it makes managing form data more difficult.
Duck: this means you no longer need id[0] .  All data types are flattend out now

1.13 (+1 -2 lines) 08/05/2006 06:22 PM Ben Klang bklang

Revert: advanced mode belongs in the session

1.12 (+1 -6 lines) 08/05/2006 04:09 PM Duck duck

No need to reinclude Beatnik.php as included in base.php

1.11 (+5 -4 lines) 08/05/2006 03:01 PM Ben Klang bklang

* Convert leftover instance of "Forms.php" to "EditRecord.php"
* Begin working toward unified record table interface

1.10 (+7 -6 lines) 08/05/2006 09:47 AM Duck duck

Basic support of writing records

1.9 (+2 -1 lines) 08/05/2006 08:23 AM Duck duck

Remove Groups for now. Not used anywhere. Why not use horde groups? Or categories code from merk?

1.8 (+6 -6 lines) 08/05/2006 05:01 AM Duck duck

Move action templates separate dir

1.7 (+53 -65 lines) 08/05/2006 04:10 AM Duck duck

Notifications are already processed by menu.inc

1.6 (+11 -25 lines) 07/07/2006 11:41 PM Chuck Hagenbuch chuck

- constructors will never return pear_errors
- remove commented out code
- top-level scripts don't get @package tags
- make index.php match other Horde index.php files

1.5 (+2 -2 lines) 07/07/2006 08:31 PM Ben Klang bklang

Removing deprecated Horde_Form::singleton (Thanks Chuck)

1.4 (+2 -2 lines) 07/07/2006 08:04 PM Ben Klang bklang

Make check for bad ldap results stronger
Replace HordeForm::factory with :;singleton

1.3 (+1 -1 lines) 07/01/2006 11:25 PM Ben Klang bklang

Updating CVS tags to match Horde

1.2 (+5 -5 lines) 06/27/2006 02:30 PM Chuck Hagenbuch chuck

fix call-time pass-by-reference

1.1 06/23/2006 04:10 AM Jan Schneider jan

Import Beatnik