discourse/spec
Alan Guo Xiang Tan a406316dde
DEV: Patch ActiveRecord's postgresql adapter .new_client (#33820)
This commit updates our monkey patch of
`ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.new_client` to
improve two things:

1. Improve the conditional used to determine if a database does not
   exist. Just checking that the error message contains the `database`
name is not sufficient as the value of the database name may be part of
the `host` connection param which can appear in PG error messages as
well.

2. When the PG error messages includes the `user` or `host` connection
   param. We append the original PG error message on to the original
error messge so that we don't just end up with a generic error message
that doesn't help us to figure out the actual error.
2025-09-18 11:34:37 +08:00
..
db/migrate DEV: Fix incorrect SyncTimerableIdTopicId migration (#34837) 2025-09-17 13:54:29 +08:00
fabricators FIX: In chat messages, filter uploads by UserUpload, not by Upload.user (#34596) 2025-09-01 20:06:27 +10:00
fixtures DEV: Allow DROP DEFAULT in pre-deploy migrations (#34838) 2025-09-17 16:15:02 +08:00
generator DEV: Silence the output of migration specs (#26365) 2024-03-26 11:32:44 +01:00
helpers DEV: Remove dual mode support for palettes and drop theme-owned palettes (#34467) 2025-08-26 06:24:11 +03:00
import_export DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
initializers DEV: Patch ActiveRecord's postgresql adapter .new_client (#33820) 2025-09-18 11:34:37 +08:00
integration DEV: Debug cookie overflows 2025-09-01 09:38:52 +02:00
integrity FEATURE: Append locale to links in crawler view if present (#34466) 2025-08-22 08:46:33 +08:00
jobs DEV: rename topic_id to timerable_id for BaseTimer (#34667) 2025-09-17 13:19:17 +08:00
lib DEV: Allow DROP DEFAULT in pre-deploy migrations (#34838) 2025-09-17 16:15:02 +08:00
mailers DEV: Remove ability to use users' names in group mention notifications and mentions shown in emails and added :user_notification_email_options plugin modifier to allow plugins reintroduce this or other modifications to emails (#33449) 2025-07-14 15:20:08 -05:00
models FIX: exclude non-text user fields from watch word check (#34646) 2025-09-01 14:03:42 +10:00
multisite FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
queries/reports UX: Add admin report for associated accounts by login provider (#34187) 2025-08-14 09:24:14 -04:00
requests DEV: Update api docs spec for invite enpoint (#34843) 2025-09-17 14:50:53 -05:00
script/import_scripts DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
serializers DEV: Add capability to pass an icon setting into auth provider registration (#34584) 2025-08-28 09:14:36 -05:00
services FIX: Add delete button to themes grid (#34606) 2025-08-29 10:09:23 +08:00
support FIX: Theme site settings not reloading across processes (#34242) 2025-08-12 14:18:32 +10:00
system FIX: stop double encoding URLs when pasting via link UI (#34834) 2025-09-17 16:46:30 +10:00
tasks DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
views FIX: Use correct subcategory subfolder path in crawler (#34250) 2025-08-12 16:14:50 +08:00
rails_helper.rb DEV: suppress noisy warning from system test runs (#34855) 2025-09-18 12:53:47 +10:00
regenerate_swagger_docs
swagger_helper.rb DEV: Bump rswag-specs from 2.11.0 to 2.13.0 (#24654) 2023-12-07 08:16:47 +08:00