Mar. 29th, 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: 2122dc8f89aa547bf3962232ddefc34eaef699f1
https://github.com/dreamwidth/dw-free/commit/2122dc8f89aa547bf3962232ddefc34eaef699f1
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-21 (Tue, 21 Mar 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M etc/config-local.pl
M t/https-url.t

Log Message:
-----------
[#2034] use %LJ::KNOWN_HTTPS_SITES for simple whitelist

Replaces regular expression in config with a list of domains
that support HTTPS connections, and tests the domain of the
given URL against that whitelist.

Also updates https-url.t with a working dummy proxy config.

Fixes #2034.


Commit: 5fba7e8d809fd73d98c390b536ea4d84935313cb
https://github.com/dreamwidth/dw-free/commit/5fba7e8d809fd73d98c390b536ea4d84935313cb
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-21 (Tue, 21 Mar 2017)

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

Log Message:
-----------
anchor the regular expression

I would prefer to keep this as a one-line expression instead of
using split and join to reconstruct the domain name, since we
can't be sure we've been given a well-formed URL to work with.


Commit: 49244aaf3398155ed8d4c7f47152b4e2ae7bf779
https://github.com/dreamwidth/dw-free/commit/49244aaf3398155ed8d4c7f47152b4e2ae7bf779
Author: Mark Smith <mark@qq.is>
Date: 2017-03-29 (Wed, 29 Mar 2017)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M etc/config-local.pl
M t/https-url.t

Log Message:
-----------
Merge pull request #2042 from kareila/2034-sslsites

[#2034] use %LJ::KNOWN_HTTPS_SITES for simple whitelist


Compare: https://github.com/dreamwidth/dw-free/compare/5283f6f69fd5...49244aaf3398
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: 17bf9d4288e746691fef3aa737e3a3409aed2778
https://github.com/dreamwidth/dw-free/commit/17bf9d4288e746691fef3aa737e3a3409aed2778
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-14 (Tue, 14 Mar 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
M bin/upgrading/en.dat
R cgi-bin/LJ/Setting/Language.pm
M htdocs/manage/settings/index.bml.text

Log Message:
-----------
remove unused module LJ/Setting/Language.pm


Commit: b8127fb5bf9a72843f9afc8775b79728ded0d483
https://github.com/dreamwidth/dw-free/commit/b8127fb5bf9a72843f9afc8775b79728ded0d483
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-14 (Tue, 14 Mar 2017)

Changed paths:
M cgi-bin/DW/Template/Filters.pm
M cgi-bin/LJ/Event/CommunityJoinRequest.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M cgi-bin/LJ/Event/PollVote.pm
M htdocs/login.bml
M htdocs/support/see_request.bml

Log Message:
-----------
strip trailing whitespace


Commit: ca179ae0562d8d2b1cb53990b9f6a62200b2dcaa
https://github.com/dreamwidth/dw-free/commit/ca179ae0562d8d2b1cb53990b9f6a62200b2dcaa
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-14 (Tue, 14 Mar 2017)

Changed paths:
M cgi-bin/Apache/BML.pm
M cgi-bin/DW/Template/Filters.pm
M cgi-bin/LJ/Lang.pm
M cgi-bin/LJ/Session.pm
M htdocs/login.bml

Log Message:
-----------
remove langpref cookie support

There was no effective way to ever set the cookie, and even
if there were, the code was never implemented to honor the
value of the cookie on non-BML pages.

Can still override the site's default language on a per-request
basis by using the "uselang" GET parameter.


Commit: 03322114a6dfd8a79da1a2d637b204f353ca98e7
https://github.com/dreamwidth/dw-free/commit/03322114a6dfd8a79da1a2d637b204f353ca98e7
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-14 (Tue, 14 Mar 2017)

Changed paths:
M cgi-bin/DW/Controller/Shop.pm
M cgi-bin/DW/EmailPost/Comment.pm
M cgi-bin/DW/Worker/DistributeInvites.pm
M cgi-bin/LJ/Comment.pm
M cgi-bin/LJ/Event/AddedToCircle.pm
M cgi-bin/LJ/Event/Birthday.pm
M cgi-bin/LJ/Event/CommunityInvite.pm
M cgi-bin/LJ/Event/CommunityJoinApprove.pm
M cgi-bin/LJ/Event/CommunityJoinReject.pm
M cgi-bin/LJ/Event/CommunityJoinRequest.pm
M cgi-bin/LJ/Event/CommunityModeratedEntryNew.pm
M cgi-bin/LJ/Event/InvitedFriendJoins.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewComment/Edited.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M cgi-bin/LJ/Event/OfficialPost.pm
M cgi-bin/LJ/Event/PollVote.pm
M cgi-bin/LJ/Event/RemovedFromCircle.pm
M cgi-bin/LJ/Event/SecurityAttributeChanged.pm
M cgi-bin/LJ/Event/UserMessageRecvd.pm
M cgi-bin/LJ/Lang.pm
M cgi-bin/LJ/NotificationMethod/Email.pm
M cgi-bin/LJ/Protocol.pm

Log Message:
-----------
remove uses of 'browselang' in get_text calls

This prepares to get rid of the 'browselang' userprop in the next
commit; since there was no available way for the user to set it,
it was always undefined. Most of these changes simply make the
explicit choice to use $LJ::DEFAULT_LANG, which is effectively
what was happening already.

There's a subtle difference here between using LJ::Lang::ml
and using LJ::Lang::get_text with an undefined lang argument.
LJ::Lang::ml will use LJ::Lang::get_effective_lang, which picks
up any language selection from the web request. That's desired
when we're showing text to the remote user, but we don't always
want the same choice for the target of a particular action
being taken. Whereas LJ::Lang::get_text will always fall back
to the site default of $LJ::DEFAULT_LANG if the given lang is
undefined.

To make that clearer for future development, I've added a new
helper function, LJ::Lang::get_default_text, which works just
like calling LJ::Lang::get_text without the explicit undef
arguments. There's also a corresponding get_default_text_multi
for the modules that preload multiple static strings.

This may seem like overkill given our eventual aim to rip
out the translation system, but as long as we support URLs
using the "?uselang=" format, we need to make sure this
behavior is maintained.


Commit: 3b9f56d1362db54eb81a90eae1eb41bba244154d
https://github.com/dreamwidth/dw-free/commit/3b9f56d1362db54eb81a90eae1eb41bba244154d
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-14 (Tue, 14 Mar 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
M bin/upgrading/proplists.dat
M cgi-bin/LJ/Lang.pm
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/Session.pm
M cgi-bin/LJ/Support.pm
M cgi-bin/LJ/User/Login.pm
M htdocs/login.bml
M htdocs/support/see_request.bml
M htdocs/support/see_request.bml.text

Log Message:
-----------
remove browselang userprop

Was only set in LJ::Lang::set_lang, which was only called by
LJ/Setting/Language.pm, which was unused and removed.

LJ::Lang::set_lang is retained as a stub for future replacement
of BML::set_language as we move away from using BML.


Commit: d5d49cb66fb410b732924bfeda112b8d0d501296
https://github.com/dreamwidth/dw-free/commit/d5d49cb66fb410b732924bfeda112b8d0d501296
Author: Mark Smith <mark@qq.is>
Date: 2017-03-29 (Wed, 29 Mar 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
M bin/upgrading/en.dat
M bin/upgrading/proplists.dat
M cgi-bin/Apache/BML.pm
M cgi-bin/DW/Controller/Shop.pm
M cgi-bin/DW/EmailPost/Comment.pm
M cgi-bin/DW/Template/Filters.pm
M cgi-bin/DW/Worker/DistributeInvites.pm
M cgi-bin/LJ/Comment.pm
M cgi-bin/LJ/Event/AddedToCircle.pm
M cgi-bin/LJ/Event/Birthday.pm
M cgi-bin/LJ/Event/CommunityInvite.pm
M cgi-bin/LJ/Event/CommunityJoinApprove.pm
M cgi-bin/LJ/Event/CommunityJoinReject.pm
M cgi-bin/LJ/Event/CommunityJoinRequest.pm
M cgi-bin/LJ/Event/CommunityModeratedEntryNew.pm
M cgi-bin/LJ/Event/InvitedFriendJoins.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewComment/Edited.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M cgi-bin/LJ/Event/OfficialPost.pm
M cgi-bin/LJ/Event/PollVote.pm
M cgi-bin/LJ/Event/RemovedFromCircle.pm
M cgi-bin/LJ/Event/SecurityAttributeChanged.pm
M cgi-bin/LJ/Event/UserMessageRecvd.pm
M cgi-bin/LJ/Lang.pm
M cgi-bin/LJ/NotificationMethod/Email.pm
M cgi-bin/LJ/Protocol.pm
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/Session.pm
R cgi-bin/LJ/Setting/Language.pm
M cgi-bin/LJ/Support.pm
M cgi-bin/LJ/User/Login.pm
M htdocs/login.bml
M htdocs/manage/settings/index.bml.text
M htdocs/support/see_request.bml
M htdocs/support/see_request.bml.text

Log Message:
-----------
Merge pull request #2031 from kareila/remove_setlang

Remove unused code for browselang


Compare: https://github.com/dreamwidth/dw-free/compare/49244aaf3398...d5d49cb66fb4
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: 26a4de577847de6f9ff9bcc35b0175b7b3be9f60
https://github.com/dreamwidth/dw-free/commit/26a4de577847de6f9ff9bcc35b0175b7b3be9f60
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-03-02 (Thu, 02 Mar 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
A cgi-bin/DW/Controller/Manage/Index.pm
M cgi-bin/redirect.dat
R htdocs/manage/index.bml
R htdocs/manage/index.bml.text
A views/manage/index.tt
A views/manage/index.tt.text

Log Message:
-----------
convert manage/index.bml to TT

This doesn't use Foundation styling, just gets rid
of the ugly BML coding blocks and layout tables,
and updates some display text.


Commit: 53ec756341e26e9142a338ca99824505cd9a4524
https://github.com/dreamwidth/dw-free/commit/53ec756341e26e9142a338ca99824505cd9a4524
Author: Mark Smith <mark@qq.is>
Date: 2017-03-29 (Wed, 29 Mar 2017)

Changed paths:
M bin/upgrading/deadphrases.dat
A cgi-bin/DW/Controller/Manage/Index.pm
M cgi-bin/redirect.dat
R htdocs/manage/index.bml
R htdocs/manage/index.bml.text
A views/manage/index.tt
A views/manage/index.tt.text

Log Message:
-----------
Merge pull request #2019 from kareila/manage-convert

convert manage/index.bml to TT


Compare: https://github.com/dreamwidth/dw-free/compare/d5d49cb66fb4...53ec756341e2
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: 41c7c3cdc1c06a36a8074c22b22a706dab7269ea
https://github.com/dreamwidth/dw-free/commit/41c7c3cdc1c06a36a8074c22b22a706dab7269ea
Author: Denise Paolucci <denise@dreamwidth.org>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M bin/upgrading/en.dat
M bin/upgrading/proplists.dat
A cgi-bin/DW/Setting/RPAccount.pm
M cgi-bin/LJ/User/Account.pm
M htdocs/manage/settings/index.bml
M htdocs/profile.bml
M htdocs/profile.bml.text

Log Message:
-----------
Add new RP account flag (#2049)

* Fixes #2048.

Adds a new "rp account" setting; toggling it prints a blurb on the profile
saying that the account is a RP account, and in the future may control
access to features that only make sense for RP accounts.

* Move the div into the right place
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/manage-circle-banned
Home: https://github.com/dreamwidth/dw-free
Commit: 7b68b7e4d4e9b74cc9920f3586400a8a1eb1a639
https://github.com/dreamwidth/dw-free/commit/7b68b7e4d4e9b74cc9920f3586400a8a1eb1a639
Author: Athena Yao <athena@fastmail.fm>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M cgi-bin/LJ/User/Administration.pm
M htdocs/manage/banusers.bml
M htdocs/manage/circle/edit.bml

Log Message:
-----------
Get banned userids and don't show in manage circle if banned


Commit: cbcb62f04700ceb2343d0a2e0813fe0359fb0523
https://github.com/dreamwidth/dw-free/commit/cbcb62f04700ceb2343d0a2e0813fe0359fb0523
Author: Athena Yao <athena@fastmail.fm>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M htdocs/manage/circle/edit.bml
M htdocs/manage/circle/edit.bml.text

Log Message:
-----------
Have links to hide/show when banned


Compare: https://github.com/dreamwidth/dw-free/compare/7b68b7e4d4e9^...cbcb62f04700
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github
Branch: refs/heads/manage-circle-banned
Home: https://github.com/dreamwidth/dw-free
Commit: c1817ec8ef09cb8deef6914c7ec70e4da180cc71
https://github.com/dreamwidth/dw-free/commit/c1817ec8ef09cb8deef6914c7ec70e4da180cc71
Author: Athena Yao <athena@fastmail.fm>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M cgi-bin/LJ/User/Administration.pm
M htdocs/manage/banusers.bml
M htdocs/manage/circle/edit.bml
M htdocs/manage/circle/edit.bml.text

Log Message:
-----------
Get banned userids and don't show in manage circle if banned

Fixes #2009.
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: c1817ec8ef09cb8deef6914c7ec70e4da180cc71
https://github.com/dreamwidth/dw-free/commit/c1817ec8ef09cb8deef6914c7ec70e4da180cc71
Author: Athena Yao <athena@fastmail.fm>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M cgi-bin/LJ/User/Administration.pm
M htdocs/manage/banusers.bml
M htdocs/manage/circle/edit.bml
M htdocs/manage/circle/edit.bml.text

Log Message:
-----------
Get banned userids and don't show in manage circle if banned

Fixes #2009.


Commit: ac0abbf8d81203bca3b133e14bc79edd6e0f33bd
https://github.com/dreamwidth/dw-free/commit/ac0abbf8d81203bca3b133e14bc79edd6e0f33bd
Author: Mark Smith <mark@qq.is>
Date: 2017-03-30 (Thu, 30 Mar 2017)

Changed paths:
M cgi-bin/LJ/User/Administration.pm
M htdocs/manage/banusers.bml
M htdocs/manage/circle/edit.bml
M htdocs/manage/circle/edit.bml.text

Log Message:
-----------
Merge pull request #2050 from dreamwidth/manage-circle-banned

Hide banned users on manage circle page


Compare: https://github.com/dreamwidth/dw-free/compare/41c7c3cdc1c0...ac0abbf8d812

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 May. 23rd, 2017 10:40 am
Powered by Dreamwidth Studios