Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
mShan0 78a78aac90
Django 5.0 support (#327)
* basic 5.0 support

* use django main branch

* use alpha 5.0 branch

* preliminary fix for nulls_distinct

* add _unique_supported function

* Fix schema db default test

* Skip constraint tests

* Support db_default field

* Remove operations test fixes

* Preliminary fix

* Check version before accessing db_default

* Skip add field database default test

* Update returned values from insert

* Change can_return_rows_from_bulk_insert default to True

* Revert format sql changes

* Prevent formatting empty params query

* unskip add_field_database_default

* fix add_field_both_defaults test

* Update nullable default field behavior

* update odbc 17 windows ci

* reduce tox tests for testing purposes

* bump tox version to 5.0

* add field_defaults

* Fix default constraints test

* unskip tox tests

---------

Co-authored-by: Daniel Au (SIMBA TECHNOLOGIES INC) <v-audaniel@microsoft.com>
Co-authored-by: dauinsight <145612907+dauinsight@users.noreply.github.com>
2024-01-09 13:13:31 -08:00
Khanh Bui cb8aee0607 Add db_comment support (#318) 2023-12-21 14:23:37 -08:00
mShan0 422cc3dede
Prepare for 1.3 release (#269)
* Allow Django 4.2 (#227)

* Allow Django 4.2

* allow Django 4.2

* Fix errors with raising FullResultSet exception and with alter_column_type_sql() and collate_sql() functions (#229)

* fix error with raising fullresultset

* add django4.2 condition

* fix alter_column_type_sql and collate_sql to take 2 additional arguments

* delete argument 'old_rel_collation'

* fix arguments names

* fix last_executed_query() to properly replace placeholders with params (#234)

* disable allows_group_by_select_index

* unskip old tests

* unskip some tests

* skip more tests

* Use latest Django 4.2 beta for tox (#238)

* use 4.2 rc1 branch (#240)

* allow partial support for filtering against window functions (#239)

* add subsecond support to Now() (#242)

* assign value to display_size (#244)

* add latest django 4.2 branch to ci

* raise an error when batch_size is zero. (#259)

* replicate get or create test for mssql (#265)

* Add skipped tests to Django 4.2 (#268)

* skip django 4.2 failing tests

* skip schema test

* skip aggregate annotation pruning test

---------

Co-authored-by: mShan0 <mark.shan19@gmail.com>

* syntax fix

* ci fix

* bump version to 1.3

---------

Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>
Co-authored-by: Khanh Bui <khanhmb815@gmail.com>
2023-05-31 16:00:47 -07:00
Khanh Bui a62e064bd9
Allow `bash` with allowlist_externals (#221)
* allow `bash` with allowlist_externals

* delete old `bash` paths
2023-01-06 14:32:13 -08:00
mShan0 9cd30e3fce
fix tox config for 4.1 (#210) 2022-12-08 11:29:34 -08:00
mShan0 c0c456f16a
add support for django 4.1 (#208)
* Fixed failing timezone unit test for Django 4.1 (#169)

* Added Django 4.1 tests into test suite

* Fixed datetime issues

* Added skipped timezone tests

* fix date_trunc_sql to work with < 4-digit year

set has_case_insensitive_like to True

Revert "fix date_trunc_sql to work with < 4-digit year"

This reverts commit 492e32ce50.

Revert "set has_case_insensitive_like to True"

This reverts commit 2bc4f8ed42.

fix date_trunc_sql to work with < 4-digit year (#188)

* set has_case_insensitive_like to True (#189)

Co-Authored-By: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>

Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>

* bump required django version to include 4.1.x updates (#192)

* add introspected field type for DurationField (#191)

* Add check to see if `FROM` clause exists (#190)

* Make MSSQL introspection raise DatabaseError on nonexistent tables (#194)

* Make MSSQL introspection raise DatabaseError on nonexistent tables

* edit error message to make it specific to MSSQL

* Refix JSONField has_key so it doesn't break previous Django versions (#195)

* Fix removing unique_together constraint if exists primary key/unique constraint on the same field. (#204)

* Fix removing unique_together constraint if
 exists primary key/unique constraint on the same field.

* add django version requirement

* fix jsonfield test in sql server 2022 and newer (#203)

* fix jsonfield test in sql server 2022

* fix sql server version

* fix bulk update tests (#205)

* match native  function updates

* syntax update

* fix `mssql-django` tests

* trim whitespace

* create custom `Window.as_sql` (#207)

Co-Authored-By: Khanh Bui 85855766+khanhmaibui@users.noreply.github.com

* Add skipped tests to Django 4.1 (#199)

Skips the currently unfixable tests added by Django 4.1

Co-authored-by: mShan0 <mark.shan19@gmail.com>

Co-authored-by: jmah8 <59151084+jmah8@users.noreply.github.com>
Co-authored-by: Khanh Bui <khanhmb815@gmail.com>
Co-authored-by: Khanh Bui <85855766+khanhmaibui@users.noreply.github.com>
2022-12-07 16:05:59 -08:00
jmah8 43c5491f3b
Removed unsupported Django versions from pipeline (#126) 2022-04-29 14:36:09 -07:00
Sicong Jia 97b94489c3 Add Django 4.0 to pipeline 2021-11-08 14:21:20 -08:00
Sicong Jia ef45024b5c Initial support for Django 4.0 2021-11-05 14:29:34 -07:00
Sicong Jia 9f7c088b94 Fix pipeline
new version of coverage (6.0) caused some unknown issue, use 5.5 instead.
2021-10-05 17:55:11 -07:00
Sicong Jia c3d14f9985 Change pipeline test result folder instead of rename 2021-08-10 15:54:53 -07:00
Sicong Jia a44913c723 Rename testapp test to a separate file 2021-08-10 14:57:29 -07:00
Sicong Jia 8d7efbc7ae Publish test result to pipeline, Fix some Django 3.2 errors 2021-06-01 17:29:48 -07:00
Sicong Jia 0c13927a3c Add JSONField check constraints 2021-05-12 21:47:29 +00:00
Sicong Jia 0153047808 Add Python 3.9 to pipeline for Django 3.0 and 3.1 2021-05-03 16:38:53 -07:00
Sicong Jia 6fe445a839 Issue #25 -- Fix Django 3.2 startup issue 2021-04-15 16:23:17 -07:00
Sicong Jia 4bf285c20f Fix Django3.1 related issues 2021-02-22 21:59:37 -08:00
Sicong b23d350974
Update tox.ini
Remove deprecated settings.
2021-02-16 16:38:29 -08:00
Sicong Jia d5247302df Add task for code coverage report, Skip tests 2021-02-09 18:51:21 -08:00
Sicong Jia eaf27e543a Remove regex dll, Unskip tests
dll file in repo violates security policy
unskip passed tests
2021-02-03 10:49:05 -08:00
Sicong Jia 4ecfe9b1fb Fix DST related errors, check for timezone support. Edit tox file.
[skip ci]
2021-01-05 17:58:14 -08:00
Sicong Jia 677d704c18 Clean up and rename project name 2020-12-22 17:27:23 -08:00
Oskar Persson b3671363a1
Add regex support (#43) 2020-03-10 12:05:52 +01:00
Oskar Persson 1e70d2c2bb
Add Django 3 support (#19) 2020-01-20 15:36:29 +01:00