PokeStop: A Pokémon Go Community

2017-Feb-18, Saturday 12:39
inkstone: The Gotcha screen from Pokemon Go (PokeGo)
[personal profile] inkstone posting in [site community profile] dw_community_promo
PokeStop - A Pokémon Go Community

Has the launch of Generation 2 rekindled your interest in PokeGo? Then come join us at [community profile] pokestop! We post news, updates, advice, and tips related to the game but fanworks and anecdotes that arise from gameplay are more than welcome too.

Please come join us & let's have some fun!
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 2c5a6d52678d3ad7a913f96a8b6b58e4e71a54cd
https://github.com/dreamwidth/dw-free/commit/2c5a6d52678d3ad7a913f96a8b6b58e4e71a54cd
Author: Mark Smith <mark@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

Changed paths:
M cgi-bin/DW/BlobStore/MogileFS.pm

Log Message:
-----------
Use of $# considered harmful

This construction returns the index of the last item rather than the
count which means this was only returning true once the file had
replicated, which while often successful is definitely not what we want.


Commit: fd10742691d7fa50859287df90ab77a2a9145ba3
https://github.com/dreamwidth/dw-free/commit/fd10742691d7fa50859287df90ab77a2a9145ba3
Author: Jen <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

Changed paths:
M cgi-bin/DW/BlobStore/MogileFS.pm

Log Message:
-----------
Merge pull request #1986 from zorkian/fix-off-by-one

Use of $# considered harmful


Compare: https://github.com/dreamwidth/dw-free/compare/0cf1d70e3879...fd10742691d7
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/release-1.32
Home: https://github.com/dreamwidth/dw-free
Commit: b2935b6a3d9179cc462026dce027c18430b5c99b
https://github.com/dreamwidth/dw-free/commit/b2935b6a3d9179cc462026dce027c18430b5c99b
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

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

Log Message:
-----------
fix remote checking for access control of media files

Use a controller to do basic setup checking, including
bouncing for a user domain cookie if needed - LJ::get_remote
was failing when the user domain cookie wasn't available.

With that working, we can add functional support for viewall,
and remove the FIXME comment that requested it.


Commit: 351835ae5c14b522c6e00f974ac64d4e14848046
https://github.com/dreamwidth/dw-free/commit/351835ae5c14b522c6e00f974ac64d4e14848046
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

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

Log Message:
-----------
[#1940] allow hotlinking from crosspost sites

As @kaberett pointed out, crossposted entries that reference
hosted images will fail to load on the remote site, so let's
whitelist all known crosspost sites.


Commit: 7a1eae0cd8a4ca7af94a13767402cbb86058d907
https://github.com/dreamwidth/dw-free/commit/7a1eae0cd8a4ca7af94a13767402cbb86058d907
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
[#1981] anchor regexp in break_word subroutine

Fixes #1981.


Commit: 94014d42e6452365cf3e99f875a1e0dde5f52ed5
https://github.com/dreamwidth/dw-free/commit/94014d42e6452365cf3e99f875a1e0dde5f52ed5
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

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

Log Message:
-----------
fix uploading of all sizes of icons

I've tested editicons on my hack with this fix in place and
all FOUR upload flows (small, medium, large, and URL) seem
to work fine now for me.


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

Changed paths:
M cgi-bin/DW/BlobStore/MogileFS.pm

Log Message:
-----------
Hotfix for checking number of paths in 'exists' method.


Compare: https://github.com/dreamwidth/dw-free/compare/2bd9807410de...e05fe1281a79
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 47b3933b5ab574d8f56d2f5b2ab1ba1fff83a340
https://github.com/dreamwidth/dw-free/commit/47b3933b5ab574d8f56d2f5b2ab1ba1fff83a340
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-14 (Tue, 14 Feb 2017)

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

Log Message:
-----------
fix uploading of all sizes of icons

I've tested editicons on my hack with this fix in place and
all FOUR upload flows (small, medium, large, and URL) seem
to work fine now for me.


Commit: 0cf1d70e38795791f5b974d1a95a7721efaa7a71
https://github.com/dreamwidth/dw-free/commit/0cf1d70e38795791f5b974d1a95a7721efaa7a71
Author: Jen <kareila@dreamwidth.org>
Date: 2017-02-15 (Wed, 15 Feb 2017)

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

Log Message:
-----------
Merge pull request #1983 from kareila/editicons-fix

fix uploading of non-factory, non-URL icons


Compare: https://github.com/dreamwidth/dw-free/compare/3b9f7ac308a6...0cf1d70e3879

Bujo: A Bullet Journal Community

2017-Feb-15, Wednesday 09:21
inkstone: Air Gear's Ringo pulling down her glasses (you can count on me!)
[personal profile] inkstone posting in [site community profile] dw_community_promo
Bujo promo banner


[community profile] bujo is a new community dedicated to all things related to bullet journals. Anyone who uses bullet journals, or is interested in using bullet journals, is welcome. It's a place for questions, advice, inspiration, and all-around general discussion. Please come and join us! :)

Dreamwidth news: 15 February 2017

2017-Feb-15, Wednesday 05:35
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise posting in [site community profile] dw_news
Hello, Dreamwidth! And thank you to everyone who wished me and my wife a happy vacation -- it was an excellent one. (Rumors that it was to help distract me from a significant birthday starting with 4 and ending with 0 are totally unfounded. Really.) It was also awesome to come back and see all of the new activity going on! I hope that everyone who's joined us in the last month or two has been settling in nicely.

Behind the cut, a tour of some of the new stuff we've done in the last few months, plus a look at some older changes that could use more love:

* Image Hosting Frontend
* HTTPS Beta
* Create Entries Beta: progress report
* Selective comment screening
* Other alphabets in site search: fixed!
* Icon file size limit increased
* Dreamwidth: Did You Know?
* Team Dreamwidth

DW News, 15 Feb 2017 )

*

That's it from us for another update! As always, if you're having problems with Dreamwidth, Support can help you; for notices of site problems and downtime, check the Twitter status page.

Comment notifications may be delayed for an hour or two, due to the high volume of notifications generated after an update is posted to [site community profile] dw_news. This was posted at 5:35AM EST (see in your time zone). Please don't worry about delayed notifications until at least two hours after that.
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 04389dda95709fee16ca73ae74b05a6f24fbba78
https://github.com/dreamwidth/dw-free/commit/04389dda95709fee16ca73ae74b05a6f24fbba78
Author: Robby Griffin <rmg@rmg-mbpr-3.local>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
change LF to CRLF in graph labels to display properly


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

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

Log Message:
-----------
Merge pull request #1977 from alierak/graph_labels_crlf

change LF to CRLF in graph labels to display properly


Compare: https://github.com/dreamwidth/dw-free/compare/79954c51a1ec...3b9f7ac308a6
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 993d91d280f8983ea3799f7411213affb43efd35
https://github.com/dreamwidth/dw-free/commit/993d91d280f8983ea3799f7411213affb43efd35
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
fix remote checking for access control of media files

Use a controller to do basic setup checking, including
bouncing for a user domain cookie if needed - LJ::get_remote
was failing when the user domain cookie wasn't available.

With that working, we can add functional support for viewall,
and remove the FIXME comment that requested it.


Commit: 48f7f7b18cf7312855565d58d6656b3a64d6ad7c
https://github.com/dreamwidth/dw-free/commit/48f7f7b18cf7312855565d58d6656b3a64d6ad7c
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
[#1940] allow hotlinking from crosspost sites

As @kaberett pointed out, crossposted entries that reference
hosted images will fail to load on the remote site, so let's
whitelist all known crosspost sites.


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

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

Log Message:
-----------
Merge pull request #1980 from kareila/1960-crossposts

fixes for media file access


Compare: https://github.com/dreamwidth/dw-free/compare/912dd34fe3f9...79954c51a1ec
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 1887e5374ef596480f54c8dd762ca95d5fe98ea5
https://github.com/dreamwidth/dw-free/commit/1887e5374ef596480f54c8dd762ca95d5fe98ea5
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

Changed paths:
M htdocs/stats.bml

Log Message:
-----------
remove early return from stats.bml

This early return prevented the "pretty graphs" from being
printed, with a comment saying they were broken. @alierak
says they are not broken - looks like newbyday.png is
generated by bin/maint/statspics.pl. The early return
dates from the original LJ import.


Commit: 368182a36b41ef83a9c6c7065654c59c4d641b40
https://github.com/dreamwidth/dw-free/commit/368182a36b41ef83a9c6c7065654c59c4d641b40
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

Changed paths:
M htdocs/stats.bml
M htdocs/stats.bml.text

Log Message:
-----------
graph printing logic improvements

While we're here, only try to display the image if the
image file exists, and English-strip the text.


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

Changed paths:
M htdocs/stats.bml
M htdocs/stats.bml.text

Log Message:
-----------
Merge pull request #1978 from kareila/show_stats_graph

re-enable stats graph printing


Compare: https://github.com/dreamwidth/dw-free/compare/b1ba2b6613e0...912dd34fe3f9
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 3d7b6a1134b0b86e442f374a3e5aa15de3368376
https://github.com/dreamwidth/dw-free/commit/3d7b6a1134b0b86e442f374a3e5aa15de3368376
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-14 (Tue, 14 Feb 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
[#1981] anchor regexp in break_word subroutine

Fixes #1981.


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

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
Merge pull request #1982 from kareila/1981-entities

[#1981] anchor regexp in break_word subroutine


Compare: https://github.com/dreamwidth/dw-free/compare/2bd9807410de...b1ba2b6613e0
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/release-1.32
Home: https://github.com/dreamwidth/dw-free
Commit: 2bd9807410def80a06f10a97a1f1cb36b51434fb
https://github.com/dreamwidth/dw-free/commit/2bd9807410def80a06f10a97a1f1cb36b51434fb
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
[#1936] fix missing single quote in thumbnail embed text
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 2bd9807410def80a06f10a97a1f1cb36b51434fb
https://github.com/dreamwidth/dw-free/commit/2bd9807410def80a06f10a97a1f1cb36b51434fb
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
[#1936] fix missing single quote in thumbnail embed text
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/code-tour
Home: https://github.com/dreamwidth/dw-free
Commit: 188786a92f5f72891f7854098bd20e20d13eb241
https://github.com/dreamwidth/dw-free/commit/188786a92f5f72891f7854098bd20e20d13eb241
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-01-24 (Tue, 24 Jan 2017)

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M cgi-bin/LJ/CleanHTML.pm

Log Message:
-----------
fix undefined string warnings

Use of uninitialized value in pattern match (m//) .. cgi-bin/LJ/CleanHTML.pm line 1419.

Use of uninitialized value in concatenation (.) or string .. cgi-bin/DW/Controller/Entry.pm line 1496.


Commit: 378067bd62597abf5fb6d2c87c2025a544c7dda9
https://github.com/dreamwidth/dw-free/commit/378067bd62597abf5fb6d2c87c2025a544c7dda9
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-01-24 (Tue, 24 Jan 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm

Log Message:
-----------
[#1948] add wbr tag to list of void elements

Should be treated the same as the br tag.

This fixes the reported problem where if someone
used in an entry, it would get autoclosed
with , which is invalid markup. Now it
will get changed to instead.


Commit: b57bc0fef6d34b814f51903eb7df75a13bcc8f5f
https://github.com/dreamwidth/dw-free/commit/b57bc0fef6d34b814f51903eb7df75a13bcc8f5f
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-01-24 (Tue, 24 Jan 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
[#1948] prefer punctuation points for word breaks

In most areas (entries, subjects, comments) the HTML cleaner will
insert a wbr tag in any "word" (text unbroken by whitespace)
longer than 40 characters, exactly at the 40th character point,
and for every 40 characters thereafter, if autoformatting is active.

This behavior could be improved, so let's try checking each
40 characters for punctuation characters, and if found, insert
the word break at that point instead.


Commit: 81580e1ce9e68dc3253db014e0b481372a374814
https://github.com/dreamwidth/dw-free/commit/81580e1ce9e68dc3253db014e0b481372a374814
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-01-24 (Tue, 24 Jan 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
[#1948] tweaks for word break behavior

1. The \B match failed if the word ended with punctuation, so just check to
see if we're at the end of the word after the match succeeds.

2. Make sure the regex finds the LAST punctuation character in the string.
Unexpectedly, it was matching the first one instead.

3. Don't do a breakpoint shift if the last punctuation character in the string
is the first character in the string - a common edge case resulting in a
premature word break.

4. Refactor printing logic to remove unneeded else case from conditional.

Also: more tests! Tests are great.


Commit: 66e9cc108b775758600678ad83373e97477ca928
https://github.com/dreamwidth/dw-free/commit/66e9cc108b775758600678ad83373e97477ca928
Author: Mark Smith <mark@qq.is>
Date: 2017-01-31 (Tue, 31 Jan 2017)

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M cgi-bin/LJ/CleanHTML.pm
M t/clean-event.t

Log Message:
-----------
Merge pull request #1949 from kareila/1948-wbr-fix

better automatic word-break behavior


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

Changed paths:
M cgi-bin/DW/Pay.pm

Log Message:
-----------
fix variable reuse warning in DW::Pay

"my" variable $rv masks earlier declaration in same scope .. cgi-bin/DW/Pay.pm line 533.

Traced this back to bd33881 - eval code added in two spots, but one of
the spots was already using $rv.

Changed the new $rv to use a different variable name, which means the
function will return the earlier $rv as before.


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

Changed paths:
M cgi-bin/DW/Pay.pm

Log Message:
-----------
Merge pull request #1951 from kareila/cleanup-2017q1

fix variable reuse warning in DW::Pay


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
alphabetize and fix whitespace


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1946] allow video embeds from Facebook


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1920] allow video embeds from CNN


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1908] allow embeds from 4shared.com


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1906] allow embeds from playmoss.com


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1860] allow embeds from onedrive.com


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
Merge pull request #1954 from kareila/embed_triage

Embed triage


Commit: 772464eacbec7f80e958017090b654a20e45ab47
https://github.com/dreamwidth/dw-free/commit/772464eacbec7f80e958017090b654a20e45ab47
Author: srukle <srukle@users.noreply.github.com>
Date: 2017-02-03 (Fri, 03 Feb 2017)

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm

Log Message:
-----------
Allow embeds from JSFiddle (#1837)

* Allow embeds from JSFiddle

Fixes #1713.


Commit: 91625b492aa35eaf3bc25f92fc678e2ed6471279
https://github.com/dreamwidth/dw-free/commit/91625b492aa35eaf3bc25f92fc678e2ed6471279
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

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

Log Message:
-----------
make sure necessary module is loaded

Error loading DW::Controller::Entry: Bareword "LJ::CMAX_SUBJECT" not allowed while "strict subs" in use .. cgi-bin/DW/Controller/Entry.pm line 425.


Commit: 73ba87ef394c3e07cae5ab3e58318a5536f9b9db
https://github.com/dreamwidth/dw-free/commit/73ba87ef394c3e07cae5ab3e58318a5536f9b9db
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
fix undefined string warning

Use of uninitialized value $_[0] in lc .. cgi-bin/LJ/User/Account.pm line 1259.


Commit: 9ea4199a768c0cc42b42a907601a595ce763ac75
https://github.com/dreamwidth/dw-free/commit/9ea4199a768c0cc42b42a907601a595ce763ac75
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
jsfiddle embed cleanup

Put the site in correct alphabetical order, and add the test case.


Commit: 93ef028a575bd1054ae05d4061a4b5f7c2514b48
https://github.com/dreamwidth/dw-free/commit/93ef028a575bd1054ae05d4061a4b5f7c2514b48
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/Keywords.pm

Log Message:
-----------
fix undefined string warning

Use of uninitialized value $kw in pattern match (m//) .. cgi-bin/LJ/Keywords.pm line 65.


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

Changed paths:
M htdocs/manage/circle/invite.bml

Log Message:
-----------
fix ML substitution mismatch in /manage/circle/invite

Use of uninitialized value in substitution iterator .. cgi-bin/LJ/Lang.pm line 609.

Traced this back to a translation string that specified "sitenameshort" in the code file and "sitename" in the text file.


Commit: 1f04282d862abddb87ad2bd21f7772b33e189631
https://github.com/dreamwidth/dw-free/commit/1f04282d862abddb87ad2bd21f7772b33e189631
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M htdocs/manage/circle/invite.bml

Log Message:
-----------
clean up trailing whitespace in /manage/circle/invite


Commit: 1b9651fab1d4cd9722fc926ee2d54f49ae3bdf60
https://github.com/dreamwidth/dw-free/commit/1b9651fab1d4cd9722fc926ee2d54f49ae3bdf60
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
[#1907] also look for http when given https

This works in my testing - if the OpenID account was
originally created with http, we can look up the existing
account with either http or https, instead of creating a
second account when the user switches to https.

Fixes #1907.


Commit: 7d324989296671d6e0d55f45c40b5a1fcbff4ba3
https://github.com/dreamwidth/dw-free/commit/7d324989296671d6e0d55f45c40b5a1fcbff4ba3
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
eliminate redundant identitymap lookup code

I noticed that LJ::load_user_or_identity had code identical
to the previous functionality of LJ::User::load_existing_identity_user.
This updates the former to use the latter and benefit from
the improved handling of https URLs.


Commit: 24848d0c8873621a3f2c88e4f0bba5880e4be819
https://github.com/dreamwidth/dw-free/commit/24848d0c8873621a3f2c88e4f0bba5880e4be819
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M htdocs/inbox/compose.bml

Log Message:
-----------
[#1744] use username, not display_name, in msg_to

This allows the message to be delivered successfully
when replying to a PM from an OpenID user.

Fixes #1744.


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

Changed paths:
M cgi-bin/DW/Controller/OpenID.pm
M views/openid/claim.tt.text

Log Message:
-----------
[#1939] return an error if trying to claim a deleted account

This does the check at the interface layer to preempt possible
problems in the backend.

Fixes #1939.


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

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M cgi-bin/LJ/Keywords.pm
M cgi-bin/LJ/User/Account.pm
M htdocs/manage/circle/invite.bml
M t/embed-whitelist.t

Log Message:
-----------
Merge pull request #1955 from kareila/cleanup-2017q1

Cleanup 2017q1


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: 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: 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: 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


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


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


Commit: 0c0e6c626e6f3bfb538db82608aa31d4e37a8cb6
https://github.com/dreamwidth/dw-free/commit/0c0e6c626e6f3bfb538db82608aa31d4e37a8cb6
Author: Mark Smith <mark@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/checkconfig.pl
M bin/delete-bogus-media.pl
M bin/incoming-mail-inject.pl
M bin/maint/clean_caches.pl
R bin/upgrading/migrate-userpics.pl
M bin/upgrading/update-db-general.pl
M bin/upgrading/update-db.pl
M bin/worker/incoming-email
R bin/worker/userpic-resize-gm
M cgi-bin/Apache/LiveJournal.pm
A cgi-bin/DW/BlobStore.pm
A cgi-bin/DW/BlobStore/LocalDisk.pm
A cgi-bin/DW/BlobStore/MogileFS.pm
A cgi-bin/DW/BlobStore/S3.pm
M cgi-bin/DW/Controller/API/Media.pm
A cgi-bin/DW/Controller/EditIcons.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Controller/RPC/MiscLegacy.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Userpics.pm
M cgi-bin/DW/Worker/ContentImporter/UserPictures.pm
M cgi-bin/LJ/ConfCheck/General.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/Directory/Constraint.pm
M cgi-bin/LJ/Directory/SetHandle/Mogile.pm
R cgi-bin/LJ/IncomingEmailHandle.pm
M cgi-bin/LJ/User/Account.pm
M cgi-bin/LJ/User/Icons.pm
M cgi-bin/LJ/Userpic.pm
M cgi-bin/ljlib.pl
M cgi-bin/modperl_subs.pl
M etc/config-private.pl
M etc/config.pl
A etc/log4perl.conf
M etc/workers.conf
M htdocs/admin/vgifts/index.bml
M htdocs/editicons.bml
M htdocs/tools/userpicfactory.bml
M t/aliases.t
A t/blobstore.t
M t/directorysearch.t
M t/media-security.t

Log Message:
-----------
Start BlobStore

This starts implementation of BlobStore which will replace all the
various storage layers we use for userpics/media. The idea is that we
should have one simple storage system and offload the work to other
people instead of doing it all ourself.

This is first part in removing MogileFS. It's a really complicated
system that is better replaced by using something simple with frontend
caching and/or a file storage service other people provide.

(Although the BlobStore interface was made with the idea that it can
support MogileFS pretty easily, so it's not actually hard... if we added
'namespace' to the API then it'd be a drop-in replacement.)

Additionally this adds Log::Log4perl as an easy way of logging things in
a more uniform way. I'm tired of not having logging messages and this
adds a very basic method of logging (with Carp support) in such a way
that it shows up in the Apache logs, but in a very useful format that
includes the package/line number that is generating the logs.


Commit: 5d780ef420aac9dd3955bc886476c31276166cd7
https://github.com/dreamwidth/dw-free/commit/5d780ef420aac9dd3955bc886476c31276166cd7
Author: Jen <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/checkconfig.pl
M bin/delete-bogus-media.pl
M bin/incoming-mail-inject.pl
M bin/maint/clean_caches.pl
R bin/upgrading/migrate-userpics.pl
M bin/upgrading/update-db-general.pl
M bin/upgrading/update-db.pl
M bin/worker/incoming-email
R bin/worker/userpic-resize-gm
M cgi-bin/Apache/LiveJournal.pm
A cgi-bin/DW/BlobStore.pm
A cgi-bin/DW/BlobStore/LocalDisk.pm
A cgi-bin/DW/BlobStore/MogileFS.pm
A cgi-bin/DW/BlobStore/S3.pm
M cgi-bin/DW/Controller/API/Media.pm
A cgi-bin/DW/Controller/EditIcons.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Controller/RPC/MiscLegacy.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Userpics.pm
M cgi-bin/DW/Worker/ContentImporter/UserPictures.pm
M cgi-bin/LJ/ConfCheck/General.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/Directory/Constraint.pm
M cgi-bin/LJ/Directory/SetHandle/Mogile.pm
R cgi-bin/LJ/IncomingEmailHandle.pm
M cgi-bin/LJ/User/Account.pm
M cgi-bin/LJ/User/Icons.pm
M cgi-bin/LJ/Userpic.pm
M cgi-bin/ljlib.pl
M cgi-bin/modperl_subs.pl
M etc/config-private.pl
M etc/config.pl
A etc/log4perl.conf
M etc/workers.conf
M htdocs/admin/vgifts/index.bml
M htdocs/editicons.bml
M htdocs/tools/userpicfactory.bml
M t/aliases.t
A t/blobstore.t
M t/directorysearch.t
M t/media-security.t

Log Message:
-----------
Merge pull request #1829 from zorkian/start-blobstore

Start BlobStore


Commit: 995fa7a1e48fc4dcef50733d603e3a3a37a83b49
https://github.com/dreamwidth/dw-free/commit/995fa7a1e48fc4dcef50733d603e3a3a37a83b49
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
A bin/upgrading/migrate-userpics.pl

Log Message:
-----------
resurrect old version of migrate-userpics.pl


Commit: 3b8996cfa35c931f44390d20ae53ab0f7b07f31b
https://github.com/dreamwidth/dw-free/commit/3b8996cfa35c931f44390d20ae53ab0f7b07f31b
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/upgrading/migrate-userpics.pl

Log Message:
-----------
move userpicblob2 data to blobstore


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

Changed paths:
M bin/upgrading/migrate-userpics.pl

Log Message:
-----------
use custom log4perl config


Commit: 65439455eec949821273c0f4a4c7c49a9e530441
https://github.com/dreamwidth/dw-free/commit/65439455eec949821273c0f4a4c7c49a9e530441
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
R bin/ljubackup.pl

Log Message:
-----------
remove bin/ljubackup.pl

Unused script which repeatedly runs ljbackup.pl (which
no longer exists) and copies the results into MogileFS
(which we are getting rid of).


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

Changed paths:
M bin/upgrading/update-db-general.pl

Log Message:
-----------
drop unused table backupdirty

Was only used in ljubackup.pl.


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

Changed paths:
M bin/checkconfig.pl

Log Message:
-----------
checkconfig.pl cleanup

* Indicate MogileFS::Client is now optional.

* Enforce minimum version of Text::Wrap.

* Don't export module functions during load testing.

That last item fixes an odd error I was seeing:
`Prototype mismatch: sub main::validate: none vs (\@$) at /usr/share/perl/5.18/Exporter.pm line 66.`

The cause: Params::Validate and Business::CreditCard both export
functions named `validate`, with different argument prototypes.


Commit: 3a348ba563837478165ce1aca3295c1a31f9ba27
https://github.com/dreamwidth/dw-free/commit/3a348ba563837478165ce1aca3295c1a31f9ba27
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/modperl_subs.pl

Log Message:
-----------
stop including MogileFS::Client


Commit: 4c552568bc2db41aef555ada3947135112863003
https://github.com/dreamwidth/dw-free/commit/4c552568bc2db41aef555ada3947135112863003
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M t/blobstore.t

Log Message:
-----------
incorrect file name in header


Commit: 8aa43ed152f6f904eb2743d14ec3f09384076318
https://github.com/dreamwidth/dw-free/commit/8aa43ed152f6f904eb2743d14ec3f09384076318
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M htdocs/admin/vgifts/index.bml.text
M t/console-expungeuserpic.t
M t/directorysearch.t

Log Message:
-----------
remove other textual MogileFS references


Commit: 8bbcf3aeb755830dedea38908668555ceb0e27ef
https://github.com/dreamwidth/dw-free/commit/8bbcf3aeb755830dedea38908668555ceb0e27ef
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
R cgi-bin/LJ/ConfCheck.pm
R cgi-bin/LJ/ConfCheck/General.pm
M t/00-compile.t

Log Message:
-----------
[#1915] remove unused ConfCheck modules

Fixes #1915.


Commit: 578c6fef72476075827577cb3db9e4dbf7a94a56
https://github.com/dreamwidth/dw-free/commit/578c6fef72476075827577cb3db9e4dbf7a94a56
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/ljlib.pl

Log Message:
-----------
allow etc/log4perl.conf to be superceded by ext/local

Use LJ::resolve_file to prefer a version in ext/local
over the stock version in LJHOME, like we do for other
config files.


Commit: 2f2ad767e68fa8c7856dfae0ff9808aab7de570c
https://github.com/dreamwidth/dw-free/commit/2f2ad767e68fa8c7856dfae0ff9808aab7de570c
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Logic/MenuNav.pm

Log Message:
-----------
[#1942] add file/new, file/edit to menunav


Commit: 23f25444cf412a7957267e1c1d7e2f61311b2858
https://github.com/dreamwidth/dw-free/commit/23f25444cf412a7957267e1c1d7e2f61311b2858
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Media.pm

Log Message:
-----------
don't let OpenID users upload files


Commit: 005e4eee36b2065339654ab2e54d943c812e7c94
https://github.com/dreamwidth/dw-free/commit/005e4eee36b2065339654ab2e54d943c812e7c94
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1968] allow embeds from scratch.mit.edu


Commit: 5a9dbc689bae6fab5f4d68acaa2cec51b1e103d7
https://github.com/dreamwidth/dw-free/commit/5a9dbc689bae6fab5f4d68acaa2cec51b1e103d7
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M etc/log4perl.conf

Log Message:
-----------
add comments explaining other log levels


Commit: 4802c5ad7862c011109fbcc9ba5d9b8c4c0a43c3
https://github.com/dreamwidth/dw-free/commit/4802c5ad7862c011109fbcc9ba5d9b8c4c0a43c3
Author: rshatch <ruth.s.hatch@gmail.com>
Date: 2017-02-11 (Sat, 11 Feb 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M htdocs/js/jquery.fileupload.js
M htdocs/scss/components/foundation-custom/_pagination.scss
M htdocs/scss/pages/media/new.scss
M htdocs/scss/skins/_skin-colors.scss
M htdocs/stc/media.css
M views/media/edit.tt
M views/media/edit.tt.text
A views/media/field-row.tt
M views/media/home.tt
M views/media/home.tt.text
M views/media/index.tt
M views/media/index.tt.text
M views/media/new.tt
M views/media/new.tt.text

Log Message:
-----------
Updates to the image uploader and management system (#1961)

* Updates to the image uploader and management system

-adds an index page with links to all subpages
-adds editable textfields for title, description and alt-text
-adds two views for showing all files, with pagination
-list view shows all info about the original file with embed code
for fullsized and selectable thumbnail sized versions of the image
-grid view shows title, file size and dimensions, and thumbnail embed code
-pload date and time is now shown in list view
-file list now displays correct text when no files have been uploaded
-all subpaes are now crosslinked with other subpages
-uploader page now has alt-text field, and displays message on successful upload
-language across pages has been standardized to say 'images' instead of a mix
of 'files' and 'images'.
-edit page has been converted to Foundation
-backend changes make original file's url, size, and dimensions available to
resized versions of that image

Fixes #1936.


Commit: 27853cffd20ef3ac19268998446e21bd9dce4191
https://github.com/dreamwidth/dw-free/commit/27853cffd20ef3ac19268998446e21bd9dce4191
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-11 (Sat, 11 Feb 2017)

Changed paths:
M cgi-bin/DW/Routing.pm

Log Message:
-----------
[#1325] let register_string redirect pagename/ to pagename

Fixes #1325 for pages that use register_string.


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

Changed paths:
M cgi-bin/DW/Controller/OpenID.pm
M cgi-bin/LJ/User/Account.pm
M htdocs/inbox/compose.bml
M views/openid/claim.tt.text

Log Message:
-----------
Merge pull request #1956 from kareila/openid_fixes

OpenID fixes


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

Changed paths:
R bin/ljubackup.pl
M bin/upgrading/update-db-general.pl

Log Message:
-----------
Merge pull request #1963 from kareila/remove-ljubackup

remove bin/ljubackup.pl


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
Merge pull request #1971 from kareila/1968-scratch-embed

[#1968] allow embeds from scratch.mit.edu


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

Changed paths:
M cgi-bin/ljlib.pl
M etc/log4perl.conf

Log Message:
-----------
Merge pull request #1967 from kareila/local-logconf

allow etc/log4perl.conf to be superceded by ext/local


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

Changed paths:
R cgi-bin/LJ/ConfCheck.pm
R cgi-bin/LJ/ConfCheck/General.pm
M t/00-compile.t

Log Message:
-----------
Merge pull request #1965 from kareila/1915-confcheck

[#1915] remove unused ConfCheck modules


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

Changed paths:
M cgi-bin/DW/Routing.pm

Log Message:
-----------
Merge pull request #1974 from kareila/1325-redirect

[#1325] let register_string redirect pagename/ to pagename


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

Changed paths:
A bin/upgrading/migrate-userpics.pl

Log Message:
-----------
Merge pull request #1962 from kareila/migrate-userpicblob2

Migrate userpicblob2 icons


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

Changed paths:
M bin/checkconfig.pl
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/modperl_subs.pl
M htdocs/admin/vgifts/index.bml.text
M t/blobstore.t
M t/console-expungeuserpic.t
M t/directorysearch.t

Log Message:
-----------
Merge pull request #1964 from kareila/cleanup-2017q1

Blobstore-related cleanup


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

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Logic/MenuNav.pm
M cgi-bin/DW/Media.pm

Log Message:
-----------
Merge pull request #1970 from kareila/1942-navmenu-files

[#1942] add file/new, file/edit to menunav


Compare: https://github.com/dreamwidth/dw-free/compare/73bb021de6ff...2dea49af161f

[dreamwidth/dw-free]

2017-Feb-12, Sunday 21:37
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/release-1.32
Home: https://github.com/dreamwidth/dw-free

[dreamwidth/dw-nonfree]

2017-Feb-12, Sunday 21:37
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/release-1.32
Home: https://github.com/dreamwidth/dw-nonfree
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 774f909fb8bc5796c10c256c04b0ed0eaf9e906f
https://github.com/dreamwidth/dw-free/commit/774f909fb8bc5796c10c256c04b0ed0eaf9e906f
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

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

Log Message:
-----------
[#1931] delete associated thumbnails when a media image is deleted

This calls the parent method to do the deletion as before,
then looks for other versions of the same image to also
delete from storage once the original is gone.

Fixes #1931.


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

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

Log Message:
-----------
[#1940] don't count deleted files against quotas

I realized when testing the new delete method that the
relevant rows in media_versions are preserved, so we
need to crosscheck against the 'state' column of the
media table and make sure we aren't counting the
sizes of deleted files against the user's quota.


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

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

Log Message:
-----------
incorporate feedback from code review


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

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

Log Message:
-----------
Merge pull request #1969 from kareila/1931-delete-thumbnails

delete associated thumbnails when a media image is deleted


Compare: https://github.com/dreamwidth/dw-free/compare/d6e83bde7c84...443c194f10f0

Code push imminent!

2017-Feb-12, Sunday 23:07
karzilla: a green fist above the word SMASH! (Default)
[staff profile] karzilla posting in [site community profile] dw_maintenance
We're about to pull the lever on tonight's code push! I'll update this post when it's finished. For a reminder of what to expect, check the previous post for the list of changes.

Update: All done! Comment here if you notice any issues that need our attention.

[dreamwidth/dw-free] d6e83b: Updates

2017-Feb-12, Sunday 21:01
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: d6e83bde7c848f107df6e6ceda4c93a388528bb1
https://github.com/dreamwidth/dw-free/commit/d6e83bde7c848f107df6e6ceda4c93a388528bb1
Author: Mark Smith <mark@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

Changed paths:
M bin/worker/esn-process-sub
M cgi-bin/DW/Stats.pm

Log Message:
-----------
Updates
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 1866146ec1b4e9cd952de48353f102dd33659f3a
https://github.com/dreamwidth/dw-free/commit/1866146ec1b4e9cd952de48353f102dd33659f3a
Author: Mark Smith <mark@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

Changed paths:
A bin/erase-imported-content
R bin/erase-imported-content.pl
A bin/importadm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Comments.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Entries.pm
M cgi-bin/DW/Worker/ContentImporter/Local/Entries.pm
M cgi-bin/LJ/Protocol.pm
M cgi-bin/LJ/User/Account.pm
M cgi-bin/LJ/User/Display.pm
M cgi-bin/LJ/Widget/ImportChooseSource.pm

Log Message:
-----------
Update importer

This is a collection of fixes over the past two months since the
importer was under heavier use. Also some tooling updates.

Code Tour: 02/02/17 - 02/12/17

2017-Feb-12, Sunday 23:53
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
[personal profile] momijizukamori posting in [site community profile] dw_dev
11 items on this second half of the code tour, all by [staff profile] karzilla, Wielder of the Code Machete.

Read more... )
azurelunatic: White capslock text on black background: AS OF 0700 GMT, OPERATIONS HAS DECLARED CASE *CAPSLOCK*. (case capslock)
[personal profile] azurelunatic posting in [site community profile] dw_dev
[personal profile] momijizukamori and I split this chunk of code tour, so here we go with the first half. This tour is for code being pushed tonight (assuming that between The Crud for one of the folks, and a power outage for another, everything's going to be good to go) so that everyone needs to hang on tighter (in order to keep from being thrown to the wolves).

17 items in this half of the code tour, brought to you by: long-time volunteer [github.com profile] LivredOr returning, relatively new and delightful [github.com profile] srukle, very busy DevCom [github.com profile] kareila (aka [staff profile] karzilla), our own [github.com profile] zorkian ([staff profile] mark), and the amazing [github.com profile] rshatch DID I MENTION THE FACELIFT OF THE IMAGE HOSTING OMG WE HAVE IMAGE HOSTING.

On to the tour!

Read more... )

Critical Role: Fan Community

2017-Feb-12, Sunday 14:31
lunarwolfik: (Default)
[personal profile] lunarwolfik posting in [site community profile] dw_community_promo


Do you love Dungeons and Dragons? Do you love voice actors? Have you ever thought to yourself "wouldn't it be awesome if a show combined dragons and professional voice actors rp-ing adorable characters in awkward situations and life and death battles"?

Go check out Critical Role, the show where a bunch of nerdy-ass voice actors play dungeons and dragons.

And while you're watching it (or if you're already a fan) come check out the brand new [community profile] criticalrole community!

We'll be having weekly discussion posts, fanfic/fanart recs, flails about our favorite characters, and much more to come!
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 2f2ad767e68fa8c7856dfae0ff9808aab7de570c
https://github.com/dreamwidth/dw-free/commit/2f2ad767e68fa8c7856dfae0ff9808aab7de570c
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Logic/MenuNav.pm

Log Message:
-----------
[#1942] add file/new, file/edit to menunav


Commit: 23f25444cf412a7957267e1c1d7e2f61311b2858
https://github.com/dreamwidth/dw-free/commit/23f25444cf412a7957267e1c1d7e2f61311b2858
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Media.pm

Log Message:
-----------
don't let OpenID users upload files


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

Changed paths:
M bin/upgrading/en.dat
M cgi-bin/DW/Controller/API/Media.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Logic/MenuNav.pm
M cgi-bin/DW/Media.pm

Log Message:
-----------
Merge pull request #1970 from kareila/1942-navmenu-files

[#1942] add file/new, file/edit to menunav


Compare: https://github.com/dreamwidth/dw-free/compare/e10aecfb69e5...2dea49af161f
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: f372661cd79f18f0a62b0973d790a2439dfdd660
https://github.com/dreamwidth/dw-free/commit/f372661cd79f18f0a62b0973d790a2439dfdd660
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M bin/checkconfig.pl

Log Message:
-----------
checkconfig.pl cleanup

* Indicate MogileFS::Client is now optional.

* Enforce minimum version of Text::Wrap.

* Don't export module functions during load testing.

That last item fixes an odd error I was seeing:
`Prototype mismatch: sub main::validate: none vs (\@$) at /usr/share/perl/5.18/Exporter.pm line 66.`

The cause: Params::Validate and Business::CreditCard both export
functions named `validate`, with different argument prototypes.


Commit: 3a348ba563837478165ce1aca3295c1a31f9ba27
https://github.com/dreamwidth/dw-free/commit/3a348ba563837478165ce1aca3295c1a31f9ba27
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/modperl_subs.pl

Log Message:
-----------
stop including MogileFS::Client


Commit: 4c552568bc2db41aef555ada3947135112863003
https://github.com/dreamwidth/dw-free/commit/4c552568bc2db41aef555ada3947135112863003
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M t/blobstore.t

Log Message:
-----------
incorrect file name in header


Commit: 8aa43ed152f6f904eb2743d14ec3f09384076318
https://github.com/dreamwidth/dw-free/commit/8aa43ed152f6f904eb2743d14ec3f09384076318
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M htdocs/admin/vgifts/index.bml.text
M t/console-expungeuserpic.t
M t/directorysearch.t

Log Message:
-----------
remove other textual MogileFS references


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

Changed paths:
M bin/checkconfig.pl
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/modperl_subs.pl
M htdocs/admin/vgifts/index.bml.text
M t/blobstore.t
M t/console-expungeuserpic.t
M t/directorysearch.t

Log Message:
-----------
Merge pull request #1964 from kareila/cleanup-2017q1

Blobstore-related cleanup


Compare: https://github.com/dreamwidth/dw-free/compare/c616c8e95940...e10aecfb69e5
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 995fa7a1e48fc4dcef50733d603e3a3a37a83b49
https://github.com/dreamwidth/dw-free/commit/995fa7a1e48fc4dcef50733d603e3a3a37a83b49
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
A bin/upgrading/migrate-userpics.pl

Log Message:
-----------
resurrect old version of migrate-userpics.pl


Commit: 3b8996cfa35c931f44390d20ae53ab0f7b07f31b
https://github.com/dreamwidth/dw-free/commit/3b8996cfa35c931f44390d20ae53ab0f7b07f31b
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/upgrading/migrate-userpics.pl

Log Message:
-----------
move userpicblob2 data to blobstore


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

Changed paths:
M bin/upgrading/migrate-userpics.pl

Log Message:
-----------
use custom log4perl config


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

Changed paths:
A bin/upgrading/migrate-userpics.pl

Log Message:
-----------
Merge pull request #1962 from kareila/migrate-userpicblob2

Migrate userpicblob2 icons


Compare: https://github.com/dreamwidth/dw-free/compare/3a83cd31fb8e...c616c8e95940
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 27853cffd20ef3ac19268998446e21bd9dce4191
https://github.com/dreamwidth/dw-free/commit/27853cffd20ef3ac19268998446e21bd9dce4191
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-11 (Sat, 11 Feb 2017)

Changed paths:
M cgi-bin/DW/Routing.pm

Log Message:
-----------
[#1325] let register_string redirect pagename/ to pagename

Fixes #1325 for pages that use register_string.


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

Changed paths:
M cgi-bin/DW/Routing.pm

Log Message:
-----------
Merge pull request #1974 from kareila/1325-redirect

[#1325] let register_string redirect pagename/ to pagename


Compare: https://github.com/dreamwidth/dw-free/compare/9c10ec38c42b...3a83cd31fb8e
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 8bbcf3aeb755830dedea38908668555ceb0e27ef
https://github.com/dreamwidth/dw-free/commit/8bbcf3aeb755830dedea38908668555ceb0e27ef
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
R cgi-bin/LJ/ConfCheck.pm
R cgi-bin/LJ/ConfCheck/General.pm
M t/00-compile.t

Log Message:
-----------
[#1915] remove unused ConfCheck modules

Fixes #1915.


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

Changed paths:
R cgi-bin/LJ/ConfCheck.pm
R cgi-bin/LJ/ConfCheck/General.pm
M t/00-compile.t

Log Message:
-----------
Merge pull request #1965 from kareila/1915-confcheck

[#1915] remove unused ConfCheck modules


Compare: https://github.com/dreamwidth/dw-free/compare/62b44d293a2b...9c10ec38c42b
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 578c6fef72476075827577cb3db9e4dbf7a94a56
https://github.com/dreamwidth/dw-free/commit/578c6fef72476075827577cb3db9e4dbf7a94a56
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/ljlib.pl

Log Message:
-----------
allow etc/log4perl.conf to be superceded by ext/local

Use LJ::resolve_file to prefer a version in ext/local
over the stock version in LJHOME, like we do for other
config files.


Commit: 5a9dbc689bae6fab5f4d68acaa2cec51b1e103d7
https://github.com/dreamwidth/dw-free/commit/5a9dbc689bae6fab5f4d68acaa2cec51b1e103d7
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M etc/log4perl.conf

Log Message:
-----------
add comments explaining other log levels


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

Changed paths:
M cgi-bin/ljlib.pl
M etc/log4perl.conf

Log Message:
-----------
Merge pull request #1967 from kareila/local-logconf

allow etc/log4perl.conf to be superceded by ext/local


Compare: https://github.com/dreamwidth/dw-free/compare/f0eb84dbaecc...62b44d293a2b
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 005e4eee36b2065339654ab2e54d943c812e7c94
https://github.com/dreamwidth/dw-free/commit/005e4eee36b2065339654ab2e54d943c812e7c94
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-10 (Fri, 10 Feb 2017)

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
[#1968] allow embeds from scratch.mit.edu


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

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
Merge pull request #1971 from kareila/1968-scratch-embed

[#1968] allow embeds from scratch.mit.edu


Compare: https://github.com/dreamwidth/dw-free/compare/4a947554c470...f0eb84dbaecc
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 65439455eec949821273c0f4a4c7c49a9e530441
https://github.com/dreamwidth/dw-free/commit/65439455eec949821273c0f4a4c7c49a9e530441
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
R bin/ljubackup.pl

Log Message:
-----------
remove bin/ljubackup.pl

Unused script which repeatedly runs ljbackup.pl (which
no longer exists) and copies the results into MogileFS
(which we are getting rid of).


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

Changed paths:
M bin/upgrading/update-db-general.pl

Log Message:
-----------
drop unused table backupdirty

Was only used in ljubackup.pl.


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

Changed paths:
R bin/ljubackup.pl
M bin/upgrading/update-db-general.pl

Log Message:
-----------
Merge pull request #1963 from kareila/remove-ljubackup

remove bin/ljubackup.pl


Compare: https://github.com/dreamwidth/dw-free/compare/82c9100e7c16...4a947554c470
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 1b9651fab1d4cd9722fc926ee2d54f49ae3bdf60
https://github.com/dreamwidth/dw-free/commit/1b9651fab1d4cd9722fc926ee2d54f49ae3bdf60
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
[#1907] also look for http when given https

This works in my testing - if the OpenID account was
originally created with http, we can look up the existing
account with either http or https, instead of creating a
second account when the user switches to https.

Fixes #1907.


Commit: 7d324989296671d6e0d55f45c40b5a1fcbff4ba3
https://github.com/dreamwidth/dw-free/commit/7d324989296671d6e0d55f45c40b5a1fcbff4ba3
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
eliminate redundant identitymap lookup code

I noticed that LJ::load_user_or_identity had code identical
to the previous functionality of LJ::User::load_existing_identity_user.
This updates the former to use the latter and benefit from
the improved handling of https URLs.


Commit: 24848d0c8873621a3f2c88e4f0bba5880e4be819
https://github.com/dreamwidth/dw-free/commit/24848d0c8873621a3f2c88e4f0bba5880e4be819
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M htdocs/inbox/compose.bml

Log Message:
-----------
[#1744] use username, not display_name, in msg_to

This allows the message to be delivered successfully
when replying to a PM from an OpenID user.

Fixes #1744.


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

Changed paths:
M cgi-bin/DW/Controller/OpenID.pm
M views/openid/claim.tt.text

Log Message:
-----------
[#1939] return an error if trying to claim a deleted account

This does the check at the interface layer to preempt possible
problems in the backend.

Fixes #1939.


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

Changed paths:
M cgi-bin/DW/Controller/OpenID.pm
M cgi-bin/LJ/User/Account.pm
M htdocs/inbox/compose.bml
M views/openid/claim.tt.text

Log Message:
-----------
Merge pull request #1956 from kareila/openid_fixes

OpenID fixes


Compare: https://github.com/dreamwidth/dw-free/compare/4802c5ad7862...82c9100e7c16
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie posting in [site community profile] dw_dev
Hello! Your friendly neighbourhood Dreamhack admin here.

I've updated the version of Locale::Country that the Dreamhack machine uses - we were on 3.25, and we're now on 3.42.

I also installed the Log::Log4perl module, as it's now being used by the codebase. This should make update-db.pl work again!

If there are any issues (related to these or otherwise), please comment and let me know!
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 4802c5ad7862c011109fbcc9ba5d9b8c4c0a43c3
https://github.com/dreamwidth/dw-free/commit/4802c5ad7862c011109fbcc9ba5d9b8c4c0a43c3
Author: rshatch <ruth.s.hatch@gmail.com>
Date: 2017-02-11 (Sat, 11 Feb 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M htdocs/js/jquery.fileupload.js
M htdocs/scss/components/foundation-custom/_pagination.scss
M htdocs/scss/pages/media/new.scss
M htdocs/scss/skins/_skin-colors.scss
M htdocs/stc/media.css
M views/media/edit.tt
M views/media/edit.tt.text
A views/media/field-row.tt
M views/media/home.tt
M views/media/home.tt.text
M views/media/index.tt
M views/media/index.tt.text
M views/media/new.tt
M views/media/new.tt.text

Log Message:
-----------
Updates to the image uploader and management system (#1961)

* Updates to the image uploader and management system

-adds an index page with links to all subpages
-adds editable textfields for title, description and alt-text
-adds two views for showing all files, with pagination
-list view shows all info about the original file with embed code
for fullsized and selectable thumbnail sized versions of the image
-grid view shows title, file size and dimensions, and thumbnail embed code
-pload date and time is now shown in list view
-file list now displays correct text when no files have been uploaded
-all subpaes are now crosslinked with other subpages
-uploader page now has alt-text field, and displays message on successful upload
-language across pages has been standardized to say 'images' instead of a mix
of 'files' and 'images'.
-edit page has been converted to Foundation
-backend changes make original file's url, size, and dimensions available to
resized versions of that image

Fixes #1936.
karzilla: a green fist above the word SMASH! (Default)
[staff profile] karzilla posting in [site community profile] dw_maintenance
We are planning to do a code push late this weekend, at approximately 9pm PST / 12am EST / 5am UTC on either Sunday, Feb 12 or Monday, Feb 13, depending on whether you live east or west of midnight. (Time is an illusion anyway, right?)

Here's a partial list of changes that will go live with this push, apart from the usual minor tweaks and bugfixes:

  • HTTPS Everywhere beta! Users can opt-in to have all Dreamwidth content automatically served over HTTPS. We'll post the instructions for this after the feature goes live.

  • New and improved design for the file management pages, which we were hiding from you because we were so embarrassed about them before. Thanks to [personal profile] momijizukamori for making them prettier and more functional!

  • Backend fixes to resolve problems using the aforementioned file management pages. (Did I already mention the embarrassment?)

  • At long last, international character support for journal search! Our systems guru [personal profile] alierak finally cracked this long-standing bug.

  • Support index page converted to Foundation styling, for your mobile viewing pleasure.

  • For users of the Practicality style: color properties now sort properly in the customization wizard.

  • For users of the Drifting style: the QuickReply box will now appear in the appropriate location, instead of wandering off somewhere unexpected.

  • Improved handling of word break (<wbr>) elements in user entries.

  • Allow embeds from: Facebook, CNN, 4shared.com, playmoss.com, onedrive.com, jsfiddle.net, scratch.mit.edu


We'll update again to let you know when the code push is in progress!

RPG Citadel: Looking for New Players

2017-Feb-09, Thursday 10:02
jennandanica: (Default)
[personal profile] jennandanica posting in [site community profile] dw_community_promo


Genre: Celebrity BDSM RPS
Name: Citadel
Contact: the mods - [personal profile] jennandanica, [personal profile] fiercy and [personal profile] alley_oops
Main Comm: Citadel
Minimum Age Requirement: 18+
Deadline: None

More Information on the Game )

Current Pups (Already Taken) )

moving away from MogileFS

2017-Feb-08, Wednesday 22:51
karzilla: a green fist above the word SMASH! (Default)
[staff profile] karzilla posting in [site community profile] dw_dev
We're about to deploy a new backend interface for file storage, called BlobStore, which [staff profile] mark wrote over the past few months with the intention of standardizing how file storage is handled in our code and making it work with any number of possible underlying technologies. It currently supports MogileFS and local disk, and we plan to add support for S3 in the future.

At this point, MogileFS is considered legacy technology. If your site is set up to use MogileFS, that configuration will continue to work under BlobStore for now. However, no new code that requires MogileFS will be accepted.

What you need to know if you are writing code: the new methods are implemented in cgi-bin/DW/BlobStore.pm and are pretty straightforward. For the most part they serve as drop-in replacements for the MogileFS file methods.

What you need to know if you are running a server: if you try to do anything related to uploading images, including userpics, you will get a fatal error unless you have defined either %LJ::BLOBSTORE or %LJ::MOGILEFS_CONFIG. So if you were already using MogileFS, you're fine, but if not, you will need to set up local disk storage in one of your local config files. The stock etc/config-private.pl in dw-free will have an example %LJ::BLOBSTORE that you can uncomment and use.

What you need to know if your existing userpics disappear: If you were running a server without MogileFS, all of your system's userpics were stored in a database table, and use of that table is no longer supported. I'm working on a new version of the migrate-userpics.pl script that can be used to move the images into your BlobStore once you've got that configured. (Update: this is available in bin/upgrading/migrate-userpics.pl.)

Obviously this will all need to be documented on the wiki somewhere, but I've got my hands full right now making sure everything is nailed down to push these changes into production in a few days. Let me know if there's anything I didn't cover here that needs to be addressed.
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 0c0e6c626e6f3bfb538db82608aa31d4e37a8cb6
https://github.com/dreamwidth/dw-free/commit/0c0e6c626e6f3bfb538db82608aa31d4e37a8cb6
Author: Mark Smith <mark@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/checkconfig.pl
M bin/delete-bogus-media.pl
M bin/incoming-mail-inject.pl
M bin/maint/clean_caches.pl
R bin/upgrading/migrate-userpics.pl
M bin/upgrading/update-db-general.pl
M bin/upgrading/update-db.pl
M bin/worker/incoming-email
R bin/worker/userpic-resize-gm
M cgi-bin/Apache/LiveJournal.pm
A cgi-bin/DW/BlobStore.pm
A cgi-bin/DW/BlobStore/LocalDisk.pm
A cgi-bin/DW/BlobStore/MogileFS.pm
A cgi-bin/DW/BlobStore/S3.pm
M cgi-bin/DW/Controller/API/Media.pm
A cgi-bin/DW/Controller/EditIcons.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Controller/RPC/MiscLegacy.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Userpics.pm
M cgi-bin/DW/Worker/ContentImporter/UserPictures.pm
M cgi-bin/LJ/ConfCheck/General.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/Directory/Constraint.pm
M cgi-bin/LJ/Directory/SetHandle/Mogile.pm
R cgi-bin/LJ/IncomingEmailHandle.pm
M cgi-bin/LJ/User/Account.pm
M cgi-bin/LJ/User/Icons.pm
M cgi-bin/LJ/Userpic.pm
M cgi-bin/ljlib.pl
M cgi-bin/modperl_subs.pl
M etc/config-private.pl
M etc/config.pl
A etc/log4perl.conf
M etc/workers.conf
M htdocs/admin/vgifts/index.bml
M htdocs/editicons.bml
M htdocs/tools/userpicfactory.bml
M t/aliases.t
A t/blobstore.t
M t/directorysearch.t
M t/media-security.t

Log Message:
-----------
Start BlobStore

This starts implementation of BlobStore which will replace all the
various storage layers we use for userpics/media. The idea is that we
should have one simple storage system and offload the work to other
people instead of doing it all ourself.

This is first part in removing MogileFS. It's a really complicated
system that is better replaced by using something simple with frontend
caching and/or a file storage service other people provide.

(Although the BlobStore interface was made with the idea that it can
support MogileFS pretty easily, so it's not actually hard... if we added
'namespace' to the API then it'd be a drop-in replacement.)

Additionally this adds Log::Log4perl as an easy way of logging things in
a more uniform way. I'm tired of not having logging messages and this
adds a very basic method of logging (with Carp support) in such a way
that it shows up in the Apache logs, but in a very useful format that
includes the package/line number that is generating the logs.


Commit: 5d780ef420aac9dd3955bc886476c31276166cd7
https://github.com/dreamwidth/dw-free/commit/5d780ef420aac9dd3955bc886476c31276166cd7
Author: Jen <kareila@dreamwidth.org>
Date: 2017-02-08 (Wed, 08 Feb 2017)

Changed paths:
M bin/checkconfig.pl
M bin/delete-bogus-media.pl
M bin/incoming-mail-inject.pl
M bin/maint/clean_caches.pl
R bin/upgrading/migrate-userpics.pl
M bin/upgrading/update-db-general.pl
M bin/upgrading/update-db.pl
M bin/worker/incoming-email
R bin/worker/userpic-resize-gm
M cgi-bin/Apache/LiveJournal.pm
A cgi-bin/DW/BlobStore.pm
A cgi-bin/DW/BlobStore/LocalDisk.pm
A cgi-bin/DW/BlobStore/MogileFS.pm
A cgi-bin/DW/BlobStore/S3.pm
M cgi-bin/DW/Controller/API/Media.pm
A cgi-bin/DW/Controller/EditIcons.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Controller/RPC/MiscLegacy.pm
M cgi-bin/DW/EmailPost/Entry.pm
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm
M cgi-bin/DW/VirtualGift.pm
M cgi-bin/DW/Worker/ContentImporter/LiveJournal/Userpics.pm
M cgi-bin/DW/Worker/ContentImporter/UserPictures.pm
M cgi-bin/LJ/ConfCheck/General.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/Directory/Constraint.pm
M cgi-bin/LJ/Directory/SetHandle/Mogile.pm
R cgi-bin/LJ/IncomingEmailHandle.pm
M cgi-bin/LJ/User/Account.pm
M cgi-bin/LJ/User/Icons.pm
M cgi-bin/LJ/Userpic.pm
M cgi-bin/ljlib.pl
M cgi-bin/modperl_subs.pl
M etc/config-private.pl
M etc/config.pl
A etc/log4perl.conf
M etc/workers.conf
M htdocs/admin/vgifts/index.bml
M htdocs/editicons.bml
M htdocs/tools/userpicfactory.bml
M t/aliases.t
A t/blobstore.t
M t/directorysearch.t
M t/media-security.t

Log Message:
-----------
Merge pull request #1829 from zorkian/start-blobstore

Start BlobStore


Compare: https://github.com/dreamwidth/dw-free/compare/5ef9d6b80867...5d780ef420aa
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
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
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog
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 posting in [site community profile] changelog
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 posting in [site community profile] changelog
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 91625b492aa35eaf3bc25f92fc678e2ed6471279
https://github.com/dreamwidth/dw-free/commit/91625b492aa35eaf3bc25f92fc678e2ed6471279
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

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

Log Message:
-----------
make sure necessary module is loaded

Error loading DW::Controller::Entry: Bareword "LJ::CMAX_SUBJECT" not allowed while "strict subs" in use .. cgi-bin/DW/Controller/Entry.pm line 425.


Commit: 73ba87ef394c3e07cae5ab3e58318a5536f9b9db
https://github.com/dreamwidth/dw-free/commit/73ba87ef394c3e07cae5ab3e58318a5536f9b9db
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/User/Account.pm

Log Message:
-----------
fix undefined string warning

Use of uninitialized value $_[0] in lc .. cgi-bin/LJ/User/Account.pm line 1259.


Commit: 9ea4199a768c0cc42b42a907601a595ce763ac75
https://github.com/dreamwidth/dw-free/commit/9ea4199a768c0cc42b42a907601a595ce763ac75
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M t/embed-whitelist.t

Log Message:
-----------
jsfiddle embed cleanup

Put the site in correct alphabetical order, and add the test case.


Commit: 93ef028a575bd1054ae05d4061a4b5f7c2514b48
https://github.com/dreamwidth/dw-free/commit/93ef028a575bd1054ae05d4061a4b5f7c2514b48
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M cgi-bin/LJ/Keywords.pm

Log Message:
-----------
fix undefined string warning

Use of uninitialized value $kw in pattern match (m//) .. cgi-bin/LJ/Keywords.pm line 65.


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

Changed paths:
M htdocs/manage/circle/invite.bml

Log Message:
-----------
fix ML substitution mismatch in /manage/circle/invite

Use of uninitialized value in substitution iterator .. cgi-bin/LJ/Lang.pm line 609.

Traced this back to a translation string that specified "sitenameshort" in the code file and "sitename" in the text file.


Commit: 1f04282d862abddb87ad2bd21f7772b33e189631
https://github.com/dreamwidth/dw-free/commit/1f04282d862abddb87ad2bd21f7772b33e189631
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-04 (Sat, 04 Feb 2017)

Changed paths:
M htdocs/manage/circle/invite.bml

Log Message:
-----------
clean up trailing whitespace in /manage/circle/invite


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

Changed paths:
M cgi-bin/DW/Controller/Entry.pm
M cgi-bin/DW/Hooks/EmbedWhitelist.pm
M cgi-bin/LJ/Keywords.pm
M cgi-bin/LJ/User/Account.pm
M htdocs/manage/circle/invite.bml
M t/embed-whitelist.t

Log Message:
-----------
Merge pull request #1955 from kareila/cleanup-2017q1

Cleanup 2017q1


Compare: https://github.com/dreamwidth/dw-free/compare/772464eacbec...46d5ed977e79

Queer Morsian

2017-Feb-06, Monday 21:49
saxifactumterritum: (Default)
[personal profile] saxifactumterritum posting in [site community profile] dw_community_promo

rainbow flag flying from Exeter college

Everything Morsian and queer!

Queer Lewis, queer Endeavour, queer Morse!

Fanfic, art, whatever people want to post. We're just starting out right now, but join in with your stuff. Feel free to start discussions, post head canons, mixes, anything you like that is Morse-ish and queer. 

Morse Is Queer

April 2015

S M T W T F S
   1234
567891011
12131415 161718
19202122232425
2627282930  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags