Commit graph

7764 commits

Author SHA1 Message Date
Henrik Levkowetz c05d53da09 Fixed the import path for some template classes.
- Legacy-Id: 12262
2016-11-03 20:52:02 +00:00
Henrik Levkowetz 8d1aca19cc Rewrote the template coverage loader function to a proper template loader class.
- Legacy-Id: 12261
2016-11-03 20:51:06 +00:00
Henrik Levkowetz f690333ea3 Formtools has been moved from django.contrib to an external package. Add it to requirements.
- Legacy-Id: 12260
2016-11-03 20:50:10 +00:00
Henrik Levkowetz f7cf00b7ec Use get_or_create when creating test data, to avoid duplicate key warnings.
- Legacy-Id: 12259
2016-11-03 20:48:38 +00:00
Henrik Levkowetz 4f2eb07fa7 Updated proceedings_templates fixture.
- Legacy-Id: 12258
2016-11-03 20:47:14 +00:00
Henrik Levkowetz 87e1339924 Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense.
- Legacy-Id: 12256
2016-11-03 20:13:44 +00:00
Henrik Levkowetz cfe4d2f6aa Removed use of the fix_ampersands() function.
- Legacy-Id: 12254
2016-11-03 20:11:49 +00:00
Henrik Levkowetz ca570ae355 Reverted an inadvertent commit of all changes.
- Legacy-Id: 12253
2016-11-03 20:10:09 +00:00
Henrik Levkowetz 276c9c1030 Removed use of the fix_ampersands() function.
- Legacy-Id: 12252
2016-11-03 20:08:44 +00:00
Henrik Levkowetz 7b6407dfed Rewrote the test runner command-line switch declarations to use parser.add_argument() instead of the now unsupported option_list class attribute.
- Legacy-Id: 12251
2016-11-03 20:07:22 +00:00
Henrik Levkowetz 1813fa8aa7 Changed requirements to the latest Django 1.8 release.
- Legacy-Id: 12250
2016-11-03 20:05:14 +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 f08d089eab Changelog entry for 6.37.0
- Legacy-Id: 12233
2016-10-30 12:15:27 +00:00
Henrik Levkowetz 89ab91b2a8 Code coverage data for release 6.37.0
- Legacy-Id: 12232
2016-10-30 12:15:18 +00:00
Henrik Levkowetz bebc074b29 Changelog information for 6.37.0
- Legacy-Id: 12231
2016-10-29 11:47:56 +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 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