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
1c5fb1366a
Added sqlparse to requirements.
...
- Legacy-Id: 12227
2016-10-28 17:34:36 +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
c6177d4f92
Added call duration information to the @debug.trace decorator.
...
- Legacy-Id: 12224
2016-10-28 16:41:59 +00:00
Henrik Levkowetz
0aabc4b96c
Updated installation instructions
...
- Legacy-Id: 12222
2016-10-27 11:37:12 +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
5c6f0c748b
Removed the pip.conf file; not needed when we back away from using system-site-packages.
...
- Legacy-Id: 12216
2016-10-26 18:44:10 +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
4e77d64ac4
Updated the INSTALL file with the changes from 6.36.0.
...
- Legacy-Id: 12207
2016-10-22 00:35:27 +00:00
Henrik Levkowetz
f260a95b96
Added a note on better handling of the meeting break areas to the PLAN.
...
- Legacy-Id: 12206
2016-10-21 17:00:28 +00:00
Henrik Levkowetz
b71c6a022c
Removed some actions from bin/mkrelease, as they don't work as intended with the new --system-site-packages virtualenv setup.
...
- Legacy-Id: 12205
2016-10-21 15:25:02 +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
f71f6a3b9a
Changelog entry for 6.36.0
...
- Legacy-Id: 12200
2016-10-21 15:14:54 +00:00
Henrik Levkowetz
301a3e68da
Code coverage data for release 6.36.0
...
- Legacy-Id: 12199
2016-10-21 15:14:48 +00:00
Henrik Levkowetz
2bb65e7d1b
Changed svn:ignore
...
- Legacy-Id: 12198
2016-10-21 14:48:16 +00:00
Henrik Levkowetz
831d94e74a
Added a code snippet to save the .coverage data for later comparison, if a suitable directory is available.
...
- Legacy-Id: 12197
2016-10-21 14:28:23 +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
bc6ce2499f
Increased the minimum version of pip to 6.1.1 -- 6.0 doesn't seem to deal well with virtualenv with --system-site-packages.
...
- Legacy-Id: 12193
2016-10-20 22:31:39 +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
0ec28534c9
Added Trac to the pip requirements file.
...
- Legacy-Id: 12173
2016-10-18 19:30:54 +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
dc4d5131f1
Changelog entry for 6.35.0
...
- Legacy-Id: 12156
2016-10-17 18:17:48 +00:00