Re: [pgAdmin4][RM#3037] Allow user to disable Gravatar image

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgAdmin4][RM#3037] Allow user to disable Gravatar image
Дата
Msg-id CA+OCxoy2VaBnS61m3i2aOksMS6o7E39kjLsoezLsPh5c00SVKA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin4][RM#3037] Allow user to disable Gravatar image  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
Список pgadmin-hackers
Thanks, applied.

On Wed, Mar 7, 2018 at 3:17 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,

PFA updated patch.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Wed, Mar 7, 2018 at 7:20 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Mon, Mar 5, 2018 at 8:12 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,

PFA patch to disable Gravatar image in Server mode.

Requirments & Issues:
- For security reasons.
- For systems which do not have internet access.
- Hangs pgAdmin4 while loading the page if connection has no internet access (as described in the ticket)

If I run with the Gravatar disabled, then I get the following regression failure:

======================================================================
FAIL: runTest (pgadmin.browser.tests.test_login.LoginTestCase)
Valid_Credentials
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dpage/git/pgadmin4/web/pgadmin/browser/tests/test_login.py", line 93, in runTest
    self.assertTrue(self.respdata in response.data.decode('utf8'))
AssertionError: False is not true

---------------------------------------------------------------------- 

It's fine when Gravatar is enabled (and the rest of the patch does too).

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Allow admins to disable the use of Gravatar if theyc
Следующее
От: Khushboo Vashi
Дата:
Сообщение: Re: Build failed in Jenkins: pgadmin4-master-python33 #507