Commit graph

88 commits

Author SHA1 Message Date
Henrik Levkowetz d84b06fa02 Be more specific with bootstrap's layout classes for small devices in the base template, to avoid the bottom links and footer overlaying the bottom of the content area. Fixes a problem with entering login information on small devices.
- Legacy-Id: 15002
2018-04-02 21:06:30 +00:00
Henrik Levkowetz 7f45745af9 Fixed the base template to have id='content' for the content also when not showing the left-hand menu.
- Legacy-Id: 14911
2018-03-24 17:53:37 +00:00
Henrik Levkowetz ad022f42d4 Changed the default setting for the datatracker left-hand menu to 'off'. The top menu is always present, and works well.
- Legacy-Id: 14909
2018-03-24 15:30:51 +00:00
Henrik Levkowetz 152261a869 Added new infrastructure for personal API keys, to generate, view, and delete them.
- Legacy-Id: 14423
2017-12-14 14:30:59 +00:00
Henrik Levkowetz ce1b655fa2 Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz c445611904 Replaced old unworkable email addesss in the 404 page with the current bugreport address, now configured in settings.py.
- Legacy-Id: 13224
2017-04-15 12:34:50 +00:00
Henrik Levkowetz 814e1315b5 Added a new document tab for some documents, showing htmlized drafts and RFCs
using the htmlization code previously developed for tools.ietf.org.  As the
generation of the htmlized page is a bit too costly to do on the fly for
often-referenced drafts and RFCs, the part of each page which contains the
htmlized document is cached on file with a cache time of 2 weeks.

Changed all links which pointed to the htmlized version on tools to instead
point at the datatracker htmlized document.

Tweaked some URLs which didn't permit retrieval of intermediate-rev-charters.

Narrowed the pattern for document names to disallow dots in names, and
instead explicitly enumerated the few historical draftw with dots in the
name.

Added a file-system cache for the htmlized documents, and specified a
max_entries value for caches, overriding the default 300 entries.

Tweaked the code for new author email entries to provide a time if missing
in an updated entry.

Changed links in various email templates which pointed at tools.ietf.org
pages to instead point at datatracker pages, where appropriate.

Changed the search result rows to provide links to both the current meta-
information document pages (with a (i) info symbol) and to the new htmlized
document pages.
 - Legacy-Id: 13040
2017-03-20 14:08:52 +00:00
Henrik Levkowetz e724ed9cdd Make the default navbar colour match the production navbar, rather than the dev navbar. Gives 500 errors in production a regular navbar, rather than a dev navbar.
- Legacy-Id: 12996
2017-03-12 12:11:06 +00:00
Henrik Levkowetz e48b5c99c3 Added a link to report bugs by email to the page footer.
- Legacy-Id: 12987
2017-03-08 15:04:37 +00:00
Henrik Levkowetz 5f053ad21a Cleaned up the remaining explicit url names, using dotted-paths to view
functions instead.  In all almost 700 changes.
 - Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz aeede944d1 Added Django and Python version information to the page footer.
- Legacy-Id: 12822
2017-02-11 23:43:18 +00:00
Henrik Levkowetz c236357b4f Ensure we're including the tablesorter css and js in debug mode, since we're using tablesorter for the sql_queries table.
- Legacy-Id: 12090
2016-10-05 15:50:51 +00:00
Robert Sparks 214b81991e Further tweaks to rendering messages from the messaging framework. Commit ready for merge.
- Legacy-Id: 10809
2016-02-09 19:56:26 +00:00
Robert Sparks c3e81c179b Some tweaks to handle rendering django messaging framework messages a little better. Commit ready to merge.
- Legacy-Id: 10804
2016-02-08 22:09:50 +00:00
Henrik Levkowetz 6c8629c4a9 Merged in [10629] from rjsparks@nostrum.com:
This set of changes focuses on improvements to the nomcom portion of
    the datatracker. 

    These changes:

    - Simplify the nomcom form for comments. Make it more obvious who
      receives mail when a comment is supplied. Fixes #1849.

    - Simplify the nomcom form for nominations. Provide a primary workflow
      where nominations choose an existing Person, and a secondary
      workflow for nominating new people. 

    - Allow nominees to add a comment when accepting or declining a
      nomination. Fixes #1845.

    - Organize the list of nominees on the feedback page. Fixes #1786 and
      #1809.

    - Simplify the mechanisms used to display feedback message counts.

    - Regroup the feedback view to make it easier to see where to spend
      review effort. Fixes #1866.

    - Capture when nomcom members last reviewed feedback for a given
      nominee. Add badges when new feedback is avaliable. Improve the
      layout of the feedback index page. Fixes #1850.

    - Reorganize the tab navigation on the nomcom private pages. Made it
      more obvious when the chair is doing something that only the chair
      gets to see. Fixes #1788 and #1795.

    - Regroup multiselect options to make classifying pending feedback
      simpler. Make the control larger and resizable. Fixes #1495.

    - Simplify the chair's views for editing nominee records. Replace the
      merge nominee form with a request to the secretariat to merge Person
      records. Fixes #1847. 

    - Added merging nominees to the secretariat's persson merging script. 

    - Show information for concluded nomcoms. Close feedback and
      nomination for concluded nomcoms. Fixes #1856.

    - Improve the questionnaire templates, reminding the nominee that
      receiving the questionnaire does not imply they have accepted a
      nomination. Fixes #1807.

    - Remove the description field from Postion. Simplify the Position
      list and the Position edit form. Make the nomcom pages more self
      documenting. Add a page to help nomcom chiars through setting up a
      new nomcom. Fixes #1867 and #1768.

    - Remove the type from the template pathname for the requirements
      templates. Make the requirements views work for both types plain and
      rst. Changed the default type for new nomcom requirement templates
      to rst.

    - Remove 'incumbent' from the models. Fixes #1771.

    - Adjust the models for Nominee and Nomination to better associate
      Nominee objects with Person objects.

    - Remove BaseNomcomForm and the implementation of custom fieldsets.

    - Replace the custom message framework with the django provided
      messages framework.

    - Improve SearchablePersonField to show the primary email address for
      any search result where a name appears more than once.

    - Add the use of factory-boy for generating test data. Normalize
      management of a test directory for test nomcom public keys.
      Significantly improve test coverage of the nomcom related code.
 - Legacy-Id: 10703
Note: SVN reference [10629] has been migrated to Git commit c8bbfbad78
2016-01-15 21:59:49 +00:00
Robert Sparks 85c13d65b4 Replaced the custom message infrastructure in the nomcom app with django.contrib.messages
- Legacy-Id: 10618
2015-12-21 20:46:56 +00:00
Lars Eggert 73ad12560a Manage html5shiv and respond.js locally via bower, rather than relying on the
CDN. Commit ready for merge.
 - Legacy-Id: 10536
2015-12-03 08:57:52 +00:00
Henrik Levkowetz 8ead04ea01 Use an eyecatching symbol to indicate bug-reporting, starting out very large, with the intention of reducing the size as people get used to it.
- Legacy-Id: 10132
2015-10-02 15:48:13 +00:00
Henrik Levkowetz 766e367aca Merged in [9968] from lars@netapp.com:
Fix HTML nit.
 - Legacy-Id: 10015
Note: SVN reference [9968] has been migrated to Git commit 93c38844109d07415684ece41740d377e694aa9c
2015-08-13 09:05:24 +00:00
Henrik Levkowetz 9cb8f65c8e Updated templates to use the static template tag for static files.
- Legacy-Id: 9945
2015-08-01 14:53:59 +00:00
Henrik Levkowetz 9c80868187 Placed stock bootstrap (which we don't use, but bower pulls in as a dependency) and our customized bootstrap in different directories, to avoid confusion.
- Legacy-Id: 9905
2015-07-28 09:54:47 +00:00
Henrik Levkowetz 6605c03f83 Moved our generated bootstrap and bootstrap-theme css files to the CDN area.
- Legacy-Id: 9903
2015-07-27 20:34:25 +00:00
Henrik Levkowetz 54aac4e12a Updated templates to use the 'static' template tag to dynamically point to the correct static files location.
- Legacy-Id: 9889
2015-07-26 18:15:24 +00:00
Henrik Levkowetz 5d8306cfc8 Merged in [9733] from lars@netapp.com:
First round of HTML fixes identified by test-crawl --vnu.
 - Legacy-Id: 9764
Note: SVN reference [9733] has been migrated to Git commit 205df716f8bf4b7dae9e2637f3aa1ba048a158f9
2015-07-18 08:55:30 +00:00
Robert Sparks 8ab624b735 Remove the messages-framework output loop from the base page footer. Fixes #1735. Commit ready for merge.
- Legacy-Id: 9698
2015-06-30 17:54:08 +00:00
Henrik Levkowetz 074a46fca0 Fixed incorrect output of unmatched <div/> closing elements, left after [9643].
- Legacy-Id: 9644
Note: SVN reference [9643] has been migrated to Git commit b768dbbc9a
2015-05-22 20:08:19 +00:00
Henrik Levkowetz b768dbbc9a Added a preference to not display the left-hand menubar. Addresses issues #1659 and #1663.
- Legacy-Id: 9643
2015-05-22 20:03:11 +00:00
Henrik Levkowetz 0d08fff0ac Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9555
2015-04-24 21:45:04 +00:00
Henrik Levkowetz ec0321e0da Added copyright lines and template origin to the html templates. Fixed a number of instances of html that didn't validate.
- Legacy-Id: 9551
2015-04-24 20:40:01 +00:00
Henrik Levkowetz c1b86d9ae2 Merged in [9525] from lars@netapp.com:
Make the menu bar search field appear on slightly smaller screen widths.
 - Legacy-Id: 9540
Note: SVN reference [9525] has been migrated to Git commit 651477699b
2015-04-21 21:02:43 +00:00
Henrik Levkowetz 6deac8e06e Merged in [9524] from lars@netapp.com:
Add some shim js libraries for IE8 and earlier
(see http://getbootstrap.com/getting-started/#template)
Fix HTML structural errors in the template.
Wrap some HTML comments into Django comments, so they don't get sent to the
client.
 - Legacy-Id: 9539
Note: SVN reference [9524] has been migrated to Git commit 6f2e9f7c25
2015-04-21 20:28:13 +00:00
Lars Eggert 651477699b Make the menu bar search field appear on slightly smaller screen widths.
- Legacy-Id: 9525
2015-04-20 08:20:40 +00:00
Lars Eggert 6f2e9f7c25 Add some shim js libraries for IE8 and earlier
(see http://getbootstrap.com/getting-started/#template)

Fix HTML structural errors in the template.

Wrap some HTML comments into Django comments, so they don't get sent to the
client.
 - Legacy-Id: 9524
2015-04-20 07:41:21 +00:00
Henrik Levkowetz e843516043 Removed typogrify, which is not in use any more.
- Legacy-Id: 9522
2015-04-17 20:38:09 +00:00
Henrik Levkowetz 66b46ef636 Provided a different shortcut icon for the datatracker when run in development or test mode. Fixes issue #1667.
- Legacy-Id: 9504
2015-04-15 14:43:15 +00:00
Henrik Levkowetz 4e2ee83079 Fixed typo in font stylesheet link elements.
- Legacy-Id: 9490
2015-04-14 14:36:48 +00:00
Henrik Levkowetz d2eb460054 Replaced google-served fonts with self-hosted ones.
- Legacy-Id: 9485
2015-04-14 00:06:12 +00:00
Henrik Levkowetz 576e29e4e6 Turned the dev mode navbar back to red. Added a small IETF logo with transparent background for the navbar, instead of using two with dedicated colour-background.
- Legacy-Id: 9468
2015-04-12 20:27:45 +00:00
Henrik Levkowetz d8350a86bd Footer tweaks.
- Legacy-Id: 9461
2015-04-12 12:19:10 +00:00
Henrik Levkowetz cbc7c7cedf Footer style tweaks.
- Legacy-Id: 9459
2015-04-12 12:10:32 +00:00
Henrik Levkowetz 627ea11ae3 Changed 'Search documents' to 'Document Search' in various places.
- Legacy-Id: 9457
2015-04-12 11:29:00 +00:00
Henrik Levkowetz d4bd6c3775 Renamed the base template file from 'ietf.html' to 'base.html'.
- Legacy-Id: 9427
2015-04-08 19:16:48 +00:00
Ole Laursen 8c8ec56df2 Summary: Remove now unused old base templates
- Legacy-Id: 8953
2015-02-02 17:14:10 +00:00
Henrik Levkowetz be842a6c1f Added a meta tag to the base template, to specify a page character set.
- Legacy-Id: 8125
2014-07-19 17:18:18 +00:00
Henrik Levkowetz 8e9545e23e Tweaked the base template to give a http login link in development mode, instead of relying on the debug setting, which requires a correct INTERNAL_IP setting, too.
- Legacy-Id: 8012
2014-07-02 07:03:34 +00:00
Henrik Levkowetz bfa77959e5 We're now showing the login link with a http:// scheme instead of https:// when in debug mode, in order to be able to log in when using 'python manage.py runserver', which only supports http.
- Legacy-Id: 7636
2014-04-24 22:04:52 +00:00
Henrik Levkowetz 53b49d7777 Link the name of a logged-in user to his profile page. Application of patch from production.
- Legacy-Id: 7629
2014-04-22 21:38:43 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz 721b9a5cd7 Login/logout style tweaks.
- Legacy-Id: 7537
2014-03-23 19:18:02 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00