Karl O. Pinc [Tue, 1 Apr 2025 22:52:51 +0000 (17:52 -0500)]
GROOMINGS.Certainty -> GROOMINGS.TimeCertainty
Karl O. Pinc [Tue, 1 Apr 2025 22:43:42 +0000 (17:43 -0500)]
Add event ER diagram to docs
Karl O. Pinc [Tue, 1 Apr 2025 22:28:34 +0000 (17:28 -0500)]
Add many event related tables to the events ER diagram
Karl O. Pinc [Tue, 1 Apr 2025 18:30:23 +0000 (13:30 -0500)]
Change PARTS table name to ROLES
Karl O. Pinc [Fri, 7 Mar 2025 16:49:04 +0000 (10:49 -0600)]
Explain why ER diagrams are useful
Karl O. Pinc [Tue, 4 Mar 2025 00:38:13 +0000 (18:38 -0600)]
Add diagram for EVENTS with arrivals, food, other species, and humans
Karl O. Pinc [Tue, 4 Mar 2025 00:37:21 +0000 (18:37 -0600)]
Add EVENTS and PARTS tables, remove event related tables
Karl O. Pinc kop@karlpinc.com [Mon, 3 Mar 2025 22:21:46 +0000 (22:21 +0000)]
Document what breaks the system
Karl O. Pinc kop@karlpinc.com [Sat, 1 Mar 2025 00:05:27 +0000 (00:05 +0000)]
Add lower limit for FOLLOWS.Date
Karl O. Pinc kop@karlpinc.com [Fri, 28 Feb 2025 23:52:47 +0000 (23:52 +0000)]
Initial definition of the FOLLOWS table
Karl O. Pinc kop@karlpinc.com [Fri, 28 Feb 2025 23:46:47 +0000 (23:46 +0000)]
Swap FOLLOWS.Notes and Date columns so Notes comes last
Karl O. Pinc [Fri, 28 Feb 2025 23:44:47 +0000 (17:44 -0600)]
Swap FOLLOWS.Date and Notes columns so Notes is the last column
Karl O. Pinc kop@karlpinc.com [Fri, 28 Feb 2025 23:26:54 +0000 (23:26 +0000)]
Use macro for key column generation
Karl O. Pinc [Wed, 26 Feb 2025 23:25:29 +0000 (17:25 -0600)]
Port macros and Sphinx substitutions
Karl O. Pinc [Wed, 26 Feb 2025 18:31:15 +0000 (12:31 -0600)]
You cannot have COMMENTs for functions which share a name with other objects
The solution is to have a separate syntax for function comments.
It is not worth the work at this time.
Karl O. Pinc [Tue, 25 Feb 2025 21:24:59 +0000 (15:24 -0600)]
Improve error message when a function cannot be commented
Karl O. Pinc kop@karlpinc.com [Tue, 25 Feb 2025 21:20:25 +0000 (21:20 +0000)]
Merge branch 'master' of /srv/repos/kop_sokwedb
Karl O. Pinc [Tue, 25 Feb 2025 21:19:44 +0000 (15:19 -0600)]
Macro to prevent change of system maintained column
Karl O. Pinc kop@karlpinc.com [Mon, 24 Feb 2025 23:01:36 +0000 (23:01 +0000)]
Revert "Change FOLLOW_OBSERVERS.OBS_BRec to OBS_TRec"
This reverts commit
b902731a2460d6fa455ceac07c6b44e4bc92b800.
Karl O. Pinc kop@karlpinc.com [Sun, 23 Feb 2025 21:33:47 +0000 (21:33 +0000)]
Fix error message on INSERT of automatically maintained columns
Karl O. Pinc kop@karlpinc.com [Sat, 22 Feb 2025 23:04:46 +0000 (23:04 +0000)]
Macros and replacement text for automatically generated column content
Karl O. Pinc kop@karlpinc.com [Sat, 22 Feb 2025 20:02:45 +0000 (20:02 +0000)]
Fix typo
Karl O. Pinc kop@karlpinc.com [Sat, 22 Feb 2025 19:46:40 +0000 (19:46 +0000)]
Update codes schema docs to mention the functions it holds
Karl O. Pinc [Tue, 18 Feb 2025 23:36:23 +0000 (17:36 -0600)]
Add FOOD_BOUTS, OTHER_SPECIES, HUMANS to FOLLOWS ER diagram
Karl O. Pinc [Tue, 18 Feb 2025 22:24:46 +0000 (16:24 -0600)]
Merge branch 'master' of ssh://sokwe.janegoodall.org/srv/repos/kop_sokwedb
Karl O. Pinc [Tue, 18 Feb 2025 22:22:57 +0000 (16:22 -0600)]
Add crows feet, clean up preserve marker layer, remove solid ball endpoint
Karl O. Pinc [Tue, 18 Feb 2025 22:04:40 +0000 (16:04 -0600)]
Add crows feet, clean up preserve marker layer, remove solid ball endpoint
Karl O. Pinc [Tue, 18 Feb 2025 20:18:28 +0000 (14:18 -0600)]
Make key visible, remove solid circle endpoints, add crows-feet markers
Karl O. Pinc kop@karlpinc.com [Fri, 14 Feb 2025 18:43:42 +0000 (18:43 +0000)]
Fix quoting in help output
Karl O. Pinc kop@karlpinc.com [Fri, 14 Feb 2025 18:30:44 +0000 (18:30 +0000)]
Detail what roles to use to create various types of logins
Karl O. Pinc kop@karlpinc.com [Fri, 14 Feb 2025 18:16:26 +0000 (18:16 +0000)]
Work around what looks like an m4 bug preventing macro expansion
Seems like macros used on the first line of footnotes don't expand.
Karl O. Pinc kop@karlpinc.com [Fri, 14 Feb 2025 18:15:05 +0000 (18:15 +0000)]
Change URL of "Logins" page to use "logins" in URL
Karl O. Pinc [Fri, 14 Feb 2025 18:11:28 +0000 (12:11 -0600)]
Change FOLLOW_OBSERVERS.OBS_BRec to OBS_TRec
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 22:55:04 +0000 (22:55 +0000)]
Correctly document how to bootstrap role installation on Azure
Rather than mess around with the actual generated SQL and have
multiple new make targets, provide instructions on what to do to make
things work on Azure. This is lame, but simple. Even the actual
instructions are lame, since they assume prior knowledge and are
only templates. They should be sufficient for someone who works
with Postgres, which is good enough for the moment.
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 22:17:43 +0000 (22:17 +0000)]
Merge branch 'master' of /srv/repos/sokwedb
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 21:48:31 +0000 (21:48 +0000)]
Remove trailing space
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 20:59:32 +0000 (20:59 +0000)]
Explain the "adminuser" argument in the help text
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 20:51:18 +0000 (20:51 +0000)]
The user's admin account must be used to mediate when becoming the user
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 20:50:09 +0000 (20:50 +0000)]
Change pdb_ prefix to sdb_ for backported changes from primedb
Karl O. Pinc kop@karlpinc.com [Thu, 13 Feb 2025 19:44:35 +0000 (19:44 +0000)]
Have sphinx fail on warnings
Stevan [Sat, 8 Feb 2025 22:37:36 +0000 (22:37 +0000)]
change PRIMEDB to SokweDB
Stevan [Sat, 8 Feb 2025 22:06:20 +0000 (22:06 +0000)]
correct macro suffix pdb_ -> sdb_
Karl O. Pinc kop@karlpinc.com [Sat, 8 Feb 2025 00:03:44 +0000 (00:03 +0000)]
Fix to require sslmode connections, by using a connection string
Karl O. Pinc kop@karlpinc.com [Sat, 8 Feb 2025 00:02:43 +0000 (00:02 +0000)]
Only set user when we have the final user & clean up variable names
Karl O. Pinc kop@karlpinc.com [Fri, 7 Feb 2025 23:51:49 +0000 (23:51 +0000)]
Revert "docs: adjust order of initialization"
This reverts commit
5f2d6648b2cb2e89dc86f7b84b852a03eec93d43.
Stevan [Fri, 7 Feb 2025 23:38:10 +0000 (23:38 +0000)]
docs: update connection string to sslmode=require
Stevan [Fri, 7 Feb 2025 22:40:49 +0000 (22:40 +0000)]
docs: adjust order of initialization
Karl O. Pinc kop@karlpinc.com [Fri, 7 Feb 2025 22:12:46 +0000 (22:12 +0000)]
New server info for new pg 17 cluster
Karl O. Pinc kop@karlpinc.com [Fri, 7 Feb 2025 22:05:58 +0000 (22:05 +0000)]
New default name "sokwe-dbs17" for server
Karl O. Pinc kop@karlpinc.com [Fri, 7 Feb 2025 22:05:04 +0000 (22:05 +0000)]
Bump PG server version from 15 to 17
Karl O. Pinc kop@karlpinc.com [Fri, 7 Feb 2025 21:51:17 +0000 (21:51 +0000)]
Change default cluster name to sokwedb when not using Azure
Karl O. Pinc kop@karlpinc.com [Fri, 24 Jan 2025 22:24:11 +0000 (22:24 +0000)]
FOLLOW_OBSERVERS stores who recorded the B Record, not the TRec
Karl O. Pinc kop@karlpinc.com [Thu, 23 Jan 2025 23:23:33 +0000 (23:23 +0000)]
Data goes from clean into sokwedb
Karl O. Pinc kop@karlpinc.com [Tue, 21 Jan 2025 21:13:20 +0000 (21:13 +0000)]
Fix external hyperlinks
Karl O. Pinc kop@karlpinc.com [Tue, 21 Jan 2025 21:12:44 +0000 (21:12 +0000)]
Fix macro prefix
Karl O. Pinc kop@karlpinc.com [Tue, 21 Jan 2025 20:36:30 +0000 (20:36 +0000)]
Use tabs in Makefile
Karl O. Pinc [Tue, 21 Jan 2025 20:31:31 +0000 (14:31 -0600)]
Introduce a role_owner group into the PG permission system
This new role is used to assign permissions. (The permissions granted
by membership in other roles.) This prevents users from losing their
permissions when the creating role is dropped, as when an
administrator leaves. It pushes the chicken-and-egg problem back to
the administrator level. This is then handled by saying in the docs:
"Don't use a role that will go away when creating administrators."
Karl O. Pinc [Tue, 21 Jan 2025 20:30:44 +0000 (14:30 -0600)]
Improve documentation
Karl O. Pinc [Tue, 21 Jan 2025 20:29:14 +0000 (14:29 -0600)]
Add a target to create a Postgres cluster
Not needed when using cloud hosting, but handy to have.
Karl O. Pinc [Tue, 21 Jan 2025 20:27:38 +0000 (14:27 -0600)]
Use correct dependencies when files are generated
Karl O. Pinc [Tue, 21 Jan 2025 20:25:04 +0000 (14:25 -0600)]
Use a UTF-8 encoding for the db, with C collation
Karl O. Pinc [Mon, 6 Jan 2025 20:39:49 +0000 (14:39 -0600)]
Better describe timestamp put on doc pages
Karl O. Pinc [Mon, 6 Jan 2025 20:26:56 +0000 (14:26 -0600)]
Fix indentation of Makefile's in-line docs
Karl O. Pinc [Mon, 6 Jan 2025 20:22:53 +0000 (14:22 -0600)]
Delete files generated by cluster code when cleaning
Karl O. Pinc [Sat, 4 Jan 2025 23:00:26 +0000 (17:00 -0600)]
Properly clean the generated dropviews.sql file
Karl O. Pinc [Sat, 4 Jan 2025 22:42:37 +0000 (16:42 -0600)]
Fix to drop all biography_data indexes
Karl O. Pinc [Sat, 4 Jan 2025 22:21:34 +0000 (16:21 -0600)]
Properly clean when DROP_EXISTING is used
Karl O. Pinc [Sat, 4 Jan 2025 22:03:28 +0000 (16:03 -0600)]
Correct description
Karl O. Pinc [Sat, 4 Jan 2025 20:42:33 +0000 (14:42 -0600)]
Fix cleanup of generated scripts
Karl O. Pinc [Mon, 25 Nov 2024 18:22:16 +0000 (12:22 -0600)]
FOLLOW_ARRIVALS.Start and End can overlap under some conditions
Karl O. Pinc [Mon, 25 Nov 2024 17:59:21 +0000 (11:59 -0600)]
Fix spelling
Karl O. Pinc [Mon, 25 Nov 2024 17:35:48 +0000 (11:35 -0600)]
Fix diagram: FOLLOW_ARRIVALS.FID links to FOLLOWS.FID
Karl O. Pinc [Wed, 6 Nov 2024 19:10:50 +0000 (13:10 -0600)]
Change name of code table, ESTROUS_STATES to CODE_STATES
Karl O. Pinc [Wed, 6 Nov 2024 19:01:19 +0000 (13:01 -0600)]
Niether mothers nor fathers are required
Karl O. Pinc [Wed, 30 Oct 2024 22:43:48 +0000 (17:43 -0500)]
Separate metric and unit constants for adolescent age
Karl O. Pinc [Wed, 30 Oct 2024 22:34:19 +0000 (17:34 -0500)]
Move demography related constants into limits.m4 file
Karl O. Pinc [Wed, 30 Oct 2024 22:21:24 +0000 (17:21 -0500)]
Add textual documentation of follows related tables
Karl O. Pinc [Wed, 30 Oct 2024 21:38:59 +0000 (16:38 -0500)]
Fix lables for hyperlinks; normalize the line breaks
Karl O. Pinc [Wed, 30 Oct 2024 20:52:56 +0000 (15:52 -0500)]
FOLLOWS must have a related FOLLOW_OBSERVERS row
Karl O. Pinc [Wed, 30 Oct 2024 13:42:05 +0000 (08:42 -0500)]
Add PEOPLE.Name and PEOPLE.Description RST substitutions
Karl O. Pinc [Wed, 30 Oct 2024 13:33:32 +0000 (08:33 -0500)]
Add follows ER diagram
Karl O. Pinc [Mon, 28 Oct 2024 23:00:25 +0000 (18:00 -0500)]
Use substitution instead of :ref:
Karl O. Pinc [Mon, 28 Oct 2024 22:50:18 +0000 (17:50 -0500)]
Start sentences on a new line for diff readability
Karl O. Pinc [Mon, 28 Oct 2024 16:36:00 +0000 (11:36 -0500)]
Note that diagrams use inkscape as their source file format
Stevan [Fri, 1 Mar 2024 16:13:20 +0000 (16:13 +0000)]
fix biography.animidnum description
Karl O. Pinc kop@karlpinc.com [Thu, 15 Feb 2024 20:54:59 +0000 (20:54 +0000)]
Mark the UNK, unknown person, inactive to prevent future use
Karl O. Pinc kop@karlpinc.com [Thu, 15 Feb 2024 20:52:57 +0000 (20:52 +0000)]
Add KL and KL_KK codes to COMM_IDS
Fixes problem #12.
Karl O. Pinc kop@karlpinc.com [Thu, 15 Feb 2024 20:37:47 +0000 (20:37 +0000)]
Use "UNK" unknown person when person is null
Fixes problems #16 and #18 for COMM_MEMB_LOG.
Karl O. Pinc kop@karlpinc.com [Fri, 2 Feb 2024 18:01:10 +0000 (18:01 +0000)]
Adjust conversion for new COMM_MEMBS_SOURCES table
Karl O. Pinc [Fri, 2 Feb 2024 17:41:25 +0000 (11:41 -0600)]
Add COMM_MEMBS_SOURCES table
Validates the StartSource and EndSource columns of COMM_MEMBS.
Karl O. Pinc [Wed, 31 Jan 2024 04:49:05 +0000 (22:49 -0600)]
Cache db content install per database
Karl O. Pinc kop@karlpinc.com [Wed, 31 Jan 2024 00:46:03 +0000 (00:46 +0000)]
Adjust conversion to load BIOGRAPHY_DATA instead of BIOGRAPHY
Karl O. Pinc [Wed, 31 Jan 2024 00:06:41 +0000 (18:06 -0600)]
Create BIOGRAPHY view
Karl O. Pinc [Wed, 31 Jan 2024 00:05:36 +0000 (18:05 -0600)]
Add _error_immutable_view function to support un-updateable views
Karl O. Pinc [Wed, 31 Jan 2024 00:02:24 +0000 (18:02 -0600)]
Note how the table listing a view's columns should be constructed
Karl O. Pinc [Wed, 31 Jan 2024 00:01:22 +0000 (18:01 -0600)]
Add DROP_EXISTING variable to for when there's no 'drop' file
Karl O. Pinc [Tue, 30 Jan 2024 23:59:38 +0000 (17:59 -0600)]
Fix so "make check" works after recreate-db target
Karl O. Pinc [Tue, 30 Jan 2024 23:13:38 +0000 (17:13 -0600)]
Add caution that remaking triggers or views drop triggers
Karl O. Pinc [Tue, 30 Jan 2024 17:25:36 +0000 (11:25 -0600)]
Change name of view dir to avoid name conflict with rst source dirs
Karl O. Pinc [Tue, 30 Jan 2024 17:22:32 +0000 (11:22 -0600)]
Use consistent variable naming conventions