Jennifer Richards
6b826fd985
refactor: Purge old migrations and update ci to build on a clean schema ( #5431 )
...
* refactor: Remove all existing migrations
* refactor: Create clean set of migrations
* chore: Skip check_statetype_slugs when DB is not yet populated
* fix: Do not cache active_groups_menu on module import
* fix: Do not patch timezone awareness out of oidc-provider
* refactor: Migrate to create postgres schema, only use pgloader for data
* ci: Use migration scripts from feat/pg-migrations branch
* Revert "ci: Use migration scripts from feat/pg-migrations branch"
This reverts commit c82f64c614241ccede4865a50d494725c8a47c15.
* ci: Run check before migrate
* fix: Remove redundant migration caused by merge error
* chore: Add casts/ALTER TABLEs to eliminate pgloader errors/warnings
* chore: Change schema name to match docker image assumptions
* chore: Clear out schema so we get a clean start in case of a retry
2023-03-28 18:06:07 +09:00
Robert Sparks
86923dfe96
chore: update dependency requirements ( #3904 )
...
* chore: cleanup requirements.txt. Unpin factory-boy, ignoring resulting mypy complaints.
* chore: remove the upper limit as many dependencies as possible
* chore: remove unintended bookmark
* chore: normalize spaces before comments
* chore: improve comment explaining pinned Tastypie
* chore: shift dependencies minimum version requirements forward
2022-04-28 11:06:17 -05:00
Robert Sparks
8e71f4113a
Remove oic patch - 1.3.0 contains the fix. Commit ready for merge.
...
- Legacy-Id: 19214
2021-07-14 18:31:45 +00:00
Henrik Levkowetz
5931b5d778
Added another tastypie patch
...
- Legacy-Id: 18411
2020-08-25 13:30:01 +00:00
Henrik Levkowetz
bb9bd8d469
Added a patch for tastypie under django 2.2, to catch field error exceptions that were handled differently under earlier django versions.
...
- Legacy-Id: 18407
2020-08-24 11:24:52 +00:00
Henrik Levkowetz
982f5ccc70
Tweaked a patch, removing an unused import.
...
- Legacy-Id: 18394
2020-08-20 13:48:04 +00:00
Henrik Levkowetz
278f86f275
Removed a misnamed patch file.
...
- Legacy-Id: 18387
2020-08-20 12:21:04 +00:00
Henrik Levkowetz
4712e8370c
Added a patch to make django use the same settings when deleting a cookie as when setting it. In particular, it sets Secure if settings.SESSION_COOKIE_SECURE, which is needed if samesite='None'. Fixes issue #3056
...
- Legacy-Id: 18359
2020-08-13 10:47:06 +00:00
Henrik Levkowetz
6e4d8457e6
Updated django patch for SameSite cookie settings.
...
- Legacy-Id: 18161
2020-07-13 16:26:32 +00:00
Henrik Levkowetz
b8b69b1698
Added a patch for Django to permit cookie 'samesite' setting to be explicitly set to 'None'.
...
- Legacy-Id: 18138
2020-07-08 13:46:34 +00:00
Henrik Levkowetz
8837eb9067
Merged in Django 2.2 changes.
...
- Legacy-Id: 18090
2020-06-27 20:56:10 +00:00
Henrik Levkowetz
27da6e86d4
Widgets' .render() method now must accept an additional keyword argument (renderer); adjusted the code accordingly (including a library patch -- pull request also submitted).
...
- Legacy-Id: 18056
2020-06-24 20:44:47 +00:00
Henrik Levkowetz
37cd5daaed
Updated patch for oidc_provider, to remove tzinfo in a default datetime value.
...
- Legacy-Id: 17931
2020-06-08 19:12:14 +00:00
Henrik Levkowetz
f9ad2346bc
Updated patch for oicd_provider char field size
...
- Legacy-Id: 17923
2020-06-07 11:42:57 +00:00
Henrik Levkowetz
48d1cd8bb6
Increased the required version of request-profiler and updated its patch file.
...
- Legacy-Id: 17922
2020-06-06 21:15:10 +00:00
Henrik Levkowetz
0e24e99628
Added patches for some issues with the oic and oidc-provider modules, and updated a patch for request-profiler.
...
- Legacy-Id: 17920
2020-06-06 21:02:30 +00:00
Henrik Levkowetz
4de5722905
Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream)
...
- Legacy-Id: 17911
2020-06-06 16:19:14 +00:00
Henrik Levkowetz
b27d5198bd
Patched a bug in pyjwkest.jwt which would cause a root logger handler to be created if none existed, resulting in logging in following code being emitted even if intentionally set up to be visible. (See https://github.com/IdentityPython/pyjwkest/pull/97 , created to fix this upstream)
...
- Legacy-Id: 17910
2020-06-06 16:18:45 +00:00
Henrik Levkowetz
6face5ff3a
Cleaned up a patch.
...
- Legacy-Id: 17667
2020-04-20 17:56:12 +00:00
Henrik Levkowetz
8ec63ca0e1
Removed Py2 svn-package settings, and added a patch for request_profiler.
...
- Legacy-Id: 17665
2020-04-20 17:51:47 +00:00
Henrik Levkowetz
6e41663a7c
Removed a patch that has now been applied upstream.
...
- Legacy-Id: 16217
2019-05-23 14:29:00 +00:00
Henrik Levkowetz
d59eb23fd4
Updated unicode comparison patch for django 1.11.18
...
- Legacy-Id: 15907
2019-01-21 18:04:17 +00:00
Henrik Levkowetz
27ea752100
Updated a patch and removed one from the patch list in settings.
...
- Legacy-Id: 15742
2018-11-09 19:57:18 +00:00
Henrik Levkowetz
5c958e7010
Consolidated the 2 patches to patch.py into one.
...
- Legacy-Id: 15741
2018-11-09 19:51:48 +00:00
Henrik Levkowetz
2b4fb73e49
Fixed a bad patch file
...
- Legacy-Id: 15692
2018-11-03 06:41:20 +00:00
Henrik Levkowetz
324dddee5d
Updated the patch for patch.py
...
- Legacy-Id: 15691
2018-11-03 06:23:11 +00:00
Henrik Levkowetz
9c042b4f7d
Tweaked the django_cprofile_middleware patch to use a query arg of psort instead of sort, to avoid conflict with app query args 'sort'.
...
- Legacy-Id: 15021
2018-04-06 21:21:41 +00:00
Henrik Levkowetz
6d096e7f2a
Added a patch for debug mode, to add a filtering option to the django-cprofile-middleware.
...
- Legacy-Id: 15004
2018-04-04 17:08:26 +00:00
Henrik Levkowetz
e0aed58cc1
Updated a django patch to add origin information to query sets.
...
- Legacy-Id: 14792
2018-03-14 17:41:11 +00:00
Henrik Levkowetz
cf9804f659
Adjusted the format of a patch.
...
- Legacy-Id: 14756
2018-03-09 17:52:32 +00:00
Henrik Levkowetz
229d84a144
Added a patch to patch.py to not change directories during patching.
...
- Legacy-Id: 14755
2018-03-09 17:51:40 +00:00
Henrik Levkowetz
89470dece4
Removed unwanted path elements from a patch file.
...
- Legacy-Id: 14754
2018-03-09 15:50:29 +00:00
Henrik Levkowetz
0b46cbb52d
Added 2 new patch files
...
- Legacy-Id: 14676
2018-02-22 15:16:41 +00:00
Henrik Levkowetz
a7085715f5
Added some new patches, including a patch to patch.py to let us report when patching has happened.
...
- Legacy-Id: 14663
2018-02-21 23:47:57 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
7d5bd3f5d5
Modified the patch actions run under the 'check' management command to patch an issue with a unidecode lib warning.
...
- Legacy-Id: 14535
2018-01-17 19:27:52 +00:00
Henrik Levkowetz
11ca8dcaf2
Modified the django patch check action from [14474] (for django issue #28772 ) to work with arbitrary locations of the virtual Python environment, rather than assuming a particular location of the virtual environment directory.
...
- Legacy-Id: 14487
Note: SVN reference [14474] has been migrated to Git commit bb92c0a076
2018-01-04 13:18:57 +00:00
Henrik Levkowetz
bb92c0a076
Added a patch for django issue #28772 , a check action to apply the patch, and a setting that lists patches to be applied.
...
- Legacy-Id: 14474
2017-12-30 00:40:06 +00:00
Henrik Levkowetz
a01d01f8e4
Updated patch, debug.html and ietf.css for improved sql debug info.
...
- Legacy-Id: 13204
2017-04-12 18:24:51 +00:00
Henrik Levkowetz
acb8345a77
Added some debug functionality which makes it possible to see from where (python source file and line) an SQL query comes when looking at the sql query summary available at the bottom of pages in debug mode, on INTERNAL_IPS.
...
- Legacy-Id: 13188
2017-04-10 17:27:11 +00:00