[ckan-changes] [okfn/ckan] 02cda1: [#1635] Typo
GitHub
noreply at github.com
Tue Dec 11 16:58:09 UTC 2012
Branch: refs/heads/1635-feature-email-notifications-for-activity-streams
Home: https://github.com/okfn/ckan
Commit: 02cda1c9216ea50682a1c5cd0697bea03c24abc4
https://github.com/okfn/ckan/commit/02cda1c9216ea50682a1c5cd0697bea03c24abc4
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/config/deployment.ini_tmpl
Log Message:
-----------
[#1635] Typo
Commit: 5e4669d8e8c2aa26ca9dfb17278bc85bab2f366e
https://github.com/okfn/ckan/commit/5e4669d8e8c2aa26ca9dfb17278bc85bab2f366e
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/lib/email_notifications.py
M ckan/lib/helpers.py
A ckan/tests/lib/test_email_notifications.py
M ckan/tests/lib/test_helpers.py
Log Message:
-----------
[#1635] Move string_to_timedelta() out of helpers
This is not intended to be a template helper function so doesn't belong
in ckan/lib/helpers.py. Just put it in email_notifications, since that's
the only module that uses it.
Commit: 3b76185af30d7ff5d17e4500efe3b32d9b9d41de
https://github.com/okfn/ckan/commit/3b76185af30d7ff5d17e4500efe3b32d9b9d41de
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/lib/email_notifications.py
M ckan/tests/lib/test_email_notifications.py
Log Message:
-----------
[#1635] Handle "1 day" in string_to_timedelta()
Handle strings like "1 day" or "1 day, 3:23:46" etc. in the
string_to_timedelta() function used to parse the
ckan.email_notifications_since config setting.
Commit: 37b6abf674218a40e674b5fd97514315541a5ca0
https://github.com/okfn/ckan/commit/37b6abf674218a40e674b5fd97514315541a5ca0
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/lib/email_notifications.py
M ckan/tests/lib/test_email_notifications.py
Log Message:
-----------
[#1635] Handle variable whitespace in string_to_timedelta()
Handle multiple spaces, tabs etc. instead of just single space between
words in strings parsed by string_to_timedelta().
Commit: 710cb80662ffe06d01c2bb0e9bfe9d32374dd1a7
https://github.com/okfn/ckan/commit/710cb80662ffe06d01c2bb0e9bfe9d32374dd1a7
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/lib/email_notifications.py
Log Message:
-----------
[#1635] Remove an unneeded import
Now that string_to_timedelta() has been moved into lib, it no longer
needs an inline import logic.
Commit: 0c724817eca50d711c58889909c80d4fb5065b3a
https://github.com/okfn/ckan/commit/0c724817eca50d711c58889909c80d4fb5065b3a
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2012-12-11 (Tue, 11 Dec 2012)
Changed paths:
M ckan/lib/mailer.py
Log Message:
-----------
Revert "[#1635] Remove pylons.g from lib/mailer.py"
This reverts commit ed221a2e52d3ee317a0f0e3b955c7bfbffa11286. The
changes are no longer necessary now that send-email-notifications is no
longer a paster command, and ckan is better off without these changes
because g.site_title etc. can be database-defined whereas
config.get('site_title') cannot.
Compare: https://github.com/okfn/ckan/compare/a5b3ad9940d2...0c724817eca5
More information about the ckan-changes
mailing list