Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Admin login not available

More
9 years 8 months ago - 9 years 8 months ago #129341 by holch
Replied by holch on topic Admin login not available
Denis, I don't think the problem is not "I don't want it" for me personally. The messages about the unstable release on my production server annoy me, but I simply ignore them.

The problem are cases like above: People don't always read exactly what the message says, or they don't really understand it fully. And then of course they run into problems because they "upgraded" to an unstable branch.

So, to clear this up: I really like the ComfortUpdate. I think it is a big improvement for Limesurvey (probably the biggest since EM) and it should help to reduce the number of old installations out there.

I even like the idea that you can use ComfortUpdate for unstable releases. It makes it a lot easier to install unstable branches and test them and follow the different steps.

BUT: the unstable releases should NOT be offered as an upgrade in a normal installation. There should be an option where you can mark that you want to upgrade the unstable version, but it should not be shown like security updates or stable releases.

This way we avoid problems with people upgrading to an unstable release because they don't know what they are doing. I think this is a common practice and I don't understand why this was implemented in the first place. From what I can see here in the forum, we don't just have "professional" LS admin, but a lot of people who installed it for their thesis, etc. and they often are not very familiar with the administration of web applications. The installation routine of LS has made it easy even for not so experienced people to install and the forum is also making a good effort to help them with their "adventure". We should also make it as easy as possible for them to keep LS up to date. With ComfortUpdate it is very easy, but at the moment, with these messages there is also a risk to do something "stupid" and this should be avoided (and in my opinion it can be avoided very easily, simply by NOT offering unstable releases for upgrade so easily like at the moment).

If you make it an opt-in feature in ComfortUpdate then I expect from the user that he knows what he is doing. At the moment it is too easy to make a mistake. Just my opinion.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 9 years 8 months ago by holch.
The topic has been locked.
More
9 years 8 months ago #129347 by DenisChenu
Hi holch,

I think too update to ComortUpdate is too simple, there are not a lot of confirmation. And another issue :
- You have a security update
- Click on the link
- The first button is the unstable update.

Not a lot of confirmation here : must have an red waring alert :).

But i do what i can ....
bugs.limesurvey.org/view.php?id=9846
bugs.limesurvey.org/view.php?id=9879
bugs.limesurvey.org/view.php?id=9888

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: holch
The topic has been locked.
More
9 years 8 months ago #129378 by bnwimmer
Replied by bnwimmer on topic Admin login not available
Also made a Comfort Update since they said it is a security fix. Now my admin login is gone, showing a server 500 error. Any ideas what I can do? Thats a great security fix, taking the site down. Well, it is secure now, but unusable, too.
The topic has been locked.
More
9 years 7 months ago #129767 by marcgold
Replied by marcgold on topic Admin login not available
Great Plugin did exactly what it says on the tin :)
Now the top banner telling everyone that there is an unstable update is gone.

Would it be possible to update the plugin so that it hides it in the comfort update screen as well, it really shouldnt be there on a production system.

Thanks

Marc
The topic has been locked.
More
9 years 7 months ago - 9 years 7 months ago #129775 by DenisChenu

marcgold wrote: Great Plugin did exactly what it says on the tin :)
Now the top banner telling everyone that there is an unstable update is gone.

I'm unsure it's the good plave for this information.

marcgold wrote: Would it be possible to update the plugin so that it hides it in the comfort update screen as well, it really shouldnt be there on a production system.

All is possible .... with time to do it.

Oh, goit it ... sorry : good place

This line :
git.framasoft.org/SondagePro-LimeSurvey-...eUpdateAdmin.php#L41

Update it to
Code:
App()->clientScript->registerCss('hideunstable',"#update-alert{display:none}");

I want to do some test : if user are super admin : show it, else no. But no time actually

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 9 years 7 months ago by DenisChenu.
The topic has been locked.
More
9 years 7 months ago #129849 by marcgold
Replied by marcgold on topic Admin login not available
Thanks for this, wasn't what I was looking for, but pointed me in the right direct.

I was talking about the Comfort update screen where it lists both the Stable and Unstable updates that are shown as available.
But a simple change to your code above achieves the desired result.

Change Line 41
App()->clientScript->registerCss('hideunstable',"#update-alert{display:none} #udapteButtonsContainer{display:none}");

Thanks.

Marc Gold
The topic has been locked.
More
9 years 7 months ago #129967 by DenisChenu
Oh yes ....

@todo:
- Option to hide update button (according to update hidden)
- Option to hide all update
- Option to Alwais hide all update excepot for super admin

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose