Commit graph

1830 commits

Author SHA1 Message Date
Ole Laursen 63d96e0354 Summary: Get rid of submit_initial_charter hack, only create a charter
when a first revision has actually been submitted.
 - Legacy-Id: 10136
2015-10-06 15:14:31 +00:00
Ole Laursen f496f4caeb Summary: Make sure edit IESG state link doesn't show up on expired drafts
- Legacy-Id: 10135
2015-10-05 10:03:07 +00:00
Ole Laursen a9dc82f09b Summary: Replace /liaison/managers/ link with a direct link to the
www.ietf.org page for the time being. It appears to have been handled
through a redirect outside the Django code since 2009, and it confuses
the crawler.

There should be enough information in the database to integrate this
inside the Django code, so in the future it might make sense to move
the link back.
 - Legacy-Id: 10134
2015-10-05 09:11:01 +00:00
Ole Laursen 40308d429b Summary: Make sure liaison edit page is using full URL to attachments
to not confuse the crawler, and make all liaison pages use the setting
from settings instead of hardcoding it
 - Legacy-Id: 10125
2015-10-02 12:15:57 +00:00
Ole Laursen d40e838dd8 Summary: Only show change IESG state link when the view allows it to
be changed
 - Legacy-Id: 10122
2015-10-02 08:30:23 +00:00
Ole Laursen 08500ec743 Summary: Don't show edit buttons on snapshots of previous document revisions
- Legacy-Id: 10121
2015-10-02 08:24:02 +00:00
Ole Laursen 6f044eea08 Summary: Move definition of document names and group acronyms to
settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to
make sure that all URL patterns agree on what constitutes a name
 - Legacy-Id: 10114
2015-10-01 14:16:16 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Henrik Levkowetz 8d43d9144f Template tweak.
- Legacy-Id: 10046
2015-08-23 19:28:28 +00:00
Henrik Levkowetz 3af7309179 Conditionally added the release note title to the release page log block.
- Legacy-Id: 10045
2015-08-23 19:25:51 +00:00
Henrik Levkowetz ab1f80ec3e Removed the agenda.csv template, which isn't used any more.
- Legacy-Id: 10041
2015-08-23 19:04:56 +00:00
Henrik Levkowetz f6c78bcecb Merged in [10004] from rjsparks@nostrum.com:
Return new forms instead of validated forms for nomcom nominations and feedback. Fixes #1703.
 - Legacy-Id: 10037
Note: SVN reference [10004] has been migrated to Git commit 1517efaba2
2015-08-22 18:00:16 +00:00
Henrik Levkowetz 0449ebcdfa Merged in [10002] from rjsparks@nostrum.com:
Add a checkbox to the nomination form to indicate permission to nomcom to share the nominator's name with the nominee.
 - Legacy-Id: 10023
Note: SVN reference [10002] has been migrated to Git commit bcc14cb0d1
2015-08-18 15:39:12 +00:00
Henrik Levkowetz 0712276737 Merged in [9989] from rjsparks@nostrum.com:
Restore color bands to the email-alias page.
 - Legacy-Id: 10022
Note: SVN reference [9989] has been migrated to Git commit 7fef69daa5
2015-08-18 15:25:04 +00:00
Henrik Levkowetz e58db5bf59 Merged in [9969] from lars@netapp.com:
Fix HTML error.
 - Legacy-Id: 10021
Note: SVN reference [9969] has been migrated to Git commit 39da058d7682b1940e30be38c6eb9020ad446b73
2015-08-18 14:36:27 +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 ed8ece2155 Merged in [9967] from lars@netapp.com:
Fix HTML bug.
 - Legacy-Id: 10014
Note: SVN reference [9967] has been migrated to Git commit d58ecd61c91e2bddbcb6bd9dcbde436ab92b8628
2015-08-13 08:27:25 +00:00
Henrik Levkowetz 127f4069d0 Merged in [9966] from lars@netapp.com:
Fix HTML bug.
 - Legacy-Id: 10013
Note: SVN reference [9966] has been migrated to Git commit 01ffcd458271e6af3da706bd7db55053c439624b
2015-08-12 20:30:50 +00:00
Henrik Levkowetz 09cecfdab3 Fixed the day-of-week agenda links to not pull the agenda up so high that the start of the day is obscured by the top navbar.
- Legacy-Id: 10006
2015-08-10 19:47:42 +00:00
Henrik Levkowetz fb66c1856f Merged in [9669] from olau@iola.dk:
Summary: Make the meeting agenda code use the historic info available
for groups. In the process, added some select_related/prefetch_related
code to cut the number of database queries in the agenda down from
4000-5000 to about 50. Rewritten agenda CSV code to use Python arrays
rather than a template for improved readability/reuse. Rewritten week
view to assemble its data in Python. Plus a few other minor cleanups,
e.g. lame_description is now gone.
Fixes #1088. Branch
 - Legacy-Id: 10005
Note: SVN reference [9669] has been migrated to Git commit acda84208d
2015-08-10 19:46:11 +00:00
Robert Sparks 71a198c112 Remove spurious parenthesis from the template for viewing nomcom feedback. Commit ready for merge.
- Legacy-Id: 10003
2015-08-10 17:59:04 +00:00
Robert Sparks bcc14cb0d1 Add a checkbox to the nomination form to indicate permission to nomcom to share the nominator's name with the nominee. Commit ready for merge.
- Legacy-Id: 10002
2015-08-10 17:57:38 +00:00
Robert Sparks 7fef69daa5 Restore color bands to the email-alias page. Commit ready for merge.
- Legacy-Id: 9989
2015-08-07 20:35:43 +00:00
Henrik Levkowetz 16d7f8e031 Merged in changes which make CDN serving of static files easy, adds bower management of external static files, and transitions the datatracker to use django's staticfiles framework.
- Legacy-Id: 9976
2015-08-06 09:54:43 +00:00
Henrik Levkowetz b26efc82f5 Merged in [9962] from rjsparks@nostrum.com:
Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable).
 - Legacy-Id: 9963
Note: SVN reference [9962] has been migrated to Git commit 56f31cf083
2015-08-03 18:22:10 +00:00
Robert Sparks 56f31cf083 Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable). Commit ready for merge.
- Legacy-Id: 9962
2015-08-03 15:56:42 +00:00
Henrik Levkowetz 11411d2c30 Merged in an update from trunk@9942.
- Legacy-Id: 9961
2015-08-03 14:12:38 +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 fae9066c9d Merged in [9925] from rjsparks@nostrum.com:
Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759.
 - Legacy-Id: 9931
Note: SVN reference [9925] has been migrated to Git commit cd5b497acb
2015-08-01 10:23:58 +00:00
Henrik Levkowetz 17b100ec51 Merged in [9924] from rjsparks@nostrum.com:
Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.
Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.
Improves testing, primarily of group/info.py
 - Legacy-Id: 9930
Note: SVN reference [9924] has been migrated to Git commit 461af5af19
2015-08-01 10:12:40 +00:00
Robert Sparks cd5b497acb Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759. Commit ready for merge.
- Legacy-Id: 9925
2015-07-30 22:13:59 +00:00
Robert Sparks 461af5af19 Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.

Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.

Improves testing, primarily of group/info.py 

Commit ready for merge.
 - Legacy-Id: 9924
2015-07-30 21:51:38 +00:00
Henrik Levkowetz fb79c8a22c Updated the meta-data error message to say 'errors ... below' instead of 'errors ... above', to match the relative placement of text and error indications.
- Legacy-Id: 9921
2015-07-30 18:22:28 +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 75a46fc2a8 Merged in [9861] from lars@netapp.com:
The concluded groups also show RGs now, rename menu item.
 - Legacy-Id: 9873
Note: SVN reference [9861] has been migrated to Git commit 93ff41d337
2015-07-23 12:20:26 +00:00
Henrik Levkowetz c7601b72b0 Merged in [9860] from lars@netapp.com:
Rename menu item, because the page now shows chartering WGs and RGs.
 - Legacy-Id: 9872
Note: SVN reference [9860] has been migrated to Git commit 84cc9fe18e
2015-07-23 12:19:27 +00:00
Henrik Levkowetz 7616b991f6 Merged in [9854] from lars@netapp.com:
Make metadata table consistent with others.
 - Legacy-Id: 9871
Note: SVN reference [9854] has been migrated to Git commit 491e6a61ef
2015-07-23 12:17:46 +00:00
Henrik Levkowetz a80c58f932 Merged in [9857] from lars@netapp.com:
Apply more of the styling from the current meta tables.
 - Legacy-Id: 9868
Note: SVN reference [9857] has been migrated to Git commit dcccd9c863
2015-07-23 09:57:33 +00:00
Henrik Levkowetz 69a3c5dea4 Merged in [9856] from lars@netapp.com:
Style the metadata tables for groups, documents, etc. like Henrik prefers.
 - Legacy-Id: 9867
Note: SVN reference [9856] has been migrated to Git commit 9133b9469e
2015-07-23 09:55:56 +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 615a12485c Merged in [9852] from lars@netapp.com:
Fix display of AD and shepherd names, and also fix the respective mailto: links.
 - Legacy-Id: 9865
Note: SVN reference [9852] has been migrated to Git commit 573496df73
2015-07-23 08:25:02 +00:00
Henrik Levkowetz 3540c1bedc Merged in [9851] from lars@netapp.com:
Fix the logic, so that if there are no matches and we don't want a warning
saying that, there is also no empty table being produced.
 - Legacy-Id: 9864
Note: SVN reference [9851] has been migrated to Git commit 7a8c6d714c
2015-07-23 08:21:25 +00:00
Henrik Levkowetz ba762e4356 Merged in [9850] from lars@netapp.com:
Move state length notification after RFC Editor status (looks better).
 - Legacy-Id: 9863
Note: SVN reference [9850] has been migrated to Git commit 60cec8481d
2015-07-23 08:20:04 +00:00
Lars Eggert 93ff41d337 The concluded groups also show RGs now, rename menu item.
Commit ready for merge.
 - Legacy-Id: 9861
2015-07-23 07:44:51 +00:00
Lars Eggert 84cc9fe18e Rename menu item, because the page now shows chartering WGs and RGs.
Commit ready for merge.
 - Legacy-Id: 9860
2015-07-23 07:23:31 +00:00
Henrik Levkowetz da893dad1c Merged in support of xml-source only drafts submissions from personal/henrik/submitxml/.
- Legacy-Id: 9859
2015-07-22 21:53:23 +00:00
Henrik Levkowetz d5f36911cf Added support of xml-source only drafts submissions.
- Legacy-Id: 9858
2015-07-22 21:35:44 +00:00
Lars Eggert dcccd9c863 Apply more of the styling from the current meta tables.
Commit ready for merge.
 - Legacy-Id: 9857
2015-07-22 14:31:01 +00:00