Commit graph

14141 commits

Author SHA1 Message Date
Robert Sparks b988850985
fix: avoid mutables as defaults. Compute date default arguments at runtime rather than loadtime. (#4144) 2022-07-06 14:39:36 -05:00
Lars Eggert 75bb797d9e
fix: Fix floorplan (#4160)
* fix: Fix the floorplan location highlighter

* Revert erroneous commit
2022-07-06 14:18:44 -05:00
Robert Sparks 087265118d
feat: csv export of nomcom volunteers. Fixes #4127. (#4146) 2022-07-06 14:13:41 -05:00
Lars Eggert 34b78aff94
fix: Rendering of email templates needs access to settings (#4163)
Since #4104.
2022-07-06 14:07:17 -05:00
Robert Sparks 0ba50999d9
feat: isolate py27 code interfacing with mailman from py39 code interfacing with django. (#4140)
* feat: isolate py27 code interfacing with mailman from py39 code interfacing with django.

* fix: improve memory footprint and remove unneeded import.

* fix: make new bin command executable.
2022-06-29 16:14:15 -05:00
Jennifer Richards ba7d468a4d
feat: show meeting requests beyond rg/wg groups (#4134)
* feat: show session requests for all "has_meetings" groups

* test: test changes to groups whose session requests are shown

Note the change in capitalization for the 'active' group state fixes
the test but does not seem to affect production (which I guess uses
case insensitive matching?)

* test: remove leftover debug statement

* feature: exclude admin/social sessions from meeting requests view

* test: test exclusion of admin/social sessions from meeting requests view

* feat: group all non-area groups as "other" on meeting requests page

* fix: prevent doubling of first section header

* test: verify that more of the sreqs are / are not linked
2022-06-29 09:49:33 -05:00
Robert Sparks aa8e4e6e5e
feat: use author-tools for idnits. (#4135) 2022-06-29 09:49:10 -05:00
Robert Sparks 7de5d93a5e
fix: remove duplicate / in login path. Fixes #4128. (#4129) 2022-06-28 11:00:30 -05:00
Jennifer Richards aac5cd808e
fix: display the agenda warning note more prominently (#4124) 2022-06-27 17:13:51 -05:00
Nicolas Giard 6f1d7e478e
ci: reduce lock threads workflow to daily schedule 2022-06-22 16:26:21 -04:00
Robert Sparks 10396d6f01
chore: remove more tools.ietf.org server only related things. (#4103)
* chore: remove more tools.ietf.org server only related things.

* chore: remove use of tools.ietf.org floorplans\n\nThe data will move into the FloorPlan models instead.
2022-06-22 14:11:46 -05:00
Jennifer Richards 7da2795565
fix: increase timeslot widths in editor so swap buttons fit (#4119) 2022-06-22 14:11:15 -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
Jennifer Richards 4f34c0478e
fix: Authorize interim session requests using data-driven group roles (#4120)
* fix: only use non-empty Q object as interim group filter

* refactor: add with_meetings queryset to GroupManager

* test: users can only request interims for managed groups

* fix: find managed groups from groupman_roles/authroles

* feat: let chair manage directorate groups

* test: remove debug statements and unused imports

* test: remove do-nothing code from test
2022-06-22 14:00:44 -05:00
Robert Sparks 1b95fdf58a
revert: use author-tools for idnits. (#4102) (#4116)
This reverts commit caf2227813.
2022-06-22 12:21:52 -05:00
Lars Eggert d06219388f
fix: Remove stray space from end of href (#4113)
This caused the testcrawl to fail, because the new icons were a 404. Also
fix some similar stray spaces in some other tags.
2022-06-22 12:00:54 -05:00
Lars Eggert cfa0886343
fix: Make the IPR search form work when enter is pressed (#4114) 2022-06-22 11:59:32 -05:00
Jennifer Richards c2fb5e5b66
fix: Group.used_roles overrides default_used_roles (#4118) 2022-06-22 11:17:48 -05:00
Robert Sparks eda494a299
fix: adjust migration leaves (#4109) 2022-06-21 16:04:17 -05:00
Robert Sparks 8b90ecd4aa
feat: add pronouns to Person and oidc claims. Fixes #4043. (#4059)
* feat: add pronouns

* fix: include migrations

* fix: correct daggers on person form.

* fix: clean pronouns

* feat: add choices to pronouns

* feat: show pronouns on public profile

* feat: add pronouns to oidc userinfo

* fix: move pronouns to new claim. Add tests.

* fix: improve html generated by new widget

* feat: use a MultiWidget for pronouns

* refactor: use two fields on Person for the two types of pronoun entry.

* chore: update copyrights
2022-06-21 15:02:02 -05:00
Lars Eggert 63d80bff4c
chore: Remove various unused template tags (#4101)
* chore: Remove various unused template tags

* Replace rfcnospace with parameterized prettystdname

* Use URL resolver

* Use the URL resolver more
2022-06-21 14:05:02 -05:00
Lars Eggert bbeb9aece7
fix: Various accumulated fixes (#4106)
This makes (more) sure the table sort chevron doesn't wrap, by removing trailing
whitespace from table headers.

It also fixes various whitespace nits related to buttonlists.
2022-06-21 13:00:41 -05:00
Jennifer Richards 9b629f6bc4
fix: link 'Save' button with form on secr rooms template (#4108) 2022-06-21 12:28:05 -05:00
Robert Sparks b3c39bebd8
fix: make the shedule editor fit better on laptop lenses and smaller external monitors. (#4107) 2022-06-21 11:43:35 -05:00
Robert Sparks caf2227813
feat: use author-tools for idnits. (#4102) 2022-06-20 17:38:40 -05:00
Nicolas Giard ef6c5b7f78
ci: update db nightly build schedule to 0800 UTC 2022-06-20 15:25:28 -04:00
Robert Sparks 07bfa68a75
feat: explicitly model session attendance (#4025)
* feat: add model to track session attendance

* feat: add model to track session attendance

* feat: add api to set session attendees

* fix: use user pk instead off person pk in the attended api.

* feat: calculate three of five from attended

* feat: management utility to populate Attended model history

* docs: document why nomcom calculations don't use Attended yet.

* fix: add migration to add new personalapikey endpoint to choices

* test: verify very old last login prevents api key use,

* chore: address review nits

* chore: comment on some idiosyncracies of the expected input to populate_attended

* fix: add unique_together constraint for the Attended model

* fix: correctly handle empty querysets passed to three_of_five_eligible functions.
2022-06-20 10:46:36 -05:00
Lars Eggert 86e548c952
chore: remove ietf/group/colors.py, which is unused (#4100)
* chore: remove ietf/group/colors.py, which is unused

* Rip out more
2022-06-20 10:31:20 -05:00
Lars Eggert 21c89e6dcc
chore: stop rsyncing old proceedings (#4099)
* chore: stop rsyncing old proceedings

* Even fewer things
2022-06-20 09:41:13 -05:00
rpcross 698f031b7f
feat: separate MeetingRegistration rows for each registration type. updates the registration API (#3641)
* Registration API Update

- change MeetingRegistration.reg_type field to hold only one type
- allow multiple MeetingRegistration records per person/meeting
  (one for each reg_type)

* Fix scope claims

* Add meeting 114 to MeetingRegistration migration

* fix: update stats views for MeetingRegistration model use changes

* refactor: remove unused imports
2022-06-16 15:39:34 -05:00
Nicolas Giard df27d0f3cf
ci: update lock threads workflow 2022-06-16 14:26:35 -04:00
Nicolas Giard 3252e75c49
ci: add auto closed issue/pr locking workflow 2022-06-16 14:23:21 -04:00
Lars Eggert 411b5f4747
fix: Fix some HTML validation errors that came in via #4035 (#4066)
* fix: Fix some HTML validation errors that came in via #4035

Also make validation errors display a bit better.

* content -> color for mask-icon (caught by @jennifer-richards; thanks)
2022-06-16 11:59:12 -05:00
Lars Eggert 8c769521f0
fix: rsync fewer files (#4089)
It's still super slow, however.
2022-06-16 11:45:04 -05:00
Robert Sparks f7ec783d7b
docs: update INSTALL to reflect finally leaving apache and remove cruft. (#4085) 2022-06-16 11:34:51 -05:00
Nicolas Giard e2034d43f7
ci: change build artifact name 2022-06-15 18:14:44 -04:00
Nicolas Giard ef21caf7bf
chore: remove full.Dockerfile poc 2022-06-15 16:02:47 -04:00
Nicolas Giard 58bb8cd72a
chore: remove full image build poc 2022-06-15 16:02:18 -04:00
Lars Eggert 01c73b8c7c
fix: Make attention indicators less subtle again (#4069)
* fix: Make attention indicators less subtle again

Fixes #4009

* Go back to per-action-holder badges, but make them smaller
2022-06-15 13:47:28 -05:00
Lars Eggert 6e97628a64
fix(ui): badge -> badge rounded-pill (#4076)
* ui: badge -> badge rounded-pill

To make badges look a little less like small buttons.

* Rip out copy&paste error
2022-06-15 13:43:49 -05:00
Lars Eggert 7fc601ee69
fix: Don't let the sort chevron wrap (#4075)
I couldn't figure out a way to not let it wrap *and* float it to the right,
however,

Fixes #4071
2022-06-14 17:37:06 -05:00
Nicolas Giard 083732557d
fix: skip assets volume in cleandb script + add confirm prompt to cleanall (#4038)
* fix: skip assets volume in cleandb script + add confirm prompt to cleanall

* fix: remove purge dangling images from cleanall script
2022-06-13 12:13:16 -05:00
Lars Eggert d0e6fd62cb
fix: Make document revisions in timeline clickable again (#4065)
Fixes #4064
2022-06-13 11:16:41 -05:00
Jennifer Richards 53dde975ec
fix: validate group type/acronym properly in admin. Fixes #4028. (#4070)
* fix: validate group type/acronym properly in admin

* chore: remove unused import
2022-06-13 11:14:26 -05:00
Lars Eggert 3d9310818b
fix: Don't allow sorting milestone by order if group doesn't use dates (#4074)
Fixes #4072
2022-06-13 11:08:23 -05:00
Lars Eggert 514944d24e
fix: Fix ballot icon overlapping document title (#4077) 2022-06-13 11:01:06 -05:00
Nicolas Giard 25c7c4801a
chore: fix rsync-extras script options + add quiet mode 2022-06-04 18:37:45 -04:00
Nicolas Giard d825a59e67
ci: build app image with full assets 2022-06-04 17:59:31 -04:00
Lars Eggert 7f4a6c19fb
fix: Fix some more underlined whitespace around links (#4053)
* fix: Fix some more underlined whitespace around links

* Another one

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-06-03 11:52:41 -05:00
Robert Sparks 7dfb645678
fix: improve how status is displayed for old draft versions. Fixes #3974. (#4055) 2022-06-03 11:45:01 -05:00