summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Placeholder for PATCH implementation.Barry Warsaw2010-08-102-5/+111
|
* Implement HTTP PUT (good path) for changing a list's configuration.Barry Warsaw2010-08-104-41/+132
|
* Access mailing list configuration via RESTBarry Warsaw2010-08-109-26/+172
| | | | | | | | | | * last_post_time -> last_post_at * protocol -> scheme * creation_date _> created_at * last_post_time -> last_post_at * Add an extended JSON encoder for datetimes * Be sure to initialize convert_html_to_plaintext and filter_content in the default style.
* trunk mergeBarry Warsaw2010-08-105-5/+65
|\
| * Fixes bug LP: #601899; delete list function in rest server.Barry Warsaw2010-07-065-5/+65
| |
* | Add interface module.Barry Warsaw2010-08-081-0/+52
| |
* | Fix an importBarry Warsaw2010-08-081-1/+1
| |
* | Refactor all bounce detectors.Barry Warsaw2010-08-0830-705/+1002
| |
* | checkpointingBarry Warsaw2010-08-075-72/+24
| |
* | checkpointBarry Warsaw2010-07-162-0/+74
|/
* No longer touch the Sender or Errors-To headers. We can no longer justifyBarry Warsaw2010-06-299-107/+5
| | | | | setting these based on RFC 5322, and modern MTAs no longer need us to do so for proper bounce processing.
* * Fix the bin/test -e/--stderr option to work with the currentBarry Warsaw2010-06-1810-43/+201
| | | | | | | | | | | | | zope.testrunner. Actually, divorce it from the latter and handle the sys.argv sequence ourselves. * Added IMailingList.get_roster() which returns the named roster (from a MemberRole enum). * The start of an IMailingList doctest. This needs much more detail. * Move the subscribe() function from membership.txt into the mailman.testing.helpers. * Added new REST interface for getting all the members of a roster for a specific mailing list: .../lists/<list>/roster/<role>. Note that <role> is the plural form of the MemberRole enum.
* Because we'll often need to turn functions into restish matchers, add aBarry Warsaw2010-06-182-6/+14
| | | | convenient decorator.
* Ensure that email addresses with slashes in them can be registered.Barry Warsaw2010-06-172-2/+20
|
* Subscribing an already subscribed member via REST now returns a 409 errorBarry Warsaw2010-06-152-2/+2
| | | | (LP: #552917).
* trunk mergeBarry Warsaw2010-05-251-2/+0
|\
| * cleanupBarry Warsaw2010-05-251-2/+0
| |
* | host_name and RFC 2369 tests.Barry Warsaw2010-05-061-0/+13
| |
* | Basic importer test.Barry Warsaw2010-05-064-1/+78
| |
* | CheckpointingBarry Warsaw2010-05-061-0/+0
| |
* | CheckpointingBarry Warsaw2010-05-063-3/+2
| |
* | Refactor the actual imports into a utility. This leaves the command toBarry Warsaw2010-05-063-54/+86
|/ | | | process just the front-end.
* Updates for the latest releases of flufl.enum and flufl.i18n.Barry Warsaw2010-05-0214-15/+15
|
* * A start to import of Mailman 2.1 config.pck files.Barry Warsaw2010-04-057-13/+125
| | | | * Move DigestFrequency from mailinglist to digests.
* Tests for import.Barry Warsaw2010-04-042-0/+93
|
* List-Post header should be retained in MIME digest messages (LP: 526143)Barry Warsaw2010-03-283-7/+9
|
* * bin/info -p/--paths -> -v/--verboseBarry Warsaw2010-03-282-7/+7
| | | | * Make sure all paths are absolute
* More fixes to the start up procedure. The root cause of the fix is that whenBarry Warsaw2010-03-285-26/+38
| | | | | | | | | | | | | | | | | | var_dir in the config file is a relative path, the bin/master and bin/qrunner subprocesses end up creating another hierarchy under $VAR_DIR. This is because 'bin/mailman start' chdirs to $VAR_DIR before starting master. The fix involves putting the absolute path to $VAR_DIR in the $MAILMAN_VAR_DIR environment variable. If the configuration file reader sees this, it uses the value instead of $var_dir from the configuration file. Another change is to remove qrunner's --subproc/-s option and stick this in the environment as well, using $MAILMAN_UNDER_MASTER_CONTROL. Other fixes here include: * Deciphering the master lock file contents correctly * Reformatting the error message so that it fits in 79 columns when prefixed by argparse error info.
* * Use IP address for localhost instead of name because Postfix only uses DNSBarry Warsaw2010-03-273-3/+13
| | | | | | | | to find LMTP server, and DNS typically does not return a 'localhost' query. LP: 544477 * Ensure that the environment doesn't cause test failures. LP: 543618 * for [paths.dev] layout, put directories inside ./var to reduce current working directory pollution.
* Merge the Pycon 2010 sprint branch replacing lazr.restful with restish as theBarry Warsaw2010-03-0339-1018/+1006
|\ | | | | | | underlying REST framework.
| * * Fix two type specifications in argparse.Barry Warsaw2010-03-032-4/+7
| | | | | | | | * Update printing of version string to avoid argparse DeprecationWarnings.
| * Add POST validators.Barry Warsaw2010-03-018-49/+166
| |
| * Refactoring for common collection code.Barry Warsaw2010-02-257-70/+87
| |
| * Remove more files that are unnecessary.Barry Warsaw2010-02-253-283/+0
| |
| * Refactor both the mailing lists and membership REST wrappers.Barry Warsaw2010-02-257-246/+293
| |
| * Refactor domains into a separate file.Barry Warsaw2010-02-255-97/+122
| |
| * More refactoring:Barry Warsaw2010-02-258-56/+224
| | | | | | | | | | | | | | * Rework the [webservice] section to be more useful to restish. * Get rid of the resource_type_link * Add and test some helpers. * Move the root resources to a different module.
| * Refactoring the REST support by removing unnecessary stuff and moving otherBarry Warsaw2010-02-256-140/+96
| | | | | | | | | | | | stuff around. We no longer need APIValueError or IResolvePathNames. Also, refactor the creation of the REST server so that it could be used with other WSGI frameworks.
| * Remove some files that are not needed for restish implementation.Barry Warsaw2010-02-255-255/+0
| |
| * Complete the conversion to restish. All the tests pass and we're now actuallyBarry Warsaw2010-02-2410-126/+230
| | | | | | | | | | | | RESTful. We have to use httplib2 to get DELETE and PUT. This is a prototype and could still use much cleanup.
| * * Make the lists.txt doctest pass with restish.Barry Warsaw2010-02-235-30/+138
| | | | | | | | | | * Put the domain name on the BadDomainSpecificationError * Give the IListManager an __iter__()
| * Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-2314-220/+201
| | | | | | | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* | Merge Jon Dugan's better fix for OS X's /private symlink stuff.Barry Warsaw2010-02-241-5/+4
|\ \ | |/ |/|
| * generalize test_current_working_directory() to avoid symlink confusionsJon Dugan2010-02-221-5/+4
|/
* Fix the test on Mac OS X. I am not proud of this.Barry Warsaw2010-02-221-1/+5
|
* So long X-BeenThere, and thanks for all the fish.Barry Warsaw2010-02-165-46/+17
|
* Chains now fire Zope events in their _process() implementation.Barry Warsaw2010-02-167-62/+122
| | | | Clean up the chains.txt doctest to use this and other recent improvements.
* Add a lot of comments about lazr.restful 0.9.18.Barry Warsaw2010-02-163-17/+31
|
* Oh FFS. lazr.restful 0.9.18 totally broke our shit by introducingBarry Warsaw2010-02-166-48/+100
| | | | | | | | | | | | | | multiversioned web services. In concept, that's a great idea, but in (current as of 0.9.18) practice it sucks because it /forces/ us to adopt multiversions when really I could care less. After gobs of painful experimentation, this passes all the tests. I guess that means it's right <wink>. Another, more reasonable fix is to re-order when logging is initialized. This is moved to the start of initialize_2() because in the test environment, we don't want to initialize the loggers until after the test configuration has been pushed. Otherwise, because of the changes to support the FHS, logging will go to the wrong place. This really only affects tests, since in operational mode, initialize always happens immediately one after another.
* A bit of clean up.Barry Warsaw2010-02-133-1/+8
|