Commit graph

52 commits

Author SHA1 Message Date
Robert Sparks 7c4205d49b
feat: reflect breaking change in internal release description (#3826)
BREAKING CHANGE: the datatracker now uses bootstrap 5 and html 5
see also 6eeae80207
2022-04-14 15:04:09 -05:00
Jennifer Richards c0c8771370
Merge branch 'main' into main-merge
# Conflicts:
#	.devcontainer/docker-compose.extend.yml
#	.github/workflows/build-test-base.yml
#	.github/workflows/build.yml
#	README.md
#	docker/app.Dockerfile
#	docker/configs/settings_local.py
#	docker/docker-compose.extend.yml
#	docker/scripts/app-init.sh
#	ietf/release/tests.py
#	ietf/release/urls.py
#	ietf/templates/500.html
#	ietf/templates/api/index.html
#	ietf/templates/base.html
#	ietf/templates/base/menu.html
#	ietf/templates/group/group_about_status_edit.html
#	ietf/templates/meeting/agenda_filter.html
#	ietf/templates/release/about.html
#	ietf/utils/tests.py
#	package-lock.json
2022-03-25 11:15:05 -03:00
Robert Sparks 79bcc6448e
feat: redirect to release information at github (#3746)
* chore: remove unused import

* feat: redirect to release information at github.
2022-03-24 16:38:33 -04:00
Lars Eggert eb5423d084
ci: Also check generated HTML with the "vnu" validator (#3682)
* ci: Also check generated HTML with the "vnu" validator

Because HTML Tidy apparently misses a bunch of errors.

* thead -> tbody

* More fixes

* More fixes

* Start checker in test runner
2022-03-21 12:50:23 -05:00
Robert Sparks f15d0fa8e3
test: match changes to release/about
* chore: bring docker-compose to root level (#3642)

* test: match changes to release/about

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-03-19 16:06:38 +01:00
Robert Sparks efc87dc35b
test: match changes to release/about
* chore: bring docker-compose to root level (#3642)

* test: match changes to release/about

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2022-03-16 13:15:05 -05:00
Jennifer Richards 515dbedbc9
feat: bring bs5 branch up to date with changes on main (#3644)
* chore: bring docker dev init script up to date with bs5 branch (#3611)

* ci: only run codeql on schedule

* feat: shorten long agenda filter button labels (#3602)

Sessions with long names lead to poor rendering of the agenda filter buttons
on the 'customize the agenda view' page. This truncates those labels at 3 words.

* docs: Remove stale and incomplete information from the README (#3612)

* docs: Suggest cloning a fork rather than ietf-tools repo (#3614)

* docs: update README

* chore: add issue templates

* chore: update issue templates config

* chore: remove duplicate security issue link

* docs: point feature requests to discussions

* chore: add bug report form

* chore: remove bug report issue template

* chore: fix bug report form

* fix: point the api index page into Github instead of trac/svn

* chore: remove os + version + log fields from bug report form

* fix: point to GitHub for bug reports (#3625)

* fix: point to GitHub for bug reports

* fix: point report bug link to template chooser

* fix: point report bug link to template chooser (2)

Co-authored-by: Nicolas Giard <github@ngpixel.com>

* fix: remove stale explanation of status reports (#3628)

* fix: adjust about page to reflect move to GitHub. Normalize information level on page. (#3629)

* fix: remove anchor tag with empty href (#3630)

* fix: use same github issue URL on 500 error page as elsewhere (#3631)

* chore: update report-a-bug.yml form

* ci: fix __init__.py version quotes

* chore: bring docker-compose to root level (#3642) (#3643)

Authored-by: Nicolas Giard <github@ngpixel.com>

Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
Co-authored-by: Jim Fenton <fenton@bluepopcorn.net>
2022-03-15 10:29:33 -03:00
Robert Sparks 85d4ce748b
fix: adjust about page to reflect move to GitHub. Normalize information level on page. (#3629) 2022-03-11 17:22:44 -04:00
Robert Sparks 602d138fa2 Merged in [18997] from rjsparks@nostrum.com:
Changes to reflect repository moves.
 - Legacy-Id: 19006
Note: SVN reference [18997] has been migrated to Git commit ceb7121018f8dcb877c5777c487f6b49f49b70ed
2021-05-19 14:00:32 +00:00
Robert Sparks 3697180cc1 Reverted merge of timezone-aware migration efforts.
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz 774e752a54 Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz 9e43474612 Fixed an issue with the htmlization of links in release notes.
- Legacy-Id: 16820
2019-10-03 21:58:38 +00:00
Henrik Levkowetz 1efd28752c Added some caching to /release/ pages. With now more than 350 releases, the page response times had increased to typically 4s. Caching in view and template brought this down to ~160ms.
- Legacy-Id: 16744
2019-09-21 12:36:08 +00:00
Henrik Levkowetz 100aa3f35d Removed OBE page 'todo' under 'release'.
- Legacy-Id: 16711
2019-09-05 23:02:23 +00:00
Henrik Levkowetz 8c6eb3a30a Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
- Legacy-Id: 16458
2019-07-15 19:14:04 +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 d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
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