github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2018-03-24 10:47 am

[dreamwidth/dw-free] 5545f3: Make Quick Update respect minsecurity (#2325)

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 5545f3c22389fb9cf6a0f113cf37f57a0b0a3f51
https://github.com/dreamwidth/dw-free/commit/5545f3c22389fb9cf6a0f113cf37f57a0b0a3f51
Author: Chris Boyle <chris@boyle.name>
Date: 2018-03-24 (Sat, 24 Mar 2018)

Changed paths:
M cgi-bin/LJ/Web.pm
A htdocs/js/quickupdate.js

Log Message:
-----------
Make Quick Update respect minsecurity (#2325)

* Make Quick Update respect minsecurity

Fixes: #1180

* Adjust security dropdown dynamically for the selected journal

This includes its labels, disabled options and selected option.

* Apply code style

* In the absence of JS, allow selection of any security level

Compromise: set the initial selection to match minsec for the user,
still allowing them to pick a more public level (that would be
overridden on submit), because if they pick a community to post to,
they might still want to be able to pick public.