[pgAdmin][RM5048] : code coverage tool
Hi Team, Please find the attached patch to calculate code coverage if pgadmin code(python tests). I have extended the existing testsuite to enable coverage. I have used python's coverage module. *Some useful commands: * before running the commands make sure you create .coveragerc file under /regression directory(details mentioned in README) Run coverage With all modules run 'python runtests.py --coverage --exclude feature_tests' With specific module run 'python runtests.py --pkg browser.server_groups.servers.tests --coverage' Thanks! -- *Regards,* *Navnath Gadakh* pgadmin_code_coverage_v1.patch Description: Binary data
Re: [pgAdmin][RM5038] Select2 enhancement - Load items on demand (scroll)
Hi Hackers, The previous patch broke the tags and tokenizer options of select2. Turned out, with the change of data adapter we also need to configure adapters for tags, tokenizer and others. Attached is the patch to set those to the default available in select2. I've also renamed onDemandLoad to showOnScroll to avoid confusion as we are showing the already present data on scroll and not loading the data on demand from ajax. Kindly review. On Wed, Jan 1, 2020 at 11:25 AM Akshay Joshi wrote: > Thanks, patch applied. > > On Tue, Dec 24, 2019 at 1:01 PM Aditya Toshniwal < > aditya.toshni...@enterprisedb.com> wrote: > >> Hi Hackers, >> >> Attached is the patch to enhance select2 used in pgAdmin. The select2 >> dropdown will show only a few items when opened initially. On scrolling it >> will show others. Searching will work as before. This will reduce the >> number of DOM nodes on page. >> Note that, individual controls can disable the behaviour if desired by >> passing onDemandLoad:false for select2 options. It is enabled by default. >> >> Kindly review. >> >> -- >> Thanks and Regards, >> Aditya Toshniwal >> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune >> "Don't Complain about Heat, Plant a TREE" >> > > > -- > *Thanks & Regards* > *Akshay Joshi* > > *Sr. Software Architect* > *EnterpriseDB Software India Private Limited* > *Mobile: +91 976-788-8246* > -- Thanks and Regards, Aditya Toshniwal pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune "Don't Complain about Heat, Plant a TREE" RM5038.part2.patch Description: Binary data
pgAdmin 4 commit: Ensure all binaries are securely signed and linked wi
Ensure all binaries are securely signed and linked with the hardened runtime in the macOS bundle. Fixes #5060 Note that this is untested for automated builds, so may require further tweaks. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f5afc5187904bb7ae9e6dac0dc7743045c01156a Author: Paresh More Modified Files -- docs/en_US/release_notes_4_17.rst | 1 + pkg/mac/build.sh | 17 + pkg/mac/codesign-binaries.sh | 40 +++ pkg/mac/codesign.conf.in | 1 + 4 files changed, 59 insertions(+)
pgAdmin 4 commit: Fix quoting.
Fix quoting. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c0595e62ee2301ac4f92d43edbdee1f7d940c08c Modified Files -- pkg/mac/codesign-binaries.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)
pgAdmin 4 commit: More quoting fixes.
More quoting fixes. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fa74a42b3497003fa6491fcac2864ceef85c1537 Modified Files -- pkg/mac/codesign-binaries.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
pgAdmin 4 commit: More quoting fixes.
More quoting fixes. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=56af090e54f337c62ca3c156d6a98234130be89d Modified Files -- pkg/mac/codesign-binaries.sh | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)
pgAdmin 4 commit: Debugging for the automated build
Debugging for the automated build Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b0877f63b50a2ccac5831bbca25b9c5ba803059b Modified Files -- pkg/mac/codesign-binaries.sh | 1 + 1 file changed, 1 insertion(+)
pgAdmin 4 commit: Remove extra quotes that are doubled.
Remove extra quotes that are doubled. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b617a5d89d0c27470ff6cd46b04fdf91b8d43d76 Modified Files -- pkg/mac/codesign-binaries.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
pgAdmin 4 commit: Remove debugging and incorrect comment.
Remove debugging and incorrect comment. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a887019337d4161bf928f15f2880784f58e81b9b Modified Files -- pkg/mac/codesign-binaries.sh | 5 - 1 file changed, 5 deletions(-)
[pgAdmin][RM4633] Bad view in partitioned tables
Hi Hackers Attached is the patch to support the view part of the multilevel partitions. Users can perform all the operations except creating the partitions as a partitioned table. Users can create a partition table separately and attach it as a partition of another partition table. There are two problems mentioned in the RM. I have fixed the first one and we won't fix the second problem as by design we decided to show Partitions like Schema->Table->Partitions Please review it. -- *Thanks & Regards* *Akshay Joshi* *Sr. Software Architect* *EnterpriseDB Software India Private Limited* *Mobile: +91 976-788-8246* RM_4633.patch Description: Binary data
pgAdmin 4 commit: Added code coverage tool for pgAdmin. Fixes #5048.
Added code coverage tool for pgAdmin. Fixes #5048. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=66f5a40cd9da651a0d4c7d64f4bf9fe9d5076b98 Author: Navnath Gadakh Modified Files -- docs/en_US/release_notes_4_17.rst | 1 + web/regression/.coveragerc.in | 25 ++ web/regression/README | 35 ++ web/regression/python_test_utils/test_utils.py | 29 + web/regression/requirements.txt| 2 +- web/regression/runtests.py | 21 6 files changed, 112 insertions(+), 1 deletion(-)
Re: [pgAdmin][RM5048] : code coverage tool
Thanks, patch applied. On Fri, Jan 3, 2020 at 1:38 PM navnath gadakh wrote: > Hi Team, > Please find the attached patch to calculate code coverage if pgadmin > code(python tests). > I have extended the existing testsuite to enable coverage. I have used > python's coverage module. > > *Some useful commands: * > > before running the commands make sure you create .coveragerc file under > /regression directory(details mentioned in README) > Run coverage > > With all modules > run 'python runtests.py --coverage --exclude feature_tests' > With specific module > run 'python runtests.py --pkg browser.server_groups.servers.tests > --coverage' > > Thanks! > -- > *Regards,* > *Navnath Gadakh* > -- *Thanks & Regards* *Akshay Joshi* *Sr. Software Architect* *EnterpriseDB Software India Private Limited* *Mobile: +91 976-788-8246*
pgAdmin 4 commit: Update message catalogs.
Update message catalogs. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7668d9af085f4f9f0369eeffefe6c0a1402a4c1a Modified Files -- web/pgadmin/messages.pot | 1019 - .../translations/de/LC_MESSAGES/messages.mo| Bin 91690 -> 91541 bytes .../translations/de/LC_MESSAGES/messages.po| 1023 - .../translations/es/LC_MESSAGES/messages.mo| Bin 133670 -> 133515 bytes .../translations/es/LC_MESSAGES/messages.po| 1023 - .../translations/fr/LC_MESSAGES/messages.mo| Bin 163873 -> 166126 bytes .../translations/fr/LC_MESSAGES/messages.po| 2235 +--- .../translations/it/LC_MESSAGES/messages.mo| Bin 175588 -> 163994 bytes .../translations/it/LC_MESSAGES/messages.po| 2115 +- .../translations/ja/LC_MESSAGES/messages.mo| Bin 175811 -> 175667 bytes .../translations/ja/LC_MESSAGES/messages.po| 1027 - .../translations/ko/LC_MESSAGES/messages.mo| Bin 114948 -> 114778 bytes .../translations/ko/LC_MESSAGES/messages.po| 1023 - .../translations/pl/LC_MESSAGES/messages.mo| Bin 118010 -> 117854 bytes .../translations/pl/LC_MESSAGES/messages.po| 1023 - .../translations/ru/LC_MESSAGES/messages.mo| Bin 153594 -> 153364 bytes .../translations/ru/LC_MESSAGES/messages.po| 1023 - .../translations/zh/LC_MESSAGES/messages.mo| Bin 137001 -> 136869 bytes .../translations/zh/LC_MESSAGES/messages.po| 1023 - 19 files changed, 6991 insertions(+), 5543 deletions(-)
Translators: Release next week
Hi Translators, We will have a release next week, so updates to translations before release would be helpful. The template and catalogs have been updated in git. -- *Thanks & Regards* *Akshay Joshi* *Sr. Software Architect* *EnterpriseDB Software India Private Limited* *Mobile: +91 976-788-8246*
pgAdmin 4 commit: Add a note to the documentation about the use of non-
Add a note to the documentation about the use of non-privileged ports on filesystems that don't support extended attributes when running the container. Fixes #5013 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c9de5f00c69f43d695e64a477e14a6fbca5d5206 Modified Files -- docs/en_US/container_deployment.rst | 11 +++ docs/en_US/release_notes_4_17.rst | 1 + 2 files changed, 12 insertions(+)