[26075] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25374 - in trunk/debathena/debathena/kiosk: .

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Thu Aug 11 12:53:27 2011

Date: Thu, 11 Aug 2011 12:52:49 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201108111350.p7BDoMaY026220@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1108111252450.14627@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Good enough for now, ACK

-- 
Geoffrey Thomas
geofft@mit.edu

On Thu, 11 Aug 2011, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2011-08-11 09:50:22 -0400 (Thu, 11 Aug 2011)
> New Revision: 25374
>
> Modified:
>   trunk/debathena/debathena/kiosk/debian/changelog
>   trunk/debathena/debathena/kiosk/prefs.js
>   trunk/debathena/debathena/kiosk/xinitrc
> Log:
> In kiosk:
>  * "Disable" printing and warn the user that they're doing it wrong
>    (Trac: #1016)
>
>
> Modified: trunk/debathena/debathena/kiosk/debian/changelog
> ===================================================================
> --- trunk/debathena/debathena/kiosk/debian/changelog	2011-08-11 01:01:11 UTC (rev 25373)
> +++ trunk/debathena/debathena/kiosk/debian/changelog	2011-08-11 13:50:22 UTC (rev 25374)
> @@ -1,3 +1,10 @@
> +debathena-kiosk (1.4.3) unstable; urgency=low
> +
> +  * "Disable" printing and warn the user that they're doing it wrong
> +    (Trac: #1016)
> +
> + -- Jonathan Reed <jdreed@mit.edu>  Thu, 11 Aug 2011 09:50:14 -0400
> +
> debathena-kiosk (1.4.2) unstable; urgency=low
>
>   * Call .run() on the dialog so that people can press Esc (Trac: #1007)
>
> Modified: trunk/debathena/debathena/kiosk/prefs.js
> ===================================================================
> --- trunk/debathena/debathena/kiosk/prefs.js	2011-08-11 01:01:11 UTC (rev 25373)
> +++ trunk/debathena/debathena/kiosk/prefs.js	2011-08-11 13:50:22 UTC (rev 25374)
> @@ -8,6 +8,11 @@
> user_pref("network.protocol-handler.external.nntp", false);
> user_pref("network.protocol-handler.external-default", false);
>
> +// "Disable" printing.  (Doesn't actually disable it, but gives
> +// the illusion of doing so.  Users can't get their jobs anyway)
> +user_pref("print.always_print_silent",true);
> +user_pref("print.show_print_progress",false);
> +
> // Disable the compatibility check for the r-kiosk extension
> // (the per-version preference is used in firefox 3.6+).
> user_pref("extensions.checkCompatibility", false);
>
> Modified: trunk/debathena/debathena/kiosk/xinitrc
> ===================================================================
> --- trunk/debathena/debathena/kiosk/xinitrc	2011-08-11 01:01:11 UTC (rev 25373)
> +++ trunk/debathena/debathena/kiosk/xinitrc	2011-08-11 13:50:22 UTC (rev 25374)
> @@ -40,6 +40,9 @@
>     exit 0
> fi
>
> +# Warn the user that printing is wrong.
> +zenity --warning --title="No Printing" --text="You will not be able to print from this browser session.  Submitted print jobs will be discarded and cannot be released from Pharos printers.\n\nIf you need to print, please log in to a normal Athena session.  If you are a visitor looking to print a Campus Map, please visit the Information Center in Room 7-121."
> +
> # Create a new firefox profile.
> rm -rf .mozilla
> firefox -CreateProfile default > /dev/null || exit 1
>
>

home help back first fref pref prev next nref lref last post