Feb. 7th, 2017

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 48cf18ae634382f5308b9b0df5f97cd15c14512a
https://github.com/dreamwidth/dw-free/commit/48cf18ae634382f5308b9b0df5f97cd15c14512a
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M t/00-compile.t

Log Message:
-----------
add compile checking of command line scripts

In the past, we've only done compile checking of modules
in cgi-bin. This adds similar checking for scripts in
the bin directory.

Since we don't actually want to execute the scripts,
we change the test condition to execute 'perl -c'
instead of 'perl' (which was OK for modules).
This only affects files ending in .pl -
files ending in .pm are tested differently.


Commit: fd790febc841f92c3240beb72939463822fc036c
https://github.com/dreamwidth/dw-free/commit/fd790febc841f92c3240beb72939463822fc036c
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M bin/dev/newtheme.pl
M bin/ljubackup.pl
M t/00-compile.t

Log Message:
-----------
fix newly discovered CLI script warnings


Commit: f1885131f9d80191ee42102515ff40f69d24ee06
https://github.com/dreamwidth/dw-free/commit/f1885131f9d80191ee42102515ff40f69d24ee06
Author: Mark Smith <mark@qq.is>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M bin/dev/newtheme.pl
M bin/ljubackup.pl
M t/00-compile.t

Log Message:
-----------
Merge pull request #1959 from kareila/compile-tests

add compile checking of command line scripts


Compare: https://github.com/dreamwidth/dw-free/compare/46d5ed977e79...f1885131f9d8
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: c65a0c6c70247aa60bd4eff01b6812bafa74eb25
https://github.com/dreamwidth/dw-free/commit/c65a0c6c70247aa60bd4eff01b6812bafa74eb25
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M cgi-bin/Apache/BML.pm

Log Message:
-----------
return suffix-neutral URIs from BML::get_uri

@kaberett pointed out that when visiting /tools/importer without
being logged in, the returnto pointed to /tools/importer.bml.

This changes the behavior of BML::get_uri to strip the .bml suffix
from the return value. I checked all 3 places the function is
called and I believe this is the desired behavior in each case.


Commit: c95821c146fd68c41408d2a6c83b479c67b7e9d7
https://github.com/dreamwidth/dw-free/commit/c95821c146fd68c41408d2a6c83b479c67b7e9d7
Author: Mark Smith <mark@qq.is>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M cgi-bin/Apache/BML.pm

Log Message:
-----------
Merge pull request #1958 from kareila/bml_returnto

return suffix-neutral URIs from BML::get_uri


Compare: https://github.com/dreamwidth/dw-free/compare/f1885131f9d8...c95821c146fd
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 658174ec36417d60e6932914460de80a597ee66f
https://github.com/dreamwidth/dw-free/commit/658174ec36417d60e6932914460de80a597ee66f
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M cgi-bin/DW/Controller/Media.pm

Log Message:
-----------
[#1940] don't allow offsite loading of images

Check the page referer and only load if it's a page on
our site or a bare image URL.


Commit: 01f2dc69143ea6b2b96212cee077ac42220f56ba
https://github.com/dreamwidth/dw-free/commit/01f2dc69143ea6b2b96212cee077ac42220f56ba
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M etc/config.pl

Log Message:
-----------
[#1940] image upload quotas

New usercap 'media_file_quota' which is 500 (MB) by default.

New methods for checking usage and quota in DW::Media.

New user method, can_upload_media, which is false if you've
gone over quota, true otherwise.

Added can_upload_media checks to the two places in the code
where upload_media is called.

Fixes #1940.


Commit: 5ef9d6b808677812834d7fb93228f6470aa4780d
https://github.com/dreamwidth/dw-free/commit/5ef9d6b808677812834d7fb93228f6470aa4780d
Author: Mark Smith <mark@qq.is>
Date: 2017-02-07 (Tue, 07 Feb 2017)

Changed paths:
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M etc/config.pl

Log Message:
-----------
Merge pull request #1960 from kareila/1940-media-limit

enforce limits for media (photo) usage


Compare: https://github.com/dreamwidth/dw-free/compare/c95821c146fd...5ef9d6b80867

Profile

Dreamwidth Changelog

May 2017

S M T W T F S
  123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 21st, 2017 12:45 am
Powered by Dreamwidth Studios