Commit graph

9387 commits

Author SHA1 Message Date
Felicity Tarnell
31a318d386 etc: add sample uwsgi and nginx configuration files 2015-05-01 15:02:29 +01:00
Felicity Tarnell
771ca040b3 scripts/make-latest.sh: show usage with no arguments 2015-05-01 14:13:18 +01:00
Felicity Tarnell
f612db20c4 scripts/make-latest.sh: new script to generate new latest.sh 2015-05-01 14:11:05 +01:00
Felicity Tarnell
8937ffd560 scripts/latest.sh: if file is unchanged, do not exit with an error 2015-05-01 14:07:24 +01:00
Felicity Tarnell
9fa78bf21b scripts/latest.sh: set correct acl on upload 2015-05-01 14:05:17 +01:00
Felicity Tarnell
b0b577e963 scripts/latest.sh: should be TERM here, not EXIT 2015-05-01 13:58:40 +01:00
Felicity Tarnell
20e159d1f8 scripts/latest.sh: script to edit latest.txt
This script supports 'get', 'put' and 'vi' commands to edit the file at
http://releases.wagtail.io/latest.txt.  Usage is fairly straightforward:

$ scripts/latest.sh get my-latest.txt
$ vi my-latest.txt
$ scripts/latest.sh put my-latest.txt

Or, in a single command (equivalent to get, vi and put):

$ scripts/latest.sh vi

'put' will automatically create a CloudFront invalidation, that
typically takes around 15 minutes to fully deploy

TODO: documentation; script to create a template latest.txt based on
      command-line arguments.
2015-05-01 12:29:58 +01:00
Karl Hobley
3bc798a450 Typo fix in search backends tests 2015-05-01 11:10:42 +01:00
Tim Heap
4614526416 Move require() calls out of gulp tasks 2015-05-01 08:53:05 +10:00
Tim Heap
2af8fdf8b6 Build assest as part of watching them 2015-05-01 08:53:05 +10:00
Tim Heap
37816f68cf Move all static assets to static_src, compile to static
The fonts were also relocated out of the `scss/fonts` directory to their
own `fonts` directory.

All the `static` directories are now ignored, and are completely
generated from the compilation process.
2015-05-01 08:53:04 +10:00
Tim Heap
0be22dc3f0 Check for and warn about missing assets in setup.py install 2015-05-01 08:53:04 +10:00
Tim Heap
136d97dca2 Add instructions on compiling SCSS files to docs 2015-05-01 08:53:04 +10:00
Tim Heap
ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00
Matt Westcott
7936e8c01d Skip TestServeWithUnicodeFilename if filesystem doesn't support unicode filenames 2015-04-30 11:42:43 +01:00
Brett Grace
d5e2ccff90 Enable optional RichTextBlocks
This commit enables the use of required and help_text as parameters to
the RichTextBlock constructor. Unit tests for required=True and
required=False are included in this commit.
2015-04-29 19:05:24 -07:00
Matt Westcott
733f2c3ef6 Merge pull request #1133 from kaedroho/issue-746
Set has_unpublished_changes in Page.save_revision
2015-04-29 17:14:23 +01:00
Matt Westcott
ad3a3d6c54 Finalise 0.8.7 in documentation
Conflicts:
	CHANGELOG.txt
2015-04-29 14:08:32 +01:00
Matt Westcott
ea22d3d2f9 release note for #1244 2015-04-28 19:06:32 +01:00
Matt Westcott
00d2fd16ac Merge branch 'fix/unicode-doc-filename' 2015-04-28 17:43:04 +01:00
Matt Westcott
dcdbd7ea36 Fall back on ASCII filename if setting Content-Disposition fails - fixes #1166 2015-04-28 13:02:30 +01:00
Dave Cranwell
5da7a31bc2 Merge pull request #1237 from JoshBarr/feature/javascript-airbnb
Conform JavaScript to Airbnb StyleGuide
2015-04-28 12:37:32 +01:00
Matt Westcott
d0abaa77fe support Django 1.8 in setup.py 2015-04-27 15:25:05 +01:00
Matt Westcott
e243cf2403 remove note that was meaningful when the rich text tag library was called rich_text, but isn't any more 2015-04-27 15:23:47 +01:00
Matt Westcott
9ebd6979ae CAN HAZ DJANGO 1.8 2015-04-27 15:21:56 +01:00
Matt Westcott
9f9c991364 Merge branch 'kaedroho-new-routable-page' 2015-04-27 14:51:49 +01:00
Matt Westcott
d3a16b8d27 Release note for #1161 2015-04-27 14:51:33 +01:00
Matt Westcott
6668a5fa69 revert typo fix which wasn't 2015-04-27 14:22:15 +01:00
Matt Westcott
d385e1fd4b TestPageModel needs to be both is_abstract = True and Meta.abstract = True 2015-04-27 14:22:15 +01:00
Karl Hobley
1401df9457 Fix typo
It's friday afternoon...
2015-04-27 14:22:15 +01:00
Karl Hobley
69e65a4ab8 Check that using subpage_urls raises deprecation 2015-04-27 14:22:15 +01:00
Karl Hobley
122c524a1c Hide subpage_urls deprecation warning in tests 2015-04-27 14:22:15 +01:00
Karl Hobley
4b4b4bcc74 Skip old style tests on Django 1.8 and above 2015-04-27 14:22:15 +01:00
Karl Hobley
1384129d89 Added deprecation warning for old style 2015-04-27 14:22:15 +01:00
Karl Hobley
7200def791 Added @route decorator 2015-04-27 14:22:15 +01:00
Matt Westcott
f7b2cfbb4e Move release note for #1236 from 1.0 to 0.8.7 2015-04-27 14:22:01 +01:00
Josh Barr
d83ef58ecb added JS documentation to the contributing section 2015-04-27 23:05:36 +12:00
Tom Dyson
7a66367517 Merge pull request #1239 from revsys/copyright-year
Update docs copyright year
2015-04-26 21:57:48 +01:00
Tom Dyson
c7f8813020 Merge pull request #1238 from revsys/sites-in-docs
Add Sites to configuration instructions
2015-04-26 21:57:18 +01:00
Frank Wiles
312033ba4e Update docs copyright year 2015-04-25 13:01:58 -05:00
Frank Wiles
9239057489 Add Sites to configuration instructions 2015-04-25 12:22:54 -05:00
Josh Barr
d28e9ab3d6 fixed all linter errors... ignored modal js 2015-04-25 18:38:33 +12:00
Josh Barr
3319d87195 auto formatted js files 2015-04-25 17:52:54 +12:00
Josh Barr
d5045a620a exclude server-side generated JS files 2015-04-25 17:51:02 +12:00
Josh Barr
69fedba2b0 added newline to end of file 2015-04-25 17:48:06 +12:00
Josh Barr
b02ca75214 added spec for linting js 2015-04-25 17:46:45 +12:00
Matt Westcott
d22413dafc Remove 'customising the tabbed interface' section from 1.0 release notes
It's covered by the 'editing API' docs, and isn't something that developers need to know about at the point of upgrading.
2015-04-24 15:17:08 +01:00
Dave Cranwell
f0b12dede4 Update README.rst 2015-04-24 11:40:05 +01:00
Dave Cranwell
6f8e1e65cb Update README.rst 2015-04-24 11:39:07 +01:00
Dave Cranwell
88e5bc5cee fixing typo, which added double quote to static file name 2015-04-24 10:48:12 +01:00