Henrik Levkowetz
0c573f20fe
Fixed a place where doc.save() was called instead of doc.save_with_history().
...
- Legacy-Id: 13844
2017-07-12 13:02:41 +00:00
Henrik Levkowetz
3b8277d99e
Fixed a pyflakes issue.
...
- Legacy-Id: 13842
2017-07-12 12:40:48 +00:00
Henrik Levkowetz
428038b838
Added a test for interim meeting agenda and minutes urls.
...
- Legacy-Id: 13841
2017-07-12 12:38:26 +00:00
Henrik Levkowetz
0de5e350c5
A bit of optimization of the /meeting/past/ view.
...
- Legacy-Id: 13839
2017-07-12 12:33:05 +00:00
Henrik Levkowetz
ccf6b516bc
Fixed a problem with loosing the outermost html element when massaging html agendas.
...
- Legacy-Id: 13838
2017-07-12 11:05:53 +00:00
Henrik Levkowetz
2937bb0789
Added back session minutes urlpattern for interim meetings.
...
- Legacy-Id: 13837
2017-07-12 08:09:49 +00:00
Henrik Levkowetz
d2395f9521
Merged in [13832] from rjsparks@nostrum.com:
...
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so.
- Legacy-Id: 13836
Note: SVN reference [13832] has been migrated to Git commit 2c92aa213d
2017-07-11 21:57:01 +00:00
Henrik Levkowetz
1ba4350a05
Corrected code for [13834], handling minutes and other non-agenda meeting urls correctly.
...
- Legacy-Id: 13835
Note: SVN reference [13834] has been migrated to Git commit aba3861b0b
2017-07-11 21:40:15 +00:00
Henrik Levkowetz
aba3861b0b
Use a datatracker internal url for session agendas and minutes, to avoid X-Frame-Options SAMEORIGIN preventing agenda display in frames.
...
- Legacy-Id: 13834
2017-07-11 21:01:57 +00:00
Robert Sparks
2c92aa213d
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
...
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Henrik Levkowetz
082528134b
Merged in [13830] from rjsparks@nostrum.com:
...
Show all the sessions for area groups in the proceedings. Fixes #2265 . Should be patched into production.
- Legacy-Id: 13831
Note: SVN reference [13830] has been migrated to Git commit 68d70aaeb2
2017-07-11 18:33:56 +00:00
Robert Sparks
68d70aaeb2
Show all the sessions for area groups in the proceedings. Fixes #2265 . Commit ready for merge. Should be patched into production.
...
- Legacy-Id: 13830
2017-07-11 18:13:16 +00:00
Henrik Levkowetz
95ddc35eae
Added wiki creation for groups in state 'bof'
...
- Legacy-Id: 13829
2017-07-11 16:06:00 +00:00
Henrik Levkowetz
2c39de61ab
Replaced the local copy of the draft/rfc htmlization code with rfc2html as installed modeule.
...
- Legacy-Id: 13827
2017-07-11 13:52:08 +00:00
Henrik Levkowetz
f8f7815060
Added a slide abstract [Edit] button on slide document pages also for empty abstracts, to provide the ability to add abstracts.
...
- Legacy-Id: 13825
2017-07-10 21:46:21 +00:00
Henrik Levkowetz
fa49287cfa
Added a mock of urllib2.urlopen for another test which uses finalize(meeting) in order to prevent external http accesses when running tests.
...
- Legacy-Id: 13824
2017-07-10 20:30:55 +00:00
Henrik Levkowetz
f0317b3cff
Added another surname particle.
...
- Legacy-Id: 13823
2017-07-10 20:08:33 +00:00
Henrik Levkowetz
eceed7476d
Added the html_report switch setting to the test runner object.
...
- Legacy-Id: 13822
2017-07-09 18:10:51 +00:00
Henrik Levkowetz
ca921fe45d
Added a switch to control generation of the code coverage html report, which now defaults to false. The report can be generated post-testing with "coverage html -d static/coverage/".
...
- Legacy-Id: 13821
2017-07-09 16:50:38 +00:00
Henrik Levkowetz
900174ae57
Added log.unreachable() calls to some functions believed to be unused.
...
- Legacy-Id: 13818
2017-07-09 15:01:21 +00:00
Henrik Levkowetz
d26c7085c6
Added code coverage settings and configuration to ignore debug-related lines of code.
...
- Legacy-Id: 13817
2017-07-09 15:00:22 +00:00
Henrik Levkowetz
24ce4c176c
Set version info and settings back to development mode
...
- Legacy-Id: 13791
2017-07-08 10:09:39 +00:00
Henrik Levkowetz
bba07777ad
Set version info to release version 6.55.3 before branching.
...
- Legacy-Id: 13789
2017-07-08 10:09:31 +00:00
Henrik Levkowetz
cb9e98af97
Updated bower-managed static web assets
...
- Legacy-Id: 13786
2017-07-08 09:53:45 +00:00
Henrik Levkowetz
d481019803
Added reverse relationships from drafts to submissions to submission checks to the Json API, to make it easier to find the yang checks for a given document.
...
- Legacy-Id: 13785
2017-07-07 12:55:30 +00:00
Henrik Levkowetz
c69d09e29c
Reduced the number of non-functional URL patterns for interim meetings. Can easily be expanded as needed.
...
- Legacy-Id: 13784
2017-07-06 19:11:07 +00:00
Henrik Levkowetz
b4e2081009
Added a log assertion for calls to can_manage_group_type.
...
- Legacy-Id: 13782
2017-07-06 13:59:00 +00:00
Henrik Levkowetz
6c2331a34e
Added test cases for ADs and IRTF Chair for the chartering buttons on /group/chartering.
...
- Legacy-Id: 13781
2017-07-06 13:57:52 +00:00
Henrik Levkowetz
9e5db7ce5c
Make sure that factory groups have a type.
...
- Legacy-Id: 13780
2017-07-06 13:56:59 +00:00
Henrik Levkowetz
b97d45f5ba
Call can_manage_group_type() with the right information. Fixes an issue with chartering buttons not being visible for ADs.
...
- Legacy-Id: 13778
2017-07-06 10:56:08 +00:00
Henrik Levkowetz
c5b52ae91e
Merged in [13775] from rcross@amsl.com:
...
Refactor session edit page. Add button to cancel a session, which sets the status. Fixes #2296 .
- Legacy-Id: 13776
Note: SVN reference [13775] has been migrated to Git commit 9ac9493a70
2017-07-05 21:35:59 +00:00
Ryan Cross
9ac9493a70
Refactor session edit page. Add button to cancel a session, which sets the status. Fixes #2296 . Commit ready for merge.
...
- Legacy-Id: 13775
2017-07-05 20:23:10 +00:00
Henrik Levkowetz
811e9ff8c5
Set an url for the server_error page, for testing.
...
- Legacy-Id: 13772
2017-07-03 21:42:08 +00:00
Henrik Levkowetz
25e833444c
Added a check for duplicate Yang model names after xym extraction. This prevents running pyang and yanglint on one module, moving it to the module libs, and then failing to run the checks on a second module with the same name, because the file has been moved after the first check.
...
- Legacy-Id: 13770
2017-07-03 21:24:19 +00:00
Henrik Levkowetz
1063a749fc
Linked to the submission status page from the submission confirmation page, in case people want to look at the text or xml which will be posted.
...
- Legacy-Id: 13769
2017-07-03 21:22:18 +00:00
Henrik Levkowetz
27bf51cbb9
Removed some test code which isn't useful with tastypie 0.14.0
...
- Legacy-Id: 13768
2017-07-03 21:20:36 +00:00
Henrik Levkowetz
bf0aec8e89
Updated template exclusion setting.
...
- Legacy-Id: 13767
2017-07-03 21:19:28 +00:00
Henrik Levkowetz
42b1a41227
Added the new format '4' to the list of recognized formats in the coverage_changes management command.
...
- Legacy-Id: 13766
2017-07-03 21:18:46 +00:00
Henrik Levkowetz
97a5ed1f6c
Added a test to verify that we can load the 500 page template
...
- Legacy-Id: 13765
2017-07-03 21:17:45 +00:00
Henrik Levkowetz
e9b82e3425
Tastypie 0.14.0 does not support the callback parameter as earlier; disable the tests for this as we don't use it anyway.
...
- Legacy-Id: 13764
2017-07-03 17:38:33 +00:00
Henrik Levkowetz
fde4843389
On request from a user, added information about running idnits before submission upload to the upload form page.
...
- Legacy-Id: 13762
2017-07-03 14:05:11 +00:00
Henrik Levkowetz
fb88596c59
Fixed an issue with the scope of the logfunc variable in production.
...
- Legacy-Id: 13761
2017-07-03 14:03:53 +00:00
Henrik Levkowetz
08f0338555
Tweaked the wording of the unexpected-encoding warning.
...
- Legacy-Id: 13760
2017-07-03 11:38:03 +00:00
Henrik Levkowetz
274548f1b1
Check the whole draft submission text when checking mime type, and catch decoding errors and raise ValidationError when converting submission form txt file to unicode for Draft().
...
- Legacy-Id: 13759
2017-07-02 21:32:44 +00:00
Henrik Levkowetz
4b28605774
Set version info and settings back to development mode
...
- Legacy-Id: 13749
2017-07-01 10:49:49 +00:00
Henrik Levkowetz
f50b8fb403
Set version info to release version 6.55.2 before branching.
...
- Legacy-Id: 13747
2017-07-01 10:49:39 +00:00
Henrik Levkowetz
b8e11e7f71
Added a migration matching the new validator on Email.address.
...
- Legacy-Id: 13744
2017-07-01 10:26:49 +00:00
Henrik Levkowetz
108c00a0a3
Merged in [13731] from rjsparks@nostrum.com:
...
Reworked how review assigments are processed in order to ensure a team's queue rotates when it should. Fixes #2305 .
- Legacy-Id: 13743
Note: SVN reference [13731] has been migrated to Git commit 7f5cef056ade1641f1d815b0a5f35962077d6d01
2017-06-30 20:16:22 +00:00
Henrik Levkowetz
9415d65341
Merged in [13727] from rcross@amsl.com:
...
Remove legacy external interim meeting listing. Install redirect to /meeting/past. Fixes #2166 .
- Legacy-Id: 13742
Note: SVN reference [13727] has been migrated to Git commit 7d244c9a38
2017-06-30 18:36:10 +00:00
Henrik Levkowetz
7e1b09410c
Upgraded xym to 0.4.2, with related changes in method calls.
...
- Legacy-Id: 13741
2017-06-30 15:59:40 +00:00
Henrik Levkowetz
ad3701e457
Fixed an issue with the test_edit_replace_user() test
...
- Legacy-Id: 13740
2017-06-30 11:49:18 +00:00
Henrik Levkowetz
70830e8705
Added email address validation for the Email.address field, now that we're not putting dummy addresses in it.
...
- Legacy-Id: 13739
2017-06-30 11:48:03 +00:00
Henrik Levkowetz
0d120fb46a
Tweaked the EmailFactory to return an email address not longer than the Email.address field.
...
- Legacy-Id: 13738
2017-06-30 11:47:12 +00:00
Henrik Levkowetz
db96292229
Added a utility function to show just the text content of the test client response.
...
- Legacy-Id: 13737
2017-06-30 11:45:24 +00:00
Henrik Levkowetz
60e9b7451c
Included the temporary yang model extraction directory in the list of model librarires given to yanglint, in order to support drafts with models referencing models in the same draft. Fixes issue #2324 .
...
- Legacy-Id: 13736
2017-06-29 21:03:26 +00:00
Henrik Levkowetz
ade8973015
Merged in [13726] from rcross@amsl.com:
...
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 .
- Legacy-Id: 13735
Note: SVN reference [13726] has been migrated to Git commit a251076903
2017-06-29 20:39:52 +00:00
Henrik Levkowetz
c4954e13b1
Added more test objects in test_merge_users(), and fixed an issue with merge_users() uncovered by the added testing.
...
- Legacy-Id: 13730
2017-06-29 14:53:00 +00:00
Henrik Levkowetz
22a9a46608
Merged in [13718] from rcross@amsl.com:
...
Improve User merge handling in merge_persons(). Fix minor bug in submit.checkers.py. Fixes #1900 .
- Legacy-Id: 13729
Note: SVN reference [13718] has been migrated to Git commit 7768e7c6b3
2017-06-29 13:18:52 +00:00
Henrik Levkowetz
3c727106a2
Merged in [13717] from rjsparks@nostrum.com:
...
Actually use the topic audience type in the feedback view. Fixes #2320 .
- Legacy-Id: 13728
Note: SVN reference [13717] has been migrated to Git commit 9638cb2e397beab18f3607b324518fd2900215f7
2017-06-29 12:52:25 +00:00
Ryan Cross
7d244c9a38
Remove legacy external interim meeting listing. Install redirect to /meeting/past. Fixes #2166 . Commit ready for merge.
...
- Legacy-Id: 13727
2017-06-29 00:09:36 +00:00
Ryan Cross
a251076903
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 . Commit ready for merge.
...
- Legacy-Id: 13726
2017-06-28 20:43:28 +00:00
Henrik Levkowetz
22f181cdbe
Modified the text shown on Chairs' 'Manage DOcument Adoption in Group' button and corrected the logic for which text to show.
...
- Legacy-Id: 13725
2017-06-28 17:39:11 +00:00
Henrik Levkowetz
2070bbfed6
Merged in [13722] and [13712] from rcross@amsl.com:
...
Remove all use of request.session from secretariat apps. Add tests for affected views. Fixes #1455 .
- Legacy-Id: 13724
Note: SVN reference [13712] has been migrated to Git commit 915b445bcffcd4687fb1677230b98282d22dd9a0
Note: SVN reference [13722] has been migrated to Git commit 3a2cb9d3d846168f75d9796b4e5383bdf10b1f60
2017-06-28 14:55:10 +00:00
Henrik Levkowetz
3b7f320c29
Removed the copy of xym copied directly from repository -- the method call we use is too unstable at the moment. Now requiring xym=='0.4'.
...
- Legacy-Id: 13723
2017-06-28 11:53:09 +00:00
Henrik Levkowetz
6cd18d6324
Merged in [13628] from rcross@amsl.com:
...
Grant secretariat meeting__meeting admin permissions.
- Legacy-Id: 13721
Note: SVN reference [13628] has been migrated to Git commit fd60ce6868
2017-06-27 15:58:56 +00:00
Henrik Levkowetz
8c0f4f09b6
Added checks for the presence of yang module directories to the check framework. Tweaked some text strings.
...
- Legacy-Id: 13720
2017-06-27 14:41:36 +00:00
Henrik Levkowetz
13905a2a84
Modified the yang checker to work with both versions 0.3.x and 0.4.x of xym (different signatures for get_extracted_models()).
...
- Legacy-Id: 13719
2017-06-27 11:37:56 +00:00
Ryan Cross
7768e7c6b3
Improve User merge handling in merge_persons(). Fix minor bug in submit.checkers.py. Fixes #1900 . Commit ready for merge.
...
- Legacy-Id: 13718
2017-06-26 23:13:58 +00:00
Henrik Levkowetz
3fa1addde7
Removed the 'apply to all sessions' checkbox from the agenda/minutes/slides upload pages for non-session timeslots, such as plenaries etc. as it is rarely if ever correct to have it checked then.
...
- Legacy-Id: 13715
2017-06-26 18:28:34 +00:00
Henrik Levkowetz
9f44b9a65d
Additional tweaks to the mailman listinfo importer.
...
- Legacy-Id: 13710
2017-06-22 16:41:27 +00:00
Henrik Levkowetz
ce1b655fa2
Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
...
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz
c28b919e26
Made the import_mailman_listinfo management command somewhat more robust.
...
- Legacy-Id: 13708
2017-06-22 15:16:28 +00:00
Henrik Levkowetz
8eded1d8d2
Return a checker None result with exception message on xym exceptions.
...
- Legacy-Id: 13707
2017-06-22 15:08:01 +00:00
Henrik Levkowetz
f6f0278859
Changed the url coverage code to handle deeper chains of url includes, and to handle url includes through url lists in addition to url modules. Added information in the release coverage dictionaries about the view functions coupled to the urls.
...
- Legacy-Id: 13706
2017-06-22 15:07:06 +00:00
Henrik Levkowetz
70de94fc48
Variable naming tweak
...
- Legacy-Id: 13701
2017-06-21 13:12:19 +00:00
Henrik Levkowetz
768ca0b45e
Catch bad module names in the Yang checker (they are not currently flagged by xym).
...
- Legacy-Id: 13700
2017-06-21 13:10:05 +00:00
Henrik Levkowetz
95f966c98b
Changed the implementation of Submission.latest_checks() to also return None checks, so it's possible to update a Passed due to no yang modules to a None (no modules to check).
...
- Legacy-Id: 13698
2017-06-20 21:05:48 +00:00
Henrik Levkowetz
5e80e00aea
Corrected the settings names used in the yang extraction command.
...
- Legacy-Id: 13695
2017-06-20 14:06:42 +00:00
Henrik Levkowetz
4d562e9bac
Set version info and settings back to development mode
...
- Legacy-Id: 13693
2017-06-20 13:43:46 +00:00
Henrik Levkowetz
4ef411285e
Set version info to release version 6.55.1 before branching.
...
- Legacy-Id: 13691
2017-06-20 13:43:38 +00:00
Henrik Levkowetz
6dc0c2f46c
Updated bower-managed static web assets
...
- Legacy-Id: 13688
2017-06-20 13:22:41 +00:00
Henrik Levkowetz
dcc1bca058
Added assertion logging for found group parent loops to is_decendant_of().
...
- Legacy-Id: 13687
2017-06-20 13:18:33 +00:00
Henrik Levkowetz
e87e3eb661
Added circular parent relationship detection in the Group.is_decendant_of() method and in the group edit form data cleaning.
...
- Legacy-Id: 13686
2017-06-19 23:34:52 +00:00
Henrik Levkowetz
508bf15c6c
Work around an issue in xml2rfc
...
- Legacy-Id: 13682
2017-06-19 19:02:42 +00:00
Henrik Levkowetz
afc37cc207
Added a guard around rendering of group.ad_role, which isn't always set.
...
- Legacy-Id: 13681
2017-06-19 18:16:39 +00:00
Henrik Levkowetz
5e6ecfbaf5
Refined the appearance and wording of the 'Manage document's adoption' button.
...
- Legacy-Id: 13680
2017-06-19 18:09:33 +00:00
Henrik Levkowetz
e4fc7f0055
Fixed a typo.
...
- Legacy-Id: 13679
2017-06-19 07:25:26 +00:00
Henrik Levkowetz
b42f1cbeb5
Replaced the use of unaccent.asciify(), which has similar functionality to unidecode.unidecode(). Changed the draft parser to work exclusively with unicode text, which both makes the removal of unaccent easier, and takes us closer to Py35 compatibility. Adjusted callers of the draft parser to send in unicode.
...
- Legacy-Id: 13673
2017-06-18 18:23:18 +00:00
Henrik Levkowetz
be80e68b47
Corrected the spelling of norwegian words in unaccent.py
...
- Legacy-Id: 13671
2017-06-18 09:33:51 +00:00
Henrik Levkowetz
7e68623c90
Additional tweaks to the surname particle handling.
...
- Legacy-Id: 13670
2017-06-18 03:22:52 +00:00
Henrik Levkowetz
f1f32b41ae
Additional tweaks to the surname particle handling.
...
- Legacy-Id: 13669
2017-06-18 03:20:49 +00:00
Henrik Levkowetz
228a68348f
Don't deliver spurious yang extraction errors for drafts where no yang modules were found.
...
- Legacy-Id: 13668
2017-06-17 20:54:52 +00:00
Henrik Levkowetz
a18cf20868
Removed code which has been marked as unreachable since February/March 2017 without triggering any usage indications.
...
- Legacy-Id: 13667
2017-06-17 17:54:40 +00:00
Henrik Levkowetz
7dd596ecd6
Undid the last commit, made in error.
...
- Legacy-Id: 13666
2017-06-17 17:08:55 +00:00
Henrik Levkowetz
db9ceb3f45
Changed mentions of people with roles on the various group pages to link to both their profile page and their email address.
...
- Legacy-Id: 13665
2017-06-17 17:07:23 +00:00
Henrik Levkowetz
e6c8b6621c
Changed mentions of people with roles on the various group pages to link to both their profile page and their email address.
...
- Legacy-Id: 13664
2017-06-17 17:05:38 +00:00
Henrik Levkowetz
bb089c182d
Improved the handling of surname particles, (prompted by failure to handle the name of Niels ten Oever correctly)
...
- Legacy-Id: 13663
2017-06-17 15:12:54 +00:00
Henrik Levkowetz
1905d25aee
Made changes to the can_adopt_draft() logic, to make it possible for a chair of multiple groups to correct the mistake if adoption was made for the wrong group.
...
- Legacy-Id: 13662
2017-06-17 14:28:13 +00:00
Henrik Levkowetz
7ecf7dfa44
Merged in [13615] and [13627]from rcross@amsl.com:
...
Changed views that use GET requests to delete objects to use POST.
Fixes #1796 .
- Legacy-Id: 13654
Note: SVN reference [13615] has been migrated to Git commit 3ccb550888
Note: SVN reference [13627] has been migrated to Git commit b908caf95c
2017-06-16 14:20:01 +00:00
Henrik Levkowetz
34a2352288
Make sure wordwrap() and friend works as intended if they are used as template filters and given string arguments.
...
- Legacy-Id: 13653
2017-06-16 13:15:02 +00:00