Commit Graph
147 Commits
Author SHA1 Message Date
Antoine Nguyen a295aa1ab6 wip: Global user interface improvment
* Use of jQuery in place of Mootools
* Most of the custom mootools plugins have been ported to jQuery
* Use of bootstrap from Twitter in place of the old CSS
* Most of the admin templates have been reworked
* The sievefilters extension has been ported
* The postfix autoreply extension is almost done
* more...

see #204
2012-03-19 15:13:01 +01:00
Antoine Nguyen 97d3996d2e Top menubar modifications.
see #204
2012-02-21 17:49:41 +01:00
Antoine Nguyen 23f77f64aa Fixed misc. issues relative to the 'compose form' validation process.
fix #203
2012-02-02 15:38:06 +01:00
Antoine Nguyen 8dfbb6224b Javascript code refactoring.
see #196
2012-02-02 13:51:42 +01:00
Antoine Nguyen 907e329ebf Django instruction moved after the DOCTYPE tag.
fix #202
2012-02-02 11:15:28 +01:00
Antoine Nguyen 6a18f8bd17 Works better with appriopriate template :p
see #201
2012-02-02 11:12:46 +01:00
Antoine Nguyen e4997dda43 Django instructions moved after the DOCTYPE tag.
see #202
2012-02-02 11:11:41 +01:00
Antoine Nguyen 027d77f949 wip: Resellers and limits
* A new limit has been added : the maximum number of domain admins a user can create
* Code simplification

see #105
2012-02-01 17:45:38 +01:00
Antoine Nguyen b7d77254ce wip: Resellers and limits (see #105)
* Added support for migrations
* Big refactoring of the admin code

done: Support for SHA256 algorithm to store passwords (fix #195)
done: admin models refactoring (fix #196)
2012-01-27 13:51:29 +01:00
Antoine Nguyen 3681bb4198 wip: resellers and limits
I've finally started to rethink the database structure. The goal I'm trying to reach: only use User objects to manage permissions and accesses to the webui and associate other objects to them if needed (like mailboxes).

see #105
2012-01-20 17:33:05 +01:00
Antoine Nguyen 99888a861b wip: limits and new reseller profile
We add an intermediate role : Reseller. It is somewhere between a super administrator and a domain administrator. A reseller can create objects (a limited or not amount) and then define permissions on those objects:

* Create a domain admins,
* Assign limits to those admins,
* ...

see #105
2012-01-12 16:49:09 +01:00
Antoine Nguyen ba0ed344c5 Simple hack to catch redirections after an ajax request. It is not a clean and perfect solution but it should address most cases.
fix #181
2012-01-10 10:40:22 +01:00
Antoine Nguyen baec1f740e The 'save' button has been moved into the footer bar. Its position is now always the same.
fix #180
2012-01-09 16:06:04 +01:00
Antoine Nguyen 7d89e85db9 Better fix.
see #179
2011-12-14 17:09:40 +01:00
Antoine Nguyen 4fcc5b7911 * New "import data" feature (only supports mailboxes for now)
* Some javascript cleanup into the admin. application

see #191
2011-12-09 14:38:56 +01:00
Antoine Nguyen 767343640a When the demo application is enabled, we disable the ''password change'' action for default super administrator.
see #187
2011-11-24 11:00:24 +01:00
Antoine Nguyen d23923a248 If the demo application is activated, an announcement now appears on the login page to inform visitors on how to use the demo. 2011-11-18 23:42:31 +01:00
Antoine Nguyen 2e2011e070 Do not leave <img> tag with an empty src field!!
fixed #189
2011-11-14 17:08:21 +01:00
Antoine Nguyen 0688f6b215 New 'demo' application.
see #187
2011-11-07 17:56:19 +01:00
Antoine Nguyen 9cde410ae4 * Many changes about internationalization (using gettext_noop when needed for example)
* Some strings were not detected by makemessages (for example in javascript files, behind comments...). There are still some issues with that but I think I'll have to wait a future Django release.
* Support for per-user language selection is almost done.

see #166
2011-09-14 14:18:46 +02:00
Antoine Nguyen 9ddb27573f At last, composing messages with attachments is possible!!
It is a really simple implementation but I think it will be enough for a begining. Users can add multiple attachments with a message, each attachment must not be larger than a customizable limit.

see #38
2011-09-08 09:13:13 +02:00
Antoine Nguyen 968f91be1a Quarantine plugin update:
* Using django's orm to access amavis database
* Many UI improvments
* Better use of the RS field

fixed #88 & #72
see #155
2011-08-23 16:36:57 +02:00
Antoine Nguyen 893dcfdb3f Some code cleanup.
fixed #76
2011-07-27 10:49:55 +02:00
Antoine Nguyen 81a03d6c65 * Added pagination for admin pages (domains, mailboxes, etc.)
* Code refactoring

see #76
2011-07-26 14:53:43 +02:00
Antoine Nguyen e48115650d Fixed a regression introduced with the deactivation of some aliases for domain admins (those with targets to other local mailboxes). 2011-07-03 11:29:26 +02:00
Antoine Nguyen 17693dd95e Added dates support for all objects by the admin application:
* Creation date,
* Last modification date updated on each call to save()

fixed #144
2011-06-21 17:25:26 +02:00
Antoine Nguyen 7338dd1c8f First version of the sieve plugin is over \o/ It needs more testing but all functionalities are implemented. Maybe some extra sieve extensions would be nice but I'll see that based on user feedback.
I also include some general refactoring in this commit.

see #139
2011-06-19 19:11:02 +02:00
Antoine Nguyen add222840c Added per-user forward definition (with a custom interface available inside the "Options" menu). It will not be available for admins.
see #143
2011-06-06 15:44:30 +02:00
Antoine Nguyen a2ec92daa7 Work in progress for #140 and #143
Aliases to external addresses are now supported. Alias creation/modification forms have been rewritten. (autocompletion of addresses, dynamic number of input fields)

see #143

First version of the postfixadmin to modoboa migration script. It has not been tested deeply but I think it should work pretty well.

see #140

Some javascript errors (SqueezeBox related) have been fixed.
2011-06-06 11:55:13 +02:00
Antoine Nguyen 5b1c226ba4 Refactoring
* Extracting JS code from the quarantine plugin to specific javascript file,
* CSS modifications for the webmail
2011-04-13 18:23:19 +02:00
Antoine Nguyen b03f807a5e * Better folders display,
* Complete folder manipulation support (add/edit/remove),
* Javascript code refactoring,
* MEDIAL_URL variable is now exposed to the javascript code.

see #55
2011-03-21 17:44:21 +01:00
Antoine Nguyen 67357e66af see #55: folders manipulation. Work in progress.
This commit adds the following features:
 * Folder creation,
 * Folder modification,
 * Folder removal.

There are still issues with subfolders but they should not be too complicated to fix.

I've also done some javascript refactoring.
2011-03-17 17:41:10 +01:00
Antoine Nguyen 24431b3439 fixed #80
The real problem was due to the use of a <pre> tag to display plaintext messages. By default, it does not automatically cut long lines as with other tags. Some CSS stuff fixed the problem.

Fixed bad behaviour on some combinations between display mode and message available formats. (ie. plain/text or plain/html)
2011-02-04 10:39:47 +01:00
tonio 8d04197502 Misc. fixes:
* Fixed a bug which prevented to select a same row multiple times,
 * Documentation update,
 * Fixed bad sizes.
2011-01-08 16:30:00 +01:00
tonio f1f5801031 * Documentation update
* see #38 : reverted work from [49b589f08988]
* Style update for permissions
2011-01-06 22:07:15 +01:00
tonio d3418c8b11 * see #92: Some graphical fixes,
* Documentation update,
 * Ugly hacks to make the stats plugin work as before.
2011-01-05 22:50:44 +01:00
tonio 5b7ebd9141 fixed #106
Tips are now absolutly positioned and appear when a field gets focused. (at the bottom of each row)
2011-01-03 13:43:44 +01:00
tonio c43fdc2371 fixed #107
Removed useless fields (full_address) and added associated migrations. SQL queries used by postfix or dovecot will need to be updated. (as the documentation)

see #103

Big refactoring of objects creation and edition. (javascript cleanup, forms factoring, etc.)
2011-01-01 16:32:52 +01:00
tonio 5e16fc2d6b see #78
At last something that works pretty well under firefox and with multiple selection possible (using Mootools HtmlTable.Select). There are some problems with IE and Chrome (the position: relative on td elements is not well supported).

Mootools update (1.3)

close #109

Checking limit when creating/updating a mailbox.
2010-12-24 14:20:17 +01:00
tonio e5e04e6991 see #103
This is almost over :
 * new informations available in misc. listings,
 * tables layout update.
2010-12-15 23:05:30 +01:00
tonio 9d95107bbd see #97
* Added domain aliases delete,
 * Permissions are not implemented yet.

see #103

 * New generic create and remove buttons,
 * New javascript confirmation module,
 * Fixed a lot of problems about objects relations removal,
 * Simpler interface (no more dropdown menus),
 * Multiple removal support.
2010-12-13 23:45:37 +01:00
tonio 308702ec10 see #103
Work in progress:
 * New domains admin page, all menus are now at the same level,
 * Views, models and forms partial refactoring (better code organization).
2010-12-07 23:44:28 +01:00
tonio 66f08caea9 see #97
Work still in progress. Added support for aliases creation and edition.

see #102

Starting with code refactoring before modifying UI.
2010-12-02 16:25:15 +01:00
tonio c052235644 see #97
Work in progress.
2010-12-01 15:03:42 +01:00
tonio f506cc7a97 fixed #99
Added simple test to check for empty parameters.
2010-11-29 23:10:23 +01:00
tonio 5ea3c71c9b see #98
Added more controls on forms validation.

see #65

Added messages for CRUD operations on domains/mailboxes/aliases.
2010-11-29 22:52:02 +01:00
tonio 5d425c8cbe fixed #96
Querysets used to populate form fields are more filtered (ie. the default admin is ignored, as the current logged in user).

see #92

More protection against errors that can happen when defining new permissions.
2010-11-27 17:49:55 +01:00
tonio 50af9c4355 see #78
Work in progress. Multi selection is working (using shift+click) but I've made a mistake somewhere because the default shift key behaviour is not working anymore.
2010-11-27 10:02:08 +01:00
tonio bd32445e3e see #92
I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy.

Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
2010-11-26 17:35:23 +01:00
tonio eff3c7d815 see #92
Work in progress. I've moved permissions management to the new dedicated page. Adding permissions is working but deleting ones. I must also filter the list of users available when creating a super admin because the default admin appears inside :p
2010-11-25 23:19:04 +01:00