pgwui_common
22 months agoChange pointer to a hand over help elements, they are navigable
Karl O. Pinc [Fri, 27 Sep 2024 00:13:04 +0000 (19:13 -0500)]
Change pointer to a hand over help elements, they are navigable

22 months agoThe "label" element should not be used without the "for" attribute
Karl O. Pinc [Thu, 26 Sep 2024 20:13:04 +0000 (15:13 -0500)]
The "label" element should not be used without the "for" attribute

22 months agoPyramid views returning Pyramid Response objects are not rendered
Karl O. Pinc [Fri, 20 Sep 2024 22:10:04 +0000 (17:10 -0500)]
Pyramid views returning Pyramid Response objects are not rendered

22 months agoSuperscript help links
Karl O. Pinc [Fri, 20 Sep 2024 20:16:12 +0000 (15:16 -0500)]
Superscript help links

22 months agoAdd place on the page for checkboxes and other controls to go
Karl O. Pinc [Wed, 18 Sep 2024 16:16:57 +0000 (11:16 -0500)]
Add place on the page for checkboxes and other controls to go

22 months agoForce background color so pgwui_sql column headings "stick" on the page
Karl O. Pinc [Tue, 17 Sep 2024 22:57:19 +0000 (17:57 -0500)]
Force background color so pgwui_sql column headings "stick" on the page

This is a kludge.  See the comments in pgwui_sql's pgwui_sql.css file.

22 months agoAllow input elements to be styled
Karl O. Pinc [Mon, 16 Sep 2024 00:42:44 +0000 (19:42 -0500)]
Allow input elements to be styled

22 months agoFix rendering of for= in form labels
Karl O. Pinc [Sun, 15 Sep 2024 22:15:04 +0000 (17:15 -0500)]
Fix rendering of for= in form labels

22 months agoAdd style for help links
Karl O. Pinc [Sun, 15 Sep 2024 22:14:07 +0000 (17:14 -0500)]
Add style for help links

23 months agoAllow control over presence of top-of-page horizontal rule
Karl O. Pinc [Fri, 13 Sep 2024 16:19:12 +0000 (11:19 -0500)]
Allow control over presence of top-of-page horizontal rule

23 months agoAllow use of main form in windows opened with js
Karl O. Pinc [Sat, 24 Aug 2024 18:14:58 +0000 (13:14 -0500)]
Allow use of main form in windows opened with js

23 months agoBump version number to 0.19.0
Karl O. Pinc [Tue, 20 Aug 2024 19:55:38 +0000 (14:55 -0500)]
Bump version number to 0.19.0

23 months agoMove SQL css into the pgwui_sql component
Karl O. Pinc [Tue, 20 Aug 2024 00:10:36 +0000 (19:10 -0500)]
Move SQL css into the pgwui_sql component

23 months agoUpdate copyright contact info
Karl O. Pinc [Tue, 20 Aug 2024 00:09:56 +0000 (19:09 -0500)]
Update copyright contact info

23 months agoBump version number to 0.18.0
Karl O. Pinc [Mon, 19 Aug 2024 19:48:10 +0000 (14:48 -0500)]
Bump version number to 0.18.0

23 months agoLet table data span columns
Karl O. Pinc [Mon, 19 Aug 2024 19:21:53 +0000 (14:21 -0500)]
Let table data span columns

23 months agoMake the sql input textarea big
Karl O. Pinc [Mon, 19 Aug 2024 19:19:06 +0000 (14:19 -0500)]
Make the sql input textarea big

2 years agoRemove unnecessary argument from hidden_vars()
Karl O. Pinc [Wed, 14 Aug 2024 16:17:56 +0000 (11:17 -0500)]
Remove unnecessary argument from hidden_vars()

2 years agoAllow HTML to appear in form labels
Karl O. Pinc [Fri, 9 Aug 2024 17:06:58 +0000 (12:06 -0500)]
Allow HTML to appear in form labels

2 years agoBump version number to 0.17.0
Karl O. Pinc [Mon, 5 Aug 2024 17:50:13 +0000 (12:50 -0500)]
Bump version number to 0.17.0

2 years agoBump version number to 0.16.0
Karl O. Pinc [Mon, 5 Aug 2024 17:04:50 +0000 (12:04 -0500)]
Bump version number to 0.16.0

2 years agoUse table data input abstraction for non-input displayed value
Karl O. Pinc [Sat, 3 Aug 2024 21:52:23 +0000 (16:52 -0500)]
Use table data input abstraction for non-input displayed value

2 years agoAdd label id targets back to input labels
Karl O. Pinc [Sat, 3 Aug 2024 20:43:25 +0000 (15:43 -0500)]
Add label id targets back to input labels

As it turns out, you can't use "for" as an argument/tag element attribute
with mako.  At least not when inheriting the namespace into templates
at arbitrary depth.

2 years agoAllow arbitrary tabindex incrementing
Karl O. Pinc [Sat, 3 Aug 2024 20:42:48 +0000 (15:42 -0500)]
Allow arbitrary tabindex incrementing

2 years agoAbstract table data input element
Karl O. Pinc [Sat, 3 Aug 2024 19:35:53 +0000 (14:35 -0500)]
Abstract table data input element

2 years agoAbstract table row label construction
Karl O. Pinc [Sat, 3 Aug 2024 19:11:10 +0000 (14:11 -0500)]
Abstract table row label construction

2 years agoMove page_heading filter into base.mak
Karl O. Pinc [Fri, 2 Aug 2024 18:13:04 +0000 (13:13 -0500)]
Move page_heading filter into base.mak

2 years agoNew css style for vertical spacing
Karl O. Pinc [Fri, 2 Aug 2024 17:23:24 +0000 (12:23 -0500)]
New css style for vertical spacing

2 years agoPut page heading in the base template
Karl O. Pinc [Fri, 2 Aug 2024 16:42:13 +0000 (11:42 -0500)]
Put page heading in the base template

2 years agoMove table rows into their own %def
Karl O. Pinc [Thu, 1 Aug 2024 22:24:35 +0000 (17:24 -0500)]
Move table rows into their own %def

2 years agoFix logout link in navbar
Karl O. Pinc [Thu, 1 Aug 2024 00:09:50 +0000 (19:09 -0500)]
Fix logout link in navbar

2 years agoBetter comment markup
Karl O. Pinc [Wed, 31 Jul 2024 23:50:11 +0000 (18:50 -0500)]
Better comment markup

2 years agoMove file name reporting into pgwui_upload_core
Karl O. Pinc [Wed, 31 Jul 2024 23:32:21 +0000 (18:32 -0500)]
Move file name reporting into pgwui_upload_core

2 years agoOnly put db_changed into a hidden variable when the component needs it
Karl O. Pinc [Wed, 31 Jul 2024 18:27:10 +0000 (13:27 -0500)]
Only put db_changed into a hidden variable when the component needs it

2 years agoauth_parts.mak is not needed now that template inheritance is corrected
Karl O. Pinc [Wed, 31 Jul 2024 17:56:28 +0000 (12:56 -0500)]
auth_parts.mak is not needed now that template inheritance is corrected

2 years agoAdd block for bottom matter to base template
Karl O. Pinc [Wed, 31 Jul 2024 17:21:11 +0000 (12:21 -0500)]
Add block for bottom matter to base template

2 years agoMove submit button out of auth_base.mak
Karl O. Pinc [Wed, 31 Jul 2024 16:57:29 +0000 (11:57 -0500)]
Move submit button out of auth_base.mak

2 years agoSplit out single-db using forms into a separate template
Karl O. Pinc [Tue, 30 Jul 2024 23:25:52 +0000 (18:25 -0500)]
Split out single-db using forms into a separate template

Uses "main_form".  The inheriting template always initiates execution.
Move upload fields into pgwui_upload_core.

2 years agoTest for null input in the null input template code
Karl O. Pinc [Tue, 30 Jul 2024 20:53:08 +0000 (15:53 -0500)]
Test for null input in the null input template code

2 years agoMake consistent use of TabIndex
Karl O. Pinc [Tue, 30 Jul 2024 17:27:53 +0000 (12:27 -0500)]
Make consistent use of TabIndex

2 years agoUse more clear markup
Karl O. Pinc [Tue, 30 Jul 2024 17:19:33 +0000 (12:19 -0500)]
Use more clear markup

2 years agoUse inheritance to properly wrap inheriting body
Karl O. Pinc [Tue, 30 Jul 2024 16:46:40 +0000 (11:46 -0500)]
Use inheritance to properly wrap inheriting body

2 years agoTemporary fix to non-upload components
Karl O. Pinc [Mon, 29 Jul 2024 16:54:33 +0000 (11:54 -0500)]
Temporary fix to non-upload components

2 years agoUse TabIndex in inherited templates
Karl O. Pinc [Mon, 29 Jul 2024 16:48:21 +0000 (11:48 -0500)]
Use TabIndex in inherited templates

2 years agoAbstract template table rows
Karl O. Pinc [Mon, 29 Jul 2024 16:28:22 +0000 (11:28 -0500)]
Abstract template table rows

2 years agoDo the navbar properly
Karl O. Pinc [Sun, 28 Jul 2024 19:37:46 +0000 (14:37 -0500)]
Do the navbar properly

The parent navbar decides how to place the child's content.

Do not use "next" because that means that the parent must know
if they have children.  Instead, use body wrapping and always
call the "navbar_content" tag with a body.

2 years agoImprove docs
Karl O. Pinc [Sun, 28 Jul 2024 19:33:23 +0000 (14:33 -0500)]
Improve docs

2 years agoImprove double-upload detection
Karl O. Pinc [Tue, 16 Jul 2024 22:19:54 +0000 (17:19 -0500)]
Improve double-upload detection

Goes with pgwui_core commit 6fc47ce73d.

2 years agoBetter response variable name db_changed -> report_success
Karl O. Pinc [Tue, 16 Jul 2024 13:07:16 +0000 (08:07 -0500)]
Better response variable name db_changed -> report_success

2 years agoUse new attrs style
Karl O. Pinc [Sun, 14 Jul 2024 03:18:33 +0000 (22:18 -0500)]
Use new attrs style

2 years agoBump version number to 0.15.0
Karl O. Pinc [Sun, 23 Jun 2024 02:06:58 +0000 (21:06 -0500)]
Bump version number to 0.15.0

2 years agoUse immediate assignments
Karl O. Pinc [Sat, 22 Jun 2024 03:21:04 +0000 (22:21 -0500)]
Use immediate assignments

2 years agoAdjust for YAML config file; boolean settings are actually boolean
Karl O. Pinc [Fri, 21 Jun 2024 23:39:00 +0000 (18:39 -0500)]
Adjust for YAML config file; boolean settings are actually boolean

2 years agoFix conditional yamllint execution
Karl O. Pinc [Fri, 21 Jun 2024 23:10:57 +0000 (18:10 -0500)]
Fix conditional yamllint execution

2 years agoAvoid rebuilding packages when running check targets
Karl O. Pinc [Fri, 21 Jun 2024 23:10:00 +0000 (18:10 -0500)]
Avoid rebuilding packages when running check targets

2 years agoRun yamllint when checking
Karl O. Pinc [Fri, 21 Jun 2024 19:28:13 +0000 (14:28 -0500)]
Run yamllint when checking

2 years agoBump version number to 0.14.0
Karl O. Pinc [Thu, 28 Mar 2024 21:40:48 +0000 (16:40 -0500)]
Bump version number to 0.14.0

2 years agoUse "build" to build packages; add a pyproject.toml file
Karl O. Pinc [Thu, 28 Mar 2024 16:53:26 +0000 (11:53 -0500)]
Use "build" to build packages; add a pyproject.toml file

2 years agoDrop "register" targets; no longer supported at pypi
Karl O. Pinc [Sun, 24 Mar 2024 22:37:59 +0000 (17:37 -0500)]
Drop "register" targets; no longer supported at pypi

See: https://github.com/pypi/warehouse/issues/1627

2 years agoBump version number to 0.13.0
Karl O. Pinc [Fri, 22 Mar 2024 20:31:20 +0000 (15:31 -0500)]
Bump version number to 0.13.0

2 years agoUse importlib.metadata instead of pkg_resources for entrypoint processing
Karl O. Pinc [Thu, 21 Mar 2024 19:43:39 +0000 (14:43 -0500)]
Use importlib.metadata instead of pkg_resources for entrypoint processing

2 years agoChange name: instance_method_mock_fixture() -> late_instance_mock_fixture()
Karl O. Pinc [Sat, 16 Mar 2024 21:25:46 +0000 (16:25 -0500)]
Change name: instance_method_mock_fixture() -> late_instance_mock_fixture()

2 years agoDrop Python 3.6 support; psycopg3 does not support it
Karl O. Pinc [Tue, 5 Mar 2024 22:11:53 +0000 (16:11 -0600)]
Drop Python 3.6 support; psycopg3 does not support it

2 years agoDo not rely on exceptions supporting the slice operation
Karl O. Pinc [Tue, 5 Mar 2024 21:00:33 +0000 (15:00 -0600)]
Do not rely on exceptions supporting the slice operation

2 years agoSet client-side connection encoding
Karl O. Pinc [Fri, 23 Feb 2024 20:28:39 +0000 (14:28 -0600)]
Set client-side connection encoding

2 years agoUpgrade from psycopg2 to psycopg3; drop python <= v3.5, add v3.8-v3.11
Karl O. Pinc [Fri, 23 Feb 2024 16:31:18 +0000 (10:31 -0600)]
Upgrade from psycopg2 to psycopg3; drop python <= v3.5, add v3.8-v3.11

2 years agoFix file name typos in comments
Karl O. Pinc [Fri, 23 Feb 2024 00:59:57 +0000 (18:59 -0600)]
Fix file name typos in comments

5 years agoBump version number to 0.12.0
Karl O. Pinc [Thu, 3 Jun 2021 16:44:10 +0000 (11:44 -0500)]
Bump version number to 0.12.0

5 years agoBump version number to 0.11.0
Karl O. Pinc [Sun, 30 May 2021 06:20:11 +0000 (01:20 -0500)]
Bump version number to 0.11.0

5 years agoBump version number to 0.10.0
Karl O. Pinc [Sun, 9 May 2021 21:50:00 +0000 (16:50 -0500)]
Bump version number to 0.10.0

5 years agoAbstract out common auth form elements
Karl O. Pinc [Fri, 30 Apr 2021 03:57:06 +0000 (22:57 -0500)]
Abstract out common auth form elements

5 years agoAdd "caution" style
Karl O. Pinc [Thu, 29 Apr 2021 03:50:25 +0000 (22:50 -0500)]
Add "caution" style

5 years agoUse SetupError name from pgwui_core instead of just Error
Karl O. Pinc [Tue, 27 Apr 2021 20:57:11 +0000 (15:57 -0500)]
Use SetupError name from pgwui_core instead of just Error

5 years agoExpose PGWUIError and SetupError
Karl O. Pinc [Tue, 27 Apr 2021 20:03:02 +0000 (15:03 -0500)]
Expose PGWUIError and SetupError

5 years agoInherit from the right exceptions
Karl O. Pinc [Fri, 23 Apr 2021 21:38:47 +0000 (16:38 -0500)]
Inherit from the right exceptions

5 years agoAllow an undefined filename
Karl O. Pinc [Fri, 23 Apr 2021 20:06:11 +0000 (15:06 -0500)]
Allow an undefined filename

5 years agoSplit auth_base to create errors_base
Karl O. Pinc [Thu, 22 Apr 2021 17:19:33 +0000 (12:19 -0500)]
Split auth_base to create errors_base

5 years agoChange component name from pgwui_testing to pgwui_develop
Karl O. Pinc [Tue, 26 Jan 2021 03:39:04 +0000 (21:39 -0600)]
Change component name from pgwui_testing to pgwui_develop

5 years agoBump version number to 0.9.0
Karl O. Pinc [Sun, 24 Jan 2021 05:52:12 +0000 (23:52 -0600)]
Bump version number to 0.9.0

5 years agoBump version number to 0.8.0
Karl O. Pinc [Sun, 24 Jan 2021 02:40:31 +0000 (20:40 -0600)]
Bump version number to 0.8.0

5 years agoUpdate copyright statements
Karl O. Pinc [Sat, 23 Jan 2021 22:25:57 +0000 (16:25 -0600)]
Update copyright statements

5 years agoSupport validation of a "boolean_choice" data type
Karl O. Pinc [Fri, 22 Jan 2021 23:56:49 +0000 (17:56 -0600)]
Support validation of a "boolean_choice" data type

5 years agoImprove error message
Karl O. Pinc [Fri, 22 Jan 2021 05:22:19 +0000 (23:22 -0600)]
Improve error message

5 years agoFix entrypoint discovery
Karl O. Pinc [Wed, 20 Jan 2021 23:25:24 +0000 (17:25 -0600)]
Fix entrypoint discovery

5 years agoUse span, not div, because it is inline
Karl O. Pinc [Mon, 18 Jan 2021 22:42:44 +0000 (16:42 -0600)]
Use span, not div, because it is inline

5 years agoError detail must be enclosed in html tags
Karl O. Pinc [Mon, 18 Jan 2021 22:39:09 +0000 (16:39 -0600)]
Error detail must be enclosed in html tags

5 years agoBump version number to 0.7.0
Karl O. Pinc [Mon, 18 Jan 2021 21:30:35 +0000 (15:30 -0600)]
Bump version number to 0.7.0

5 years agoAdd param to force display of "caution: prior errors" msg
Karl O. Pinc [Mon, 18 Jan 2021 21:27:48 +0000 (15:27 -0600)]
Add param to force display of "caution: prior errors" msg

5 years agoMake "prior error" caution message smaller
Karl O. Pinc [Mon, 18 Jan 2021 21:13:27 +0000 (15:13 -0600)]
Make "prior error" caution message smaller

5 years agoMake "prior error" caution message more general
Karl O. Pinc [Mon, 18 Jan 2021 21:12:55 +0000 (15:12 -0600)]
Make "prior error" caution message more general

5 years agoAdd a "light" error separator
Karl O. Pinc [Mon, 18 Jan 2021 00:53:58 +0000 (18:53 -0600)]
Add a "light" error separator

5 years agoAllow a different separator style between per-line errors
Karl O. Pinc [Mon, 18 Jan 2021 00:53:22 +0000 (18:53 -0600)]
Allow a different separator style between per-line errors

5 years agoBreak the error block into functions
Karl O. Pinc [Tue, 5 Jan 2021 21:01:34 +0000 (15:01 -0600)]
Break the error block into functions

5 years agomeme.com -> karlpinc.com
Karl O. Pinc [Thu, 10 Dec 2020 00:39:42 +0000 (18:39 -0600)]
meme.com -> karlpinc.com

5 years agoSupport tox against multiple Python versions using pyenv
Karl O. Pinc [Wed, 9 Dec 2020 23:01:47 +0000 (17:01 -0600)]
Support tox against multiple Python versions using pyenv

5 years agoComponent name includes pgwui_ prefix
Karl O. Pinc [Wed, 9 Dec 2020 20:25:38 +0000 (14:25 -0600)]
Component name includes pgwui_ prefix

5 years agoUpdate email address
Karl O. Pinc [Wed, 9 Dec 2020 20:12:48 +0000 (14:12 -0600)]
Update email address

5 years agoBump version number to 0.6.0
Karl O. Pinc [Tue, 8 Dec 2020 23:32:14 +0000 (17:32 -0600)]
Bump version number to 0.6.0

5 years agoAllow overriding of assets
Karl O. Pinc [Tue, 8 Dec 2020 23:26:29 +0000 (17:26 -0600)]
Allow overriding of assets

5 years agoCorrect API docs
Karl O. Pinc [Tue, 8 Dec 2020 19:25:54 +0000 (13:25 -0600)]
Correct API docs