Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.0 #4152

Merged
merged 2,559 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2559 commits
Select commit Hold shift + click to select a range
e445cd8
wire up SQL removal functionality to RPC disconnect function
mathemancer Jan 13, 2025
b37dfb4
Merge pull request #4112 from mathesar-foundation/rm_tabcont
seancolsen Jan 13, 2025
4598cfa
Merge branch 'develop' into msar_obj_removal_func
mathemancer Jan 13, 2025
b19ad61
remove unneeded parameter from API layer
mathemancer Jan 13, 2025
92120fb
improve information in error when removal fails
mathemancer Jan 13, 2025
1030281
remove no-longer-needed DROP statements
mathemancer Jan 13, 2025
7c5431a
add API tests to check DB disconnecting functionality
mathemancer Jan 13, 2025
f23b7c4
Add complete installation form and template page
pavish Jan 13, 2025
c307bb9
Merge branch 'develop' of https://github.com/mathesar-foundation/math…
pavish Jan 13, 2025
a690f21
Update translation files for django templates
pavish Jan 13, 2025
836e7e5
Merge branch 'develop' into support_widetables
Anish9901 Jan 13, 2025
fc21133
Adjust API types to match new disconnect options
seancolsen Jan 13, 2025
a72f0eb
Add new disconnect opts to DB store
seancolsen Jan 13, 2025
f38c7b1
Implement new UI for disconnecting DBs
seancolsen Jan 13, 2025
3def20c
Remove some medium font weight CSS
seancolsen Jan 13, 2025
0c0cab5
Merge branch 'develop' into 4102_db_upgrade_ui
pavish Jan 13, 2025
c471f8d
Add rpc endpoint to get analytics state
pavish Jan 13, 2025
8b2df12
Improve text for analytics collection help content
pavish Jan 13, 2025
c092db5
Add settings page for Privacy settings
pavish Jan 13, 2025
c5ae38e
Use docs link for analytics information page, add TODO_BETA item to a…
pavish Jan 13, 2025
a738f53
Update codeql-analysis.yml to use latest codeql dependencies
zackkrida Jan 13, 2025
9ff1a41
Update codeql-analysis.yml
zackkrida Jan 13, 2025
5fdada9
remove jsonb_build_object from msar.build_summary_json_expr_for_table
Anish9901 Jan 13, 2025
c3fd33a
update list_records_from_table to use the new version of build_summar…
Anish9901 Jan 13, 2025
22f2bda
Add page to show sample analytics report for advanced users
pavish Jan 13, 2025
e5007cd
Merge pull request #4123 from mathesar-foundation/4102_db_upgrade_ui
pavish Jan 14, 2025
68482ed
Merge branch 'develop' into analytics-opt-in-flow-ui
pavish Jan 14, 2025
7730cda
Add error codes for NoConnectionAvailable and NoAdminConnectionAvailable
pavish Jan 14, 2025
87617b9
Merge pull request #4122 from mathesar-foundation/msar_obj_removal_func
mathemancer Jan 14, 2025
5309e90
Fix sample report rpc request url
pavish Jan 14, 2025
93b50f0
Fix analytics url
pavish Jan 14, 2025
2f94633
Merge branch 'develop' into analytics-opt-in-flow-ui
pavish Jan 14, 2025
021b196
Merge pull request #4126 from mathesar-foundation/analytics-opt-in-fl…
seancolsen Jan 14, 2025
a46566d
Merge branch 'develop' into 4120_disconnect_db_ui
seancolsen Jan 14, 2025
1990eea
Merge branch 'develop' into support_widetables
Anish9901 Jan 14, 2025
2032f47
Merge branch 'develop' into number_input_text_align
seancolsen Jan 14, 2025
5b9fb0a
remove drop statements
Anish9901 Jan 14, 2025
311bec4
Merge branch 'develop' into no_highlight_on_filter
seancolsen Jan 14, 2025
dc83c68
Refactor Group.svelte to use newer component
seancolsen Jan 13, 2025
1b35b50
Update mathesar_ui/src/i18n/languages/en/dict.json
zackkrida Jan 14, 2025
fc5404d
Merge branch 'develop' into update-public-schema-notice
zackkrida Jan 14, 2025
550687b
Use column dropdowns in filter/sort UI
seancolsen Jan 14, 2025
eb35d93
Change order of filtering comparisons
seancolsen Jan 14, 2025
8212506
Merge pull request #4125 from mathesar-foundation/update-codeql-deps
seancolsen Jan 14, 2025
b6bfb4c
remove list_records_from_table and search_records_from_table dependen…
Anish9901 Jan 14, 2025
937eaa8
Merge pull request #4121 from mathesar-foundation/update-public-schem…
mathemancer Jan 15, 2025
d04fc2c
Use RpcError in AsyncRpcApiStore instead of string, Accept RpcErrors …
pavish Jan 15, 2025
3d43679
Move Errors component into its own components sub-directory
pavish Jan 15, 2025
dc52c92
Merge branch 'develop' of https://github.com/mathesar-foundation/math…
pavish Jan 15, 2025
0b2f1c9
remove build_groups_cte_expr dependency on jsonb_build_object
Anish9901 Jan 15, 2025
efeb6b9
Update Errors component to handle known errors
pavish Jan 15, 2025
2a3f56a
Use RPCError in schemas store
pavish Jan 15, 2025
35dd229
Merge branch 'develop' into 4120_disconnect_db_ui
pavish Jan 15, 2025
32c869a
Fix typecheck errors
pavish Jan 15, 2025
342c407
Merge branch 'develop' into support_widetables
Anish9901 Jan 15, 2025
ea03b45
Merge branch 'develop' into 4094_filter_improvements
pavish Jan 15, 2025
47d5613
Merge pull request #4131 from mathesar-foundation/4094_filter_improve…
pavish Jan 15, 2025
cd9a10d
Merge branch 'develop' into no_highlight_on_filter
pavish Jan 15, 2025
22541d2
Merge branch 'develop' into number_input_text_align
pavish Jan 15, 2025
ece7808
Merge branch 'develop' into support_widetables
Anish9901 Jan 15, 2025
74ec921
Merge pull request #4077 from mathesar-foundation/number_input_text_a…
pavish Jan 15, 2025
84ac77b
Merge pull request #4109 from mathesar-foundation/no_highlight_on_filter
seancolsen Jan 16, 2025
6da0560
update default Python versions to 3.13 for docker setups
mathemancer Jan 16, 2025
ecd58fa
update internal Docker image PG to 17
mathemancer Jan 16, 2025
8ecdb38
remove out-of-date and unused python dockerfile license
mathemancer Jan 16, 2025
a4f0505
add version support documentation
mathemancer Jan 16, 2025
20c361f
remove gettext dependency from instructions
mathemancer Jan 16, 2025
805bc5e
fix record_summaries expr for search_records_from_table
Anish9901 Jan 16, 2025
60ccc50
Merge pull request #4116 from mathesar-foundation/support_widetables
mathemancer Jan 16, 2025
1552a2d
Merge branch 'develop' into 3924_UserDatabaseRoleMap_error
pavish Jan 16, 2025
c64769a
Merge pull request #4133 from mathesar-foundation/version_strategy_docs
Anish9901 Jan 16, 2025
cbbc92f
Fix spelling errors
seancolsen Jan 16, 2025
d3bf3ce
Improve variable casing
seancolsen Jan 16, 2025
675412c
Restructure polymorphic error rendering
seancolsen Jan 16, 2025
7031656
Refactor h2 styling
seancolsen Jan 16, 2025
7eb5c2e
Improve display of help bubbles
seancolsen Jan 16, 2025
780c15a
Refactor external URL handling
seancolsen Jan 16, 2025
9963e50
Improve resources content on home page
seancolsen Jan 16, 2025
ac4c1e9
Display resources in top right menu
seancolsen Jan 16, 2025
2ef170e
Display donate link on upgrade page
seancolsen Jan 16, 2025
c973a92
Merge branch 'develop' into 3924_UserDatabaseRoleMap_error
pavish Jan 17, 2025
5dbf8be
Merge pull request #4132 from mathesar-foundation/3924_UserDatabaseRo…
pavish Jan 17, 2025
144bc96
allow disconnecting server via databases.configured.disconnect
Anish9901 Jan 17, 2025
9801a9c
Refactor "Resources" cards
seancolsen Jan 17, 2025
792e530
Update resources styling
seancolsen Jan 17, 2025
b3e1f57
add a check to ensure that no connected dbs exist in mathesar before …
Anish9901 Jan 17, 2025
a068fc6
Merge branch 'develop' into disconnect_server
Anish9901 Jan 17, 2025
6ea630d
Merge pull request #4136 from mathesar-foundation/disconnect_server
seancolsen Jan 17, 2025
d3685b0
Merge branch 'develop' into 4120_disconnect_db_ui
seancolsen Jan 17, 2025
5e4e582
alter datafile model's user field to not null
Anish9901 Jan 17, 2025
e525d77
add user field to datafile before saving
Anish9901 Jan 17, 2025
f82f62a
Remove color set on labeled-input label
seancolsen Jan 17, 2025
2f7e9ed
Further improve UX in disconnect DB form
seancolsen Jan 17, 2025
1ae6f5b
filter datafile by id and user before creating a table
Anish9901 Jan 17, 2025
17ef6a0
add feedback uploader RPC function
mathemancer Jan 20, 2025
b32b42d
add endpoint test for feedback uploader
mathemancer Jan 20, 2025
8c44567
Merge branch 'develop' into resources_section
pavish Jan 20, 2025
3a5b256
Merge pull request #4124 from mathesar-foundation/4120_disconnect_db_ui
pavish Jan 20, 2025
0c3e3fc
Merge branch 'feedback_uploader_rpc' of https://github.com/mathesar-f…
pavish Jan 20, 2025
e625aea
Merge branch 'develop' into feedback_uploader_rpc
Anish9901 Jan 20, 2025
62702ac
add general example loader function
mathemancer Jan 20, 2025
be21832
add function to load bike shop
mathemancer Jan 20, 2025
2fac527
add function to load hardware store
mathemancer Jan 20, 2025
dec2447
remove explicit schema from script for flexibility
mathemancer Jan 20, 2025
d0110dc
fix function call bug in hardware store loader
mathemancer Jan 20, 2025
a84cca7
add ice cream management loader
mathemancer Jan 20, 2025
5588c8a
add library makerspace data set loader
mathemancer Jan 20, 2025
9f5aeab
Add use case feedback input
pavish Jan 20, 2025
04acf13
Merge branch 'develop' of https://github.com/mathesar-foundation/math…
pavish Jan 20, 2025
de8394f
Merge branch 'resources_section' of https://github.com/mathesar-found…
pavish Jan 20, 2025
cc07de4
add museum exhibits dataset loader
mathemancer Jan 20, 2025
10922fd
add nonprofit grant tracking dataset loader
mathemancer Jan 20, 2025
b8c0e31
wire up new dataset loaders to RPC functions
mathemancer Jan 20, 2025
d4c0c33
Add local storage boolean store to track if use case has been shared
pavish Jan 20, 2025
93d4bb1
remove movie collection data set
mathemancer Jan 20, 2025
dda81cb
Merge pull request #4135 from mathesar-foundation/resources_section
pavish Jan 20, 2025
1d534fa
Merge branch 'develop' into use_case_feedback
pavish Jan 20, 2025
d0c8f36
Merge branch 'develop' into add_beta_datasets
mathemancer Jan 20, 2025
234d1af
Update docs/docs/api/methods.md
mathemancer Jan 20, 2025
b1dbf6c
Merge branch 'develop' into feedback_uploader_rpc
pavish Jan 20, 2025
e8b05e5
add return type, conform to signature style
mathemancer Jan 20, 2025
de8f844
add Args section to complete docstring
mathemancer Jan 20, 2025
12b1009
Update mathesar/rpc/analytics.py
Anish9901 Jan 20, 2025
d8869a0
fix typo in docstring
mathemancer Jan 20, 2025
651a2f4
Merge pull request #4140 from mathesar-foundation/feedback_uploader_rpc
Anish9901 Jan 20, 2025
a7f6ee8
Merge branch 'feedback_uploader_rpc' of https://github.com/mathesar-f…
pavish Jan 20, 2025
5513de1
Merge branch 'develop' of https://github.com/mathesar-foundation/math…
pavish Jan 20, 2025
bf81761
Merge branch 'use_case_feedback' of https://github.com/mathesar-found…
pavish Jan 20, 2025
ce1b79e
use single inserts for bike shop data load
mathemancer Jan 21, 2025
3acb423
use single inserts for hardware store data load
mathemancer Jan 21, 2025
cd4b429
use combined inserts for ice cream employee data load
mathemancer Jan 21, 2025
c5cfc2a
use combined inserts for museum exhibits data load
mathemancer Jan 21, 2025
19c05ae
use combined inserts for library makerspace data load
mathemancer Jan 21, 2025
ad811ca
improve formatting of inserts
mathemancer Jan 21, 2025
354faee
Merge branch 'develop' into add_beta_datasets
mathemancer Jan 21, 2025
572894b
use combined inserts for nonprofit grants data load
mathemancer Jan 21, 2025
4397f4d
update translation files with stub copy for new datasets
mathemancer Jan 21, 2025
0d850a3
add datasets to sample data selection pane
mathemancer Jan 21, 2025
3ea0e1e
improve copy for sample data sets
mathemancer Jan 21, 2025
6acd47b
add initial migration, and custom constraint migration
mathemancer Jan 21, 2025
db91803
actually add the custom constraint migration
mathemancer Jan 21, 2025
5d185ad
Fix LabeledInput CSS targeting stuff outside component
seancolsen Jan 21, 2025
311e399
fix foreign key references to match new table names
mathemancer Jan 21, 2025
bbb2a05
document manual steps resulting from migration reset
mathemancer Jan 21, 2025
279c0a7
Merge pull request #4142 from mathesar-foundation/add_beta_datasets
mathemancer Jan 21, 2025
0756414
Merge pull request #4141 from mathesar-foundation/use_case_feedback
seancolsen Jan 21, 2025
4a0cf4b
fix bug so that user is correctly set for DataFile when saving
mathemancer Jan 22, 2025
b746d70
make user a required field for DataFile model
mathemancer Jan 22, 2025
cc303ae
add docs page describing analytics
mathemancer Jan 22, 2025
39644bb
Merge branch 'develop' into 4143_help_bubble_placement
pavish Jan 22, 2025
9cf860b
Merge pull request #4144 from mathesar-foundation/4143_help_bubble_pl…
pavish Jan 22, 2025
f618384
Merge branch 'develop' into datafile_fix
Anish9901 Jan 22, 2025
c53776c
revert changes in migrations and serializers
Anish9901 Jan 22, 2025
bce00dd
Update docs/docs/releases/0.2.0.md
mathemancer Jan 22, 2025
cf1d48c
Update docs/docs/releases/0.2.0.md
mathemancer Jan 22, 2025
02eeafb
add instructions to update docker compose
mathemancer Jan 22, 2025
b9cf316
remove unneeded install step
mathemancer Jan 22, 2025
dbfc468
Merge branch 'develop' into reset_django_migrations
mathemancer Jan 22, 2025
df5cb88
Merge pull request #4145 from mathesar-foundation/reset_django_migrat…
mathemancer Jan 22, 2025
117e2d4
Merge branch 'develop' of https://github.com/mathesar-foundation/math…
pavish Jan 22, 2025
8d196da
Add script to check for unused strings
pavish Jan 22, 2025
f237eda
Update version number to 0.2.0
pavish Jan 22, 2025
b11081c
Use `mathesar/mathesar` as the repo for mathesar_service
pavish Jan 22, 2025
a5bc209
Update documentation using mathesar/mathesar-prod to mathesar/mathesar
pavish Jan 22, 2025
d7c4871
Merge pull request #4153 from mathesar-foundation/docs-update-repo-ch…
pavish Jan 22, 2025
25063ce
Add comments in script, update pattern to ignore spaces and new lines…
pavish Jan 22, 2025
5671f5f
Remove unused strings
pavish Jan 22, 2025
046f30c
Merge branch '0.2.0' of https://github.com/mathesar-foundation/mathes…
pavish Jan 22, 2025
243e7c8
Fix linting errors
pavish Jan 22, 2025
9e035ac
Merge pull request #4154 from mathesar-foundation/i18n_scripts
seancolsen Jan 22, 2025
7cb53d4
Merge pull request #4155 from mathesar-foundation/0.2.0
pavish Jan 22, 2025
29027de
Improve release notes formatting
seancolsen Jan 22, 2025
1ac5308
Update docs/docs/analytics.md
mathemancer Jan 23, 2025
2db4de4
Merge branch 'develop' into datafile_fix
Anish9901 Jan 23, 2025
92bd9f4
update mock function signature
Anish9901 Jan 23, 2025
cc1331c
Translate dict.json in ja
transifex-integration[bot] Jan 23, 2025
91732b9
Translate django.po in ja
transifex-integration[bot] Jan 23, 2025
a3f5f9b
Merge pull request #4158 from mathesar-foundation/translations_23897e…
pavish Jan 23, 2025
7e4bc5c
Merge pull request #4159 from mathesar-foundation/translations_1ddc32…
pavish Jan 23, 2025
65cd0ca
Merge pull request #4160 from mathesar-foundation/0.2.0
pavish Jan 23, 2025
258826f
Merge pull request #4157 from mathesar-foundation/datafile_fix
mathemancer Jan 23, 2025
2558bff
Merge pull request #4151 from mathesar-foundation/add_analytics_docs
mathemancer Jan 23, 2025
e1496a3
Add script to check for incorrect calls to i18n translate function wi…
pavish Jan 23, 2025
b5628b6
Fix 500 on /auth/login route after password change
pavish Jan 23, 2025
4434ecb
Fix warning box style not being shown
pavish Jan 23, 2025
a2ce622
Update position of warning message
pavish Jan 23, 2025
88215ae
Add more release notes content
seancolsen Jan 24, 2025
0555d79
Small content adjustments
seancolsen Jan 24, 2025
9075915
Merge pull request #4165 from mathesar-foundation/check_i18n_calls_wi…
seancolsen Jan 24, 2025
afa22a9
add auto-generated table of msar objects
mathemancer Jan 24, 2025
a5448cb
add new object table file to un/installer
mathemancer Jan 24, 2025
b5a85d5
use object table in safer simpler remover
mathemancer Jan 24, 2025
81b7362
remove more (older) mathesar schemas
mathemancer Jan 24, 2025
99fc0db
reduce verbosity of dropper function
mathemancer Jan 24, 2025
8f15de9
add link directing to upgrade section
mathemancer Jan 24, 2025
f97e87d
Finish release notes blurbs
seancolsen Jan 24, 2025
cc3089a
clarify upgrade instructions
mathemancer Jan 24, 2025
11a2891
remove leftover repetition of DB reset instructions
mathemancer Jan 24, 2025
51435f4
Clarify effects of upgrading
seancolsen Jan 24, 2025
2f153be
Merge pull request #4166 from mathesar-foundation/fix_4162
mathemancer Jan 26, 2025
2101094
Merge pull request #4171 from mathesar-foundation/make_removal_safer
Anish9901 Jan 26, 2025
3000105
Merge branch '0.2.0' into docs_updates
kgodey Jan 27, 2025
ca1dc18
add quoting for returning clause
mathemancer Jan 27, 2025
1366aaf
Updated copy in UI.
kgodey Jan 27, 2025
6195b1c
Merge pull request #4181 from mathesar-foundation/pkey_quoting_bugfix
Anish9901 Jan 27, 2025
b146e74
Add note to manage user expectations after upgrading
mathemancer Jan 27, 2025
e9eec84
Merge pull request #4182 from mathesar-foundation/docs_updates
seancolsen Jan 27, 2025
622c2c4
Fixed capitalization.
kgodey Jan 27, 2025
856b375
Removed empty backup & restore page.
kgodey Jan 27, 2025
7cefe6e
Updated uninstall and upgrade.
kgodey Jan 27, 2025
7147bc3
Renamed config page; added more context to debug page.
kgodey Jan 27, 2025
03b6612
Updated usage data docs.
kgodey Jan 27, 2025
10bd28a
Fix install from scratch documentation, add ALLOWED_HOSTS configurati…
pavish Jan 27, 2025
4ab19d8
Fix redirect.
kgodey Jan 27, 2025
c53050a
Fixed changed URL.
kgodey Jan 27, 2025
daa9158
Fixed link.
kgodey Jan 27, 2025
bb52882
Added data export docs.
kgodey Jan 27, 2025
8f149a4
Update analytics link.
kgodey Jan 27, 2025
26c8b03
Small changes to release notes.
kgodey Jan 27, 2025
f47543f
Add screenshots and video to release notes
zackkrida Jan 27, 2025
db979ac
Merge branch 'release_notes' of github.com:mathesar-foundation/mathes…
zackkrida Jan 27, 2025
d09427b
Improve instructions to recover databases from alpha versions
pavish Jan 28, 2025
41beb5d
Merge branch 'release_notes' of https://github.com/mathesar-foundatio…
pavish Jan 28, 2025
4012530
Fix link
pavish Jan 28, 2025
e04121d
Specify 0.2.0 instead of the dynamic {{mathesar}} version tag in upgr…
pavish Jan 28, 2025
242c3b5
Add poster image to tooltip docs video
zackkrida Jan 28, 2025
c13698d
Remove sentence
seancolsen Jan 28, 2025
4d1a3ec
Improve heading
seancolsen Jan 28, 2025
a9108fc
Merge pull request #4168 from mathesar-foundation/release_notes
seancolsen Jan 28, 2025
b8d46ad
Merge branch '0.2.0' into documentation
seancolsen Jan 28, 2025
0faa9e2
Minor docs fixes
seancolsen Jan 28, 2025
532876e
Merge pull request #4186 from mathesar-foundation/documentation
seancolsen Jan 28, 2025
bb89fd4
Move Usage Data docs page into user guide
seancolsen Jan 28, 2025
3ec3f16
improve safety and accuracy of uninstallation docs
mathemancer Jan 28, 2025
197020d
Rename "Privacy" page to "Settings" page
seancolsen Jan 28, 2025
0c6e3dd
Link to privacy policy from app
seancolsen Jan 28, 2025
6915840
Use "Migration" instead of recovery/upgrade.
pavish Jan 28, 2025
5a3320e
Merge branch '0.2.0' of https://github.com/mathesar-foundation/mathes…
pavish Jan 28, 2025
78095c7
Address review feedback on install steps
pavish Jan 28, 2025
ed3f7fa
Merge pull request #4193 from mathesar-foundation/uninstall_instructi…
seancolsen Jan 28, 2025
1510342
Use <kbd> for keyboard shortcut instructions
seancolsen Jan 28, 2025
32db91a
Minor markdown formatting cleanup
seancolsen Jan 28, 2025
ac395d7
Merge pull request #4194 from mathesar-foundation/organize_usage_data…
pavish Jan 28, 2025
208c1fe
Merge pull request #4191 from mathesar-foundation/docs_install_from_s…
pavish Jan 28, 2025
8ad9766
Fix usage-guide url, move Privacy policy link to next line.
pavish Jan 28, 2025
587a4e0
Merge pull request #4195 from mathesar-foundation/4175_privacy_policy…
seancolsen Jan 28, 2025
fe3a569
Comment-out installation video
seancolsen Jan 28, 2025
5fc3a7a
Merge pull request #4197 from mathesar-foundation/remove_installation…
seancolsen Jan 28, 2025
82418e8
Remove incorrect docker-compose commands to login to db for installat…
pavish Jan 28, 2025
e18be8b
Merge pull request #4198 from mathesar-foundation/fix_db_login_steps
pavish Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
ALLOWED_HOSTS='.localhost, 127.0.0.1, [::1]'
ALLOWED_HOSTS=.localhost,127.0.0.1,[::1]
SECRET_KEY=2gr6ud88x=(p855_5nbj_+7^bw-iz&n7ldqv%94mjaecl+b9=4
## Uncomment the setting below to put Mathesar in 'demo mode'
# DJANGO_SETTINGS_MODULE=demo.settings
2 changes: 1 addition & 1 deletion .github/sync.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mathesar-foundation/mathesar-ansible:
mathesar-foundation/mathesar-infrastructure:
- .github/workflows/toc.yml
- .github/workflows/stale.yml
mathesar-foundation/mathesar-data-playground:
Expand Down
32 changes: 4 additions & 28 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,15 @@ jobs:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

# Learn more: https://docs.github.com/en/code-security/code-scanning
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
59 changes: 0 additions & 59 deletions .github/workflows/run-e2e-integ-tests.yml.disabled

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
staging-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout ansible repo
- name: Checkout infrastructure repo
uses: actions/checkout@v2
with:
repository: 'mathesar-foundation/mathesar-ansible'
repository: 'mathesar-foundation/mathesar-infrastructure'
token: ${{ secrets.MATHESAR_ORG_GITHUB_TOKEN }} # Repo is private, so an access token is used
# This checkout is used for getting the 'action' from the current repo
- name: Checkout mathesar repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-github-labels-milestones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: composer global require 'vanilla/github-sync'
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-ansible -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-infrastructure -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-data-playground -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-design -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-internal-crm -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-private-notes -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-scripts -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-website -d
- run: /home/runner/.composer/vendor/bin/github-sync labels -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-wiki -d
- run: /home/runner/.composer/vendor/bin/github-sync milestones -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-ansible -s open
- run: /home/runner/.composer/vendor/bin/github-sync milestones -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-infrastructure -s open
- run: /home/runner/.composer/vendor/bin/github-sync milestones -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-data-playground -s open
- run: /home/runner/.composer/vendor/bin/github-sync milestones -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-design -s open
- run: /home/runner/.composer/vendor/bin/github-sync milestones -f mathesar-foundation/mathesar -t mathesar-foundation/mathesar-internal-crm -s open
Expand Down
30 changes: 27 additions & 3 deletions .github/workflows/test-and-lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ jobs:
needs.all_be_tests_required.outputs.tests_should_run
strategy:
matrix:
py-version: [3.9-bookworm, 3.10-bookworm, 3.11-bookworm, 3.12-bookworm]
pg-version: [13, 14, 15, 16]
py-version: [3.9-bookworm, 3.10-bookworm, 3.11-bookworm, 3.12-bookworm, 3.13-bookworm]
pg-version: [13, 14, 15, 16, 17]
steps:
- uses: actions/checkout@v4
- name: Copy env file
Expand All @@ -139,7 +139,7 @@ jobs:
needs.all_be_tests_required.outputs.tests_should_run
strategy:
matrix:
pg-version: [13, 14, 15, 16]
pg-version: [13, 14, 15, 16, 17]
steps:
- uses: actions/checkout@v4
- name: Copy env file
Expand All @@ -155,6 +155,30 @@ jobs:
- name: Run tests with pg_prove
run: docker exec mathesar_dev_db /bin/bash /sql/run_tests.sh

api_tests:
name: Run API scenario tests
runs-on: ubuntu-latest
needs: [python_tests_required, all_be_tests_required]
if: needs.python_tests_required.outputs.tests_should_run == 'true' ||
needs.all_be_tests_required.outputs.tests_should_run
strategy:
matrix:
py-version: [3.9-bookworm, 3.10-bookworm, 3.11-bookworm, 3.12-bookworm, 3.13-bookworm]
pg-version: [13, 14, 15, 16, 17]
steps:
- uses: actions/checkout@v4
- name: Copy env file
run: cp .env.example .env
# The code is checked out under uid 1001 - reset this to 1000 for the
# container to run tests successfully
- name: Fix permissions
run: sudo chown -R 1000:1000 .
- name: Run tests
run: sh run_api_tests.sh
env:
PYTHON_VERSION: ${{ matrix.py-version }}
PG_VERSION: ${{ matrix.pg-version }}

python_lint:
name: Run Python linter
runs-on: ubuntu-latest
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test Build
on: [pull_request, merge_group]
jobs:
build_tests:
name: Build mathesar
runs-on: ubuntu-latest
strategy:
matrix:
target: [production, development]
steps:
- uses: actions/checkout@v4
- name: Copy env file
run: cp .env.example .env
# The code is checked out under uid 1001 - reset this to 1000 for the
# container to run tests successfully
- name: Fix permissions
run: sudo chown -R 1000:1000 .
- name: Build the stack
run: docker compose -f docker-compose.dev.yml up --build -d test-service
env:
TARGET: ${{ matrix.target }}
63 changes: 25 additions & 38 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,26 @@ Before getting started with your code changes, read our [Contributor guide](./CO

## Loading sample data

For sample table data, you can create a new table in the UI using the `patents.csv` file found in `/mathesar/tests/data`.
- Using a CSV File (limited visibility of features):

For sample table data, you can create a new table in the UI using the `patents.csv` file found in `/mathesar/tests/data`.

- Using Mathesar Data Playground (recommended):

1. Clone the `mathesar-data-playground` repo:
```
git clone https://github.com/mathesar-foundation/mathesar-data-playground.git
```

2. Load the data from sql by running:
```
sudo docker exec -i mathesar_dev_db bash -c 'psql -U mathesar' < /path/to/your/cloned/repo/mathesar-data-playground/realistic_library_simulation/simulation_runs/simulation_run_20230106_00.sql
```
```
sudo docker exec -i mathesar_dev_db bash -c 'psql -U mathesar' < /path/to/your/cloned/repo/mathesar-data-playground/realistic_library_simulation/simulation_runs/simulation_run_20230106_00_checkouts.sql
```
3. [Sync]( https://docs.mathesar.org/user-guide/syncing-db/) these changes from the UI.


<!-- TODO add more content about sample data -->

Expand Down Expand Up @@ -168,6 +187,11 @@ Django uses gettext, which require the `.po` files to be compiled into a more ef
- To handle pluralization and other complexities, the source translation strings may utilize a special syntax called [JSON with ICU Plurals](https://help.transifex.com/en/articles/6220806-json-with-icu-plurals) (a subset of the [ICU format](https://unicode-org.github.io/icu/userguide/icu/i18n.html)).
- After making changes to your code, ensure that the source `/en/dict.json` file contains new translation strings, if any.
- Do not update other translation files. They will be pulled from our translation service provider when the translation process is complete.
- If you encounter merge conflicts in `en/dict.json`, run this script to automatically resolve them:

```
python3 mathesar_ui/scripts/i18n/resolve_dict_merge_conflicts.py
```

## Translation process

Expand Down Expand Up @@ -216,12 +240,6 @@ If you'd like to manually push or pull translations, follow the instructions in

1. Commit and push the changes to our repo.

## Demo mode

Mathesar can be run in "demo mode" to meet the specific needs of our [live demo site](https://demo.mathesar.org).

See our [Live demo mode](./demo/README.md) guide for more information on enabling live demo mode locally


## Opening a shell in the container

Expand All @@ -236,37 +254,6 @@ See our [Live demo mode](./demo/README.md) guide for more information on enablin
```
docker exec -it mathesar_dev_db psql -U mathesar
```


## Building Debian package

- On a Debian machine, install the following dependencies

```
sudo apt install debhelper-compat dh-virtualenv libsystemd-dev libpq-dev libicu-dev pkg-config lsb-release python3-dev python3 python3-setuptools python3-pip python3-venv tar
```
- Setup Mathesar build environment.
This step is useful only when testing locally is needed for building static files and for collecting them. We won't have a need for this step while using the build service as it will be using the source code from release assets which will contain these static files


- Install Python and Nodejs preferably on a Linux machine
- Run the following commands to set up the environment

```
python3 -m venv ./mathesar-venv
source ./mathesar-venv/bin/activate
pip install -r requirements.txt
sudo npm install -g npm-force-resolutions
cd mathesar_ui && npm install --unsafe-perm && npm run build
cd ..
python manage.py collectstatic
```

- From the mathesar directory, run the build script to generate the debian package

```
cd release-scripts && source build-debian.sh
```

## Troubleshooting

Expand Down
Loading
Loading