Commit graph

459 commits

Author SHA1 Message Date
Henrik Levkowetz 5ff7ddcc5a Cosmetic change
- Legacy-Id: 7545
2014-03-26 14:25:39 +00:00
Henrik Levkowetz 1d246b8b1f Set version info and settings back to development mode
- Legacy-Id: 7526
2014-03-19 20:41:22 +00:00
Henrik Levkowetz 56f25cb4a9 Set version info to release version 5.2.0 before branching.
- Legacy-Id: 7524
2014-03-19 20:41:19 +00:00
Henrik Levkowetz f0faed513e Added settings for the default pyflakes and vulture argument (top ietf/ directory).
- Legacy-Id: 7503
2014-03-16 18:17:46 +00:00
Henrik Levkowetz b9c38d3c06 Merged pyflakes fixes forward to new copy of trunk.
- Legacy-Id: 7463
2014-03-15 16:27:05 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Henrik Levkowetz e78931cf7c Merged [7445] from rjsparks@nostrum.com: Adds dependency graphs for drafts belonging to a group.
Removes links to Bill's dependency tools.
Fixes bug #536.
 - Legacy-Id: 7446
Note: SVN reference [7445] has been migrated to Git commit 74e4ff72e9
2014-03-06 18:03:45 +00:00
Robert Sparks 74e4ff72e9 Adds dependency graphs for drafts belonging to a group.
Removes links to Bill's dependency tools.
Fixes bug #536.
Commit ready to merge.
 - Legacy-Id: 7445
2014-03-06 16:29:35 +00:00
Henrik Levkowetz d4c0102537 Set version info and settings back to development mode
- Legacy-Id: 7415
2014-03-05 17:20:44 +00:00
Henrik Levkowetz a0311b7ee8 Set version info to release version 5.1.0 before branching.
- Legacy-Id: 7413
2014-03-05 17:20:35 +00:00
Henrik Levkowetz 14d629afe9 Fixed another bug in the non-production setup.
- Legacy-Id: 7344
2014-02-25 18:12:14 +00:00
Henrik Levkowetz ec58068139 Fixed a bug in the check for a SECRET_KEY setting
- Legacy-Id: 7343
2014-02-25 18:01:51 +00:00
Henrik Levkowetz 2f072a90ee Set version info and settings back to development mode
- Legacy-Id: 7300
2014-02-25 15:53:59 +00:00
Henrik Levkowetz 8b049ec2d1 Set version info to release version 5.0.2 before branching.
- Legacy-Id: 7298
2014-02-25 15:53:55 +00:00
Henrik Levkowetz b1ae148580 Extend the set of allowed hosts slightly.
- Legacy-Id: 7291
2014-02-22 20:37:47 +00:00
Henrik Levkowetz 5fd513e9cd Added a logging filter to filter out the 'Invalid HTTP_HOST' emails.
- Legacy-Id: 7263
2014-02-18 23:10:03 +00:00
Henrik Levkowetz ad1194799a Changed the SECRET_KEY setting to take account of the settings in settings_local.
- Legacy-Id: 7262
2014-02-18 23:06:53 +00:00
Henrik Levkowetz 49d5f1a010 Set version info and settings back to development mode
- Legacy-Id: 7252
2014-02-16 18:36:46 +00:00
Henrik Levkowetz c09bcebdb3 Set version info to release version 5.0.1 before branching.
- Legacy-Id: 7250
2014-02-16 18:36:43 +00:00
Henrik Levkowetz 612085779b Added a secret key to settings.py for development use. NOT for production use; that needs to go in settings_local.py
- Legacy-Id: 7234
2014-02-11 19:37:13 +00:00
Henrik Levkowetz e593d9d640 Added a warning to the draft submission page about upcoming submission cut-offs. Added a value in settings.py for the number of days before the first cut-off to display the waring.
- Legacy-Id: 7233
2014-02-11 19:28:59 +00:00
Henrik Levkowetz 07e93b599b Updated the caching settings to use memcached in production.
- Legacy-Id: 7232
2014-02-11 19:21:36 +00:00
Henrik Levkowetz 04d940534d Modified ALLOWED_HOSTS to permit some (surprising) alternative HTTP_HOST names. Are these a result of queries proxied through other ietf.org domains? The numerical address is the mail server address. We should find out why that appears, and see if it can be made to appear as mail.ietf.org instead.
- Legacy-Id: 7197
2014-01-31 19:07:37 +00:00
Henrik Levkowetz fd5aac4583 Set version info and settings back to development mode
- Legacy-Id: 7187
2014-01-30 21:11:34 +00:00
Henrik Levkowetz 79f14d9970 Set version info to release version 5.0.0 before branching.
- Legacy-Id: 7185
2014-01-30 21:11:30 +00:00
Ole Laursen e2554a6a0c It turns out that Django resetting the user if REMOTE_USER is not passed in is a problem on live to, so switch the whole code base to using the middleware to set REMOTE_USER from the logged in user if not passed in from the outside
- Legacy-Id: 7167
2014-01-24 14:30:00 +00:00
Ole Laursen 7e00fa1424 Move the Secretariat group email utility to wginfo and the rest of the wgcharter stuff to doc/(views|urls|utils)_charter.py alongside the other document types
- Legacy-Id: 7121
2014-01-13 16:08:58 +00:00
Ole Laursen b72742764f Set ALLOWED_HOSTS (may need some tweaking), add LOGGING setting to
enable HTML exception emails to compensate for not carrying the HTML
patch that was applied to Django 1.2
 - Legacy-Id: 6982
2013-12-18 14:00:44 +00:00
Ole Laursen b84440b857 MEDIA_ROOT -> STATIC_ROOT - apparently we don't really use MEDIA_ROOT at the moment since all files are handled not through file fields, but through explicit management of their paths
- Legacy-Id: 6980
2013-12-18 13:18:58 +00:00
Ole Laursen 2cefdd7410 Add WSGI application to settings to make it use the same application
definition as live (it probably doesn't matter at the moment though)
 - Legacy-Id: 6979
2013-12-18 13:06:39 +00:00
Ole Laursen 896da07311 Disable XViewMiddleware, it has been moved in Django 1.6 and it's not
clear whether it's serving a useful purpose
 - Legacy-Id: 6977
2013-12-18 12:01:24 +00:00
Ole Laursen 1dc860236f Delete ADMIN_MEDIA_PREFIX which is now gone in Django, add a pattern to the static serving so a debug/test server serves the admin static files
- Legacy-Id: 6975
2013-12-18 11:45:36 +00:00
Ole Laursen 35520c8473 Enable clickjacking prevention middleware
- Legacy-Id: 6969
2013-12-18 10:14:47 +00:00
Ole Laursen 7f277a8fbb Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen 42ade6273c Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen b94e110a29 Disable the caching template loader again, interesting as may be, it
turns out to be really annoying when developing as it is not clever
enough to do cache invalidation, so changing a template and retesting
requires restarting the dev server
 - Legacy-Id: 6929
2013-12-13 17:30:39 +00:00
Ole Laursen 1cb6e701eb Enable the caching template loader for the file based templates, as
recommended by the Django documentation
 - Legacy-Id: 6926
2013-12-13 17:00:52 +00:00
Ole Laursen 7f25469c6b Drop the group/person/role global fixtures, the fixture loader in
Django 1.6 refuses to load them because they have dangling foreign
keys, and in rewriting them it turns out it is easier to do so in code
- so refactor the test data generation code to have a separate
function with the unchanging base data and call that from the global
fixture setup
 - Legacy-Id: 6917
2013-12-13 15:58:36 +00:00
Ole Laursen 191d6f5949 Changing settings to use new test runner
- Legacy-Id: 6904
2013-12-13 11:23:33 +00:00
Ole Laursen ad26ab4b37 Fix some changed Django import paths in settings.py
- Legacy-Id: 6897
2013-12-12 12:13:44 +00:00
Ole Laursen f5b2cfbc42 Make MEDIA_URL end in slash
- Legacy-Id: 6874
2013-12-11 15:29:38 +00:00
Ole Laursen f4283556ae Do not include ../redesign in path
- Legacy-Id: 6831
2013-12-07 12:30:41 +00:00
Ole Laursen ca28fb05a6 Delete USE_DB_REDESIGN_PROXY_CLASSES setting
- Legacy-Id: 6827
2013-12-07 12:12:07 +00:00
Ole Laursen 18f133d1d2 Remove now unused idtracker/
- Legacy-Id: 6821
2013-12-06 18:00:44 +00:00
Ole Laursen 48f14b8eda Remove now unused proceedings/ and meeting/proxy.py
- Legacy-Id: 6819
2013-12-06 17:40:41 +00:00
Ole Laursen d0f2859631 Move NomCom announcements view to nomcom/, move message view to
message/, add tests, add redirects, fix a couple of small bugs in the
announcements view
 - Legacy-Id: 6769
2013-11-28 17:55:10 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen 10a4d286cd Remove now unused idrfc_wrapper.py, remove idrfc app
- Legacy-Id: 6721
2013-11-19 16:10:29 +00:00
Ole Laursen ecf68dbb05 Revamp and clean up submit models:
- Rename IdSubmissionDetail to Submission
- Rename various submission fields to correspond to the conventions in
  the new schema
- Use a name model for the states instead of IdSubmissionStatus
- Drop the TempIdAuthor model which is based on splitting up author
  names
- Add a simple textual SubmissionEvent for tracking events in the
  lifetime of a submission
- Delete a bunch of obsolete fields
- Make sure all submission have an access key so we can depend on it
- Add state for when approval is needed from previous authors

A couple of migrations take care of transforming the
IdSubmissionDetail and moving data over/cleaning it up.

Also revamp the submit view code:

- Make form code do validation/cleaning only so there's a clear
  separation of concerns
- Reduce uses of inheritance that made the code hard to follow -
  forms now don't inherit from each other, views don't call each other
  but instead reuse common utilities, templates share CSS/utilities
  instead of relying on inheritance
- Move email rendering/sending to separate file
- Drop the in-grown terminology use (auto post vs. manual posts)
- Make the status page explain who is emailed for what purpose
- Add history table with recorded events
- Make the status page handle its post actions by itself instead of
  duplicating most of the setup logic in a number of simple views
- Fix a couple of minor bugs and handle some edge cases better
- Expand tests with a couple of more cases

Possibly the submit tool could still use more help text added to
explain the process, ideally what's explained in the tool instructions
page should be inlined or self-evident.
 - Legacy-Id: 6714
2013-11-15 13:30:32 +00:00
Henrik Levkowetz 1c428e65ae Corrected the default path for where to find iCalendar vtimezone information.
- Legacy-Id: 6695
2013-11-08 00:05:55 +00:00