PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz d39a802d00 AliasHandler now works with edit.php in many cases
(TODO: catchall handling, mailbox and vacation aliases)

AliasHandler.php
- drop unused $username
- set $domain_field
- initStruct():
  - use correct labels
  - set 'domain' field options to allowed domains
  - add (virtual) 'localpart' field
  - add comments for more virtual fields
- add webformConfig() (note: modifies $struct on $new - otherwise we 
  couldn't use the domain dropdown in the web interface)
- add mergeId to merge localpart and domain to address (called by 
  edit.php _before_ ->init)
- add validate_new_id() (doesn't work for catchall yet)
- add setmore() to 
  - fill 'domain' based on 'address'
  - convert $values[goto] from array to comma-separated string
- add read_from_db_postprocess to split goto to an array
  (TODO: handling of mailbox and vacation aliases)
- add _field_goto() validator
- add empty, commented dummy delete() that will replace the "old" 
  delete function one day
- make hasAliasRecord() private (only used internally)
- mark all "old" functions as obsolete

edit.php:
- add handling of txtl field (convert textarea to array)
- call $handler->mergeId if $id_field is editable, but not displayed 
  in form (usecase: merge localpart + domain to address)

editform.tpl:
- add handling of txtl fields (textarea, filled by array)

PFAHandler.php:
- add setmore() hook function - runs at the end of set()

AdminHandler.php:
- add a comment for 'txtl' (array of one line texts, like alias goto)




git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1311 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
ADDITIONS ADDITIONS/delete-mailq-by-domain.pl, 13 years ago
DOCUMENTS SUPERADMIN.txt: 13 years ago
VIRTUAL_VACATION fix as per #3086890 13 years ago
admin Finally got rid of admin/ :-) 17 years ago
configs list-virtual_alias_domain.tpl: 13 years ago
css added quota level percentage display 13 years ago
debian Some more lintian fixes: 13 years ago
images added quota level percentage display 13 years ago
languages functions.inc.php - db_log(): 13 years ago
model AliasHandler now works with edit.php in many cases 13 years ago
scripts AliasHandler.php: 13 years ago
smarty update smarty from 3.0.7 to 3.1.5 13 years ago
templates AliasHandler now works with edit.php in many cases 13 years ago
tests this will probably migrate us to phpunit; stupid dev env is misbehaving though so it is hard to test 14 years ago
users AliasHandler.php: 13 years ago
CHANGELOG.TXT Paperwork ;-) 13 years ago
GPL-LICENSE.TXT Initial Import in SourceForge 18 years ago
INSTALL.TXT various documentation updates: 14 years ago
LICENSE.TXT LICENSE.TXT: 14 years ago
backup.php backup.php: 13 years ago
broadcast-message.php sendmail.php, broadcast-message.php: 13 years ago
calendar.js - big merge of Postfixadmin smarty into trunk 15 years ago
common.php Remove getInstance calls; not needed as we use ::write 13 years ago
config.inc.php Make $struct in the *Handler classes customizeable 13 years ago
create-alias.php create-alias.php: 13 years ago
create-mailbox.php create-mailbox: 13 years ago
delete.php delete.php: 13 years ago
edit-active.php list-virtual_alias_domain.tpl: 13 years ago
edit-alias.php Merge edit-alias.tpl and create-alias.tpl 13 years ago
edit-mailbox.php config.inc.php 13 years ago
edit.php AliasHandler now works with edit.php in many cases 13 years ago
fetchmail.php fetchmail.php: 13 years ago
functions.inc.php setup.php 13 years ago
index.php login.php, index.php: 16 years ago
list-admin.php list-admin.php: 13 years ago
list-domain.php model/DomainHandler.php: 13 years ago
list-virtual.php list-virtual.php: 13 years ago
login.php Merge template for admin login and user login 13 years ago
logout.php - added/fixed vim: lines to nearly all *.php files (exception: templates/*) 16 years ago
main.php - big merge of Postfixadmin smarty into trunk 15 years ago
password.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
sendmail.php sendmail.php, broadcast-message.php: 13 years ago
setup.php setup.php 13 years ago
smarty.inc.php smarty.inc.php: some fixes after the Smarty upgrade: 13 years ago
upgrade.php upgrade.php: 13 years ago
vacation.php vacation.php: 13 years ago
variables.inc.php variables.inc.php: 13 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 13 years ago
xmlrpc.php AliasHandler.php: 13 years ago