Commit graph

6048 commits

Author SHA1 Message Date
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 8aeca50394 Writeup of CDN-related changes.
- Legacy-Id: 9944
2015-08-01 14:53:04 +00:00
Henrik Levkowetz 71cfe9459f - Legacy-Id: 9937 2015-08-01 12:59:14 +00:00
Henrik Levkowetz ff274b5e8b Removed the link under bootstrap/static; it's not needed any more.
- Legacy-Id: 9935
2015-08-01 12:57:08 +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 948804f73f Added static javascript and image files to the URLs crawled by the test-crawler.
- Legacy-Id: 9913
2015-07-29 17:03:32 +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
Henrik Levkowetz 3845e14500 Updated README.
- Legacy-Id: 9902
2015-07-27 20:33:05 +00:00
Henrik Levkowetz 5584997855 Upgraded bootstrap to 3.3.5
- Legacy-Id: 9899
2015-07-27 18:32:14 +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 a4da512d1f Added a subdirectory and symlink to let us run 'manage.py collectstatic' and find our custom bootstrap assets under an appropriate path.
- Legacy-Id: 9896
2015-07-27 18:25:26 +00:00
Henrik Levkowetz 5c53a86b37 Added a new bootstrap file from 3.3.5
- Legacy-Id: 9895
2015-07-27 18:09:03 +00:00
Henrik Levkowetz d152ad2280 Updated bootstrap to 3.3.5; our patches will be applied in the following commit.
- Legacy-Id: 9894
2015-07-27 18:07:34 +00:00
Henrik Levkowetz 224fef557c Added a --random switch to choose between different test-crawler modes.
- Legacy-Id: 9893
2015-07-27 16:52:26 +00:00
Henrik Levkowetz 2da90c8ab3 Handle ^lib/ urls in development and test modes.
- Legacy-Id: 9892
2015-07-27 16:51:32 +00:00
Henrik Levkowetz 3a0a36b1e1 Changed the location of a lot of static files.
- Legacy-Id: 9891
2015-07-26 18:16:54 +00:00
Henrik Levkowetz 4c4ff0f0cb Updated mkrelease to support use of the bower_install and collectstatic commands.
- Legacy-Id: 9890
2015-07-26 18:16:20 +00:00
Henrik Levkowetz 54aac4e12a Updated templates to use the 'static' template tag to dynamically point to the correct static files location.
- Legacy-Id: 9889
2015-07-26 18:15:24 +00:00
Henrik Levkowetz f9fa3eb1cc Modified the development and test settings for static files to match the new settings.
- Legacy-Id: 9888
2015-07-26 18:14:30 +00:00
Henrik Levkowetz a2bd61c29e Added a static/README file to provide guidance on the new static files setup.
- Legacy-Id: 9887
2015-07-26 18:12:59 +00:00
Henrik Levkowetz 415f42af82 Added a static directory to hold possible future staticfiles and also README and bower.json files related to the CDN-related changes.
- Legacy-Id: 9886
2015-07-26 18:12:15 +00:00
Henrik Levkowetz c40fc2d0dc Added staticfiles and CDN-related settings to settings.py
- Legacy-Id: 9885
2015-07-26 18:11:08 +00:00
Henrik Levkowetz 1fb8f5a005 Set version info and settings back to development mode
- Legacy-Id: 9882
2015-07-25 16:32:35 +00:00
Henrik Levkowetz 675eb77bf5 Set version info to release version 6.2.0 before branching.
- Legacy-Id: 9880
2015-07-25 16:32:29 +00:00
Henrik Levkowetz deb85ba764 Changelog entry for 6.2.0
- Legacy-Id: 9879
2015-07-25 16:32:25 +00:00
Henrik Levkowetz 73b195e580 Code coverage data for release 6.2.0
- Legacy-Id: 9878
2015-07-25 16:32:21 +00:00
Henrik Levkowetz ea26114076 Merged in [9875] from rjsparks@nostrum.com:
Improve the form validation for the submission replaces form.
 - Legacy-Id: 9877
Note: SVN reference [9875] has been migrated to Git commit 766270a344
2015-07-25 15:29:30 +00:00
Robert Sparks 766270a344 Improve the form validation for the submission replaces form. Commit ready for merge.
- Legacy-Id: 9875
2015-07-23 14:24:59 +00:00
Henrik Levkowetz a7179d5e03 Merged in [9862] from rjsparks@nostrum.com:
Ignore suggestions that a draft replaces itself.
 - Legacy-Id: 9874
Note: SVN reference [9862] has been migrated to Git commit 6ccd96fb31
2015-07-23 12:42:49 +00:00
Henrik Levkowetz 75a46fc2a8 Merged in [9861] from lars@netapp.com:
The concluded groups also show RGs now, rename menu item.
 - Legacy-Id: 9873
Note: SVN reference [9861] has been migrated to Git commit 93ff41d337
2015-07-23 12:20:26 +00:00