Commit graph

77 commits

Author SHA1 Message Date
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
Ole Laursen 42ade6273c Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen 36dd439027 Rewrite ifequal/endifequal template tags to if tags with ==/!=
- Legacy-Id: 6961
2013-12-17 10:42:34 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Markus Stenberg b60865b3c5 Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6614
2013-11-02 19:56:16 +00:00
Henrik Levkowetz a7838d8765 Cleanup action: replaced screaming html id with non-screaming version;
replaced the noTable block construct with start/end table_content blocks
in order to not have to open and close tables in different blocks, and
not have empty tables lying about.
 - Legacy-Id: 6439
2013-10-13 21:09:32 +00:00
Henrik Levkowetz 08e90fd63f Enabling jquery again in template base.html. Moving library pack jquery-1.8.2 from /static/js/ to /static/js/lib/. Replacing jquery-1.5.1 with 1.8.2 in some places; the incompatibilities listed on the jquery pages seem to be small, and on a cursory inspection not present in the current usage.
- Legacy-Id: 6342
2013-10-02 15:44:50 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Ole Laursen 2d902e28d1 Add stream edit page for setting delegates instead of page in
ietfworkflows, add streams_menu template tag for outputting the
streams menu instead of the one in ietfworkflows, move
base_wgmenu.html and base_leftmenu.html templates to base/ (together
with base/streams_menu.html), get rid of "first" madness in
base/left_menu.html which is now obsolete anyway because we have a
Settings headline which is always first
 - Legacy-Id: 6255
2013-09-24 17:25:10 +00:00
Ole Laursen e94d1df549 Clean up search views and remove dead code, port them to the new DB
schema, hack related views in iesg/ and wginfo/ to use the new search
interfaces, avoid camelCase in search GET parameters (with
backwards-compat fallback), add some simple search unit tests, remove
caching from views_search.py index pages as they're now pretty fast to
generate, rewrite ballot popup JS, regularize some CSS classes to use
hyphen-notation rather than camelCase, move some of the search
templates to doc/.

idrfc/ now mostly contains some wrapper code still in use by other
subdirs, some ported code not yet moved, and dead code.
 - Legacy-Id: 5611
2013-04-04 13:42:57 +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 2eb6e705c2 Added a link from the version information at the bottom of the left-side menubar to the /release/ page. Tweaked the release page.
- Legacy-Id: 4967
2012-10-30 14:19:02 +00:00