Commit graph

126 commits

Author SHA1 Message Date
Henrik Levkowetz 97973959ba Changed requirements to permit pyang 2.0 and greater.
- Legacy-Id: 16663
2019-08-20 19:52:04 +00:00
Henrik Levkowetz 2b1dd0f3e8 Merged in [16590] from rjsparks@nostrum.com:
Example of using webtest. The full testcase was not converted because the add_rule form is modified in-flight by javascript when a control value is changed.
 - Legacy-Id: 16609
Note: SVN reference [16590] has been migrated to Git commit e89f200abc0d9af7609e4bff3592f87eddee1359
2019-08-01 15:09:51 +00:00
Henrik Levkowetz 0170657cf1 Disallowed a broken version of docutils
- Legacy-Id: 16572
2019-07-21 21:25:23 +00:00
Henrik Levkowetz 1cc7929999 Restored Trac to the requirements list, for installation under Py2
- Legacy-Id: 16567
2019-07-21 14:39:50 +00:00
Henrik Levkowetz fae97ed7d9 Merged in ^/personal/henrik/6.98.2-py3@16468, containing code converted to work with both Python-2.7 and Python-3.7.
- Legacy-Id: 16470
2019-07-16 18:01: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 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 a204081a67 Added a requirement on django-form-utils
- Legacy-Id: 16339
2019-06-30 20:46:30 +00:00
Henrik Levkowetz bafcc55d05 Removed anora from installed apps, and changed PEM key to bytes instead of str.
- Legacy-Id: 16319
2019-06-28 13:30:18 +00:00
Henrik Levkowetz d8ac01dd42 Removed anora from installed apps, and changed PEM key to bytes instead of str.
- Legacy-Id: 16318
2019-06-28 13:29:56 +00:00
Henrik Levkowetz 1615f46fb5 Requirements after py3 first pass.
- Legacy-Id: 16308
2019-06-27 12:24:48 +00:00
Henrik Levkowetz ac0430c596 Removed the requirement 'django-feature-policy', as it's not available for py27/django1.x.
- Legacy-Id: 16165
2019-04-25 14:47:36 +00:00
Henrik Levkowetz 255a815378 Added some HTTP header settings for better security. Brings results at https://securityheaders.com/ up to 'A'.
- Legacy-Id: 16142
2019-04-10 15:30:18 +00:00
Henrik Levkowetz 57a4c9f41f Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Henrik Levkowetz 39769a0811 Bumped the minimum version requirement on django-simple-history; HistoricalChanges which we now use was introduced with 2.3.0.
- Legacy-Id: 15834
2018-12-19 07:43:55 +00:00
Henrik Levkowetz a1fd1675c9 Disallowed additional bleach versions.
- Legacy-Id: 15569
2018-10-13 22:19:31 +00:00
Henrik Levkowetz fb1baefcc1 Bleach 3.0.0 has a bug that can result in exceptions for some inputs. Bug report filed. Disallow this version.
- Legacy-Id: 15546
2018-10-09 15:08:40 +00:00
Robert Sparks 54d484493c Add CORS headers for the api and views that serve json. Fixes #2546, #2551, and #2552. Commit ready for merge.
- Legacy-Id: 15448
2018-09-11 20:04:35 +00:00
Henrik Levkowetz a2e0794d91 Added a requirement of oauth2client, needed by google-api-python-client but not always automatically pulled in.
- Legacy-Id: 15200
2018-06-01 14:31:05 +00:00
Henrik Levkowetz c7d31b44c3 Added django-simple-history and replaced the old (and unused) PersonHistory class with a history=HistoricalRecords() field on Person. Added the needed migrations and changes to admin, resources, and settings. Related to issues #2505 and #2507.
- Legacy-Id: 15096
2018-04-27 17:36:20 +00:00
Henrik Levkowetz 2bb5788a76 Updated minimum requirements for bootstrap3, to work with django 1.11
- Legacy-Id: 15019
2018-04-06 13:55:50 +00:00
Henrik Levkowetz 7d4cb5be59 Found additional pip versions that are broken. Limiting pip to 9.0.1 for now.
- Legacy-Id: 15003
2018-04-04 13:10:46 +00:00
Henrik Levkowetz f47e5ccf81 Updated requirement for decorator
- Legacy-Id: 14991
2018-04-02 09:24:24 +00:00
Henrik Levkowetz 207cf47243 There seems to be issues with pip 9.0.2 and 9.0.3; they seem to leave dross when down- and upgrading packages.
- Legacy-Id: 14949
2018-03-27 06:14:56 +00:00
Henrik Levkowetz 94415ecd0d Updated minimum requirements
- Legacy-Id: 14748
2018-03-08 19:13:50 +00:00
Henrik Levkowetz df5c3af747 Changed the minimum version requirement on six, to match the needs of html5lib.
- Legacy-Id: 14742
2018-03-07 13:28:38 +00:00
Henrik Levkowetz 2828683cee Replaced html sanitization code that called html5lib directly with calls to bleach, and upgraded the requirements to let us use the latest html5lib and bleach.
- Legacy-Id: 14739
2018-03-06 18:35:34 +00:00
Henrik Levkowetz daabfcd9bb Updated the requirement on the xml2rfc version.
- Legacy-Id: 14700
2018-02-26 01:21:59 +00:00
Henrik Levkowetz 37c9fbd28e Cleared up an unresolved merge conflict.
- Legacy-Id: 14698
2018-02-25 21:30:40 +00:00
Henrik Levkowetz 1ed8e967e7 Merged in ^/personal/henrik/6.72.1-django-1.11@14676: Upgrade to Django 1.11
- Legacy-Id: 14695
2018-02-25 19:55:16 +00:00
Henrik Levkowetz 8b6a71c804 Updated requirements.txt
- Legacy-Id: 14673
2018-02-22 00:12:38 +00:00
Henrik Levkowetz f5cf9a2854 Changed requirements to Django 1.11
- Legacy-Id: 14659
2018-02-20 15:28:46 +00:00
Henrik Levkowetz 885532dd2a Updated version requirement for bibtexparser.
- Legacy-Id: 14656
2018-02-19 17:07:09 +00:00
Henrik Levkowetz 21ddb22f26 bibtexparser v1.0 doesn't work under python 2.7. Bug filed: https://github.com/sciunto-org/python-bibtexparser/issues/191. Disallowing version 1.0 in requirements.txt.
- Legacy-Id: 14648
2018-02-16 14:19:08 +00:00
Henrik Levkowetz 4f4e26a602 Added a missing indirect dependency on PyOpenSSL (via urllib3) to requirements.txt, to work around a broken dependency chain.
- Legacy-Id: 14636
2018-02-10 14:25:17 +00:00
Henrik Levkowetz d2441c7921 Excluded versions of the Faker lib that produces names of type string instead of unicode for locale ro_RO, to avoid warnings from unidecode during testing.
- Legacy-Id: 14534
2018-01-17 19:24:38 +00:00
Henrik Levkowetz 4d282cd99d Limit selenium<3.8.1 because of phantomjs deprecation from that point on.
- Legacy-Id: 14489
2018-01-09 13:41:59 +00:00
Henrik Levkowetz 099ba8922e Added a requirement for the patch module.
- Legacy-Id: 14475
2017-12-30 00:45:20 +00:00
Henrik Levkowetz bfb9365cc0 Updated the requirements for factory boy (it must be a version which has a factory.random module)
- Legacy-Id: 14318
2017-11-07 15:20:36 +00:00
Henrik Levkowetz 526003fd26 Added a brief REST API info page. In preparation for signing http notifications using RFC 7515, added information about API signing public/private keypair. Refactored api views to reside in api/views.py. Added jwcrypto to requirements.
- Legacy-Id: 14294
2017-11-03 16:17:00 +00:00
Henrik Levkowetz d61b1c7adc Increased the minimum pyflakes version; at least 0.9.2 is needed to deal correctly with the global declaration list in meeting migration 0056.
- Legacy-Id: 14001
2017-07-29 10:46:32 +00:00
Henrik Levkowetz dfe6f4c643 django-bootstrap3 9.0.0 breaks compatibility with 8.x.y; disallow 9.0.0 and higher till we can rewrite.
- Legacy-Id: 13833
2017-07-11 21:00:04 +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 7266c46ce6 Limit pyang and xym to current major version; there's a possibility of new API-incompatible versions with semantic versioned numbers appearing.
- Legacy-Id: 13779
2017-07-06 13:56:11 +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 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 0d82d6b5c4 Updated requirements. We need xym installed in order to get its version in update_external_command_info.
- Legacy-Id: 13655
2017-06-16 14:27:48 +00:00
Henrik Levkowetz 4fc2c6f960 Merged in ^/personal/henrik/6.54.2-yang@13630:
Added a new yang checker, 'yanglint', to the existing Yang checker class, in
addition to the existing 'pyang' checker.

Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks.  Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.

Added the result of the xym extaction to the yang check results, to make
extration failures visible.

Added the version of the used xym, pyang, and yanglint commands to the check
results.

Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.

Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release.  We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.

Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission.  Run daily from bin/daily.

Added a table to hold version information for external commands.  The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...

Added a new management command to collect version information for external
commands on demand.  To be run daily from bin/daily.

Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.

Updated admin.py and resource.py files as needed.
 - Legacy-Id: 13634
2017-06-15 20:16:48 +00:00