Anomalie #2206
Adresse IP en dur dans roundcube.sql
Description
$ grep GRANT roundcube.sql
GRANT select,insert,update,delete ON roundcube.* TO roundcube@192.0.2.15 IDENTIFIED BY 'rcpassword';
Demandes liées
Révisions associées
Implement unit tests Athena XHR and correct some invalid assumptions about browsers.
Author: glyph
Fixes #2206
Fixes #1613
Reviewer: moe
This change implements a bunch of new JavaScript unit tests for both the Runtime's getPage method, and the ReliableMessageDelivery object. In so doing, various parts of the process are refactored, and there is much less reliance on global state now. In particular, the _actionHandlers global object literal bag of functions was translated into a set of regular methods on the ReliableMessageDelivery object. This change does not introduce ''complete'' coverage, nor does it refactor all the unnecessary reliance upon global state, but it does provide enough coverage that we may begin to change the message queue behavior with some level of confidence.
Since there wouldn't have been much of a point to writing tests to verify behavior which was known to be incorrect at the time, we also change the behavior of the 'onunload' handler here to be in 'onbeforeunload', and use a synchronous request, as asynchronous requests will not be honored in this context (except due to a bug in some Firefox extensions that wrap XHR, such as Firebug and some versions of YSlow), and to clear the queue and use a special sequence number to block the user's browser as little as possible. The accompanying Python change (to recognize the special meaning of 'unload' as a sequence number) is also implemented here, along with tests.
initialisation SQL découpée en 2 fichiers, utilisation de %%adresse_ip_web dans le GRANT (fixes #2206)
ajout du script fixNoyau.sh qui installe le noyau 4.4.0-97 et spécifie de booter dessus Ref:#2206
Historique
#1 Mis à jour par Joël Cuissinat il y a plus de 12 ans
Je ne l'ai pas précisé, mais l'application ne marche pas de ce fait :(
DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
#2 Mis à jour par Joël Cuissinat il y a plus de 12 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 9d4140c8b8ffddeb5b826a64d063b1a70fcdd71b.
#3 Mis à jour par Joël Cuissinat il y a plus de 12 ans
- Statut changé de Résolu à Fermé