Opened 13 years ago
Closed 13 years ago
#35 closed task (fixed)
Shuffle all action logging into DNSDB.pm
Reported by: | Kris Deugau | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Version: | Keywords: | ||
Cc: |
Description
Current logging practice is mostly separate calls from the UI layer, using a UI-local sub that directly accesses the database (problem: SQL in the UI, see #1). For consistency and reduced code bulk/duplication in the UI layer, logging should be moved to the internals of each sub.
This requires that userdata be more conveniently accessible in DNSDB.pm.
Change History (20)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
comment:3 by , 13 years ago
(In [283]) /trunk
Convert zone status change logging to DNSDB-internal. See #35
Add a global for holding general result messages for subs that
return booleans. This allows us to easily display the same text
as was added to the log.
Fix docucomment on mailNotify(); it (still!) referred to its
copy-paste parent in the IP Database.
comment:4 by , 13 years ago
comment:5 by , 13 years ago
comment:6 by , 13 years ago
(In [286]) /trunk
Convert action logging for "Add reverse zone" to DNSDB-internal. See #35
- don't pass userdata, either in the upstream caller (dns.cgi) or internally to _log()
- don't expect userdata to be passed in
Fix up some warning-message-propagation in addRDNS()
Remove domain_id from addDomain() failure logging; if the domain wasn't
added then the log can't usefully refer to it by domain ID.
File off stale ##fixme's on reclist page
Fine-tune handling of message parameters in changepage(); if we're
going to go to the effort of converting newlines to <br> we should
use the result.
comment:7 by , 13 years ago
comment:8 by , 13 years ago
comment:9 by , 13 years ago
comment:10 by , 13 years ago
comment:11 by , 13 years ago
comment:12 by , 13 years ago
comment:13 by , 13 years ago
(In [295]) /trunk
Move entity-relationship reference hashes up into the same area
as other (semi)globals in DNSDB.pm since I was starting to add
an accidental duplicate of %par_tbl.
Move action logging for bulk domain change to DNSDB.pm: (See #35)
- Clean up dns.cgi to match previous changes to zoneStatus() and delZone()
- Less not-quite-identical code in dns.cgi can now be factored down
- Updated changeGroup() with action logging and more error handling
- Tweak logging and messages in delZone()
comment:14 by , 13 years ago
comment:15 by , 13 years ago
comment:16 by , 13 years ago
comment:17 by , 13 years ago
(In [307]) /trunk
Fix a taint mode gotcha in _zone2cidr(), introduced with the
extension in r304 for supporting both range and netmask-based
sub-octet reverse zone names
Finalize updates to importAXFR() for reverse zones (see #26) and
action logging (see #35).
Includes some commented code and stubbery to do more complex handling
of NS and CNAME records for sub-octet subzones in revzones, probably
hinging on introducing a new pseudotype "DELEGATE"
comment:18 by , 13 years ago
comment:19 by , 13 years ago
(In [311]) /trunk
Move SQL for SOA update to DNSDB.pm (see #1)
Clean up support for reverse zones (see #26)
Move action logging for SOA updates to DNSDB.pm (see #35)
Includes log/info message consistency cleanups, dropping stale
commented code, dropping if(0)'ed code, tweaks to fillsoa() to
retain user changes on errors, updates to getSOA() for consistency,
removal of a stale form input
comment:20 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [278]) /trunk