Commit graph

5103 commits

Author SHA1 Message Date
Henrik Levkowetz 6c253ee48b Improved the verification of submitted file extensions and mimetype.
- Legacy-Id: 9986
2015-08-07 12:10:26 +00:00
Henrik Levkowetz 6ebe1faf1a Set version info and settings back to development mode
- Legacy-Id: 9982
2015-08-06 18:34:46 +00:00
Henrik Levkowetz 94626536f5 Set version info to release version 6.4.0 before branching.
- Legacy-Id: 9980
2015-08-06 18:34:40 +00:00
Henrik Levkowetz 16d7f8e031 Merged in changes which make CDN serving of static files easy, adds bower management of external static files, and transitions the datatracker to use django's staticfiles framework.
- Legacy-Id: 9976
2015-08-06 09:54:43 +00:00
Henrik Levkowetz b26efc82f5 Merged in [9962] from rjsparks@nostrum.com:
Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable).
 - Legacy-Id: 9963
Note: SVN reference [9962] has been migrated to Git commit 56f31cf083
2015-08-03 18:22:10 +00:00
Robert Sparks 56f31cf083 Include some missing css and javascript for the submit/edit page. Fixes #1760 (though a more thourogh fix for when javascript is disabled is desirable). Commit ready for merge.
- Legacy-Id: 9962
2015-08-03 15:56:42 +00:00
Henrik Levkowetz 11411d2c30 Merged in an update from trunk@9942.
- Legacy-Id: 9961
2015-08-03 14:12:38 +00:00
Henrik Levkowetz 5fe1d43db2 Fixed some additional static file references.
- Legacy-Id: 9958
2015-08-01 22:02:14 +00:00
Henrik Levkowetz 0cdf7599a4 It's only an error not to have STATIC_ROOT available in production mode.
- Legacy-Id: 9957
2015-08-01 21:14:49 +00:00
Henrik Levkowetz 86dd334355 Fixed an error in settings.py
- Legacy-Id: 9956
2015-08-01 21:14:02 +00:00
Henrik Levkowetz 984524b507 Changed additional direct static references to use the static template tag.
- Legacy-Id: 9955
2015-08-01 18:14:50 +00:00
Henrik Levkowetz 6de3974be7 Misc stuff.
- Legacy-Id: 9954
2015-08-01 15:07:49 +00:00
Henrik Levkowetz a23846c8be Changed the storage format for code coverage in *coverage.json, in order to be able to calculate code coverage percentages for a subset of tested files.
- Legacy-Id: 9953
2015-08-01 15:07:21 +00:00
Henrik Levkowetz 7a059c908a Cleaned up bower_storage a bit.
- Legacy-Id: 9952
2015-08-01 15:03:40 +00:00
Henrik Levkowetz ec84efedcd Simplified the development-mode static files serving, since we're now using the django staticfiles infrastructure.
- Legacy-Id: 9951
2015-08-01 15:02:54 +00:00
Henrik Levkowetz 4dc4c6dc9a Removed dead code
- Legacy-Id: 9950
2015-08-01 15:00:14 +00:00
Henrik Levkowetz 669638da6e Simplified the static setup, using one single static location with full collectstatic usage, instead of a split static setup.
- Legacy-Id: 9949
2015-08-01 14:59:40 +00:00
Henrik Levkowetz 1d834801af Removed dead code.
- Legacy-Id: 9948
2015-08-01 14:58:08 +00:00
Henrik Levkowetz 0bf86be4ac Added a max-age to the cache control of /group/groupmenu.ajax, in order to improve local caching.
- Legacy-Id: 9947
2015-08-01 14:57:29 +00:00
Henrik Levkowetz d37aee7ae2 Updated ietf/checks.py to use STATIC_ROOT instead the CDN_STATIC_PATH used with the split-static setup.
- Legacy-Id: 9946
2015-08-01 14:55:47 +00:00
Henrik Levkowetz 9cb8f65c8e Updated templates to use the static template tag for static files.
- Legacy-Id: 9945
2015-08-01 14:53:59 +00:00
Henrik Levkowetz fb3aade0b4 Set version info and settings back to development mode
- Legacy-Id: 9942
2015-08-01 14:52:48 +00:00
Henrik Levkowetz 594d626ad5 Set version info to release version 6.3.0 before branching.
- Legacy-Id: 9940
2015-08-01 14:52:42 +00:00
Henrik Levkowetz 71cfe9459f - Legacy-Id: 9937 2015-08-01 12:59:14 +00:00
Henrik Levkowetz 3e4b419935 Moved bower externals from static/lib to ietf/externals/static. Moved secretariat statics to ietf/secr/static. Moved ietf statics to ietf/static/. Removed static/, as all static files will be handled using 'manage.py collectstatic' at deployment time now.
- Legacy-Id: 9934
2015-08-01 12:56:16 +00:00
Henrik Levkowetz fae9066c9d Merged in [9925] from rjsparks@nostrum.com:
Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759.
 - Legacy-Id: 9931
Note: SVN reference [9925] has been migrated to Git commit cd5b497acb
2015-08-01 10:23:58 +00:00
Henrik Levkowetz 17b100ec51 Merged in [9924] from rjsparks@nostrum.com:
Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.
Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.
Improves testing, primarily of group/info.py
 - Legacy-Id: 9930
Note: SVN reference [9924] has been migrated to Git commit 461af5af19
2015-08-01 10:12:40 +00:00
Henrik Levkowetz bef78193f5 Merged in [9901] from rcross@amsl.com:
Fix matching audio file names with rooms.
 - Legacy-Id: 9927
Note: SVN reference [9901] has been migrated to Git commit ce250e16e8
2015-07-31 19:41:43 +00:00
Robert Sparks cd5b497acb Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759. Commit ready for merge.
- Legacy-Id: 9925
2015-07-30 22:13:59 +00:00
Robert Sparks 461af5af19 Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.

Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.

Improves testing, primarily of group/info.py 

Commit ready for merge.
 - Legacy-Id: 9924
2015-07-30 21:51:38 +00:00
Henrik Levkowetz ab8d018760 Provide a document's rfc number (if any) as part of the document fields exposed in the json api.
- Legacy-Id: 9923
2015-07-30 18:57:44 +00:00
Henrik Levkowetz faecc697be Changed the code for meta-data extraction from xml files to not break if a sought-after element is missing.
- Legacy-Id: 9922
2015-07-30 18:23:56 +00:00
Henrik Levkowetz fb79c8a22c Updated the meta-data error message to say 'errors ... below' instead of 'errors ... above', to match the relative placement of text and error indications.
- Legacy-Id: 9921
2015-07-30 18:22:28 +00:00
Henrik Levkowetz e737fa747c Fixed an incorrect list of string interpolation arguments.
- Legacy-Id: 9918
2015-07-30 13:17:14 +00:00
Henrik Levkowetz cdb0d24aed Improved the error reporting for invalid xml file submissions.
- Legacy-Id: 9916
2015-07-30 11:44:54 +00:00
Henrik Levkowetz fe6aa25af5 Improved the handling of failed xml2rfc conversions when no txt document was submitted.
- Legacy-Id: 9914
2015-07-29 19:38:00 +00:00
Henrik Levkowetz 1b36eec887 Updated several README files.
- Legacy-Id: 9912
2015-07-28 13:20:39 +00:00
Henrik Levkowetz 9fa014f0d2 Changed the location of the datatracker's bower.json file
- Legacy-Id: 9911
2015-07-28 13:03:52 +00:00
Henrik Levkowetz 9cec8a0587 Added code to the test_runner to force SERVE_CDN_FILES_LOCALLY_IN_DEV_MODE to True during testing, to avoid triggering the system checks error which doesn't find the CDN symlink expected when serving static files via CDN.
- Legacy-Id: 9910
2015-07-28 11:02:00 +00:00
Henrik Levkowetz 6468a43840 Moved and renamed the file and class for the storage helper which lets us find static files managed by bower, to better reflect the function.
- Legacy-Id: 9909
2015-07-28 10:40:26 +00:00
Henrik Levkowetz e5f3df1047 Removed unnecessary urlpattern components from ietf/urls.py.
- Legacy-Id: 9908
2015-07-28 10:38:42 +00:00
Henrik Levkowetz 19028d479d Removed bootstrap from bower.json as a direct dependency -- we're handling bootstrap separately, so don't violate DRY here.
- Legacy-Id: 9907
2015-07-28 10:28:54 +00:00
Henrik Levkowetz fbdd8b479d Added a check for the existence of the CDN static path using the new (Django 1.7) checks framework. Split the release version and patch string in order to not move the expected CDN static files location when adding a patch indicator to the version number.
- Legacy-Id: 9906
2015-07-28 10:25:58 +00:00
Henrik Levkowetz 9c80868187 Placed stock bootstrap (which we don't use, but bower pulls in as a dependency) and our customized bootstrap in different directories, to avoid confusion.
- Legacy-Id: 9905
2015-07-28 09:54:47 +00:00
Henrik Levkowetz 7513908c98 Updated bower.json to mention bootstrap 3.3.5
- Legacy-Id: 9904
2015-07-28 08:56:19 +00:00
Henrik Levkowetz 6605c03f83 Moved our generated bootstrap and bootstrap-theme css files to the CDN area.
- Legacy-Id: 9903
2015-07-27 20:34:25 +00:00
Ryan Cross ce250e16e8 Fix matching audio file names with rooms. Commit ready for merge.
- Legacy-Id: 9901
2015-07-27 18:57:38 +00:00
Henrik Levkowetz 3837b18ab5 Text tweaks
- Legacy-Id: 9898
2015-07-27 18:31:42 +00:00
Henrik Levkowetz a36e40288d Added bootstrap/static to the STATIFILES_DIRS setting.
- Legacy-Id: 9897
2015-07-27 18:26:48 +00:00
Henrik Levkowetz 2da90c8ab3 Handle ^lib/ urls in development and test modes.
- Legacy-Id: 9892
2015-07-27 16:51:32 +00:00