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-12-29 03:09 am

[dreamwidth/dw-free] 69adf3: Make consistent creating of the authas form

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 69adf30722df46503124384730a9af584927512e
https://github.com/dreamwidth/dw-free/commit/69adf30722df46503124384730a9af584927512e
Author: Afuna <fu@dreamwidth.org>
Date: 2014-12-29 (Mon, 29 Dec 2014)

Changed paths:
M cgi-bin/DW/Controller.pm
M cgi-bin/DW/Controller/Dev.pm
M cgi-bin/DW/Controller/Settings.pm
M cgi-bin/DW/Template/Plugin.pm
M views/dev/style-guide.tt
M views/settings/accountstatus.tt

Log Message:
-----------
Make consistent creating of the authas form

* prefered is to pass in authas => 1 or authas => { show_all => 1 } (or
whatever args) to controller(). For foundation pages, use
$rv->{authas_form}, where the authas is wrapped in an actual form. For
non-foundation pages, use $rv->{authas_html} which only has the select
HTML. This means that we don't have to worry about checking for
authas, so long as we make sure to use $rv->{u} versus $rv->{remote}
where it matters

* remove now-obsolete plugin authas function


Commit: 9f81e46890dfa7cad80926877f2ab672179a0cdc
https://github.com/dreamwidth/dw-free/commit/9f81e46890dfa7cad80926877f2ab672179a0cdc
Author: Afuna <afuna@users.noreply.github.com>
Date: 2014-12-29 (Mon, 29 Dec 2014)

Changed paths:
M cgi-bin/DW/Controller.pm
M cgi-bin/DW/Controller/Dev.pm
M cgi-bin/DW/Controller/Settings.pm
M cgi-bin/DW/Template/Plugin.pm
M views/dev/style-guide.tt
M views/settings/accountstatus.tt

Log Message:
-----------
Merge pull request #1104 from afuna/authas-controller

Make consistent creating of the authas form


Compare: https://github.com/dreamwidth/dw-free/compare/0369afcc8757...9f81e46890df