Commit graph

32 commits

Author SHA1 Message Date
Henrik Levkowetz 78963ecdef Added request profiler and a management command to purge profiler records.
- Legacy-Id: 17648
2020-04-15 20:48:08 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz 33e8733b91 Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz 2d7c9629aa Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz 3ec7e864be Converted leading tabs to spaces in ietf/**/*.py
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz c3fb6450f7 Updated the mechanism to disable iteration trough all migrations when setting up test databases.
- Legacy-Id: 14671
2018-02-22 00:10:39 +00:00
Henrik Levkowetz f5dd8c72c3 Revert a change to settings_sqlitetest.py
- Legacy-Id: 13211
2017-04-12 21:53:15 +00:00
Henrik Levkowetz b4fd2b63a8 Merged in [13205] from housley@vigilsec.com:
Check downref registry when producing Last Call text.  Fixes #2069.
 - Legacy-Id: 13210
Note: SVN reference [13205] has been migrated to Git commit aa7ed23cda
2017-04-12 21:24:33 +00:00
Henrik Levkowetz 7f607c51d2 Changed from old-style to new-style middleware.
- Legacy-Id: 12824
2017-02-12 17:07:48 +00:00
Henrik Levkowetz 40e8380751 Merged django 1.9 work forward to copy of trunk @6.41.0
- Legacy-Id: 12756
2017-01-30 23:13:02 +00:00
Henrik Levkowetz 79c44d25ea Changed settings_sqlitetest so that local developer additions to context processors and middleware classes are avoided.
- Legacy-Id: 12723
2017-01-24 20:42:51 +00:00
Henrik Levkowetz 7e3088993e Delay an import which causes not ready complaints if handled too early.
- Legacy-Id: 12580
2016-12-19 13:52:00 +00:00
Henrik Levkowetz 9a3f6b059b Merged Django-1.8 upgrade work to trunk. Adjusted migration names, and added migrations as necessary. Fixed some instances of broken html.
- Legacy-Id: 12507
2016-12-13 05:55:46 +00:00
Henrik Levkowetz fe65f07d77 Tweaked the test settings.
- Legacy-Id: 11549
2016-07-07 20:17:40 +00:00
Henrik Levkowetz 846a02c3f9 Fixed pyflakes complaints introduced with pyflakes 1.1.0
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Robert Sparks d2f1d1ff12 corrected an improper import and removed some flakes
- Legacy-Id: 10582
2015-12-11 19:49:33 +00:00
Robert Sparks ea6d82846f Avoiding an initialization problem by setting NOMCOM_PUBLIC_KEYS_DIR in settings_sqlitetest. This is not the best long term fix
- Legacy-Id: 10581
2015-12-11 17:30:13 +00:00
Henrik Levkowetz c17ea94b08 Updated the code to use version 4.0.1 of coverage.py for code coverage measurements. Moved the code which starts coverage measurement to settings_sqlitetest.py to avoid coverage measurements running when not doing tests. Did some additional coveage measurement refactoring.
- Legacy-Id: 10238
2015-10-18 20:01:57 +00:00
Henrik Levkowetz 067d742451 Reverted some test settings.
- Legacy-Id: 10222
2015-10-17 14:34:30 +00:00
Henrik Levkowetz a0c398918e Pont at locations which is more likely to be useful for the alias-files while running tests (instead of the production values).
- Legacy-Id: 10208
2015-10-14 18:41:33 +00:00
Henrik Levkowetz 4dc4c6dc9a Removed dead code
- Legacy-Id: 9950
2015-08-01 15:00:14 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz 09c08a99a1 More correct implementation of the workaround to skip migrations during test, which also points at the code that makes this work at the moment.
- Legacy-Id: 9246
2015-03-19 14:15:34 +00:00
Henrik Levkowetz 3d35c4f3a3 Tweaked sqlitetest config to avoid a minutes-long stepping through migrations for each test run.
- Legacy-Id: 9245
2015-03-19 13:14:41 +00:00
Ole Laursen a92752bbcf Summary: Add a little hack to skip the new Django 1.7 migrations
when running with settings_sqlitetest to speed up the process
 - Legacy-Id: 9076
2015-02-12 15:35:05 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Ole Laursen 145079c701 Fix import path in settings_sqlitetest.py
- Legacy-Id: 6901
2013-12-12 12:24:25 +00:00
Ole Laursen e1bd47b509 Add ietf. qualifier to settings import, this fixes a weird bug where
model files apparently get the wrong settings
 - Legacy-Id: 6216
2013-09-20 11:02:06 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen 0dabaf96fb Split database into current and legacy, adding importer to copy reused
tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
 - Legacy-Id: 3778
2011-12-22 18:34:19 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00