pgwui_common
7 months agoMerge branch 'master' of sokwe.janegoodall.org:/srv/repos/pgwui_common master
Karl O. Pinc [Mon, 21 Oct 2024 23:03:07 +0000 (18:03 -0500)]
Merge branch 'master' of sokwe.janegoodall.org:/srv/repos/pgwui_common

Discard sokwe changes

7 months agoBump version number to 0.28.0
Karl O. Pinc [Mon, 21 Oct 2024 21:10:25 +0000 (16:10 -0500)]
Bump version number to 0.28.0

7 months agoBump version number to 0.27.0
Karl O. Pinc [Mon, 21 Oct 2024 14:48:39 +0000 (09:48 -0500)]
Bump version number to 0.27.0

7 months agoBump version number to 0.26.0
Karl O. Pinc [Thu, 10 Oct 2024 18:29:04 +0000 (13:29 -0500)]
Bump version number to 0.26.0

7 months agoBump version number to 0.25.0
Karl O. Pinc [Tue, 8 Oct 2024 18:11:57 +0000 (13:11 -0500)]
Bump version number to 0.25.0

7 months agoBump version number to 0.24.0
Karl O. Pinc [Tue, 8 Oct 2024 17:28:46 +0000 (12:28 -0500)]
Bump version number to 0.24.0

7 months agoAbstract out the making of label tags from td tags
Karl O. Pinc [Tue, 8 Oct 2024 17:17:37 +0000 (12:17 -0500)]
Abstract out the making of label tags from td tags

8 months agoBump version number to 0.23.0
Karl O. Pinc [Sat, 5 Oct 2024 03:57:55 +0000 (22:57 -0500)]
Bump version number to 0.23.0

8 months agoBump version number to 0.22.0
Karl O. Pinc [Sat, 5 Oct 2024 01:13:02 +0000 (20:13 -0500)]
Bump version number to 0.22.0

8 months agoCorect application of the route_prefix setting to the static assets
Karl O. Pinc [Fri, 4 Oct 2024 23:49:09 +0000 (18:49 -0500)]
Corect application of the route_prefix setting to the static assets

8 months agoApply the route_prefix setting to the static assets
Karl O. Pinc [Fri, 4 Oct 2024 23:12:20 +0000 (18:12 -0500)]
Apply the route_prefix setting to the static assets

8 months agoUse static paths instead of static URLs to ease reverse-proxying
Karl O. Pinc [Fri, 4 Oct 2024 22:48:00 +0000 (17:48 -0500)]
Use static paths instead of static URLs to ease reverse-proxying

8 months agoBump version number to 0.21.0
Karl O. Pinc [Fri, 4 Oct 2024 20:55:23 +0000 (15:55 -0500)]
Bump version number to 0.21.0

8 months agoBump version number to 0.20.0
Karl O. Pinc [Fri, 4 Oct 2024 20:50:26 +0000 (15:50 -0500)]
Bump version number to 0.20.0

8 months agoInstall the extra testing dependencies when testing
Karl O. Pinc [Fri, 4 Oct 2024 20:40:25 +0000 (15:40 -0500)]
Install the extra testing dependencies when testing

8 months agoAllow td_label labels to have ids
Karl O. Pinc [Thu, 3 Oct 2024 16:30:09 +0000 (11:30 -0500)]
Allow td_label labels to have ids

8 months agoDo not use a for= id on a label without an input element
Karl O. Pinc [Sun, 29 Sep 2024 21:03:48 +0000 (16:03 -0500)]
Do not use a for= id on a label without an input element

8 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

8 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

8 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

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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 months 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()

9 months 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

10 months 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

10 months 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

10 months 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

10 months 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.

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

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

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

10 months 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

10 months 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

10 months 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

10 months 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

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

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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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

10 months 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.

10 months 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

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

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

10 months 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

10 months 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

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

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

10 months 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.

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

10 months 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.

10 months 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

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

11 months 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

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

11 months 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

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

11 months 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

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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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()

15 months 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

15 months 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

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

15 months 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

15 months 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

4 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

4 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

4 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

4 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

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

4 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

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

4 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

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

4 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

4 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

4 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

4 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

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

4 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