From aabd5bd394d6c87f2cbf6cb7614a2c01c5f38248 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 18 Mar 2024 21:57:54 +0530 Subject: [PATCH 01/30] Update version numbers to 0.1.6 --- docs/mkdocs.yml | 2 +- mathesar/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 7ee1584dc9..fe2b07cc4e 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -97,4 +97,4 @@ markdown_extensions: permalink: true extra: - mathesar_version: 0.1.5 + mathesar_version: 0.1.6 diff --git a/mathesar/__init__.py b/mathesar/__init__.py index c105751bbb..7af7cf2dce 100644 --- a/mathesar/__init__.py +++ b/mathesar/__init__.py @@ -1,3 +1,3 @@ default_app_config = 'mathesar.apps.MathesarConfig' -__version__ = "0.1.5" +__version__ = "0.1.6" diff --git a/pyproject.toml b/pyproject.toml index 8d22a36871..c96070ba52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "Mathesar" -version = "0.1.5" +version = "0.1.6" [tool.vulture] exclude = ["mathesar/migrations"] ignore_names = ["go_to_patents_data_table", "go_to_all_types_table", "go_to_table_with_numbers_in_text", "admin_user"] From fe8863850ed250a5a1f5fcb60b004f8a4c891fff Mon Sep 17 00:00:00 2001 From: Sean Colsen Date: Mon, 18 Mar 2024 12:38:56 -0400 Subject: [PATCH 02/30] Don't allow record selector inputs to grow taller --- .../record-selector/RecordSelectorColumnHeaderCell.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/mathesar_ui/src/systems/record-selector/RecordSelectorColumnHeaderCell.svelte b/mathesar_ui/src/systems/record-selector/RecordSelectorColumnHeaderCell.svelte index 6f34d8a256..d296b67a4d 100644 --- a/mathesar_ui/src/systems/record-selector/RecordSelectorColumnHeaderCell.svelte +++ b/mathesar_ui/src/systems/record-selector/RecordSelectorColumnHeaderCell.svelte @@ -137,6 +137,7 @@ position: absolute; bottom: var(--padding); height: var(--input-height); + max-height: var(--input-height); left: var(--padding); width: calc(100% - 2 * var(--padding)); background: var(--white); From 99bfc14c869b80fc3f8cc251e7faf565963bfde9 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Wed, 20 Mar 2024 17:40:09 +0530 Subject: [PATCH 03/30] Fix csrf errors when app is behind a reverse proxy --- config/settings/production.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/settings/production.py b/config/settings/production.py index 9af47d2268..f2b6b2af72 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -3,6 +3,14 @@ # Override default settings DEBUG = False MATHESAR_MODE = 'PRODUCTION' + +''' +This tells Django to trust the X-Forwarded-Proto header that comes from our proxy, +and any time its value is 'https', then the request is guaranteed to be secure +(i.e., it originally came in via HTTPS). +''' +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') + # Use a local.py module for settings that shouldn't be version tracked try: from .local import * # noqa From 79447cca874ec3cde5c4e75c797fa572045bceca Mon Sep 17 00:00:00 2001 From: Sean Colsen Date: Thu, 21 Mar 2024 09:32:42 -0400 Subject: [PATCH 04/30] Don't let buttons in DE actions pane shrink --- mathesar_ui/src/components/EntityPageHeader.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mathesar_ui/src/components/EntityPageHeader.svelte b/mathesar_ui/src/components/EntityPageHeader.svelte index f5a9396c00..834578b561 100644 --- a/mathesar_ui/src/components/EntityPageHeader.svelte +++ b/mathesar_ui/src/components/EntityPageHeader.svelte @@ -117,11 +117,10 @@ .actions-right { margin-left: auto; - display: flex; - - > :global(* + *) { - margin-left: var(--size-xx-small); - } + display: grid; + grid-auto-flow: column; + align-items: center; + gap: var(--size-xx-small); } } From 1103720217c367d792182cf4d8a2094974cbc85c Mon Sep 17 00:00:00 2001 From: Brent Moran Date: Thu, 21 Mar 2024 14:21:33 -0500 Subject: [PATCH 05/30] remove 3.12 from supported python versions --- docs/docs/installation/build-from-source/index.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index f168deb09b..e17023bf98 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -23,12 +23,13 @@ You should have **root access** to the machine you're installing Mathesar on. You'll need to install the following system packages before you install Mathesar: -- [Python](https://www.python.org/downloads/) 3.9, 3.10, 3.11 or 3.12 +- [Python](https://www.python.org/downloads/) 3.9, 3.10, or 3.11 !!! note "Python version" + Python _older_ than 3.9 will not run Mathesar. - Python _newer_ than 3.10 will run Mathesar, but will require some slightly modified installation steps which we have [not yet documented](https://github.com/centerofci/mathesar/issues/2872). + Python 3.12 will run Mathesar, but you'll have to take extra steps to get some dependencies to build. Installing a package for your OS that provides the `libpq-fe.h` header file should be enough in most cases. On Debian 12, this header is provided by the `libpq-dev` package. - [PostgreSQL](https://www.postgresql.org/download/linux/) 13 or newer (Verify by logging in, and running the query: `SELECT version();`) @@ -36,20 +37,22 @@ You'll need to install the following system packages before you install Mathesar - [git](https://git-scm.com/downloads) (Verify with `git --version`) +- [GNU gettext](https://www.gnu.org/software/gettext/) (Verify with `gettext --version`) ### Domain (optional) + If you want Mathesar to be accessible over the internet, you'll probably want to set up a domain or sub-domain to use. **If you don't need a domain, you can skip this section.** Before you start installation, **ensure that the DNS for your sub-domain or domain is pointing to the machine that you're installing Mathesar on**. ## Customizing this Guide + Type your domain name into the box below. Do not include a trailing slash. Then press Enter to customize this guide with your domain name. - ## Installation Steps ### Set up the database From 76f6a7e490bb06af6b9d66e19f383641c9ace985 Mon Sep 17 00:00:00 2001 From: Brent Moran Date: Thu, 21 Mar 2024 14:23:57 -0500 Subject: [PATCH 06/30] correct static file target path --- docs/docs/installation/build-from-source/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index e17023bf98..669f2037e8 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -219,7 +219,7 @@ Then press Enter to customize this guide with your domain name. ``` wget https://github.com/mathesar-foundation/mathesar/releases/download/{{mathesar_version}}/static_files.zip - unzip static_files.zip && mv static_files /mathesar/static/mathesar + unzip static_files.zip && mv static_files mathesar/static/mathesar ``` From 957aced874f30b44e5ee9f96f94cbb0156a34a99 Mon Sep 17 00:00:00 2001 From: Brent Moran Date: Thu, 21 Mar 2024 15:03:36 -0500 Subject: [PATCH 07/30] Add python version arg to dev-service --- docker-compose.dev.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 305668b9fb..22717e2af1 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -38,6 +38,8 @@ services: context: . target: development dockerfile: Dockerfile + args: + PYTHON_VERSION: ${PYTHON_VERSION-3.9-bookworm} environment: - MODE=${MODE-DEVELOPMENT} - DEBUG=${DEBUG-True} From 3c686d6bd93d50518e81a0120e7c428deec3ebeb Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Fri, 22 Mar 2024 19:53:08 +0530 Subject: [PATCH 08/30] Add release notes for 0.1.6 --- docs/docs/releases/0.1.6.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/docs/releases/0.1.6.md diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md new file mode 100644 index 0000000000..b18ee19c37 --- /dev/null +++ b/docs/docs/releases/0.1.6.md @@ -0,0 +1,35 @@ +# Mathesar 0.1.6 + +## Summary + +Mathesar 0.1.6 introduces support for Python versions 3.10 and 3.11, as well as Japanese translations within the application. + +_This page provides a comprehensive list of all changes in the release._ + +## Upgrading to 0.1.6 + +_TODO_ + +## Improvements + +- Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 *[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)* +- Added support for Japanese translations *[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)*, *[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)*, *[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)*, *[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)* +- NodeJS is no longer a requirement for building Mathesar from source *[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)* +- Text fields now auto-expand on the record page to accommodate for longer texts *[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)* + +## Bug fixes + +- Fixed regression within the record selector where records won’t get filtered based on input *[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)* +- Fixed failures while adding a connection along with sample schema(s), whose name would collide with schema(s) already present in the database *[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)* +- Fixed record selector's text inputs from growing taller *[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)* +- Fixed CSRF failures when app is behind a reverse proxy *[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)* + +## Maintenance + +- Added health check endpoint to Mathesar *[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)* +- Added PG 16 to testing matrix *[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)* +- Added MkDocs edit URI *[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)* +- Bumped django from 4.2.8 to 4.2.10 *[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)* +- Removed stale code coverage badge *[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)* +- GH workflow to create draft release with built static files *[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)* +- Improved docker dev image to allow switching between python versions *[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)* From 82f1b3cd22e69f2e0b82eb6a42c2ce88d208bc31 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Fri, 22 Mar 2024 20:01:29 +0530 Subject: [PATCH 09/30] update bug fixes list --- docs/docs/releases/0.1.6.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index b18ee19c37..9ac6c4386c 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -12,24 +12,25 @@ _TODO_ ## Improvements -- Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 *[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)* -- Added support for Japanese translations *[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)*, *[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)*, *[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)*, *[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)* -- NodeJS is no longer a requirement for building Mathesar from source *[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)* -- Text fields now auto-expand on the record page to accommodate for longer texts *[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)* +- Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)_ +- Added support for Japanese translations _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)_ +- NodeJS is no longer a requirement for building Mathesar from source _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ +- Text fields now auto-expand on the record page to accommodate for longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ ## Bug fixes -- Fixed regression within the record selector where records won’t get filtered based on input *[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)* -- Fixed failures while adding a connection along with sample schema(s), whose name would collide with schema(s) already present in the database *[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)* -- Fixed record selector's text inputs from growing taller *[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)* -- Fixed CSRF failures when app is behind a reverse proxy *[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)* +- Fixed regression within the record selector where records won’t get filtered based on input _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ +- Fixed failures while adding a connection along with sample schema(s), whose name would collide with schema(s) already present in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ +- Fixed record selector's text inputs from growing taller _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ +- Fixed CSRF failures when app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ +- Fixed layout issues while using japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ ## Maintenance -- Added health check endpoint to Mathesar *[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)* -- Added PG 16 to testing matrix *[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)* -- Added MkDocs edit URI *[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)* -- Bumped django from 4.2.8 to 4.2.10 *[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)* -- Removed stale code coverage badge *[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)* -- GH workflow to create draft release with built static files *[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)* -- Improved docker dev image to allow switching between python versions *[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)* +- Added health check endpoint to Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ +- Added PG 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ +- Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ +- Bumped django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ +- Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ +- GH workflow to create draft release with built static files _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ +- Improved docker dev image to allow switching between python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ From d51cb4b74dd55b693facec5083d5e26e96805bf2 Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 20:01:34 +0530 Subject: [PATCH 10/30] Fix git repo link --- docs/docs/installation/build-from-source/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index 669f2037e8..a85a989ff3 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -132,7 +132,7 @@ Then press Enter to customize this guide with your domain name. 1. Clone the git repo into the installation directory. ``` - git clone https://github.com/centerofci/mathesar.git . + git clone https://github.com/mathesar-foundation/mathesar.git . ``` 1. Checkout the tag of the latest stable release, `{{mathesar_version}}`. From 553612c8f4f5ad67e0e5b5d8160bd34267dbfe0c Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 20:01:54 +0530 Subject: [PATCH 11/30] Remove static_files.zip once extracted --- docs/docs/installation/build-from-source/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index a85a989ff3..a706fde6eb 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -219,7 +219,7 @@ Then press Enter to customize this guide with your domain name. ``` wget https://github.com/mathesar-foundation/mathesar/releases/download/{{mathesar_version}}/static_files.zip - unzip static_files.zip && mv static_files mathesar/static/mathesar + unzip static_files.zip && mv static_files mathesar/static/mathesar && rm static_files.zip ``` From 017841e4070aaa814aad54a506aa5a4620c66915 Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 20:03:11 +0530 Subject: [PATCH 12/30] Remove need to create user database --- docs/docs/installation/build-from-source/index.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index a706fde6eb..ef10aa57a1 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -78,12 +78,6 @@ Then press Enter to customize this guide with your domain name. CREATE DATABASE mathesar_django OWNER mathesar; ``` -1. Now we let us create a database for storing your data. - - ```postgresql - CREATE DATABASE your_db_name OWNER mathesar; - ``` - 1. Press Ctrl+D to exit the `psql` shell. From d86839392f2ce0411dad0e68dba23a11b0c5e45b Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 20:05:30 +0530 Subject: [PATCH 13/30] Fix link --- docs/docs/administration/upgrade/0.1.5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/administration/upgrade/0.1.5.md b/docs/docs/administration/upgrade/0.1.5.md index 62c0a7ccb7..9ad35a7133 100644 --- a/docs/docs/administration/upgrade/0.1.5.md +++ b/docs/docs/administration/upgrade/0.1.5.md @@ -14,4 +14,4 @@ docker compose -f /etc/mathesar/docker-compose.yml up --pull always -d ### For installations done from scratch -If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](../upgrade/0.1.4.md#scratch), but you can skip Step 5 – you do not need to change the environment variables. +If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](./0.1.4.md#scratch), but you can skip Step 5 – you do not need to change the environment variables. From d85285166e32fb3e4ac9f6ab37432c9b41a62a92 Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 21:06:41 +0530 Subject: [PATCH 14/30] Add upgrade instructions for 0.1.6 --- docs/docs/administration/upgrade/0.1.6.md | 86 +++++++++++++++++++++++ docs/mkdocs.yml | 1 + 2 files changed, 87 insertions(+) create mode 100644 docs/docs/administration/upgrade/0.1.6.md diff --git a/docs/docs/administration/upgrade/0.1.6.md b/docs/docs/administration/upgrade/0.1.6.md new file mode 100644 index 0000000000..7e63563ecc --- /dev/null +++ b/docs/docs/administration/upgrade/0.1.6.md @@ -0,0 +1,86 @@ +# Upgrade Mathesar to 0.1.6 + +### For installations using Docker Compose + +If you have a Docker compose installation (including one from the guided script), run the command below: + +``` +docker compose -f /etc/mathesar/docker-compose.yml up --pull always -d +``` + +!!! warning "Your installation directory may be different" + You may need to change `/etc/mathesar/` in the command above if you chose to install Mathesar to a different directory. + + +### For installations done from scratch + +If you installed Mathesar [from scratch](../../installation/build-from-source/index.md), then use these steps to upgrade your installation to 0.1.6. + +1. Go to your Mathesar installation directory + + ``` + cd xMATHESAR_INSTALLATION_DIRx + ``` + + !!! note + Your installation directory may be different from above if you used a different directory when installing Mathesar. + +1. Checkout version 0.1.6 from the repository + + ``` + git pull https://github.com/mathesar-foundation/mathesar.git + git checkout 0.1.6 + ``` + +1. Update Python dependencies + + ``` + pip install -r requirements-prod.txt + ``` + +1. Activate our virtual environment + + ``` + source ./mathesar-venv/bin/activate + ``` + +1. You can skip the following if you're upgrading from versions 0.1.4 and above. + - If you're upgrading from versions <= 0.1.3, update your environment variables according to the [the new configuration specification](../../configuration/env-variables.md#db). + - In particular, you must put the connection info for the internal DB into new `POSTGRES_*` variables. The `DJANGO_DATABASE_URL` variable is no longer supported. + +1. Add the environment variables to the shell before running Django commands + + ``` + export $(sudo cat .env) + ``` + +1. Run Django migrations + + ``` + python manage.py migrate + ``` + +1. Download and extract frontend assets + + ``` + wget https://github.com/mathesar-foundation/mathesar/releases/download/0.1.6/static_files.zip + unzip static_files.zip && mv static_files mathesar/static/mathesar && rm static_files.zip + ``` + +1. Compile Mathesar translation files + + ``` + python manage.py compilemessages + ``` + +1. Update Mathesar functions on the database: + + ``` + python -m mathesar.install --skip-confirm | tee /tmp/install.py.log + ``` + +1. Restart the gunicorn server + + ``` + systemctl restart gunicorn + ``` diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index fe2b07cc4e..9b9b1a69a5 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -14,6 +14,7 @@ nav: - Environment variables: configuration/env-variables.md - Administration: - Upgrade: + - To 0.1.6: administration/upgrade/0.1.6.md - To 0.1.5: administration/upgrade/0.1.5.md - To 0.1.4: administration/upgrade/0.1.4.md - To older versions: administration/upgrade/older.md From e906d472b78a0c2928929bbb1fb7383723ac7fa1 Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 21:08:32 +0530 Subject: [PATCH 15/30] Remove tip mentioning installing specific version since installation steps for each version is different --- docs/docs/installation/build-from-source/index.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/docs/installation/build-from-source/index.md b/docs/docs/installation/build-from-source/index.md index ef10aa57a1..e28efe0bf7 100644 --- a/docs/docs/installation/build-from-source/index.md +++ b/docs/docs/installation/build-from-source/index.md @@ -138,9 +138,6 @@ Then press Enter to customize this guide with your domain name. !!! warning "Important" If you don't run the above command you'll end up installing the latest _development_ version of Mathesar, which will be less stable. - !!! tip - You can install a specific Mathesar release by running commands like `git checkout 0.1.1` (to install version 0.1.1, for example). You can see all available versions by running `git tag`. - 1. We need to create a python virtual environment for the Mathesar application. ``` From fcdedfd2091922606708039c83347bec9a9bdc93 Mon Sep 17 00:00:00 2001 From: pavish Date: Fri, 22 Mar 2024 21:12:14 +0530 Subject: [PATCH 16/30] Fix instructions in 0.1.4 and 0.1.5 regarding checking out correct tag --- docs/docs/administration/upgrade/0.1.4.md | 3 ++- docs/docs/administration/upgrade/0.1.5.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/administration/upgrade/0.1.4.md b/docs/docs/administration/upgrade/0.1.4.md index 9fd47fd678..41ea19a340 100644 --- a/docs/docs/administration/upgrade/0.1.4.md +++ b/docs/docs/administration/upgrade/0.1.4.md @@ -149,10 +149,11 @@ If you installed Mathesar [from scratch](../../installation/build-from-source/in !!! note Your installation directory may be different from above if you used a different directory when installing Mathesar. -1. Pull the latest version from the repository +1. Pull the version 0.1.4 from the repository ``` git pull https://github.com/mathesar-foundation/mathesar.git + git checkout 0.1.4 ``` 1. Update Python dependencies diff --git a/docs/docs/administration/upgrade/0.1.5.md b/docs/docs/administration/upgrade/0.1.5.md index 9ad35a7133..fe954cbad8 100644 --- a/docs/docs/administration/upgrade/0.1.5.md +++ b/docs/docs/administration/upgrade/0.1.5.md @@ -14,4 +14,4 @@ docker compose -f /etc/mathesar/docker-compose.yml up --pull always -d ### For installations done from scratch -If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](./0.1.4.md#scratch), but you can skip Step 5 – you do not need to change the environment variables. +If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](./0.1.4.md#scratch), expect you'll have to specify the correct version as 0.1.5 when pulling code from the repository in step 2. You can skip Step 5 – you do not need to change the environment variables. From f72a26c55302ed54c00a61f614f16f23059fc721 Mon Sep 17 00:00:00 2001 From: Kriti Godey Date: Fri, 22 Mar 2024 23:22:16 -0400 Subject: [PATCH 17/30] Minor language fix --- docs/docs/administration/upgrade/0.1.4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/administration/upgrade/0.1.4.md b/docs/docs/administration/upgrade/0.1.4.md index 41ea19a340..04866d4123 100644 --- a/docs/docs/administration/upgrade/0.1.4.md +++ b/docs/docs/administration/upgrade/0.1.4.md @@ -149,7 +149,7 @@ If you installed Mathesar [from scratch](../../installation/build-from-source/in !!! note Your installation directory may be different from above if you used a different directory when installing Mathesar. -1. Pull the version 0.1.4 from the repository +1. Pull version 0.1.4 from the repository ``` git pull https://github.com/mathesar-foundation/mathesar.git From e99f99ea1577fbccc5707d118d48217710a44050 Mon Sep 17 00:00:00 2001 From: Kriti Godey Date: Fri, 22 Mar 2024 23:23:36 -0400 Subject: [PATCH 18/30] Fixed typo, minor language changes --- docs/docs/administration/upgrade/0.1.5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/administration/upgrade/0.1.5.md b/docs/docs/administration/upgrade/0.1.5.md index fe954cbad8..012c2921f0 100644 --- a/docs/docs/administration/upgrade/0.1.5.md +++ b/docs/docs/administration/upgrade/0.1.5.md @@ -14,4 +14,4 @@ docker compose -f /etc/mathesar/docker-compose.yml up --pull always -d ### For installations done from scratch -If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](./0.1.4.md#scratch), expect you'll have to specify the correct version as 0.1.5 when pulling code from the repository in step 2. You can skip Step 5 – you do not need to change the environment variables. +If you installed from scratch, the upgrade instructions are the same as [for 0.1.4](./0.1.4.md#scratch), except that you'll need to specify version 0.1.5 when pulling code from the repository in Step 2. You should also skip Step 5 – you do not need to change the environment variables. From 614233c85eeac211fda39a6db92a9ee84418450a Mon Sep 17 00:00:00 2001 From: Kriti Godey Date: Fri, 22 Mar 2024 23:26:47 -0400 Subject: [PATCH 19/30] Language change for consistency --- docs/docs/administration/upgrade/0.1.6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/administration/upgrade/0.1.6.md b/docs/docs/administration/upgrade/0.1.6.md index 7e63563ecc..67a779abe0 100644 --- a/docs/docs/administration/upgrade/0.1.6.md +++ b/docs/docs/administration/upgrade/0.1.6.md @@ -25,7 +25,7 @@ If you installed Mathesar [from scratch](../../installation/build-from-source/in !!! note Your installation directory may be different from above if you used a different directory when installing Mathesar. -1. Checkout version 0.1.6 from the repository +1. Pull version 0.1.6 from the repository ``` git pull https://github.com/mathesar-foundation/mathesar.git From b5fc1a4cf873ff560ba4a9064cbd74fdf949c33c Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 25 Mar 2024 17:12:02 +0530 Subject: [PATCH 20/30] add link for upgrade, minor grammer fixes --- docs/docs/releases/0.1.6.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 9ac6c4386c..0dfa059706 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -2,20 +2,20 @@ ## Summary -Mathesar 0.1.6 introduces support for Python versions 3.10 and 3.11, as well as Japanese translations within the application. +Mathesar 0.1.6 brings compatibility with Python versions 3.10 and 3.11, PostgreSQL 16 support, ease of use while working with longer texts on record page, as well as Japanese translations within the application. _This page provides a comprehensive list of all changes in the release._ ## Upgrading to 0.1.6 -_TODO_ +See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.md). ## Improvements - Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)_ - Added support for Japanese translations _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)_ - NodeJS is no longer a requirement for building Mathesar from source _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ -- Text fields now auto-expand on the record page to accommodate for longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ +- Text fields now auto-expand on the record page to accommodate longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ ## Bug fixes @@ -23,14 +23,14 @@ _TODO_ - Fixed failures while adding a connection along with sample schema(s), whose name would collide with schema(s) already present in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ - Fixed record selector's text inputs from growing taller _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ - Fixed CSRF failures when app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ -- Fixed layout issues while using japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ +- Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ ## Maintenance - Added health check endpoint to Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ - Added PG 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ - Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ -- Bumped django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ +- Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ - Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ -- GH workflow to create draft release with built static files _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ -- Improved docker dev image to allow switching between python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ +- Added GitHub workflow to attach pre-built static files with new releases _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ +- Improved Docker development image to allow switching between python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ From f56a96a7f54b2aeb7b97f0477211314ae6f58ef9 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 25 Mar 2024 17:23:11 +0530 Subject: [PATCH 21/30] more grammatical fixes --- docs/docs/releases/0.1.6.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 0dfa059706..d62231eef2 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -2,7 +2,7 @@ ## Summary -Mathesar 0.1.6 brings compatibility with Python versions 3.10 and 3.11, PostgreSQL 16 support, ease of use while working with longer texts on record page, as well as Japanese translations within the application. +Mathesar 0.1.6 brings compatibility with Python versions 3.10 and 3.11, PostgreSQL 16 support, ease of use while working with longer texts on the record page, as well as Japanese translations within the application. _This page provides a comprehensive list of all changes in the release._ @@ -20,9 +20,9 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ## Bug fixes - Fixed regression within the record selector where records won’t get filtered based on input _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ -- Fixed failures while adding a connection along with sample schema(s), whose name would collide with schema(s) already present in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ +- Fixed failures while adding a connection along with sample schema(s), whose name(s) would collide with schema(s) already present in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ - Fixed record selector's text inputs from growing taller _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ -- Fixed CSRF failures when app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ +- Fixed CSRF failures when the app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ - Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ ## Maintenance @@ -33,4 +33,4 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m - Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ - Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ - Added GitHub workflow to attach pre-built static files with new releases _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ -- Improved Docker development image to allow switching between python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ +- Improved Docker development image to allow switching between Python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ From 199ab713a94539edfb583c222206ecf10de22a00 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 25 Mar 2024 17:37:38 +0530 Subject: [PATCH 22/30] expand-->expands --- docs/docs/releases/0.1.6.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index d62231eef2..b8cbc22473 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -15,7 +15,7 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m - Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)_ - Added support for Japanese translations _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)_ - NodeJS is no longer a requirement for building Mathesar from source _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ -- Text fields now auto-expand on the record page to accommodate longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ +- Text fields now auto-expands on the record page to accommodate longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ ## Bug fixes @@ -27,7 +27,7 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ## Maintenance -- Added health check endpoint to Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ +- Added a health check endpoint to Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ - Added PG 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ - Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ - Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ From b7d51e686ead4a7db12308a07015b320351be7f5 Mon Sep 17 00:00:00 2001 From: Brent Moran Date: Mon, 25 Mar 2024 10:24:53 -0500 Subject: [PATCH 23/30] Add page describing usage of debugging image --- docs/docs/administration/debug.md | 44 +++++++++++++++++++++++++++++++ docs/mkdocs.yml | 1 + 2 files changed, 45 insertions(+) create mode 100644 docs/docs/administration/debug.md diff --git a/docs/docs/administration/debug.md b/docs/docs/administration/debug.md new file mode 100644 index 0000000000..2bfe872b4b --- /dev/null +++ b/docs/docs/administration/debug.md @@ -0,0 +1,44 @@ +# Debug Mathesar + +For now, we only support turning on Debugging by using our special docker image. More methods will follow in future releases. + +## Use the debugging Mathesar docker image + +There is a debugging-enabled Mathesar docker image available at `mathesar/mathesar-debug` that is the same as the `mathesar/mathesar-prod` image, except that it has more debugging output available in the console where it's run, and it also produces more verbose errors in the browser when something goes wrong. + +You can use this image to figure out (or to help the Mathesar team figure out) what's wrong if your Mathesar installation isn't working as expected. The procedure is to + +1. Run Mathesar with the `mathesar/mathesar-debug` image, and then +1. Observe and report any additional output or clues to the Mathesar team. + +### Docker Compose + +Just replace the line + +``` + image: mathesar/mathesar-prod:latest +``` + +with + +``` + image: mathesar/mathesar-debug:latest +``` + +### Basic Mathesar docker image + +If you are just trying the Mathesar Docker image directly as instructed in the [introduction](../index.md#try-locally), replace the command + +``` +docker run -it --name mathesar -p 8000:8000 mathesar/mathesar-prod:latest +``` + +with + +``` +docker run -it --name mathesar -p 8000:8000 mathesar/mathesar-debug:latest +``` + +### Other setups + +The debugging docker image should work anywhere the production image works. This means you can just replace any pull or run of the image `mathesar/mathesar-prod:latest` with `mathesar/mathesar-debug:latest`. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index fe2b07cc4e..14b7694719 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -18,6 +18,7 @@ nav: - To 0.1.4: administration/upgrade/0.1.4.md - To older versions: administration/upgrade/older.md - Uninstall Mathesar: administration/uninstall.md + - Debug Mathesar: administration/debug.md - Using Mathesar: - Introduction: user-guide/index.md - Importing data: user-guide/importing-data.md From 1d6c2fb71ff12a5139b88e81c1c6313fa31ff8ab Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 25 Mar 2024 22:53:53 +0530 Subject: [PATCH 24/30] fix NodeJS links, and grammatical errors --- docs/docs/releases/0.1.6.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index b8cbc22473..120135dfdc 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -14,14 +14,14 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m - Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)_ - Added support for Japanese translations _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)_ -- NodeJS is no longer a requirement for building Mathesar from source _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ +- NodeJS is no longer a requirement for building Mathesar from source _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ - Text fields now auto-expands on the record page to accommodate longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ ## Bug fixes -- Fixed regression within the record selector where records won’t get filtered based on input _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ -- Fixed failures while adding a connection along with sample schema(s), whose name(s) would collide with schema(s) already present in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ -- Fixed record selector's text inputs from growing taller _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ +- Fixed record selector filtering bug _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ +- Fixed connection creation failures due to schema name collisions while adding provided sample schama(s) in the database. _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ +- Fixed height inconsistencies of record selector's text inputs _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ - Fixed CSRF failures when the app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ - Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ @@ -32,5 +32,5 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m - Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ - Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ - Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ -- Added GitHub workflow to attach pre-built static files with new releases _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ +- Removed NodeJS from Docker production image _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ - Improved Docker development image to allow switching between Python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ From 674fa5db8c6e41d599694e1bb44b2740821350a3 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Mon, 25 Mar 2024 22:55:44 +0530 Subject: [PATCH 25/30] fix typo --- docs/docs/releases/0.1.6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 120135dfdc..e6743c4138 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -20,7 +20,7 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ## Bug fixes - Fixed record selector filtering bug _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ -- Fixed connection creation failures due to schema name collisions while adding provided sample schama(s) in the database. _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ +- Fixed connection creation failures due to schema name collisions while adding provided sample schema(s) in the database. _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ - Fixed height inconsistencies of record selector's text inputs _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ - Fixed CSRF failures when the app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ - Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ From bcd09f6fc2d47321b1bad10ddf910550b0d3baf1 Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Tue, 26 Mar 2024 16:44:49 +0530 Subject: [PATCH 26/30] minor fixes --- docs/docs/releases/0.1.6.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index e6743c4138..e92af338d0 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -20,15 +20,15 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ## Bug fixes - Fixed record selector filtering bug _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ -- Fixed connection creation failures due to schema name collisions while adding provided sample schema(s) in the database. _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ +- Fixed connection creation failures due to schema name collisions while adding provided sample schema(s) in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ - Fixed height inconsistencies of record selector's text inputs _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ - Fixed CSRF failures when the app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ - Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ ## Maintenance -- Added a health check endpoint to Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ -- Added PG 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ +- Added a health check endpoint for Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ +- Added Postgres 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ - Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ - Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ - Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ From 459c9322624e4c4f510d5a37801c8a4f263b90a7 Mon Sep 17 00:00:00 2001 From: Kriti Godey Date: Tue, 26 Mar 2024 17:07:14 -0400 Subject: [PATCH 27/30] Updated summary --- docs/docs/releases/0.1.6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index e92af338d0..7328475ea3 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -2,7 +2,7 @@ ## Summary -Mathesar 0.1.6 brings compatibility with Python versions 3.10 and 3.11, PostgreSQL 16 support, ease of use while working with longer texts on the record page, as well as Japanese translations within the application. +Mathesar 0.1.6 introduces Japanese localization of the UI and adds better support for working with long text in individual record pages. Improvements for administrators include compatibility with Python 3.10 and 3.11, support for databases running PostgreSQL 16, and the removal of `npm` and `nodejs` as dependencies when installing from scratch. _This page provides a comprehensive list of all changes in the release._ From 34106d1c0349f8833ecd137e193b3f2ac4f2889b Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Thu, 28 Mar 2024 03:04:34 +0530 Subject: [PATCH 28/30] reorganize the doc and add a documentation section --- docs/docs/releases/0.1.6.md | 61 ++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 7328475ea3..853e7938a6 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -12,25 +12,52 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ## Improvements -- Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478)_ -- Added support for Japanese translations _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486)_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484)_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483)_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472)_ -- NodeJS is no longer a requirement for building Mathesar from source _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489)_ -- Text fields now auto-expands on the record page to accommodate longer texts _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470)_ +### You can now configure Mathesar's UI to display in Japanese -## Bug fixes +The language setting is stored per-user and can be modified when logging in or when editing a user. This changes the text displayed on buttons and other UI elements within Mathesar. It does not change the display of data within your database (e.g. table names, column names, and cell values). We are hoping to support more languages beyond English and Japanese eventually. Please reach out to us if your are interested in helping to add more translations! + +_[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486 "Enable i18n")_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484 "Updates for file translations/en/LC_MESSAGES/django.po in ja")_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483 "Updates for file mathesar_ui/src/i18n/languages/en/dict.json in ja")_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472 "Separate pluralized string to fix Transifex sync")_, _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501 "Fix layout problem in Data Explorer actions pane")_ -- Fixed record selector filtering bug _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488)_ -- Fixed connection creation failures due to schema name collisions while adding provided sample schema(s) in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490)_ -- Fixed height inconsistencies of record selector's text inputs _[#3495](https://github.com/mathesar-foundation/mathesar/pull/3495)_ -- Fixed CSRF failures when the app is behind a reverse proxy _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499)_ -- Fixed layout issues while using Japanese translations _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501)_ +### Text fields now auto-expands on the record page to accommodate longer texts + +**Before** + +All text inputs on the record page had the same height, regardless of their content. + +**After** + +All text inputs in record page dynamically adjust to accommodate the content seamlessly. + +_[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470 "Make textarea inputs auto-expand to accommodate longer text fields on the record page")_, _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488 "Fix regression with record selector not filtering")_, [#3495](https://github.com/mathesar-foundation/mathesar/pull/3495 "Prevent record selector inputs from growing taller") + +### Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 +Mathesar now officially supports Python versions 3.10 and 3.11, in addition to the existing 3.9 compatibility. This will provide great flexibilty while building Mathesar from source on an OS that natively ships with relatively newer versions of Python. +_[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478 "Extend mathesar to support python 3.10 and above")_, _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499 "Fix CSRF failures when app is behind a reverse proxy")_, _[#3503](https://github.com/mathesar-foundation/mathesar/pull/3503 "Remove 3.12 support from docs")_, [#3504](https://github.com/mathesar-foundation/mathesar/pull/3504 "Parameterize dev service python version") + +### Mathesar is now compatible with PostgreSQL 16 +Mathesar now officially supports, and is tested against, Postgres versions 13, 14, 15 and 16. +_[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480 "Add PG 16 to testing matrix")_ + +### NodeJS is no longer a requirement for building Mathesar from source + +_[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489 "GH workflow to create draft release with built static files")_ + +## Bug fix + +- Fixed connection creation failures due to schema name collisions while adding provided sample schema(s) in the database _[#3490](https://github.com/mathesar-foundation/mathesar/pull/3490 "Fix schema creation errors while adding a new connection")_ + +## Documentation + +- Documented upgrade instructions for v0.1.6 _[#3507](https://github.com/mathesar-foundation/mathesar/pull/3507 "Adds upgrade documentation for 0.1.6, fixes existing issues with upgrade docs")_ +- Documented mathesar-debug image for Docker based installations _[#3513](https://github.com/mathesar-foundation/mathesar/pull/3513 "Add Debug image docs")_ +- Fixed upgrade instructions for v0.1.5 _[#3469](https://github.com/mathesar-foundation/mathesar/pull/3469 "Merge pull request #3468 from mathesar-foundation/upgrade_instruction_fix")_ +- Updated Mathesar's version number in docs _[#3476](https://github.com/mathesar-foundation/mathesar/pull/3476 "Merge pull request #3475 from mathesar-foundation/version_number_in_docs")_ ## Maintenance -- Added a health check endpoint for Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479)_ -- Added Postgres 16 to testing matrix _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480)_ -- Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482)_ -- Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492)_ -- Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491)_ -- Removed NodeJS from Docker production image _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474)_ -- Improved Docker development image to allow switching between Python versions _[#3504](https://github.com/mathesar-foundation/mathesar/pull/3504)_ +- Added a health check endpoint for Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479 "Add health check endpoint to Mathesar")_ +- Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492 "Bump django from 4.2.8 to 4.2.10")_ +- Removed NodeJS from Docker production image _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474 "Add multiple stages to Dockerfile, remove NodeJS & unnecessary source files from production image")_ +- Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482 "Added MkDocs edit URI")_ +- Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491 "Remove stale code coverage badge")_ +- Post release cleanup _[#3463](https://github.com/mathesar-foundation/mathesar/pull/3463 "Merge pull request #3460 from mathesar-foundation/0.1.5")_ From f2fa5da534d8984fc8402079cede3eba8891825b Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Thu, 28 Mar 2024 03:14:02 +0530 Subject: [PATCH 29/30] add images --- docs/docs/releases/0.1.6.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 853e7938a6..443de6bce7 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -14,8 +14,10 @@ See our guide on [upgrading Mathesar to 0.1.6](../administration/upgrade/0.1.6.m ### You can now configure Mathesar's UI to display in Japanese -The language setting is stored per-user and can be modified when logging in or when editing a user. This changes the text displayed on buttons and other UI elements within Mathesar. It does not change the display of data within your database (e.g. table names, column names, and cell values). We are hoping to support more languages beyond English and Japanese eventually. Please reach out to us if your are interested in helping to add more translations! - +The language setting is stored per-user and can be modified when logging in or when editing a user. This changes the text displayed on buttons and other UI elements within Mathesar. It does not change the display of data within your database (e.g. table names, column names, and cell values). We are hoping to support more languages beyond English and Japanese eventually. Please reach out to us if your are interested in helping to add more translations! + +![image](https://github.com/mathesar-foundation/mathesar/assets/52523023/f100423a-922c-4b6c-ad22-3c16cd06afde) + _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486 "Enable i18n")_, _[#3484](https://github.com/mathesar-foundation/mathesar/pull/3484 "Updates for file translations/en/LC_MESSAGES/django.po in ja")_, _[#3483](https://github.com/mathesar-foundation/mathesar/pull/3483 "Updates for file mathesar_ui/src/i18n/languages/en/dict.json in ja")_, _[#3472](https://github.com/mathesar-foundation/mathesar/pull/3472 "Separate pluralized string to fix Transifex sync")_, _[#3501](https://github.com/mathesar-foundation/mathesar/pull/3501 "Fix layout problem in Data Explorer actions pane")_ ### Text fields now auto-expands on the record page to accommodate longer texts @@ -24,17 +26,23 @@ _[#3486](https://github.com/mathesar-foundation/mathesar/pull/3486 "Enable i18n" All text inputs on the record page had the same height, regardless of their content. +![image](https://github.com/mathesar-foundation/mathesar/assets/52523023/e6ded1de-7b81-49f9-9b2e-7a6311a22d4f) + **After** All text inputs in record page dynamically adjust to accommodate the content seamlessly. +![image](https://github.com/mathesar-foundation/mathesar/assets/52523023/31e031cc-5c71-447f-9381-c4d6fae03b2d") + _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470 "Make textarea inputs auto-expand to accommodate longer text fields on the record page")_, _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488 "Fix regression with record selector not filtering")_, [#3495](https://github.com/mathesar-foundation/mathesar/pull/3495 "Prevent record selector inputs from growing taller") ### Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 -Mathesar now officially supports Python versions 3.10 and 3.11, in addition to the existing 3.9 compatibility. This will provide great flexibilty while building Mathesar from source on an OS that natively ships with relatively newer versions of Python. + +Mathesar now officially supports Python versions 3.10 and 3.11, in addition to the existing 3.9 compatibility. This will provide great flexibility while building Mathesar from source on an OS that natively ships with relatively newer versions of Python. _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478 "Extend mathesar to support python 3.10 and above")_, _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499 "Fix CSRF failures when app is behind a reverse proxy")_, _[#3503](https://github.com/mathesar-foundation/mathesar/pull/3503 "Remove 3.12 support from docs")_, [#3504](https://github.com/mathesar-foundation/mathesar/pull/3504 "Parameterize dev service python version") ### Mathesar is now compatible with PostgreSQL 16 + Mathesar now officially supports, and is tested against, Postgres versions 13, 14, 15 and 16. _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480 "Add PG 16 to testing matrix")_ @@ -50,6 +58,7 @@ _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489 "GH workflow - Documented upgrade instructions for v0.1.6 _[#3507](https://github.com/mathesar-foundation/mathesar/pull/3507 "Adds upgrade documentation for 0.1.6, fixes existing issues with upgrade docs")_ - Documented mathesar-debug image for Docker based installations _[#3513](https://github.com/mathesar-foundation/mathesar/pull/3513 "Add Debug image docs")_ +- 0.1.6 release notes _[#3506](https://github.com/mathesar-foundation/mathesar/pull/3506 "Release notes v0.1.6")_ - Fixed upgrade instructions for v0.1.5 _[#3469](https://github.com/mathesar-foundation/mathesar/pull/3469 "Merge pull request #3468 from mathesar-foundation/upgrade_instruction_fix")_ - Updated Mathesar's version number in docs _[#3476](https://github.com/mathesar-foundation/mathesar/pull/3476 "Merge pull request #3475 from mathesar-foundation/version_number_in_docs")_ From ed61ebe2909805a6bde206c9b53646dc64bfeb0b Mon Sep 17 00:00:00 2001 From: Anish Umale Date: Thu, 28 Mar 2024 03:42:59 +0530 Subject: [PATCH 30/30] add description for nodejs removal --- docs/docs/releases/0.1.6.md | 12 ++++++++---- docs/mkdocs.yml | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/docs/releases/0.1.6.md b/docs/docs/releases/0.1.6.md index 443de6bce7..6fb0c59674 100644 --- a/docs/docs/releases/0.1.6.md +++ b/docs/docs/releases/0.1.6.md @@ -32,22 +32,26 @@ All text inputs on the record page had the same height, regardless of their cont All text inputs in record page dynamically adjust to accommodate the content seamlessly. -![image](https://github.com/mathesar-foundation/mathesar/assets/52523023/31e031cc-5c71-447f-9381-c4d6fae03b2d") +![image](https://github.com/mathesar-foundation/mathesar/assets/52523023/31e031cc-5c71-447f-9381-c4d6fae03b2d) _[#3470](https://github.com/mathesar-foundation/mathesar/pull/3470 "Make textarea inputs auto-expand to accommodate longer text fields on the record page")_, _[#3488](https://github.com/mathesar-foundation/mathesar/pull/3488 "Fix regression with record selector not filtering")_, [#3495](https://github.com/mathesar-foundation/mathesar/pull/3495 "Prevent record selector inputs from growing taller") ### Mathesar is now compatible with Python versions: 3.10 and 3.11 along with 3.9 Mathesar now officially supports Python versions 3.10 and 3.11, in addition to the existing 3.9 compatibility. This will provide great flexibility while building Mathesar from source on an OS that natively ships with relatively newer versions of Python. + _[#3478](https://github.com/mathesar-foundation/mathesar/pull/3478 "Extend mathesar to support python 3.10 and above")_, _[#3499](https://github.com/mathesar-foundation/mathesar/pull/3499 "Fix CSRF failures when app is behind a reverse proxy")_, _[#3503](https://github.com/mathesar-foundation/mathesar/pull/3503 "Remove 3.12 support from docs")_, [#3504](https://github.com/mathesar-foundation/mathesar/pull/3504 "Parameterize dev service python version") ### Mathesar is now compatible with PostgreSQL 16 Mathesar now officially supports, and is tested against, Postgres versions 13, 14, 15 and 16. + _[#3480](https://github.com/mathesar-foundation/mathesar/pull/3480 "Add PG 16 to testing matrix")_ ### NodeJS is no longer a requirement for building Mathesar from source +We removed NodeJS as a dependency in favour of providing users with pre-built static assest for building Mathesar from source. + _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489 "GH workflow to create draft release with built static files")_ ## Bug fix @@ -57,16 +61,16 @@ _[#3489](https://github.com/mathesar-foundation/mathesar/pull/3489 "GH workflow ## Documentation - Documented upgrade instructions for v0.1.6 _[#3507](https://github.com/mathesar-foundation/mathesar/pull/3507 "Adds upgrade documentation for 0.1.6, fixes existing issues with upgrade docs")_ -- Documented mathesar-debug image for Docker based installations _[#3513](https://github.com/mathesar-foundation/mathesar/pull/3513 "Add Debug image docs")_ - 0.1.6 release notes _[#3506](https://github.com/mathesar-foundation/mathesar/pull/3506 "Release notes v0.1.6")_ +- Documented mathesar-debug image for Docker based installations _[#3513](https://github.com/mathesar-foundation/mathesar/pull/3513 "Add Debug image docs")_ - Fixed upgrade instructions for v0.1.5 _[#3469](https://github.com/mathesar-foundation/mathesar/pull/3469 "Merge pull request #3468 from mathesar-foundation/upgrade_instruction_fix")_ - Updated Mathesar's version number in docs _[#3476](https://github.com/mathesar-foundation/mathesar/pull/3476 "Merge pull request #3475 from mathesar-foundation/version_number_in_docs")_ +- Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482 "Added MkDocs edit URI")_ +- Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491 "Remove stale code coverage badge")_ ## Maintenance - Added a health check endpoint for Mathesar _[#3479](https://github.com/mathesar-foundation/mathesar/pull/3479 "Add health check endpoint to Mathesar")_ - Bumped Django from 4.2.8 to 4.2.10 _[#3492](https://github.com/mathesar-foundation/mathesar/pull/3492 "Bump django from 4.2.8 to 4.2.10")_ - Removed NodeJS from Docker production image _[#3474](https://github.com/mathesar-foundation/mathesar/pull/3474 "Add multiple stages to Dockerfile, remove NodeJS & unnecessary source files from production image")_ -- Added MkDocs edit URI _[#3482](https://github.com/mathesar-foundation/mathesar/pull/3482 "Added MkDocs edit URI")_ -- Removed stale code coverage badge _[#3491](https://github.com/mathesar-foundation/mathesar/pull/3491 "Remove stale code coverage badge")_ - Post release cleanup _[#3463](https://github.com/mathesar-foundation/mathesar/pull/3463 "Merge pull request #3460 from mathesar-foundation/0.1.5")_ diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index fe2b07cc4e..28bb3ba18c 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -25,6 +25,7 @@ nav: - Users & access levels: user-guide/users.md - Glossary: user-guide/glossary.md - Releases: + - '0.1.6': releases/0.1.6.md - '0.1.5': releases/0.1.5.md - '0.1.4': releases/0.1.4.md - '0.1.3': releases/0.1.3.md