Flyspray - The bug killer!

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Backend/Core
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Medium
  • Reported Version 1.0 alpha1
  • Due in Version 1.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Jordan Mendler - 12.09.2015
Last edited by peterdd - 02.03.2016

FS#2051 - During upgrade need to set reasonable defaults for any missing prefs

Since there are new prefs adding in, if anything is missing during an upgrade, we need to set reasonable defaults to avoid error messages. Here are some I see are missing:

url_rewriting
pages_welcome_msg
emailNoHTML
enable_avatars
hide_emails
only_oauth_reg
need_approval
active_oauths
max_vote_per_day
votes_per_project

Closed by  peterdd
02.03.2016 19:50
Reason for closing:  No customer feedback
Project Manager
peterdd commented on 13.09.2015 18:19

Where do you see the error messages? I haven't seen such error messages with in my tests yet.
(even upgrades from a 0.9.9.7 fresh installs to current master)
Which php version, which error reporting level?

  • max_votes_per_day: may full replaced by the votes_per_project setting, which is more userfriendly and "democratic" in the meaning of that users have same power of voting.
  • (maybe a new task) emailNoHTML setting: Naming a setting variable should be avoided to avoid confusion. Especially with the background, that double negation in a sentence has different logical meaning in different languages ( https://en.wikipedia.org/wiki/Double_negative )

Could be changed to "emailHTML" (with switched values of course)

We send emails now in every case also as text too. So emailHTMl=1 would be the option for sending also as HTML.

Admin
Jordan Mendler commented on 14.09.2015 01:31

Everywhere :-O

I will send some screenshots tomorrow. Also will be making some commits then as well.

Project Manager
peterdd commented on 15.09.2015 01:44

Which env/php settings?

Jordan, I asked you before but please, please:
If we setup that travis-ci for Flyspray/Flyspray and write good tests, we could detect such things in future automatic.

I have set travis-ci for peterdd/Flyspray, but we need it for Flyspray/Flyspray and only you can do it for us.

If you need help for that I can do some screenshots how to set it up.

One of the dreams I have for flyspray is having complete tests that run with every merge to master.

Do automatic test (flyspray install / flyspray upgrade / different use case tests):

  • on different php versions X different databases X different (env) settings

And this is possible with the travis-ci on github.

There are even exists tools for travis-ci for testing with a real web browser (just read about it, never did yet) selenium ..

Admin
Jordan Mendler commented on 16.09.2015 04:05

PHP 5.6.12+dfsg-1 on debian unstable.

I went ahead and activated travis-ci for flyspray site and website, atleast on the travis side. Haven't used it before, but it should be on now if you to do steps 2 and 3 from https://travis-ci.org/getting_started

Project Manager
peterdd commented on 17.09.2015 00:07

travis-ci now working for Flyspray/flyspray. Thx.

Project Manager
peterdd commented on 05.10.2015 18:43

Jordan, you marked this as critical. Could you please provide the promised screenshots?

I think next step is doing preparing the FS1.0 beta release.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing