[dreamwidth/dw-free] 70605e: [#1374] allow rename swaps to use tokens from eith...
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 70605ec3d038d4fddc10ea2b22f5f68313a2a231
https://github.com/dreamwidth/dw-free/commit/70605ec3d038d4fddc10ea2b22f5f68313a2a231
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/User/Rename.pm
M t/rename.t
M views/rename/swap.tt
Log Message:
-----------
[#1374] allow rename swaps to use tokens from either account
Updates DW::User::Rename::swap_usernames to validate tokens from any
of the (up to three) accounts involved in a username swap, instead
of only using the available tokens for the logged in account.
Also redesigns the /rename/swap page to present the form immediately,
and treat the "too few tokens" error like any other form processing
error. This was necessary in order to check the requested target
account(s) for available tokens.
Fixes #1374.
Commit: 4ef7ac4ef53a5b635de4b18a887c7a581edb74eb
https://github.com/dreamwidth/dw-free/commit/4ef7ac4ef53a5b635de4b18a887c7a581edb74eb
Author: Jen <kareila@dreamwidth.org>
Date: 2015-08-10 (Mon, 10 Aug 2015)
Changed paths:
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/User/Rename.pm
M t/rename.t
M views/rename/swap.tt
Log Message:
-----------
Merge pull request #1526 from kareila/1374-rename-tokens
[#1374] allow rename swaps to use tokens from either account
Compare: https://github.com/dreamwidth/dw-free/compare/2db25a52088f...4ef7ac4ef53a
Home: https://github.com/dreamwidth/dw-free
Commit: 70605ec3d038d4fddc10ea2b22f5f68313a2a231
https://github.com/dreamwidth/dw-free/commit/70605ec3d038d4fddc10ea2b22f5f68313a2a231
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-08 (Sat, 08 Aug 2015)
Changed paths:
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/User/Rename.pm
M t/rename.t
M views/rename/swap.tt
Log Message:
-----------
[#1374] allow rename swaps to use tokens from either account
Updates DW::User::Rename::swap_usernames to validate tokens from any
of the (up to three) accounts involved in a username swap, instead
of only using the available tokens for the logged in account.
Also redesigns the /rename/swap page to present the form immediately,
and treat the "too few tokens" error like any other form processing
error. This was necessary in order to check the requested target
account(s) for available tokens.
Fixes #1374.
Commit: 4ef7ac4ef53a5b635de4b18a887c7a581edb74eb
https://github.com/dreamwidth/dw-free/commit/4ef7ac4ef53a5b635de4b18a887c7a581edb74eb
Author: Jen <kareila@dreamwidth.org>
Date: 2015-08-10 (Mon, 10 Aug 2015)
Changed paths:
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/User/Rename.pm
M t/rename.t
M views/rename/swap.tt
Log Message:
-----------
Merge pull request #1526 from kareila/1374-rename-tokens
[#1374] allow rename swaps to use tokens from either account
Compare: https://github.com/dreamwidth/dw-free/compare/2db25a52088f...4ef7ac4ef53a