Henrik Levkowetz
4c297ba4c0
Changed settings so that cache keys used by memcached includes the release version, in order to avoid stale and incorrect cache content on new release deployment. Made it easier to pick out cache key composition by normalizing the variable name. Adjusted cache prefix and the composition of some keys to have a unique and consistent cache key prefix.
...
- Legacy-Id: 14943
2018-03-26 21:26:20 +00:00
Henrik Levkowetz
87cd50e1d8
Made a test more stable.
...
- Legacy-Id: 14036
2017-08-10 10:53:38 +00:00
Henrik Levkowetz
da3032b21d
Tweaked the test coverage percentage numbers shown in the coverage chart to use only 3 decimal digits, not 12 ...
...
- Legacy-Id: 13247
2017-04-19 21:26:11 +00:00
Henrik Levkowetz
e6c41879ac
Added charts for test coverage and release frequency.
...
- Legacy-Id: 13232
2017-04-18 16:48:34 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
cd9cb4ad29
Fixed an issue which left html meta-characters unescaped in release-notes shown under /release/
...
- Legacy-Id: 12919
2017-02-25 16:37:15 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz
e548654360
Cleanup.
...
- Legacy-Id: 11151
2016-05-04 08:54:36 +00:00
Henrik Levkowetz
c23fe867e1
Added a workaround for a thread import lock problem ( http://bugs.python.org/issue7980 ).
...
- Legacy-Id: 10942
2016-03-16 14:10:13 +00:00
Henrik Levkowetz
64f5473499
Added a workaround for a thread import lock problem ( http://bugs.python.org/issue7980 ).
...
- Legacy-Id: 10941
2016-03-16 14:06:09 +00:00
Henrik Levkowetz
5905876de1
Added a workaround for a thread import lock problem ( http://bugs.python.org/issue7980 ).
...
- Legacy-Id: 10940
2016-03-16 14:05:19 +00:00
Henrik Levkowetz
e8ed4609f2
Added a workaround for thread import lock problem, http://bugs.python.org/issue7980 .
...
- Legacy-Id: 10922
2016-03-14 19:24:19 +00:00
Henrik Levkowetz
90b97468a9
Changed to use a gzipped release coverage JSON file, instead of a plain JSON file, if the name given in settings.py ends in .gz. Reduces the current release coverage file size from ~1.6MB to ~200kB. This is a preparation for saving more information in the release coverage file than we currently do.
...
- Legacy-Id: 10235
2015-10-18 14:32:36 +00:00
Henrik Levkowetz
8ad020edd2
Removed an unused import.
...
- Legacy-Id: 10047
2015-08-23 19:31:28 +00:00
Henrik Levkowetz
83c48840ce
Undid unwanted escaping of release log entries.
...
- Legacy-Id: 10044
2015-08-23 19:18:48 +00:00
Henrik Levkowetz
ab61063882
Added escaping of changelist content for the /release/ pages.
...
- Legacy-Id: 9827
2015-07-20 13:49:06 +00:00
Henrik Levkowetz
acc2c59920
Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
...
- Legacy-Id: 9556
2015-04-24 21:47:12 +00:00
Henrik Levkowetz
1b3e98dd31
Added simple tests for help and release pages.
...
- Legacy-Id: 9413
2015-04-05 20:59:51 +00:00
Henrik Levkowetz
4ff9868f1c
Added pages About and ToDo under /release/.
...
- Legacy-Id: 9407
2015-04-05 17:05:06 +00:00
Henrik Levkowetz
0b971f635d
Added test coverage data to the release pages if available for the release. Added saving of html pages for the code coverage to a directory in the static files area. If a code coverage report is available, a link to it will be shown on the release page of the current release. Renamed some setting variables related to test coverage to be more explicit and precise.
...
- Legacy-Id: 9201
2015-03-14 19:08:37 +00:00
Henrik Levkowetz
085e7d2bc3
Added a separate urls.py file for ietf/release/.
...
- Legacy-Id: 9200
2015-03-14 16:20:30 +00:00
Henrik Levkowetz
86997e1e95
Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
...
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Henrik Levkowetz
ed97ce5a21
Added changeset and ticket links to the release notes under /release/
...
- Legacy-Id: 7684
2014-05-02 00:30:25 +00:00
Henrik Levkowetz
613033143c
Made ietf/release pyflakes-clean.
...
- Legacy-Id: 7500
2014-03-16 08:06:45 +00:00
Henrik Levkowetz
02031a01b9
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
...
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Ole Laursen
fe6c2d67c4
Replace the Http404 in release/views.py if the changelog file is not
...
found with a simple error message, this mimicks the way the rest of the
Datatracker is handling missing files and avoids an annoying 404 when
running the test-crawler without all directories set up
- Legacy-Id: 7105
2014-01-10 17:55:50 +00:00
Henrik Levkowetz
e4f4467725
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
...
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Henrik Levkowetz
f50337695e
Added a list of releases below the release notes at /releases/*
...
- Legacy-Id: 5791
2013-06-14 13:13:20 +00:00
Henrik Levkowetz
de5da28101
Handle an unrecognized revision more gracefully.
...
- Legacy-Id: 4973
2012-10-30 22:15:55 +00:00
Henrik Levkowetz
7e84ccc606
Tweaked the changelog presentation to work irrespective of current directory, and give a sensible 404 if the changelog can't be found.
...
- Legacy-Id: 4972
2012-10-30 22:13:37 +00:00
Henrik Levkowetz
bfe0756351
Added a simple page to show release information parsed from a release's changelog file.
...
- Legacy-Id: 4958
2012-10-25 21:29:53 +00:00