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
Henrik Levkowetz
3051f81047
Make the slides and minutes urls on the agenda have explicit extensions.
...
- Legacy-Id: 6694
2013-11-07 19:28:04 +00:00
Henrik Levkowetz
2c5e7fd7f4
Set version info and settings back to development mode
...
- Legacy-Id: 6670
2013-11-06 19:33:49 +00:00
Henrik Levkowetz
0f5b59d431
Set version info to release version 4.83 before branching.
...
- Legacy-Id: 6668
2013-11-06 19:33:46 +00:00
Henrik Levkowetz
f862b71c35
Set version info and settings back to development mode
...
- Legacy-Id: 6586
2013-10-31 18:13:10 +00:00
Henrik Levkowetz
0ff1e5d04d
Set version info to release version 4.82 before branching.
...
- Legacy-Id: 6584
2013-10-31 18:13:05 +00:00
Henrik Levkowetz
e89a272661
Changed the path to iCalendar vtimezone information to point into the release
...
directory, so that we can make updated vtimezone information available
directly in a release, instead of out-of-band.
- Legacy-Id: 6535
2013-10-29 22:25:36 +00:00
Henrik Levkowetz
e3cf47d6ef
Set version info and settings back to development mode
...
- Legacy-Id: 6480
2013-10-21 22:19:47 +00:00
Henrik Levkowetz
8c87d60c51
Set version info to release version 4.81 before branching.
...
- Legacy-Id: 6478
2013-10-21 22:19:43 +00:00
Henrik Levkowetz
dfe81e6882
Add setting for where to save files which fail urltest diffs.
...
- Legacy-Id: 6448
2013-10-14 18:39:33 +00:00
Henrik Levkowetz
422e5a438e
Changed NOMCOM_FROM_EMAIL to be the Nomcom chair instead of the secretariat. Fixes issue #1152 .
...
- Legacy-Id: 6431
2013-10-11 20:20:48 +00:00
Henrik Levkowetz
e24f97550c
Added Ryan to the admin list so he'll get 500 notifications.
...
- Legacy-Id: 6414
2013-10-11 02:11:33 +00:00
Henrik Levkowetz
ed891d23d0
Set version info and settings back to development mode
...
- Legacy-Id: 6355
2013-10-03 14:22:46 +00:00
Henrik Levkowetz
d256693205
Set version info to release version 4.80 before branching.
...
- Legacy-Id: 6353
2013-10-03 14:22:42 +00:00
Henrik Levkowetz
18445123aa
Made the setting for use of InnoDB for testing default. Added a setting for global test fixtures. Added ietf.utils to the app list to capture the makefixture management command.
...
- Legacy-Id: 6321
2013-09-30 20:38:06 +00:00
Ole Laursen
f13837ef5f
Add support for global test fixtures to avoid loading them for all
...
tests
- Legacy-Id: 6304
2013-09-29 17:32:52 +00:00