Jan. 17th, 2015

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: 51f128223ddef471874bd79d591feecd8ec58f81
https://github.com/dreamwidth/dw-free/commit/51f128223ddef471874bd79d591feecd8ec58f81
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-07 (Wed, 07 Jan 2015)

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

Log Message:
-----------
[#1112] Use pixel measurement for ratio when width/height unit mismatch

Fixes #1112.


Commit: 499d4fa4c9078985cd7cc9e29e66d825b2828f26
https://github.com/dreamwidth/dw-free/commit/499d4fa4c9078985cd7cc9e29e66d825b2828f26
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
Merge pull request #1114 from afuna/embed-different-units-bug-1112

[#1112] Use pixel measurement for ratio when width/height unit mismatch


Compare: https://github.com/dreamwidth/dw-free/compare/6851c70681c7...499d4fa4c907
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: d1a92783290af1d4a77002faf2a05d58b85e6362
https://github.com/dreamwidth/dw-free/commit/d1a92783290af1d4a77002faf2a05d58b85e6362
Author: Mark Smith <mark@qq.is>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M .gitignore
A src/proxy/main.go

Log Message:
-----------
Add caching proxy

This is going to be used in the situation where a user has embedded some
HTTP content and we're delivering the page over HTTPS. I.e., this
enables us to "promote" the content to SSL by proxying it ourselves and
caching it locally.

Files are only cached for a little while, so if the content becomes
unavailable upstream, we will also stop serving it.
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: 95e8dbd535e4dab044b65c2e82aaa27d67da7681
https://github.com/dreamwidth/dw-free/commit/95e8dbd535e4dab044b65c2e82aaa27d67da7681
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/Apache/LiveJournal.pm
M cgi-bin/DW/Controller/Comments.pm
M cgi-bin/DW/Controller/Community.pm
M cgi-bin/DW/Routing.pm
M cgi-bin/DW/Routing/CallInfo.pm
M cgi-bin/LJ/Global/Defaults.pm
M cgi-bin/LJ/URI.pm

Log Message:
-----------
[#994] Redirect (most) pages to HTTPS if we're on HTTP

* happens for both BML / Controller pages, with a few (temporary)
special cases

* not for journal pages yet
Fixes #994.


Commit: c25203d87413df79fb7a8b1f37c5379002535a69
https://github.com/dreamwidth/dw-free/commit/c25203d87413df79fb7a8b1f37c5379002535a69
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#994] Permanent redirect to https for controllers

(It was previously only a temporary redirect)

Fixes #994.


Commit: ec115952fe81eb3802adad273971db85d785df19
https://github.com/dreamwidth/dw-free/commit/ec115952fe81eb3802adad273971db85d785df19
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/Apache/LiveJournal.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/Web.pm
M cgi-bin/modperl_subs.pl

Log Message:
-----------
[#996] Set to HTTPS all js/image/userpic/css prefix variables

Fixes #996.


Commit: a66a52a6143b635010c42491ee24cb95f7bbc155
https://github.com/dreamwidth/dw-free/commit/a66a52a6143b635010c42491ee24cb95f7bbc155
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/DW/Controller/ChangeEmail.pm
M cgi-bin/DW/Controller/Community.pm
M cgi-bin/DW/Template.pm
M cgi-bin/DW/Template/Plugin.pm
M cgi-bin/LJ/Config.pm
M schemes/common.tt
M views/changeemail.tt
M views/communities/convert.tt
M views/login.tt

Log Message:
-----------
[#996] Automatically adjust site.root to use https / http

Also adjust views to just use site.root instead of site.ssl.root (since
the latter is now unnecessary)

Fixes #996.


Commit: 6ed0a17bd8c9f1571caf9f3269c463ffb8aa3a3d
https://github.com/dreamwidth/dw-free/commit/6ed0a17bd8c9f1571caf9f3269c463ffb8aa3a3d
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#996] Return missing variable

Oops


Commit: ca83efc57b2eb5e8c5f18056bcd5b0c2b252143c
https://github.com/dreamwidth/dw-free/commit/ca83efc57b2eb5e8c5f18056bcd5b0c2b252143c
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1002] Make sure https userpics work

* only force https off on journals, not on userpics/cssproxy/etc

* fixed logic for potential redirect so that it only happens if our
current userpic_root isn't what we expected

* allow https in $LJ::USERPIC_ROOT

Fixes #1002


Commit: 43455d44e45b1284f9b85eb44272c7581f93a586
https://github.com/dreamwidth/dw-free/commit/43455d44e45b1284f9b85eb44272c7581f93a586
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M schemes/common.tt

Log Message:
-----------
[#995] Just serve up the normal icon

It automatically uses the https:// form of the URL now

Fixes #995.


Commit: a18e0683ce76893daa0be38e3c0e173bde035eed
https://github.com/dreamwidth/dw-free/commit/a18e0683ce76893daa0be38e3c0e173bde035eed
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1001] Allow routing to redirect to HTTPS on userspace as well

* Only registering prefer_ssl on uploaded media files (so it's not a
journal-wide thing)

* pass in is_ssl to DW::Routing->call on journalspace urls


Commit: 782f6600f6fa7bfd5abdc15f193138a894fb3101
https://github.com/dreamwidth/dw-free/commit/782f6600f6fa7bfd5abdc15f193138a894fb3101
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/Apache/LiveJournal.pm
M cgi-bin/DW/Controller/Redirect.pm
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/S2/DayPage.pm
M cgi-bin/LJ/S2/MonthPage.pm
M cgi-bin/LJ/S2/RecentPage.pm
M cgi-bin/LJ/S2/TagsPage.pm
M cgi-bin/LJ/User.pm

Log Message:
-----------
[#1001] Generate HTTPS links for media files when we're on an HTTPS page

* some refactoring so that LJ::User->journal_base takes a hash of opts
for a second argument

* pass in current $LJ::IS_SSL status (important because we don't want
HTTPS on for all links to journals, just specific ones for now)

Fixes #1001.


Commit: f7e6176e563df9b99260fd122ecb3396a6f75314
https://github.com/dreamwidth/dw-free/commit/f7e6176e563df9b99260fd122ecb3396a6f75314
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/DW/Controller/Comments.pm
M cgi-bin/DW/Entry/Moderated.pm
M cgi-bin/LJ/CleanHTML.pm
M cgi-bin/LJ/Comment.pm
M cgi-bin/LJ/EmbedModule.pm
M cgi-bin/LJ/Entry.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M htdocs/edittags.bml
M htdocs/js/livejournal.js
M htdocs/latest.bml

Log Message:
-----------
[#999] Show placeholders for video/images on select pages

* on specific pages that we expect user content to have mixed pages,
pass in a proxy_insecure_content argument to the HTML cleaner / embed
expander

* only allow the video placeholder on http pages; on https pages, it
just shows a blank iframe because of the mixed content issue

Fixes #999.


Commit: 2490784c52d93e9185eaf85b25cc99e0f390b469
https://github.com/dreamwidth/dw-free/commit/2490784c52d93e9185eaf85b25cc99e0f390b469
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M htdocs/js/entry.js
M htdocs/js/pages/entry/new.js

Log Message:
-----------
[#999] Force http instead of https for entry previews

This allows us to display the images/videos on mixed content instead of
using placeholders. Not ideal, but necessary right now.


Commit: 4fe0e2d858f16a3b7570792bc06579295035f868
https://github.com/dreamwidth/dw-free/commit/4fe0e2d858f16a3b7570792bc06579295035f868
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/DW/Controller/Comments.pm
M cgi-bin/DW/Entry/Moderated.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M htdocs/edittags.bml
M htdocs/latest.bml

Log Message:
-----------
[#999] Only trigger the proxying/placeholder on https pages

Fixes #999.


Commit: 6822209aff89b925c2b594c13a44dd8f777e9529
https://github.com/dreamwidth/dw-free/commit/6822209aff89b925c2b594c13a44dd8f777e9529
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1015] Only allow GET and HEAD to be redirected

POST can't be safely redirected, which is what broke comment posting
(because we posted to https... and it then tried to post to HTTP)

Fixes #1015.


Commit: 9008fa74a3e41d20b2ab400c63e1a89ad44e8461
https://github.com/dreamwidth/dw-free/commit/9008fa74a3e41d20b2ab400c63e1a89ad44e8461
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1020] Only try to redirect status 200s

Fixes #1020.


Commit: cc036744b105228610761177f193f1107c7c1100
https://github.com/dreamwidth/dw-free/commit/cc036744b105228610761177f193f1107c7c1100
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1018] Move check for existence to *after* the check for /foo/

We never reach the case where we check whether $file is a directory,
because we always go next if it's not a $file.

Fixes #1018.


Commit: 22ea3591d8d6192d37e2a7dbca054fdb73f7a16a
https://github.com/dreamwidth/dw-free/commit/22ea3591d8d6192d37e2a7dbca054fdb73f7a16a
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

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

Log Message:
-----------
[#1003, #1016] Disable redirect to HTTPS for cssproxy, embed

Temporary; will need to address this once we turn on HTTPS on journals


Commit: 9b180236b8796990c924afc9425e11bbba2ffa88
https://github.com/dreamwidth/dw-free/commit/9b180236b8796990c924afc9425e11bbba2ffa88
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-17 (Sat, 17 Jan 2015)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M cgi-bin/LJ/EmbedModule.pm
M htdocs/edittags.bml

Log Message:
-----------
[#999] Only apply "proxying" if the external url needs it

Also expands the embeds in edittags.

(note: image works fine, video probably needs some work, seems to only
apply to youtube and vimeo)

Fixes #999.


Commit: 3e6bafe02eaba4fe60dc9244f5125cb2e54c9f73
https://github.com/dreamwidth/dw-free/commit/3e6bafe02eaba4fe60dc9244f5125cb2e54c9f73
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

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

Log Message:
-----------
[#994] Allow us to toggle HTTPS by default on and off

Using the $LJ::USE_SSL_EVERYWHERE config


Commit: b3635b29c95b9e1039b4a2f77f9a36c9bb7ba8f7
https://github.com/dreamwidth/dw-free/commit/b3635b29c95b9e1039b4a2f77f9a36c9bb7ba8f7
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M htdocs/edittags.bml

Log Message:
-----------
[#999] Only trigger proxying in edittags if page loaded as https


Commit: c99df3a2015ec83a846e2f2902528bfa0cc35238
https://github.com/dreamwidth/dw-free/commit/c99df3a2015ec83a846e2f2902528bfa0cc35238
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

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

Log Message:
-----------
[#994] Make journal stylesheets aware of when to link as https


Commit: 45c40883459c03ce7c3fb39c40123befedd952f9
https://github.com/dreamwidth/dw-free/commit/45c40883459c03ce7c3fb39c40123befedd952f9
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

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

Log Message:
-----------
[#1118] Temporarily make HTTPS redirection non-permanent


Commit: 50054505e9dcc1fc0fd49b739d75367cc8192e2a
https://github.com/dreamwidth/dw-free/commit/50054505e9dcc1fc0fd49b739d75367cc8192e2a
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

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

Log Message:
-----------
[#999] Don't touch embeds for now


Commit: c83e57c2786dbbb6008d9392ba7c4a274c05f06f
https://github.com/dreamwidth/dw-free/commit/c83e57c2786dbbb6008d9392ba7c4a274c05f06f
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M cgi-bin/LJ/URI.pm
M etc/config.pl

Log Message:
-----------
[#1016] Use relative protocol for CSSPROXY

- needs update of configs from http://... to //...


Commit: 61c8a29dccc4fdf3c19215a76dd3f4f1991b6a09
https://github.com/dreamwidth/dw-free/commit/61c8a29dccc4fdf3c19215a76dd3f4f1991b6a09
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M htdocs/js/entry.js
M htdocs/js/pages/entry/new.js

Log Message:
-----------
[#1115] Allow entry preview to use https


Commit: 2443ac3a2f066c738002158857264b4ab6b521f3
https://github.com/dreamwidth/dw-free/commit/2443ac3a2f066c738002158857264b4ab6b521f3
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

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

Log Message:
-----------
[#1003] Use relative protocol for the embeds iframe

Fixes #1003.


Commit: aaee5bc583d63182d3b864b60a3f372f994cc57a
https://github.com/dreamwidth/dw-free/commit/aaee5bc583d63182d3b864b60a3f372f994cc57a
Author: Afuna <fu@dreamwidth.org>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M htdocs/js/livejournal.js

Log Message:
-----------
[#1112] Re-enable placeholders for videos in https pages

Turns out it wasn't broken specifically for https pages. There was a
wider problem fixed in #1103, but http pages were working (because
cached).

So basically this is a revert for a fix to a nonexistent problem...


Commit: 4b011c095929d269b5ecbcd78569326a9c8486ea
https://github.com/dreamwidth/dw-free/commit/4b011c095929d269b5ecbcd78569326a9c8486ea
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M cgi-bin/Apache/LiveJournal.pm
M cgi-bin/DW/Controller/ChangeEmail.pm
M cgi-bin/DW/Controller/Comments.pm
M cgi-bin/DW/Controller/Community.pm
M cgi-bin/DW/Controller/Media.pm
M cgi-bin/DW/Controller/Redirect.pm
M cgi-bin/DW/Controller/Rename.pm
M cgi-bin/DW/Entry/Moderated.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Request/Apache2.pm
M cgi-bin/DW/Request/Base.pm
M cgi-bin/DW/Routing.pm
M cgi-bin/DW/Routing/CallInfo.pm
M cgi-bin/DW/Template.pm
M cgi-bin/DW/Template/Plugin.pm
M cgi-bin/LJ/CleanHTML.pm
M cgi-bin/LJ/Comment.pm
M cgi-bin/LJ/Config.pm
M cgi-bin/LJ/EmbedModule.pm
M cgi-bin/LJ/Entry.pm
M cgi-bin/LJ/Event/JournalNewComment.pm
M cgi-bin/LJ/Event/JournalNewEntry.pm
M cgi-bin/LJ/Global/Defaults.pm
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/S2/DayPage.pm
M cgi-bin/LJ/S2/MonthPage.pm
M cgi-bin/LJ/S2/RecentPage.pm
M cgi-bin/LJ/S2/TagsPage.pm
M cgi-bin/LJ/URI.pm
M cgi-bin/LJ/User.pm
M cgi-bin/LJ/Web.pm
M cgi-bin/modperl_subs.pl
M etc/config.pl
M htdocs/edittags.bml
M htdocs/js/livejournal.js
M htdocs/latest.bml
M schemes/common.tt
M views/changeemail.tt
M views/communities/convert.tt
M views/login.tt

Log Message:
-----------
Merge pull request #1014 from afuna/https-site-pages

Enable HTTPS by default


Compare: https://github.com/dreamwidth/dw-free/compare/d1a92783290a...4b011c095929
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-nonfree
Commit: 84aa9233dab4d500bc96e80d4edc4d09c9565a32
https://github.com/dreamwidth/dw-nonfree/commit/84aa9233dab4d500bc96e80d4edc4d09c9565a32
Author: Afuna <fu@dreamwidth.org>
Date: 2014-11-03 (Mon, 03 Nov 2014)

Changed paths:
M schemes/_dreamwidth.tt

Log Message:
-----------
Tweak logo path to be ready for https

-- site.root / site.imgroot, etc, change depending on whether you have
https root or not, so no need for this extra logic


Commit: 5330262386533405fd53744df387a0f018e5344e
https://github.com/dreamwidth/dw-nonfree/commit/5330262386533405fd53744df387a0f018e5344e
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-01-18 (Sun, 18 Jan 2015)

Changed paths:
M schemes/_dreamwidth.tt

Log Message:
-----------
Merge pull request #86 from afuna/https

Tweak logo path to be ready for https


Compare: https://github.com/dreamwidth/dw-nonfree/compare/2e14e6b80c34...533026238653

Profile

Dreamwidth Changelog

March 2026

S M T W T F S
12 34567
8 9 10 11 12 1314
15161718192021
22232425 262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 28th, 2026 04:56 pm
Powered by Dreamwidth Studios