Commit graph

43 commits

Author SHA1 Message Date
Jan Dittberner e913b1f771 fix tests 2015-02-01 20:12:23 +01:00
Jan Dittberner 742f0d0e33 update translations, add new strings 2015-01-27 19:08:13 +01:00
Jan Dittberner 638a6f6712 move HostingPackageAndCustomerMixin to gvawebcore.views 2015-01-26 10:33:01 +01:00
Jan Dittberner 78728c59e6 add german translation for new strings 2015-01-25 22:22:09 +01:00
Jan Dittberner 5429055f0d implement mail address target editing
- extract common code into managemails.forms.MailAddressFieldMixin
- move code from forms into managemails.models.MailAddress
- implement managemails.models.MailboxManager.unused and unused_or_own
- implement managemails.forms.EditMailAddressForm
- add managemails.views.EditMailAddress
- add URL pattern 'edit_mailaddress' to managemails.urls
- add template managemails/mailaddress_edit.html
- add changelog entry
2015-01-25 22:12:03 +01:00
Jan Dittberner bebcad8c86 implement mail address deletion
- implement managemails.views.DeleteMailAddress
- add get_context_data to AddMailAddress to add customer to template context
- add URL pattern 'delete_mailaddress' to managemails.urls
- add template hostingpackages/customerhostingpackage_detail.html
- add entry to changelog
2015-01-25 19:03:58 +01:00
Jan Dittberner af27400077 add verbose name to MailAddress fields 2015-01-25 19:01:01 +01:00
Jan Dittberner 1d69bb22dc implement managemails.Views.AddMailAddress
- implement managemails.forms.multiple_email_validator
- implement managemails.forms.AddMailAddressForm
- implement managemails.views.AddMailAddress
- add URL pattern 'add_mailaddress' to managemails.urls
- add template managemails/mailaddress_create.html
- add changelog entry
2015-01-25 18:20:51 +01:00
Jan Dittberner 2e4efe7839 implement password change for mailboxes
- implement managemails.forms.ChangeMailboxPasswordForm
- extract code for determining hosting package and customer from URL into
  HostingPackageAndCustomerMixin
- implement managemails.views.ChangeMailboxPassword
- add new URL pattern 'change_mailbox_password' to managemails.urls
- add template managemails/mailbox_setpassword.html
- link from template hostingpackages/customerhostingpackage_detail.html to
  change_mailbox_password
- add german translation for new strings
- document new feature in changelog
2015-01-25 12:49:31 +01:00
Jan Dittberner 449af174ec implement create_mailbox functionality
- implement managemails.forms.CreateMailboxForm
- implement managemails.views.CreateMailbox
- add url pattern 'create_mailbox' to managemails.urls
- add templates managemails/base.html and managemails/mailbox_create.html
- add german translation
- add generated code documentation
2015-01-25 12:10:17 +01:00
Jan Dittberner 1ab832b94a update german translation 2015-01-25 00:58:31 +01:00
Jan Dittberner e04132bd24 improve managemails app
- add managemails.apps to give a more meaningful title in the admin site
- add verbose names to MailAddressMailbox fields
- implement managemails.models.Mailbox.get_mailaddresses and a corresponding
  property mailaddresses
2015-01-24 20:58:20 +01:00
Jan Dittberner d4f68a155c fix some test issues 2015-01-22 00:19:16 +01:00
Jan Dittberner d78bad06b7 add docstrings to managemails.models 2015-01-19 23:00:01 +01:00
Jan Dittberner 5b41d93898 refactor osusers.tasks into fileservertasks and ldaptasks 2015-01-19 21:44:57 +01:00
Jan Dittberner 9fa1944c31 add german translation
- add django.po for apps and templates
- add locale directory to LOCALE_PATHS setting
2015-01-17 16:06:25 +01:00
Jan Dittberner 961a2f471b add migration for managemails ordering 2015-01-17 14:05:04 +01:00
Jan Dittberner 19390d369a add admin list filtering and ordering for mail addresses and mailboxes 2015-01-17 12:25:54 +01:00
Jan Dittberner d4e62bf6f3 add german translation 2014-12-27 22:58:57 +01:00
Jan Dittberner 54b99281e3 call create/delete mailbox tasks when saving/deleting mailboxes 2014-12-27 16:31:43 +01:00
Jan Dittberner 92c6b39e12 implement automatic creation of mailbox names
- create mailbox name when saving new mailboxes in admin
- add MailboxManager that implement get_next_mailbox_name as manager for
  Mailbox
2014-12-27 00:24:05 +01:00
Jan Dittberner 8f5812ff29 repair mailbox creation admin 2014-12-27 00:05:14 +01:00
Jan Dittberner e73e46da3f update to Django 1.7, remove south_migrations, fix tests 2014-12-17 21:22:37 +01:00
Jan Dittberner d5b0382f88 update South to 1.0.1, rename migrations to south_migrations 2014-12-17 21:08:14 +01:00
Jan Dittberner b9d39f31a4 rename test class names from Test* to *Test 2014-06-01 22:41:42 +02:00
Jan Dittberner 15ba5bd653 remove empty managemails.views 2014-06-01 18:32:47 +02:00
Jan Dittberner 32de6257d3 add test for managemails.models.Mailbox.__str__ 2014-06-01 18:29:41 +02:00
Jan Dittberner 3407a5ed24 add tests for managemails.admin 2014-06-01 18:25:30 +02:00
Jan Dittberner 23de57e138 move MailDomain admin to domains.admin 2014-05-25 15:21:04 +02:00
Jan Dittberner ecaff6a4af move existing MailDomains to domains table 2014-05-25 15:17:08 +02:00
Jan Dittberner 5db6223bc0 introduce new app domains
- generate domains app
- duplicate managemails.models.MailDomain as domains.models.MailDomain
- add domains app to gnuviechadmin.settings.base.LOCAL_APPS
- repair managemails.tests.test_models
- fix handling of empty results in osusers.models.GroupManager.get_next_gid and
  osusers.models.UserManager.get_next_uid
2014-05-25 14:53:58 +02:00
Jan Dittberner da8ba6ed1d change Mailbox admin to work with osuser field 2014-05-24 22:56:33 +02:00
Jan Dittberner f085dab017 let mailboxes reference os users
- refer to osuser instead of own home, uid and gid entries in mailboxes
- add data and schema migrations
2014-05-24 22:50:43 +02:00
Jan Dittberner 3de357d394 add migration for timestamp fields 2014-05-24 22:02:14 +02:00
Jan Dittberner 3473b14e62 add timestamps to managemails models 2014-05-24 21:56:30 +02:00
Jan Dittberner d5e1128ff6 allow only one mailbox for a mailaddress
- add migration to place a unique constraint on MailAddressMailbox.mailaddress
  and drop existing primary_key
- change managemails.models.MailAddressMailbox.mailaddress to OneToOneField
2014-05-24 20:57:17 +02:00
Jan Dittberner ee46a61e6d add inline editing for mail address targets
- move active flag into managemails.models.ActivateAbleMixin
- refactor Mailbox and Mailaddress to use ActivateAbleMixin
- implement managemails.models.Mailbox.__str__
- add managemails.admin.ActivationChangeMixin to provide activate and
  deactivate actions for model admin classes
- add activate and deactivate actions for managemails.admin.MailboxAdmin
- add managemails.admin.MailAddressAdmin and inlines for MailAddressMailbox and
  MailAddressForward management on the MailAddress management admin page
2014-05-24 14:58:54 +02:00
Jan Dittberner b044fe2dd9 add model tests 2014-05-24 13:56:45 +02:00
Jan Dittberner cadcc3fa68 remove domain field from Mailbox admin classes 2014-05-23 23:27:06 +02:00
Jan Dittberner cc7f5247ab decouple mailbox from domain 2014-05-22 22:57:21 +02:00
Jan Dittberner 618a9b8c11 add separate models for mail addresses, domains and mailboxes 2014-05-19 22:28:25 +02:00
Jan Dittberner 540871865f add initial data model for managemails 2014-05-18 21:35:00 +02:00
Jan Dittberner 123eedaeb1 add generated managemails app 2014-05-18 20:02:39 +02:00