Projet

Général

Profil

Anomalie #2206

Adresse IP en dur dans roundcube.sql

Ajouté par Joël Cuissinat il y a plus de 12 ans. Mis à jour il y a plus de 12 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
12/10/2011
Echéance:
% réalisé:

100%

Temps estimé:
0.50 h
Temps passé:
Distribution:
EOLE 2.3

Description

$ grep GRANT roundcube.sql
GRANT select,insert,update,delete ON roundcube.* TO IDENTIFIED BY 'rcpassword';


Demandes liées

Lié à roundcube - Evolution #497: tests roundcube Fermé 28/04/2010

Révisions associées

Révision 6d2a3aff (diff)
Ajouté par glyph il y a plus de 16 ans

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.

Révision 9d4140c8 (diff)
Ajouté par Joël Cuissinat il y a plus de 12 ans

initialisation SQL découpée en 2 fichiers, utilisation de %%adresse_ip_web dans le GRANT (fixes #2206)

Révision b115485c (diff)
Ajouté par Vincent Chavanon il y a plus de 6 ans

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

#3 Mis à jour par Joël Cuissinat il y a plus de 12 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF