Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Edward Z. Yang
Steps to reproduce:

1. Click New Ticket
2. Type some text into the box
3. Press Back in your browser
4. Press Forward in your browser

If you try this with an official Trac this doesn't happen, so either
this was fixed in a new version, or we have a plugin installed which
is causing this to happen.

Current version of Trac is 1.0.5, we're currently running 1.0.1

Thanks,
Edward
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Eric Crockett
My Firefox also has this issue. So it seems the problem is the browser
itself. How can this be fixed on the server side?

On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang ezy...@mit.edu wrote:

 Whatever the case, it affects me, it affects SPJ, so we ought to fix it!
 (Change your browser is not a good answer :)

 Edward

 Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
  On the contrary, I did precisely that just a few days ago (
  https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac
  *did* save my new ticket text. Perhaps this is a browser-specific issue?
  I'm using 64-bit Chrome 42.0.2311.90.
 
  On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:
 
   Steps to reproduce:
  
   1. Click New Ticket
   2. Type some text into the box
   3. Press Back in your browser
   4. Press Forward in your browser
  
   If you try this with an official Trac this doesn't happen, so either
   this was fixed in a new version, or we have a plugin installed which
   is causing this to happen.
  
   Current version of Trac is 1.0.5, we're currently running 1.0.1
  
   Thanks,
   Edward
   ___
   ghc-devs mailing list
   ghc-devs@haskell.org
   http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
  

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Eric Crockett
On the contrary, I did precisely that just a few days ago (
https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac
*did* save my new ticket text. Perhaps this is a browser-specific issue?
I'm using 64-bit Chrome 42.0.2311.90.

On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:

 Steps to reproduce:

 1. Click New Ticket
 2. Type some text into the box
 3. Press Back in your browser
 4. Press Forward in your browser

 If you try this with an official Trac this doesn't happen, so either
 this was fixed in a new version, or we have a plugin installed which
 is causing this to happen.

 Current version of Trac is 1.0.5, we're currently running 1.0.1

 Thanks,
 Edward
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Gabor Greif
On 4/24/15, Eric Crockett ecrocke...@gmail.com wrote:
 On the contrary, I did precisely that just a few days ago (
 https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise, trac
 *did* save my new ticket text. Perhaps this is a browser-specific issue?
 I'm using 64-bit Chrome 42.0.2311.90.

With a recent Firefox, I lost the text by clicking into Formatting
Hints and surfing back. I was not amused.

Cheers,

Gabor


 On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:

 Steps to reproduce:

 1. Click New Ticket
 2. Type some text into the box
 3. Press Back in your browser
 4. Press Forward in your browser

 If you try this with an official Trac this doesn't happen, so either
 this was fixed in a new version, or we have a plugin installed which
 is causing this to happen.

 Current version of Trac is 1.0.5, we're currently running 1.0.1

 Thanks,
 Edward
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Ryan Yates
My very pessimistic rule of thumb is don't trust a form field unless the
site actively saves a draft as you type.

On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett ecrocke...@gmail.com
wrote:

 My Firefox also has this issue. So it seems the problem is the browser
 itself. How can this be fixed on the server side?

 On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang ezy...@mit.edu wrote:

 Whatever the case, it affects me, it affects SPJ, so we ought to fix it!
 (Change your browser is not a good answer :)

 Edward

 Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
  On the contrary, I did precisely that just a few days ago (
  https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
 trac
  *did* save my new ticket text. Perhaps this is a browser-specific issue?
  I'm using 64-bit Chrome 42.0.2311.90.
 
  On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:
 
   Steps to reproduce:
  
   1. Click New Ticket
   2. Type some text into the box
   3. Press Back in your browser
   4. Press Forward in your browser
  
   If you try this with an official Trac this doesn't happen, so either
   this was fixed in a new version, or we have a plugin installed which
   is causing this to happen.
  
   Current version of Trac is 1.0.5, we're currently running 1.0.1
  
   Thanks,
   Edward
   ___
   ghc-devs mailing list
   ghc-devs@haskell.org
   http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
  



 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Edward Z. Yang
I've tried a few Firefox browser extensions which purport to never
lose your form text, but I find they just don't save frequently enough
for my taste.  I would love to know an extension that does this
properly!

Edward

Excerpts from Ryan Yates's message of 2015-04-24 15:15:37 +0100:
 My very pessimistic rule of thumb is don't trust a form field unless the
 site actively saves a draft as you type.
 
 On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett ecrocke...@gmail.com
 wrote:
 
  My Firefox also has this issue. So it seems the problem is the browser
  itself. How can this be fixed on the server side?
 
  On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang ezy...@mit.edu wrote:
 
  Whatever the case, it affects me, it affects SPJ, so we ought to fix it!
  (Change your browser is not a good answer :)
 
  Edward
 
  Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
   On the contrary, I did precisely that just a few days ago (
   https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
  trac
   *did* save my new ticket text. Perhaps this is a browser-specific issue?
   I'm using 64-bit Chrome 42.0.2311.90.
  
   On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:
  
Steps to reproduce:
   
1. Click New Ticket
2. Type some text into the box
3. Press Back in your browser
4. Press Forward in your browser
   
If you try this with an official Trac this doesn't happen, so either
this was fixed in a new version, or we have a plugin installed which
is causing this to happen.
   
Current version of Trac is 1.0.5, we're currently running 1.0.1
   
Thanks,
Edward
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
   
 
 
 
  ___
  ghc-devs mailing list
  ghc-devs@haskell.org
  http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
 
 
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Alexey Vagarenko
I don't know about an extension, but there is .js library
https://github.com/simsalabim/sisyphus

2015-04-24 20:20 GMT+06:00 Edward Z. Yang ezy...@mit.edu:
 I've tried a few Firefox browser extensions which purport to never
 lose your form text, but I find they just don't save frequently enough
 for my taste.  I would love to know an extension that does this
 properly!

 Edward

 Excerpts from Ryan Yates's message of 2015-04-24 15:15:37 +0100:
 My very pessimistic rule of thumb is don't trust a form field unless the
 site actively saves a draft as you type.

 On Fri, Apr 24, 2015 at 10:13 AM, Eric Crockett ecrocke...@gmail.com
 wrote:

  My Firefox also has this issue. So it seems the problem is the browser
  itself. How can this be fixed on the server side?
 
  On Fri, Apr 24, 2015 at 10:07 AM, Edward Z. Yang ezy...@mit.edu wrote:
 
  Whatever the case, it affects me, it affects SPJ, so we ought to fix it!
  (Change your browser is not a good answer :)
 
  Edward
 
  Excerpts from Eric Crockett's message of 2015-04-24 15:02:35 +0100:
   On the contrary, I did precisely that just a few days ago (
   https://ghc.haskell.org/trac/ghc/ticket/10338), and to my surprise,
  trac
   *did* save my new ticket text. Perhaps this is a browser-specific issue?
   I'm using 64-bit Chrome 42.0.2311.90.
  
   On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:
  
Steps to reproduce:
   
1. Click New Ticket
2. Type some text into the box
3. Press Back in your browser
4. Press Forward in your browser
   
If you try this with an official Trac this doesn't happen, so either
this was fixed in a new version, or we have a plugin installed which
is causing this to happen.
   
Current version of Trac is 1.0.5, we're currently running 1.0.1
   
Thanks,
Edward
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
   
 
 
 
  ___
  ghc-devs mailing list
  ghc-devs@haskell.org
  http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
 
 
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Dan Doel
At a guess, I recently had some websites start refreshing more than I
thought they used to when using the back/forward buttons. From what I
gather, this is due to the websites specifying no-cache or something
similar in their HTTP (?) headers. I think reloading the page throws away
entered text, while going back/forward to a stored page does not.

Perhaps something the ghc trac is using is setting this? Or it could be
something outside trac entirely?

Also wouldn't surprise me if Chrome behaves differently with such a setting
than Firefox.

Not sure if that helps.

On Fri, Apr 24, 2015 at 9:54 AM, Edward Z. Yang ezy...@mit.edu wrote:

 Steps to reproduce:

 1. Click New Ticket
 2. Type some text into the box
 3. Press Back in your browser
 4. Press Forward in your browser

 If you try this with an official Trac this doesn't happen, so either
 this was fixed in a new version, or we have a plugin installed which
 is causing this to happen.

 Current version of Trac is 1.0.5, we're currently running 1.0.1

 Thanks,
 Edward
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


Re: Can we fix our Trac that doesn't lose new ticket text

2015-04-24 Thread Kostiantyn Rybnikov
Not related to issue, but generally for Firefox I suggest an addon Form
History Control (UI is not superb, but it does what it should do)
https://addons.mozilla.org/uk/firefox/addon/form-history-control/

For Chrome, Lazarus Form Recovery used to work, but I'm not sure it still
does, since it seemed abandoned.

On Fri, Apr 24, 2015 at 4:54 PM, Edward Z. Yang ezy...@mit.edu wrote:

 Steps to reproduce:

 1. Click New Ticket
 2. Type some text into the box
 3. Press Back in your browser
 4. Press Forward in your browser

 If you try this with an official Trac this doesn't happen, so either
 this was fixed in a new version, or we have a plugin installed which
 is causing this to happen.

 Current version of Trac is 1.0.5, we're currently running 1.0.1

 Thanks,
 Edward
 ___
 ghc-devs mailing list
 ghc-devs@haskell.org
 http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

___
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs