Lars Eggert
182158b5c0
fix: Also extract document names from XML seriesInfo attributes and XInclude URLs ( #5037 )
...
* fix: Also extract document names from XML seriesInfo attributes
The old code only looked in the anchor string for the document names of
references, which doesn't work if the anchor uses a mnemonic. This caused lots
of missed references for many documents.
* No need to import lxml anymore
* Add tests
* Handle xinclude to bibxml URLs
* Wrap line
* Apply suggestion from @rjsparks
* Undo erroneous additions
* Address suggestion from @rjsparks
2023-02-14 17:07:54 -06:00
Jennifer Richards
250692997e
test: SearchableField.has_changed() should handle non-list initial val ( #4965 )
2023-01-10 15:13:37 -06:00
Lars Eggert
6eabd4a3a1
chore: Use codespell
to fix typos in comments. ( #4794 )
...
First part of replacement of #4651
2022-11-28 10:36:36 -06:00
Jennifer Richards
9752fabf85
test: fix timezone_not_near_midnight not to use pytz ( #4678 )
2022-10-28 18:19:08 -03:00
Jennifer Richards
e290d9e499
test: avoid local times near midnight for test_past_swap_days_buttons() ( #4642 )
...
* test: avoid local times near midnight for test_past_swap_days_buttons()
* test: use timezone_options variable consistently
* test: add test of timezone_not_near_midnight() method
* fix: ensure that timezone_not_near_midnight() always exits
2022-10-26 09:42:50 -05:00
Robert Sparks
13ae0738bf
fix: test web manifest ( #4047 )
2022-06-02 11:10:11 -05:00
Robert Sparks
79bcc6448e
feat: redirect to release information at github ( #3746 )
...
* chore: remove unused import
* feat: redirect to release information at github.
2022-03-24 16:38:33 -04:00
Nicolas Giard
9a4505dc74
chore: remove svn/trac infrastructure ( #3649 ) ( #3739 )
...
* chore: Remove svn/trac related infrastructure
* chore: Remove more svn/trac infrastructure
* fix: remove commented out Trac requirement
2022-03-24 12:24:35 -05:00
Robert Sparks
9df659b06e
fix: better draft name validation. Fixes #3539 . ( #3671 )
2022-03-18 18:01:25 -05:00
Jennifer Richards
3d7b267a64
fix: only add page navigation panel to compatible templates
...
Only add right-hand page navigation panel to #content elements that have
the ietf-auto-nav class and test that the base template's DOM is compatible
with the panel.
2022-03-08 12:01:24 -04:00
Jennifer Richards
6c260a5b7e
Merge 7.45.1.dev0 into Bootstrap 5 update branch. Made a first pass at reconciling differences.
...
- Legacy-Id: 19945
2022-02-17 20:09:49 +00:00
Lars Eggert
bbf088e18b
Hopefully the final check-ins.
...
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00
Robert Sparks
dd66187362
Merged in [19895] from jennifer@painless-security.com:
...
Look at v2 'title' attribute in reference type heuristics for XML drafts. Related to #3529 .
- Legacy-Id: 19897
Note: SVN reference [19895] has been migrated to Git commit ea79fe0dcc183bc5cd8b27da67865c300b9dce4e
2022-01-31 16:54:14 +00:00
Jennifer Richards
cf62b46093
Find references from submitted XML instead of rendering to text and parsing. Fixes #3342 . Commit ready for merge.
...
- Legacy-Id: 19825
2022-01-07 17:53:23 +00:00
Lars Eggert
dedbc57855
Remove djangobwr and other bower-related things.
...
- Legacy-Id: 19575
2021-11-09 11:29:53 +00:00
Jennifer Richards
81d9234d54
Use temporary directories instead of "real" filesystem for tests. Fixes #3414 . Commit ready for merge.
...
- Legacy-Id: 19555
2021-11-05 19:45:57 +00:00
Kesara Rathnayake
0a645fd486
Parse RFC2047 formatted text properly in submission form. Fixes #2465 . Commit ready for merge.
...
- Legacy-Id: 19120
2021-06-14 10:46:35 +00:00
Robert Sparks
3697180cc1
Reverted merge of timezone-aware migration efforts.
...
- Legacy-Id: 18792
2021-01-12 16:54:20 +00:00
Henrik Levkowetz
774e752a54
Snapshot of timezone-aware datatracker code. Tests pass, and the test-crawler shows only expected differences. Trunk changes merged in up to r18768.
...
- Legacy-Id: 18770
2020-12-16 23:53:37 +00:00
Robert Sparks
2b10465aa7
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027 . Commit ready for merge.
...
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Henrik Levkowetz
f0baae3623
Made test parts that depends on yanglint conditional. Added some informational messages about tests skipped due to missing resources.
...
- Legacy-Id: 18255
2020-07-24 13:43:59 +00:00
Henrik Levkowetz
cb9006eb26
Changed skip messages from test suites to use print() instead of sys.stderr.write(), to match other output from the test runner.
...
- Legacy-Id: 18087
2020-06-27 17:32:02 +00:00
Henrik Levkowetz
5a2a255bcb
Added django urlconfig namespace support in ietf.utils.test.get_callbacks() (needed when testing the reverse lookups in templates for oidc_provider).
...
- Legacy-Id: 17917
2020-06-06 20:19:54 +00:00
Henrik Levkowetz
bc05e7a8d0
Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
...
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Henrik Levkowetz
726fcbf27d
Removed all __future__ imports.
...
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Henrik Levkowetz
ab173cb2eb
Removed further six usage: six.string_types, six.integer_types, six.moves.urllib instances.
...
- Legacy-Id: 17390
2020-03-05 20:46:58 +00:00
Henrik Levkowetz
33e8733b91
Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
...
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz
ad1821f63a
Enabled the wiki management command under py2
...
- Legacy-Id: 16471
2019-07-16 19:12:00 +00:00
Henrik Levkowetz
bdc73e771a
Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
...
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz
8c6eb3a30a
Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
...
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00
Henrik Levkowetz
0679eaa8d4
Removed unused imports.
...
- Legacy-Id: 16402
2019-07-04 21:06:57 +00:00
Henrik Levkowetz
f480799af9
Undid unintentional bulk commit
...
- Legacy-Id: 16401
2019-07-04 21:04:46 +00:00
Henrik Levkowetz
fc09a59950
Added decode() of command pipe output.
...
- Legacy-Id: 16400
2019-07-04 21:01:39 +00:00
Henrik Levkowetz
e39ac52071
Removed 2to3-generated list() around .items() iterator in for loops.
...
- Legacy-Id: 16315
2019-06-27 18:11:17 +00:00
Henrik Levkowetz
d7f5c84182
Initial 2to3 patch with added copyright statement updates.
...
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz
426870b766
Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
...
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz
815602351f
This is a series of 50 migrations that changes the Document and DocAlias
...
primary keys from character strings to integers, and makes corresponding code
changes.
This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.
Changing the primary keys to integers should also improve efficiency.
Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time. The total set of migrations are expected to have
a runtime on the order of 2 hours.
- Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz
ca1f3340c0
Changed a ReviewAssignmentDocEvent type from 'closed_review_request' to 'closed_review_assignment', for consistency and readability.
...
- Legacy-Id: 16181
2019-05-02 12:38:41 +00:00
Henrik Levkowetz
682ddee8e4
Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
...
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz
2b811b3d3d
Updated the tests to always use @ietf.org addresses where appropriate, and not do so when not appropriate. All test user login addresses have been changed away from @ietf.org.
...
- Legacy-Id: 15988
2019-03-04 20:08:48 +00:00
Robert Sparks
1e1d92aa0d
Simple tests of some log utilities. Commit ready for merge.
...
- Legacy-Id: 15846
2018-12-20 20:33:02 +00:00
Robert Sparks
a4f334195e
simple test of BowerStorageFinder. Commit ready for merge.
...
- Legacy-Id: 15845
2018-12-20 19:13:35 +00:00
Henrik Levkowetz
2397f97da3
Updated test_unicode() to work with the latest version of the unidecode lib.
...
- Legacy-Id: 15780
2018-11-20 16:08:51 +00:00
Henrik Levkowetz
1d604b7cd9
Another name test tweak
...
- Legacy-Id: 15773
2018-11-13 21:50:28 +00:00
Henrik Levkowetz
fad6311a13
Fixed a test problem.
...
- Legacy-Id: 15772
2018-11-13 21:12:25 +00:00
Henrik Levkowetz
d6caf615e0
Added testing of test_unidecode() and another name_parts() test case, and removed some debug.statements.
...
- Legacy-Id: 15771
2018-11-13 19:31:18 +00:00
Henrik Levkowetz
0735021d2b
Added a test for various name part combinations, and fixed a couple of issues with utils.name.name_parts().
...
- Legacy-Id: 15753
2018-11-11 15:12:20 +00:00
Henrik Levkowetz
ef3cbf4684
Merged in [15595] from rjsparks@nostrum.com:
...
Converted stats, submit, sync. and utils/test to use factories. Excluded utils/test_data from coverage checks.
- Legacy-Id: 15599
Note: SVN reference [15595] has been migrated to Git commit 39e76a836996ec9ed8ea449c92bdfae91c3dbaae
2018-10-19 12:54:58 +00:00
Henrik Levkowetz
4db4dd16b0
Merged in ^/personal/henrik/6.79.1-gdpr@15180 containing GDPR-adaptations.
...
- Legacy-Id: 15181
2018-05-28 11:26:24 +00:00
Robert Sparks
25e9893a13
Changed how the mail utilities handle lists in their override and extra arguments. Added a test for send_mail_preformatted exercising override and extra. Commit ready for merge.
...
- Legacy-Id: 15153
2018-05-22 15:38:04 +00:00