[dreamwidth/dw-free] 5eb0f3: [#1527] fix issues with access-only images
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 5eb0f3b7ec4975b34d25d8071af3bd5c40263397
https://github.com/dreamwidth/dw-free/commit/5eb0f3b7ec4975b34d25d8071af3bd5c40263397
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
A t/media-security.t
Log Message:
-----------
[#1527] fix issues with access-only images
Does the right thing with 'friends' setting, which is still used
as an option for minimum entry security. The /file/new path
uses that setting when uploading images.
Makes sure if we request 'usemask' security, that the 'allowmask'
defaults to 1 (all trusted).
New test file t/media-security.t to make sure things are working
as we expect.
Fixes #1527.
Commit: 2f70af34882ce844adb2d14ed40f38ee8bf614f6
https://github.com/dreamwidth/dw-free/commit/2f70af34882ce844adb2d14ed40f38ee8bf614f6
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
Log Message:
-----------
[#1527] explicitly set allowmask=1 in friends/access case
Commit: 51d9049496e66f8d652286bfb77c44b9cda196dd
https://github.com/dreamwidth/dw-free/commit/51d9049496e66f8d652286bfb77c44b9cda196dd
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M t/media-security.t
Log Message:
-----------
[#1527] default undefined allowmask to 0 (private) instead of 1 (trusted)
Also update the test suite to cover this edge case.
Commit: c2560dd30ee778c32b18f379c5fb09cd90efa572
https://github.com/dreamwidth/dw-free/commit/c2560dd30ee778c32b18f379c5fb09cd90efa572
Author: Mark Smith <mark@qq.is>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
A t/media-security.t
Log Message:
-----------
Merge pull request #1554 from kareila/1527-media-access
[#1527] fix issues with access-only images
Compare: https://github.com/dreamwidth/dw-free/compare/e47db78e9127...c2560dd30ee7
Home: https://github.com/dreamwidth/dw-free
Commit: 5eb0f3b7ec4975b34d25d8071af3bd5c40263397
https://github.com/dreamwidth/dw-free/commit/5eb0f3b7ec4975b34d25d8071af3bd5c40263397
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
A t/media-security.t
Log Message:
-----------
[#1527] fix issues with access-only images
Does the right thing with 'friends' setting, which is still used
as an option for minimum entry security. The /file/new path
uses that setting when uploading images.
Makes sure if we request 'usemask' security, that the 'allowmask'
defaults to 1 (all trusted).
New test file t/media-security.t to make sure things are working
as we expect.
Fixes #1527.
Commit: 2f70af34882ce844adb2d14ed40f38ee8bf614f6
https://github.com/dreamwidth/dw-free/commit/2f70af34882ce844adb2d14ed40f38ee8bf614f6
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
Log Message:
-----------
[#1527] explicitly set allowmask=1 in friends/access case
Commit: 51d9049496e66f8d652286bfb77c44b9cda196dd
https://github.com/dreamwidth/dw-free/commit/51d9049496e66f8d652286bfb77c44b9cda196dd
Author: Kareila <kareila@dreamwidth.org>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M t/media-security.t
Log Message:
-----------
[#1527] default undefined allowmask to 0 (private) instead of 1 (trusted)
Also update the test suite to cover this edge case.
Commit: c2560dd30ee778c32b18f379c5fb09cd90efa572
https://github.com/dreamwidth/dw-free/commit/c2560dd30ee778c32b18f379c5fb09cd90efa572
Author: Mark Smith <mark@qq.is>
Date: 2015-08-25 (Tue, 25 Aug 2015)
Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
A t/media-security.t
Log Message:
-----------
Merge pull request #1554 from kareila/1527-media-access
[#1527] fix issues with access-only images
Compare: https://github.com/dreamwidth/dw-free/compare/e47db78e9127...c2560dd30ee7