Commit graph

49 commits

Author SHA1 Message Date
Robert Sparks cb25831a2a
feat: total ids, pre-pubreq counts and pages left to ballot on on the AD dashboard (#7813)
* feat: Total ids on IESG dashboard

* IESG I-D code comments

* Using Robert's query forIESG dashboard total_ids

* Hiding columns in later IESG Dashboard tables

* Changing IESG dashboard var name to match column table

* Updating IESG pre_pubreqquery

* IESG dashboard prepub req safeParser and graphs

* IESG dashboard fixing Playwright API usage

* IESG dashboard fixing Playwright API usage (2)

* Updating .gitignore for /geckodriver.log

* IESG ad test title

* feat: pages left to ballot on [WIP]

* Adding geckodriver.log to gitignore

* [WIP] pages left to ballot on

* integrating pages left to ballot on WIP

* Tests for ad pages remaining

* Setting states to test ballot items

* refactor ad_pages_left_to_ballot_on count logic

* WIP tests for pages left to ballot on

* chore: remove whitespace change

* fix: look into the BallotPositionDocEventObject

* chore: remove prints

* fix: restructure test

* style: fix js code styling

* fix: only show graph for ADs/Secretariat

---------

Co-authored-by: Matthew Holloway <Matthew Holloway>
Co-authored-by: holloway <matthew@holloway.co.nz>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Matthew Holloway <matthew@staff.ietf.org>
2024-09-05 10:43:43 -05:00
Jennifer Richards cb70da9584
fix: Never show AD col on drafts_for_ad.html (#6914)
* fix: Pass ad as Person instead of name

* refactor: Remove redundant AD check

Results being shown are already filtered by AD if the `ad`
variable is not `None`

* refactor: Add show_ad... flag to prepare_document_table

* refactor: Expose show_ad_and_shepherd flag
2024-01-12 16:39:59 -06:00
Lars Eggert 9d5d9d5172
fix: replace deprecated bootstrap things (#5858)
* text-muted -> text-body-secondary

* navbar-dark is deprecated

* Remove FIXME block, not an issue anymore

* Remove `navbar-light`
2023-07-18 12:22:28 -05:00
Lars Eggert c09fd9dad2
chore: Use URL resolver in more places (#4104)
* chore: Use URL resolver more

* Use settings.IDTRACKER_BASE_URL

* More fixes

* Use URL resolver for things under /accounts

* Use URL resolver for things under /stream

* Use URL resolver for things under /iesg

* Use URL resolver for things under /meeting

* Fix bugs

* Use URL resolver for things under /help

* Use URL resolver for things under /ipr

* More changes

* Revert vnu.jar

* Fix typos

* Address review comments by @rjsparks

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-06-22 14:10:16 -05:00
Lars Eggert 9a24ee7e94
fix: Make AD position colors more noticeable (#4013)
* fix: Make AD position colors more noticeable

Also remove the striping of the table, which makes it easier to notice which
documents are missing a ballot.

* Make "yes" a bit darker

* Stripe the table for non-ADs
2022-05-24 09:51:34 -05:00
Lars Eggert cd9a2ee229
fix: Color the background of table rows for an AD based on their ballot (#3867)
Instead of just adding a colored bar on the right-hand side.
2022-04-22 11:05:37 -05:00
Lars Eggert 3234f1a121
test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
Lars Eggert 870fed030f
fix: More fixes for narrow screens (#3662)
* fix: More fixes for narrow screens

Need to keep checking for issues, there are more.

* Make columns more narrow on narrow screens

* More fixes

* More fixes

* Test fixes

* Fix more tests

* Close tbody
2022-03-24 12:40:48 -03: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
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00
Lars Eggert ed30521e14 Many more HTML fixes.
- Legacy-Id: 19908
2022-02-03 07:49:34 +00:00
Lars Eggert 335a39d4fc More fixes.
- Legacy-Id: 19884
2022-01-28 13:00:47 +00:00
Lars Eggert 373b5dbbf4 More fixes.
- Legacy-Id: 19827
2022-01-10 08:41:20 +00:00
Lars Eggert 9a21fca6c1 More bs5 templates
- Legacy-Id: 19715
2021-11-30 14:42:13 +00:00
Lars Eggert c65f68130a Finalize some bs5 templates
- Legacy-Id: 19714
2021-11-29 20:46:21 +00:00
Lars Eggert a189b51b30 More template changes.
- Legacy-Id: 19706
2021-11-24 13:15:11 +00:00
Lars Eggert a9738bc2b2 Many more changes related to tablesorter.
- Legacy-Id: 19702
2021-11-23 15:31:34 +00:00
Lars Eggert 021ba39712 Reindent all templates with djhtml
- Legacy-Id: 19610
2021-11-10 09:41:11 +00:00
Lars Eggert 726b29bf74 fontawesome -> bootstrap-icons
- Legacy-Id: 19608
2021-11-10 09:28:38 +00:00
Lars Eggert 94b12af9da btn-default -> btn-primary
- Legacy-Id: 19606
2021-11-10 07:54:58 +00:00
Lars Eggert e92441b2f3 Fix sorter-false
- Legacy-Id: 19594
2021-11-09 17:49:11 +00:00
Lars Eggert 6b15c3de95 Fix nav-tabs
- Legacy-Id: 19593
2021-11-09 17:20:28 +00:00
Lars Eggert 9cf29baf5b table-condensed -> table-sm
- Legacy-Id: 19589
2021-11-09 14:21:05 +00:00
Lars Eggert 39d500de8f tablesorter -> datatables
https://datatables.net/ has way more features and better support, and bootstrap5
styling.
 - Legacy-Id: 19587
2021-11-09 14:16:13 +00:00
Henrik Levkowetz 93e07f8650 Changed deprecated 'load staticfiles' to recommended 'load static'
- Legacy-Id: 18080
2020-06-27 13:51:19 +00:00
Henrik Levkowetz 675c652052 Additional changes to speed up the IESG agenda docs page: Changed telechat_page_count() to accept a list of documents if that's already been generated, to avoid double work. Changed the reviewed_by_teams list to provide acronyms directly, to avoid group lookups during template rendering. Provided page counts directly to the template instead of repeated (costly) filtering through telechat_page_count, with new document lookups. Removed the telechat_page_count template filter, due to its cost. Tweaked some lookups in fill_in_document_table_attributes() . Added to the select_related() list for documents in IESG agenda_documents().
- Legacy-Id: 14988
2018-04-01 18:51:48 +00:00
Henrik Levkowetz 8499beb010 Added a 'Recent documents' to the IESG pages.
- Legacy-Id: 14300
2017-11-04 12:36:13 +00:00
Henrik Levkowetz 5159349959 Added an IESG photo page. Replaced navigation pills with a navtab on the IESG pages.
- Legacy-Id: 11277
2016-06-05 09:55:59 +00:00
Henrik Levkowetz 382a4e7b2b Merged in [10631] from rjsparks@nostrum.com:
Add page counts to iesg/agenda/documents and to the edit telechat date form. Fixes #1772.
 - Legacy-Id: 10654
Note: SVN reference [10631] has been migrated to Git commit 8f5a692338
2016-01-12 18:20:28 +00:00
Henrik Levkowetz 9bf1ff01f1 Merged in [10621] from lars@netapp.com:
Use js tablesort almost everywhere I thought it would make sense. While I
touched the pages, I also corrected a few minor HTML nits, capitalization
inconsistencies and some other minor things.
Range r10605:r10621
 - Legacy-Id: 10647
Note: SVN reference [10621] has been migrated to Git commit 7d3c2681e2
2016-01-12 16:47:18 +00:00
Robert Sparks 8f5a692338 Add page counts to iesg/agenda/documents and to the edit telechat date form. Fixes #1772. Commit ready for merge.
- Legacy-Id: 10631
2016-01-04 22:49:17 +00:00
Henrik Levkowetz e367c9e4ea Merged in [9855] from lars@netapp.com:
Fix bugs in adding/removing documents to personal ID list.
 - Legacy-Id: 9866
Note: SVN reference [9855] has been migrated to Git commit 0293061c3f
2015-07-23 08:54:46 +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 edcaf46138 Color agenda/documents rows with position taken when viewing as an AD. Fixes bug #1679. Commit ready for merge.
- Legacy-Id: 9637
2015-05-13 18:00:09 +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 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 a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Ole Laursen b5458c29d3 Summary: Clean up some of the FACELIFT comments
- Legacy-Id: 8959
2015-02-03 16:18:42 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +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 10dceef26d Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen 0860342e34 Port /iesg/agenda/documents/ to new schema, fix problem with rows
being colored for ADs with their position even if a ballot icon is not
shown (issue #1128)
 - Legacy-Id: 6405
2013-10-10 10:31:28 +00:00
Robert Sparks 1cff6187f5 Put status changes on the agenda, moderator, and package pages
- Legacy-Id: 5331
2013-01-28 20:16:17 +00:00
Henrik Levkowetz 9f3cf38a71 Merged [4364] from rjsparks@nostrum.com:
Expose how many pages each document contains on the docs on future telechats page.
Fixes bug #828
 - Legacy-Id: 4383
Note: SVN reference [4364] has been migrated to Git commit b3c665287d
2012-05-04 11:57:35 +00:00
Henrik Levkowetz f29a8fb2c6 Merged [2945] from peter.musgrave@magorcorp.com:
Ticket 552: Add IPR column to IESG Telechat Agenda
 - Legacy-Id: 2953
Note: SVN reference [2945] has been migrated to Git commit 109799b334a45053d62251bbb5107350fc5f4c57
2011-03-26 14:32:41 +00:00
Henrik Levkowetz 79bb98d147 Change the title of IESG agenda section 3.3 as requested.
- Legacy-Id: 2650
2010-11-09 08:25:23 +00:00
Henrik Levkowetz d3292a84f0 Merged [2512] from rjsparks@nostrum.com: Fix for ticket #374 (all in base.js) and removal of a vestigial 'save all changes' button from the iesg/agenda/documents page.
- Legacy-Id: 2518
Note: SVN reference [2512] has been migrated to Git commit 6d7b72d96d2986e1634cd0c936260d095dec127b
2010-09-16 10:09:20 +00:00
Henrik Levkowetz 91d0c7efd7 IETF 78 Sprint code from Robert Sparks: provide a downloadable tarball of the documents on the IESG agenda of a given date.
- Legacy-Id: 2409
2010-07-24 15:23:45 +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