Henrik Levkowetz
9eacdbf2c6
Merged in ^/personal/henrik/6.21.1-biophoto@11313, with work from rjsparks@nostrum.com and henrik@levkowetz.com which provides support for profile biography and photo.
...
- Legacy-Id: 11314
2016-06-10 19:36:47 +00:00
Henrik Levkowetz
14a4ea177c
Merged in ^/personal/rjs/6.21.1.dev0@11257
...
- Legacy-Id: 11259
2016-06-01 16:37:01 +00:00
Henrik Levkowetz
a32b121efb
Changed some instances of error strings from ascii to unicode in order to avoid problems with unicode error messages, such as the file size indications generated by django.template.defaultfilters.filesizeformat().
...
- Legacy-Id: 11220
2016-05-22 14:40:37 +00:00
Henrik Levkowetz
02773059f2
Better usage help for the coverage_changes management command.
...
- Legacy-Id: 11193
2016-05-15 15:01:50 +00:00
Ole Laursen
b599dca51d
Override the django-bootstrap3 default help-text-and-errors rendering
...
to separate the unrelated concepts
- Legacy-Id: 11177
2016-05-10 16:44:45 +00:00
Henrik Levkowetz
d96f0fe964
Added a django management command to populate yang model libraries from RFCs and drafts.
...
- Legacy-Id: 11110
2016-04-08 17:18:54 +00:00
Henrik Levkowetz
adb8625635
Introduced caching for the api resources.
...
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Henrik Levkowetz
846a02c3f9
Fixed pyflakes complaints introduced with pyflakes 1.1.0
...
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Henrik Levkowetz
76bb233b70
Refactored draft submission checks so that new checkers can be slotted in through a configuration in settings.py. Refactored the calling of idnits to use the new API, and added a pyang validation check.
...
- Legacy-Id: 10894
2016-03-04 20:08:29 +00:00
Henrik Levkowetz
15460b3cff
Merged in [10718] from olau@iola.dk:
...
Set daemon = True on the thread in the SMTP test server running while
running tests. This fixes the annoying problem of the python process
staying alive after certain bugs in the test invocation or after a
plain Ctrl + c.
- Legacy-Id: 10859
Note: SVN reference [10718] has been migrated to Git commit d67a96b4f0
2016-02-25 20:04:57 +00:00
Henrik Levkowetz
b19aae788e
Tweaked the output of the check_referential_integrity script to specify the through table name for m2m relationships.
...
- Legacy-Id: 10838
2016-02-12 13:50:57 +00:00
Henrik Levkowetz
c9136286be
Merged in [10809] from rjsparks@nostrum.com:
...
Further tweaks to rendering messages from the messaging framework.
- Legacy-Id: 10817
Note: SVN reference [10809] has been migrated to Git commit 214b81991e
2016-02-10 17:54:59 +00:00
Henrik Levkowetz
7e1a9c288a
Merged in [10804] from rjsparks@nostrum.com:
...
Some tweaks to handle rendering django messaging framework messages a little better.
- Legacy-Id: 10813
Note: SVN reference [10804] has been migrated to Git commit c3e81c179b
2016-02-10 17:12:59 +00:00
Robert Sparks
214b81991e
Further tweaks to rendering messages from the messaging framework. Commit ready for merge.
...
- Legacy-Id: 10809
2016-02-09 19:56:26 +00:00
Robert Sparks
c3e81c179b
Some tweaks to handle rendering django messaging framework messages a little better. Commit ready to merge.
...
- Legacy-Id: 10804
2016-02-08 22:09:50 +00:00
Henrik Levkowetz
2c2ac888d0
Updated the API tests to avoid deprecation warnings from a new version of Tastypie (0.13.1).
...
- Legacy-Id: 10796
2016-02-07 15:33:40 +00:00
Robert Sparks
757397330c
Addresses issues uncovered by the test-crawler. Adds missing DocAlias records for several document types. Creates DocAlias objects when createing Document objects for those document types. Identifies places in code to touch when we are ready to expose the bluesheets and recording document types at /doc/. (The data rows and the content store need work before doing so).
...
- Legacy-Id: 10731
2016-01-25 19:40:35 +00:00
Henrik Levkowetz
d3c5609cde
Added some tests for the group role email utility functions used by the alias generation scripts. Tempted to start using factory boy, but will wait till Robert's work in the nomcom branch comes in.
...
- Legacy-Id: 10544
2015-12-04 23:10:01 +00:00
Henrik Levkowetz
f5ca3a12bc
Fixed a bug in the header/footer stripping done before abstract extraction when a draft is submitted.
...
- Legacy-Id: 10519
2015-11-24 20:01:31 +00:00
Henrik Levkowetz
09e3f4e96d
Added a management command to check referential integrity, original code
...
conceived and written by rjsparks@nostrum.com , with some additions and
adaptation as a management command by henrik@levkowetz.com .
This integrity checker, when run on the IETF database in November 2015,
seemed to have a factor on the order of 100 better speed and lower memory
consumption than the code in
https://stackoverflow.com/questions/4734645/is-there-a-tool-to-check-database-integrity-in-django
No exact figure is available, as the latter had to be killed when it had
taken all available ram (~14G) on the development machine, and started to
cause heavy swapping.
- Legacy-Id: 10508
2015-11-19 21:40:37 +00:00
Henrik Levkowetz
cc84668862
Updated utils resources.py
...
- Legacy-Id: 10489
2015-11-14 23:47:02 +00:00
Henrik Levkowetz
1759f1b38e
Updated utils/resources.py to include an endpoint for the new DumpInfo table.
...
- Legacy-Id: 10488
2015-11-14 23:41:25 +00:00
Henrik Levkowetz
29b30c6c3c
Added a utility model to hold information on when a given database dump has been done.
...
- Legacy-Id: 10480
2015-11-14 22:59:14 +00:00
Henrik Levkowetz
2191ec3cbd
Removed logging through ietf.utils.log.log when running tests -- should shave another 15% off the test suite run time.
...
- Legacy-Id: 10454
2015-11-08 14:26:41 +00:00
Henrik Levkowetz
fdc7dea3df
Merged in [10097] from olau@iola.dk, in order to speed up the test suite.
...
- Legacy-Id: 10453
Note: SVN reference [10097] has been migrated to Git commit 99a9cb5569
2015-11-08 14:24:19 +00:00
Henrik Levkowetz
cf7d794b09
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
...
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz
f1a08564d1
Added a new machine-readable list of IPR declarations per draft, which also searches through related documents. Extended make_test_data() with a replaced document for the test draft.
...
- Legacy-Id: 10272
2015-10-23 16:34:44 +00:00
Henrik Levkowetz
bfa222b782
Added a switch to the 'test' command, to write short test results to file, changing the default which used to be to always write these.
...
- Legacy-Id: 10270
2015-10-22 20:37:03 +00:00
Henrik Levkowetz
c17ea94b08
Updated the code to use version 4.0.1 of coverage.py for code coverage measurements. Moved the code which starts coverage measurement to settings_sqlitetest.py to avoid coverage measurements running when not doing tests. Did some additional coveage measurement refactoring.
...
- Legacy-Id: 10238
2015-10-18 20:01:57 +00:00
Henrik Levkowetz
90b97468a9
Changed to use a gzipped release coverage JSON file, instead of a plain JSON file, if the name given in settings.py ends in .gz. Reduces the current release coverage file size from ~1.6MB to ~200kB. This is a preparation for saving more information in the release coverage file than we currently do.
...
- Legacy-Id: 10235
2015-10-18 14:32:36 +00:00
Henrik Levkowetz
499a2180a3
Removed unused imports.
...
- Legacy-Id: 10231
2015-10-18 12:29:17 +00:00
Henrik Levkowetz
cf4cbf76f3
Reverted mixed merge.
...
- Legacy-Id: 10230
2015-10-18 12:14:30 +00:00
Henrik Levkowetz
349b2b511a
Removed unused imports.
...
- Legacy-Id: 10229
2015-10-18 12:12:50 +00:00
Henrik Levkowetz
4a80395a63
Removed support for perma_fixtures, using the blobal test fixtures instead.
...
- Legacy-Id: 10228
2015-10-18 11:49:15 +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
Henrik Levkowetz
2fe8dcb4c2
Added a very simple html version of the json API, to make it easier to explore the api manually.
...
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Henrik Levkowetz
6de3974be7
Misc stuff.
...
- Legacy-Id: 9954
2015-08-01 15:07:49 +00:00
Henrik Levkowetz
a23846c8be
Changed the storage format for code coverage in *coverage.json, in order to be able to calculate code coverage percentages for a subset of tested files.
...
- Legacy-Id: 9953
2015-08-01 15:07:21 +00:00
Henrik Levkowetz
7a059c908a
Cleaned up bower_storage a bit.
...
- Legacy-Id: 9952
2015-08-01 15:03:40 +00:00
Henrik Levkowetz
9cec8a0587
Added code to the test_runner to force SERVE_CDN_FILES_LOCALLY_IN_DEV_MODE to True during testing, to avoid triggering the system checks error which doesn't find the CDN symlink expected when serving static files via CDN.
...
- Legacy-Id: 9910
2015-07-28 11:02:00 +00:00
Henrik Levkowetz
6468a43840
Moved and renamed the file and class for the storage helper which lets us find static files managed by bower, to better reflect the function.
...
- Legacy-Id: 9909
2015-07-28 10:40:26 +00:00
Adam Roach
5cb7c82e39
Check that email is sent to chairs of both replaced and replacing document
...
- Legacy-Id: 9808
2015-07-18 16:07:26 +00:00
Ole Laursen
acda84208d
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 ready for merge.
- Legacy-Id: 9669
2015-06-17 13:37:16 +00:00
Robert Sparks
85cfe0ed8a
Show leadership when and where mail was sent at the time it is sent. Commit ready for merge.
...
- Legacy-Id: 9608
2015-05-07 16:29:17 +00:00
Henrik Levkowetz
e3799dca2e
Fixed a bug in TestCase.assertValidHtml().
...
- Legacy-Id: 9563
2015-04-26 20:10:48 +00:00
Henrik Levkowetz
5a5289d1ad
Added pip and setuptools, required in virtualenv, to requirements.txt in order to simplify buildbot testing of package installation and version testing.
...
- Legacy-Id: 9560
2015-04-26 19:12:16 +00:00
Henrik Levkowetz
09f3f51c77
Added support for an 'origin' template tag which will insert the name of the template file (within a html comment) into the page content when TEMPLATE_DEBUG is True; with the purpose of more easily being able to identify the templates from which page content comes.
...
- Legacy-Id: 9550
2015-04-24 20:38:36 +00:00
Henrik Levkowetz
6055215ab2
Removed local copy of html5lib, added html5lib to requirements.txt, and updated utils/html.py to work with htm5lib 0.999.
...
- Legacy-Id: 9547
2015-04-24 18:07:26 +00:00
Henrik Levkowetz
02cd366ff0
Merged in trunk@9440, containing the changes for version 5.13.1; and updated tests which look at HTML content to work with the facelift changes.
...
- Legacy-Id: 9446
2015-04-11 18:24:20 +00:00
Henrik Levkowetz
625347cd2f
Merged trunk@9354 to facelift copy
...
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00