pgwui_common
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

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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

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

4 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

4 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

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

4 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

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

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

4 years agoReturn error(s) when page routes or assets do not resolve
Karl O. Pinc [Tue, 8 Dec 2020 17:58:49 +0000 (11:58 -0600)]
Return error(s) when page routes or assets do not resolve

4 years agoLog the url map given to templates
Karl O. Pinc [Tue, 8 Dec 2020 05:33:16 +0000 (23:33 -0600)]
Log the url map given to templates

4 years agoProduce at startup the map of route names to paths, for template use
Karl O. Pinc [Tue, 8 Dec 2020 03:57:40 +0000 (21:57 -0600)]
Produce at startup the map of route names to paths, for template use

4 years agoMove validation from pgwui_server to pgwui_common
Karl O. Pinc [Mon, 7 Dec 2020 22:33:54 +0000 (16:33 -0600)]
Move validation from pgwui_server to pgwui_common

4 years agoPGWUI_Server no longer configure common in a route_prefix context
Karl O. Pinc [Sun, 6 Dec 2020 23:19:58 +0000 (17:19 -0600)]
PGWUI_Server no longer configure common in a route_prefix context

4 years agoMove acting on pgwui.routes setting from PGWUI_Server
Karl O. Pinc [Wed, 2 Dec 2020 03:22:57 +0000 (21:22 -0600)]
Move acting on pgwui.routes setting from PGWUI_Server

4 years agoLog bad page errors
Karl O. Pinc [Tue, 1 Dec 2020 23:36:59 +0000 (17:36 -0600)]
Log bad page errors

4 years agoMove view decorators into their own file
Karl O. Pinc [Tue, 1 Dec 2020 23:21:08 +0000 (17:21 -0600)]
Move view decorators into their own file

4 years agoAdd home_page and menu_page concepts
Karl O. Pinc [Tue, 1 Dec 2020 03:41:14 +0000 (21:41 -0600)]
Add home_page and menu_page concepts

4 years agoMake routes for all components available to templates
Karl O. Pinc [Tue, 24 Nov 2020 22:07:02 +0000 (16:07 -0600)]
Make routes for all components available to templates

4 years agoMark some unit tests
Karl O. Pinc [Tue, 24 Nov 2020 22:06:11 +0000 (16:06 -0600)]
Mark some unit tests

4 years agoImprove test coverage
Karl O. Pinc [Tue, 24 Nov 2020 22:04:26 +0000 (16:04 -0600)]
Improve test coverage

4 years agoFunctional tests are integration tests
Karl O. Pinc [Tue, 24 Nov 2020 18:45:40 +0000 (12:45 -0600)]
Functional tests are integration tests

4 years agoAdjust for unit test marking
Karl O. Pinc [Tue, 24 Nov 2020 18:44:34 +0000 (12:44 -0600)]
Adjust for unit test marking

4 years agoMark unit and integration tests
Karl O. Pinc [Mon, 23 Nov 2020 20:22:12 +0000 (14:22 -0600)]
Mark unit and integration tests

4 years agoAdd check-debug target
Karl O. Pinc [Mon, 23 Nov 2020 20:02:52 +0000 (14:02 -0600)]
Add check-debug target

4 years agoDocument menu_label setting
Karl O. Pinc [Mon, 23 Nov 2020 17:55:17 +0000 (11:55 -0600)]
Document menu_label setting

4 years agoUse inheritence for navbar
Karl O. Pinc [Sun, 22 Nov 2020 18:17:27 +0000 (12:17 -0600)]
Use inheritence for navbar

4 years agoChange route name from "home" to "pgwui_home"
Karl O. Pinc [Sat, 21 Nov 2020 21:05:48 +0000 (15:05 -0600)]
Change route name from "home" to "pgwui_home"

4 years agoAdd logout route when in base view
Karl O. Pinc [Fri, 20 Nov 2020 18:28:19 +0000 (12:28 -0600)]
Add logout route when in base view

4 years agoMove error handling into the auth_base template
Karl O. Pinc [Fri, 20 Nov 2020 17:28:54 +0000 (11:28 -0600)]
Move error handling into the auth_base template

4 years agoEvery module needs it's own static path
Karl O. Pinc [Thu, 19 Nov 2020 23:31:31 +0000 (17:31 -0600)]
Every module needs it's own static path

4 years agoCall request.static_url directly from template
Karl O. Pinc [Thu, 19 Nov 2020 23:30:30 +0000 (17:30 -0600)]
Call request.static_url directly from template

4 years agoMove code out of __init__.py
Karl O. Pinc [Sun, 15 Nov 2020 23:08:40 +0000 (17:08 -0600)]
Move code out of __init__.py

4 years agoCorrect component name
Karl O. Pinc [Sat, 12 Sep 2020 20:50:12 +0000 (15:50 -0500)]
Correct component name

4 years agoUse dicts instead of dots in response's "pgwui" keys
Karl O. Pinc [Fri, 11 Sep 2020 21:14:58 +0000 (16:14 -0500)]
Use dicts instead of dots in response's "pgwui" keys