2011-12-08

kareila: (Default)
[personal profile] kareila2011-12-08 07:02 am

[dw-free] Refactor user email sending into LJ::User method

[commit: http://hg.dwscoalition.org/dw-free/rev/3ea6b65d559c]

http://bugs.dwscoalition.org/show_bug.cgi?id=3946

Remove trailing whitespace.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/DW/Shop/Item/Account.pm
  • cgi-bin/DW/Shop/Item/Points.pm
  • cgi-bin/DW/Shop/Item/Rename.pm
Diff: 3 files changed. )
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
[personal profile] fu2011-12-08 10:03 am

[dw-free] Site search retains deleted content

[commit: http://hg.dwscoalition.org/dw-free/rev/0363ba0c8e9a]

http://bugs.dwscoalition.org/show_bug.cgi?id=4073

Adds a filter by is_deleted, to indicate when the journal is not visible.
This bit is changed when the user deletes/undeletes or is
suspended/unsuspended. It's only recognized after the indexer has been
rerun, though, so also add an additional check to the output in /search.bml
(which is uglier, but reveals less info). Then, also make sure we delete
from posts_raw when the user is purged -- the entries don't show up anyway
because the user was previously deleted, but this cleans up.

Patch by [personal profile] fu.

Files modified:
  • bin/worker/sphinx-search-gm
  • cgi-bin/DW/Hooks/SiteSearch.pm
  • cgi-bin/LJ/User.pm
Diff: 3 files changed. )
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
[personal profile] fu2011-12-08 11:06 am

[dw-free] Checkboxes to retain relationships when renaming have disappeared

[commit: http://hg.dwscoalition.org/dw-free/rev/273093f01d01]

http://bugs.dwscoalition.org/show_bug.cgi?id=4102

Don't make rel_types part of formdata -- it doesn't change on post so it's
not really form data, just metadata about the form, which shouldn't be
transformed by Hash::MultiValue. (we'd need to do a: form.data.get_all(
"rel_types") which removes a level of abstraction otherwise)

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/DW/Controller/Rename.pm
  • views/admin/rename_edit.tt
  • views/rename.tt
Diff: 3 files changed. )