Henrik Levkowetz
27abaae2e4
Tweaked and enhanced doc.admin.DocEventAdmin.
...
- Legacy-Id: 12276
2016-11-07 18:38:34 +00:00
Henrik Levkowetz
7f1c1e43f2
Replaced the use of plain DocEvent for submission doc events with a SubmissionDocEvent that carries rev and a FK to submission.
...
- Legacy-Id: 12275
2016-11-07 18:21:34 +00:00
Henrik Levkowetz
bb7d3b476f
Tweaked the create_group_wiki management command and its test to show more information on failures.
...
- Legacy-Id: 12273
2016-11-07 17:13:09 +00:00
Henrik Levkowetz
888bd44a10
Stash the test results summary in ./.testresults instead of ./testresults, to avoid visual littering.
...
- Legacy-Id: 12272
2016-11-07 17:11:48 +00:00
Henrik Levkowetz
71d5eca6e6
If a session agenda for a meeting exists, but is not bound to the session, the Document.objects.create() in upload_session_agenda() will fail. Using get_or_create() instead.
...
- Legacy-Id: 12270
2016-11-07 12:19:03 +00:00
Henrik Levkowetz
ec3723f875
Made the svn and libsvn symlinking code more robust against bad settings.
...
- Legacy-Id: 12243
2016-10-31 16:12:40 +00:00
Henrik Levkowetz
288d211ca1
Made doc.views_stat.make_title() more robust against inconsistent query arguments.
...
- Legacy-Id: 12242
2016-10-30 18:16:52 +00:00
Henrik Levkowetz
db203a53cb
Fixed typo
...
- Legacy-Id: 12241
2016-10-30 18:15:22 +00:00
Henrik Levkowetz
1d6853037e
Updated the create_group_wikis management command with additional switches to make it easier to do test deployment of individual wikis.
...
- Legacy-Id: 12240
2016-10-30 18:10:41 +00:00
Henrik Levkowetz
4ab2fe53cb
Don't run ietf.checks.* more than once per invocation (under Django 1.7, these can be run more times than there are apps with migrations, posibly as many times as twice that number).
...
- Legacy-Id: 12239
2016-10-30 18:08:52 +00:00
Henrik Levkowetz
0d62fdeb23
Set version info and settings back to development mode
...
- Legacy-Id: 12236
2016-10-30 12:15:42 +00:00
Henrik Levkowetz
9c818093b0
Set version info to release version 6.37.0 before branching.
...
- Legacy-Id: 12234
2016-10-30 12:15:33 +00:00
Henrik Levkowetz
21dfc19441
Added some logging to wsgi.py, to show the virtualenv settings being used.
...
- Legacy-Id: 12230
2016-10-29 11:44:00 +00:00
Henrik Levkowetz
47681c5924
Tweaks to settings.py, adding information about the use of some settings.
...
- Legacy-Id: 12229
2016-10-29 11:41:22 +00:00
Henrik Levkowetz
2b2abdbc29
Merged in [12213] from rcross@amsl.com:
...
Fix bug where interim announcement form was initialized with lists instead of strings.
- Legacy-Id: 12228
Note: SVN reference [12213] has been migrated to Git commit ab945b16e5
2016-10-29 10:56:34 +00:00
Henrik Levkowetz
aec77c2385
Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
...
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz
a1934d1713
Refined the sql debug view at the bottom of each page. Added a column showing the WHERE clause, as that is quite helpful in working out where a given query is coming from. Added an sql_debug template variable to make it easier to switch between the sql debug view and using the django-debug-toolbar.
...
- Legacy-Id: 12225
2016-10-28 16:46:05 +00:00
Henrik Levkowetz
7f9fa7b02a
Tweaked SQL a debug table header.
...
- Legacy-Id: 12221
2016-10-26 20:21:09 +00:00
Henrik Levkowetz
534a8d3e12
Reverted last commit as it leads to test failures. Doubtful if these actually can occur in production, but tests will have to be re-written before using the added caching.
...
- Legacy-Id: 12220
2016-10-26 20:20:37 +00:00
Henrik Levkowetz
e1cadcb119
Added caching to avoid calling the meat of each of the Session minutes(), recordings(), bluesheets(), slides(), drafts() methods more than once per session. This removes another 3*#sessions sql queries when the materials are all in place (less when the first invocation reurns nothing).
...
- Legacy-Id: 12219
2016-10-26 19:17:41 +00:00
Henrik Levkowetz
af584c6a1f
Removed caching of the materials page (edit buttons are different for different users), and used select_related() and code re-write to reduce the sql query count from ~1900 to ~600, query time from ~2s to ~0.5s. More can be done, but the page response time is more acceptable now.
...
- Legacy-Id: 12218
2016-10-26 19:06:06 +00:00
Henrik Levkowetz
681395ff8e
Added a column to the debug view of sql queries which indicate whether a query originated in view code or template rendering.
...
- Legacy-Id: 12217
2016-10-26 18:49:58 +00:00
Henrik Levkowetz
6a905897f8
Fixed a bad link to uploaded session agendas.
...
- Legacy-Id: 12214
2016-10-25 21:38:46 +00:00
Ryan Cross
ab945b16e5
Fix bug where interim announcement form was initialized with lists instead of strings. Commit ready for merge
...
- Legacy-Id: 12213
2016-10-25 20:25:54 +00:00
Henrik Levkowetz
a2c8fa0178
Added a Document.pub_date() method which returns the RFC publication datetime or other documents' new-revision datetime. Changed the generated bibtex entries to use pub_date(). Added tests for bibtext entries. Added 'bibtexparser' to requirements.txt. Fixes issue #2032 .
...
- Legacy-Id: 12212
2016-10-25 18:07:48 +00:00
Henrik Levkowetz
cae4ab0024
Added caching of Document.href() values.
...
- Legacy-Id: 12210
2016-10-25 00:14:21 +00:00
Henrik Levkowetz
0656d0daa5
Changed the agenda template to provide links to video recordings on youtube if available, instead of pointing at meetecho's archive.
...
- Legacy-Id: 12209
2016-10-25 00:13:03 +00:00
Henrik Levkowetz
17bf44af3c
To minimize what seems to be an increased risk of segfaults when using virtualenv with system packages, this commit introduces an alternative, which does away with the general system package availability, but adds symlinks to two svn related system packages when running checks.
...
- Legacy-Id: 12208
2016-10-25 00:11:31 +00:00
Henrik Levkowetz
669627b53e
Set version info and settings back to development mode
...
- Legacy-Id: 12203
2016-10-21 15:15:06 +00:00
Henrik Levkowetz
3e4bb71dba
Set version info to release version 6.36.0 before branching.
...
- Legacy-Id: 12201
2016-10-21 15:14:59 +00:00
Henrik Levkowetz
2bb65e7d1b
Changed svn:ignore
...
- Legacy-Id: 12198
2016-10-21 14:48:16 +00:00
Henrik Levkowetz
5b6ffbcbd5
Fixed a bug in the API cache key construction which could make the key longer than necessary.
...
- Legacy-Id: 12196
2016-10-21 14:27:18 +00:00
Henrik Levkowetz
8e2259ebac
Added a test for meeting/agenda-utc.
...
- Legacy-Id: 12195
2016-10-21 14:02:49 +00:00
Henrik Levkowetz
a6db502108
Removed some dead code.
...
- Legacy-Id: 12194
2016-10-21 13:58:36 +00:00
Henrik Levkowetz
38245c6323
Fixed the javascript code in the floor-plan template that adds room links. It didn't handle rooms without assinged floor-plans well.
...
- Legacy-Id: 12192
2016-10-20 21:44:47 +00:00
Henrik Levkowetz
27cd21155c
Fixed a bug in testing for directory existence in the test setup.
...
- Legacy-Id: 12185
2016-10-19 22:38:28 +00:00
Henrik Levkowetz
e1f0477ec8
Make sure that the svn component is enabled, even if we can't find the Trac inherit-from settings file.
...
- Legacy-Id: 12184
2016-10-19 22:36:42 +00:00
Henrik Levkowetz
c22842a7c4
Made the wiki glue test skippable, in case the python subversion bindings are unavailable. Added creation of temporary directories also for the svn repositores created for wikis during testing.
...
- Legacy-Id: 12183
2016-10-19 21:14:20 +00:00
Henrik Levkowetz
ba5c17ecfd
Merged in a management command which provides glue code for creation and maintenance of Trac issue tracker and wiki installations per group. New groups of type wg, rg, and area will autmatically receive a Trac instance.
...
- Legacy-Id: 12182
2016-10-19 18:08:05 +00:00
Henrik Levkowetz
f9b4955880
Tweaked the settings a bit, to avoid problems if changing TRAC_WIKI_DIR_ROOT after TRAC_WIKI_DIR_PATTERN has been set. Added a --wiki-dir-pattern switch to the management command.
...
- Legacy-Id: 12181
2016-10-19 14:56:57 +00:00
Henrik Levkowetz
d400b88239
Added a test for the create_group_wikis management command.
...
- Legacy-Id: 12180
2016-10-19 14:53:58 +00:00
Henrik Levkowetz
41945d5525
Reverted unintended commit
...
- Legacy-Id: 12179
2016-10-19 14:47:17 +00:00
Henrik Levkowetz
b2aae7dc35
Ignore the virtualenv-created directories under env/
...
- Legacy-Id: 12178
2016-10-19 14:44:44 +00:00
Henrik Levkowetz
ef9bf2f175
Added a system check to ensure that the svn bindings are available when running in production mode.
...
- Legacy-Id: 12177
2016-10-19 14:44:05 +00:00
Henrik Levkowetz
887455c1d5
Make sure to not include draft name in the title extracted from draft text.
...
- Legacy-Id: 12176
2016-10-19 12:18:59 +00:00
Henrik Levkowetz
f33eab6770
Install custom wiki pages before default pages, as we refuse to overwrite an existing page.
...
- Legacy-Id: 12174
2016-10-18 19:32:19 +00:00
Henrik Levkowetz
f0a730856b
Added a pip config file to support virtualenvs created with option --system-site-packages. The recommended way of creating a virtualenv for the datatracker is now '$ virtualenv --system-site-packages env', placing the virtualenv libs and binaries under env/bin/ and env/lib/. Also updated the ietf/wsgi.py file to use this.
...
- Legacy-Id: 12172
2016-10-18 19:11:28 +00:00
Henrik Levkowetz
5c562abec2
Set version info and settings back to development mode
...
- Legacy-Id: 12159
2016-10-17 18:18:00 +00:00
Henrik Levkowetz
4d5da73b3e
Set version info to release version 6.35.0 before branching.
...
- Legacy-Id: 12157
2016-10-17 18:17:52 +00:00
Henrik Levkowetz
31c9defd0e
New version of pytz, new choices for the meeting timezone form.
...
- Legacy-Id: 12154
2016-10-17 18:05:55 +00:00