[pgAdmin4][RM2136] Include "?" on all routes that are loaded

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin4][RM2136] Include "?" on all routes that are loaded
Дата
Msg-id CAM9w-_kU0p=sTSr4KTj7QYSfOjNjo6VOmMJqzsAsCExasjbr9Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][RM2136] Include "?" on all routes that are loaded  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Список pgadmin-hackers
Hi Hackers,

Attached is the patch for RM2136 which will add "?<ver_param>=<ver>" to all the static files requested and will help in cache busting on upgrading pgAdmin4.
<ver_param> name is configurable and is present in config.py-INTERNAL_VERSION_PARAM.
The value <ver> is taken as APP_VERSION_INT (which is updated with every release).
Setting INTERNAL_VERSION_PARAM value to blank or None will disable the version param add.
New parameter INTERNAL_VERSION_EXTN (tuple) is also added to specify the file extensions for which the version param to be added. I have added a few for now.
Test cases included.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Вложения

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: [pgAdmin4][Patch]: #3412 - Add support for PRIMARY KEY, FOREIGNKEY, indexes, and triggers on partitioned tables for PG 11
Следующее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: 'anyFamilyMember' runs the condition function forall