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
Ryan Cross
9d6fc63581
Fixes #1678 . MultipleObjectsReturned when editing draft. Commit ready for merge.
...
- Legacy-Id: 9558
2015-04-24 22:46:49 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Ryan Cross
9c9ac7ea3a
Fix pyflakes errors in secr/drafts/tests_views.py. Commit ready for merge
...
- Legacy-Id: 9308
2015-03-21 20:36:28 +00:00
Ryan Cross
34a16483fa
Improve test coverage of secr.drafts. Commit ready for merge.
...
- Legacy-Id: 9307
2015-03-21 20:26:53 +00:00
Henrik Levkowetz
86997e1e95
Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
...
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Henrik Levkowetz
298adf3e20
Added 4 new fields to the meeting class, to hold draft submission cutoff information for the meeting. On request, changed the presentation of the cutoff times to show the last submission time, rather than the beginning of the cutoff time. Changed the cutoff hour format to support full timedelta information, not just a given hour (this was necessary in order to be able to set the requested 23:59:59 submission stop time).
...
- Legacy-Id: 9107
2015-02-21 20:48:29 +00:00
Ole Laursen
4087a9837f
End help_texts with period consistently - the default error rendering in the bootstrap3 library depends on it
...
- Legacy-Id: 8940
2015-01-28 13:25:21 +00:00
Ole Laursen
d0999c8b5e
Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
...
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Ole Laursen
cebc979282
Summary: Resolve person/email/document multiselect issue by importing
...
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
- Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Ryan Cross
097b936ca8
Remove secauth middleware. Replace with role_required decorators. Commit ready for merge
...
- Legacy-Id: 8624
2014-11-09 02:32:41 +00:00
Ole Laursen
92e5694ed3
Revamp the AutocompletedEmailsField API a bit to allow for an AutocompletedPersonsField
...
- Legacy-Id: 8282
2014-08-18 13:55:43 +00:00
Ole Laursen
7b36280070
Rename EmailsField to AutocompletedEmailsField and add a singular
...
AutocompletedEmailField that cleans to a single Email to make it
easier to use with ModelForms
- Legacy-Id: 8280
2014-08-18 11:50:04 +00:00
Ole Laursen
9e9ec98206
Moved EmailsField from person.forms to person.fields
...
- Legacy-Id: 8269
2014-08-14 08:03:11 +00:00
Ole Laursen
f291a466d7
Change Document.shepherd to point to the email address rather than the
...
person, add migration to fix the existing shepherds, fix wording and
max entries on change shepherd page to be more self-explanatory
- Legacy-Id: 8268
2014-08-13 11:40:01 +00:00
Henrik Levkowetz
e11180e073
Changed the get_meeting import in ietf.secr.drafts.views to get it from where it's actually located.
...
- Legacy-Id: 7642
2014-04-25 13:28:48 +00:00
Henrik Levkowetz
9ce5280229
Applied a patch from rcross@amsl.com, which fixes a problem associated with the recent Secretariat auth changes and the not-so-ideal use of sessions in the sec code.
...
- Legacy-Id: 7594
2014-04-12 18:05:00 +00:00
Henrik Levkowetz
b02b0a96df
All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
...
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz
02031a01b9
Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
...
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz
498777ad24
Made ietf/secr/{drafts,roles,ipradmin} pyflakes-clean.
...
- Legacy-Id: 7482
2014-03-15 22:06:48 +00:00
Henrik Levkowetz
dfd9b98de8
Reapplied merge of [7209], which although listed in svn:mergeinfo on . actually doesn't seem to have made it into the repository.
...
- Legacy-Id: 7265
Note: SVN reference [7209] has been migrated to Git commit 8d56e458d9
2014-02-19 14:53:45 +00:00
Henrik Levkowetz
6e97c2c8da
Merged in the port from Django 1.2 to Django 1.6 from olau@iola.dk: branch/iola/djangoport@7121, and fixed some merge issues.
...
- Legacy-Id: 7152
2014-01-18 21:02:40 +00:00
Henrik Levkowetz
b68bedce30
Merged in [7009] from rcross@amsl.com: removed references to old models for shim removal release.
...
- Legacy-Id: 7020
Note: SVN reference [7009] has been migrated to Git commit cf81cce650
2013-12-19 17:17:58 +00:00
Ryan Cross
cf81cce650
remove references to old models for shim removal release. ready for merge
...
- Legacy-Id: 7009
2013-12-19 04:52:33 +00:00
Ole Laursen
23725f781c
Port secr/drafts/report_id_activity.py away from setup_environ too
...
- Legacy-Id: 6988
2013-12-18 16:02:04 +00:00
Ole Laursen
e54bd17499
Port from django.core.management.setup_environ to DJANGO_SETTINGS_MODULE
...
- Legacy-Id: 6985
2013-12-18 15:51:11 +00:00
Ole Laursen
7f277a8fbb
Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
...
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen
d1782297ab
assertEquals -> assertEqual in tests, the former is deprecated
...
- Legacy-Id: 6964
2013-12-17 12:52:24 +00:00
Ole Laursen
d66ac15fc2
Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
...
take advantage of the redirect shortcut (introduced in Django 1.1)
- Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen
6a98fec2c3
Use built-in json module in Python instead of simplejson bundled with Django
...
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen
cfa0d47ca0
Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
...
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen
78d9bfff24
Move send_scheduled_announcement functionality to messages/utils.py
...
- Legacy-Id: 6768
2013-11-28 13:05:51 +00:00
Ole Laursen
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen
ecf68dbb05
Revamp and clean up submit models:
...
- Rename IdSubmissionDetail to Submission
- Rename various submission fields to correspond to the conventions in
the new schema
- Use a name model for the states instead of IdSubmissionStatus
- Drop the TempIdAuthor model which is based on splitting up author
names
- Add a simple textual SubmissionEvent for tracking events in the
lifetime of a submission
- Delete a bunch of obsolete fields
- Make sure all submission have an access key so we can depend on it
- Add state for when approval is needed from previous authors
A couple of migrations take care of transforming the
IdSubmissionDetail and moving data over/cleaning it up.
Also revamp the submit view code:
- Make form code do validation/cleaning only so there's a clear
separation of concerns
- Reduce uses of inheritance that made the code hard to follow -
forms now don't inherit from each other, views don't call each other
but instead reuse common utilities, templates share CSS/utilities
instead of relying on inheritance
- Move email rendering/sending to separate file
- Drop the in-grown terminology use (auto post vs. manual posts)
- Make the status page explain who is emailed for what purpose
- Add history table with recorded events
- Make the status page handle its post actions by itself instead of
duplicating most of the setup logic in a number of simple views
- Fix a couple of minor bugs and handle some edge cases better
- Expand tests with a couple of more cases
Possibly the submit tool could still use more help text added to
explain the process, ideally what's explained in the tool instructions
page should be inlined or self-evident.
- Legacy-Id: 6714
2013-11-15 13:30:32 +00:00
Ole Laursen
e0be9bcb95
Remove unused and bitrotten get_authors_email
...
- Legacy-Id: 6711
2013-11-15 12:50:24 +00:00
Ole Laursen
e6b0ef4323
Fix spelling error in validation
...
- Legacy-Id: 6709
2013-11-15 11:04:12 +00:00
Ryan Cross
dbff28dbb2
change draft replace action: move document to archive directory
...
- Legacy-Id: 6643
2013-11-03 01:38:23 +00:00
Henrik Levkowetz
e4f4467725
Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
...
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Ole Laursen
c191a691e0
Remove "names" fixture from all tests, since it's now loaded once just
...
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
- Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Henrik Levkowetz
d8074d39d3
Merged the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149.
...
- Legacy-Id: 6168
2013-09-18 19:33:36 +00:00
Ryan Cross
d19fe19ce0
add Standardization Level to drafts view/edit
...
- Legacy-Id: 5804
2013-06-24 23:30:30 +00:00
Ryan Cross
f04d424e6a
fix bug with draft edit if no substate set
...
- Legacy-Id: 5567
2013-03-13 20:23:29 +00:00
Ryan Cross
e4cbf9a45d
fix bug where DocEvent record created when editing draft data did not have a description
...
- Legacy-Id: 5539
2013-03-09 23:38:42 +00:00
Henrik Levkowetz
7e67b40a87
Merged in branch/amsl/trunkmerge@5449 from rcross@amsl.com, with some tweaks. This provides the secretariat apps.
...
- Legacy-Id: 5482
2013-03-05 22:43:31 +00:00
Ryan Cross
c32aee9874
add basic tests
...
- Legacy-Id: 5437
2013-02-21 00:41:04 +00:00
Ryan Cross
1f3ca71362
add apps
...
- Legacy-Id: 5430
2013-02-15 18:10:38 +00:00