github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2014-08-11 05:15 am

[dreamwidth/dw-free] b06e18: [#928] Remove permalink TODO from new entry page

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: b06e18815308c7967402774d23185443174b4517
https://github.com/dreamwidth/dw-free/commit/b06e18815308c7967402774d23185443174b4517
Author: Afuna <fu@dreamwidth.org>
Date: 2014-08-11 (Mon, 11 Aug 2014)

Changed paths:
M views/entry/form.tt

Log Message:
-----------
[#928] Remove permalink TODO from new entry page

The slug lets people generate a link for their entry before posting --
better than the ditemid.html form, which we'd only find after posting /
on edit anyway.


Commit: 85ed76995a29184242b8965c5d64ba3240145182
https://github.com/dreamwidth/dw-free/commit/85ed76995a29184242b8965c5d64ba3240145182
Author: Afuna <fu@dreamwidth.org>
Date: 2014-08-11 (Mon, 11 Aug 2014)

Changed paths:
M cgi-bin/LJ/Talk.pm
M cgi-bin/LJ/Web.pm
M htdocs/edittags.bml
M htdocs/go.bml
M htdocs/talkmulti.bml
M htdocs/talkpost_do.bml
M htdocs/talkscreen.bml
M htdocs/view/index.bml

Log Message:
-----------
[#928] Use LJ::Entry methods to grab the url

* for individual entry loading

* fixes entry urls with slugs

* uses methods on LJ::Entry to query, e.g., poster, instead of doing
a raw SQL query


Commit: eb13e282b19c5a2c780c7e4457dc9aa1b7b7ac79
https://github.com/dreamwidth/dw-free/commit/eb13e282b19c5a2c780c7e4457dc9aa1b7b7ac79
Author: Afuna <fu@dreamwidth.org>
Date: 2014-08-11 (Mon, 11 Aug 2014)

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

Log Message:
-----------
[#928] Use LJ::Entry->url when generating feeds

* so that we automatically show the slug when necessary

* ...except for the id/guid-type elements


Commit: 76a02162b5e5a80bb22ed77aaf1b0b4460dec0d6
https://github.com/dreamwidth/dw-free/commit/76a02162b5e5a80bb22ed77aaf1b0b4460dec0d6
Author: Afuna <fu@dreamwidth.org>
Date: 2014-08-11 (Mon, 11 Aug 2014)

Changed paths:
M cgi-bin/DW/Controller/RPC/CutExpander.pm
M cgi-bin/DW/Entry/Moderated.pm
M cgi-bin/LJ/Protocol.pm
M cgi-bin/LJ/S2.pm
M htdocs/editjournal.bml

Log Message:
-----------
[#928] Switch from LJ::item_link to $entry->url

* ...except for LJ::Protocol::getevents and memories.bml (loads in bulk
via sql, possible performance hit)

* also not in update.bml because there's no interface to add a slug
there

* additional tweak: remove the style=mine from the RPC cut expander; we
don't get passed the style arguments

Fixes #928.


Commit: bc40b4808f4c06581da9e89e17b99be485ccf7f7
https://github.com/dreamwidth/dw-free/commit/bc40b4808f4c06581da9e89e17b99be485ccf7f7
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-08-11 (Mon, 11 Aug 2014)

Changed paths:
M cgi-bin/DW/Controller/RPC/CutExpander.pm
M cgi-bin/DW/Entry/Moderated.pm
M cgi-bin/LJ/Feed.pm
M cgi-bin/LJ/Protocol.pm
M cgi-bin/LJ/S2.pm
M cgi-bin/LJ/Talk.pm
M cgi-bin/LJ/Web.pm
M htdocs/editjournal.bml
M htdocs/edittags.bml
M htdocs/go.bml
M htdocs/talkmulti.bml
M htdocs/talkpost_do.bml
M htdocs/talkscreen.bml
M htdocs/view/index.bml
M views/entry/form.tt

Log Message:
-----------
Merge pull request #929 from afuna/entry-link-bug-928

Use $entry->url where possible so that the slug url can be used


Compare: https://github.com/dreamwidth/dw-free/compare/ca5952c5524a...bc40b4808f4c