Merge remote-tracking branch 'origin/3.3' into 3

This commit is contained in:
Ingo Schommer 2016-03-04 14:55:08 +13:00
commit 466ed29f0e
2 changed files with 36 additions and 9 deletions

View File

@ -204,7 +204,10 @@
fromContainingPanel: { fromContainingPanel: {
ontoggle: function(e){ ontoggle: function(e){
this.toggleClass('collapsed', $(e.target).hasClass('collapsed')); this.toggleClass('collapsed', $(e.target).hasClass('collapsed'));
$(window).resize(); //Trigger jLayout
// Trigger synthetic resize event. Avoid native window.resize event
// since it causes other behaviour which should be reserved for actual window dimension changes.
$('.cms-container').trigger('windowresize');
} }
}, },

View File

@ -74,6 +74,8 @@ the [core committers](core_committers), who will assist with setting up your cre
* AWS write permissions on the `silverstripe-ssorg-releases` s3 bucket. * AWS write permissions on the `silverstripe-ssorg-releases` s3 bucket.
* Permission on [silverstripe release announcement](https://groups.google.com/forum/#!forum/silverstripe-announce). * Permission on [silverstripe release announcement](https://groups.google.com/forum/#!forum/silverstripe-announce).
* Moderator permissions in the #silverstripe [IRC channel](http://www.silverstripe.org/community/contributing-to-silverstripe/irc-channel/) * Moderator permissions in the #silverstripe [IRC channel](http://www.silverstripe.org/community/contributing-to-silverstripe/irc-channel/)
* Administrator account on [docs.silverstripe.org](https://docs.silverstripe.org) and
[userhelp.silverstripe.org](https://userhelp.silverstripe.org).
### First time setup: Security releases ### First time setup: Security releases
@ -293,20 +295,42 @@ aren't strictly able to be automated:
If releasing a new major or minor version it may be necessary to update various SilverStripe portals. Normally a new If releasing a new major or minor version it may be necessary to update various SilverStripe portals. Normally a new
minor version will require a new branch option to be made available on each site menu. These sites include: minor version will require a new branch option to be made available on each site menu. These sites include:
* [docs.silverstripe.org](https://docs.silverstripe.org): Update on [github](https://github.com/silverstripe/doc.silverstripe.org) * [docs.silverstripe.org](https://docs.silverstripe.org):
and deployed internally. * New branches (minor releases) require a code update. Changes are made to
[github](https://github.com/silverstripe/doc.silverstripe.org) and deployed via
[SilverStripe Platform](https://platform.silverstripe.com/naut/project/SS-Developer-Docs/environment/Production/)
* Updates to markdown only can be made via the [build tasks](https://docs.silverstripe.org/dev/tasks).
See below for more details.
* [userhelp.silverstripe.org](https://userhelp.silverstripe.org/en/3.2):
* Updated similarly to docs.silverstripe.org: Code changes are made to
[github](https://github.com/silverstripe/userhelp.silverstripe.org) and deployed via
[SilverStripe Platform](https://platform.silverstripe.com/naut/project/SS-User-Docs/environment/Production/).
* The content for this site is pulled from [silverstripe-userhelp-content](https://github.com/silverstripe/silverstripe-userhelp-content)
* Updates to markdown made via the [build tasks](https://userhelp.silverstripe.org/dev/tasks).
See below for more details.
* [demo.silverstripe.org](http://demo.silverstripe.org/): Update code on
[github](https://github.com/silverstripe/demo.silverstripe.org/)
and deployed via [SilverStripe Platform](https://platform.silverstripe.com/naut/project/ss3demo/environment/live).
* [api.silverstripe.org](https://api.silverstripe.org): Update on [github](https://github.com/silverstripe/api.silverstripe.org) * [api.silverstripe.org](https://api.silverstripe.org): Update on [github](https://github.com/silverstripe/api.silverstripe.org)
and deployed internally. and deployed via [SilverStripe Platform](https://platform.silverstripe.com/naut/project/api/environment/live). Currently
* [userhelp.silverstripe.org](https://userhelp.silverstripe.org/en/3.2): Update on the only way to rebuild the api docs is via SSH in and running the apigen task.
[github](https://github.com/silverstripe/userhelp.silverstripe.org) and deployed internally.
The content for this site is pulled from [silverstripe-userhelp-content](https://github.com/silverstripe/silverstripe-userhelp-content)
* [demo.silverstripe.org](http://demo.silverstripe.org/): Update on
[github](https://github.com/silverstripe/demo.silverstripe.org/) and deployed internally.
It's also a good idea to check that `Deprecation::notification_version('4.0.0');` in framework/_config.php points to It's also a good idea to check that `Deprecation::notification_version('4.0.0');` in framework/_config.php points to
the right major version. This should match the major version of the current release. E.g. all versions of 4.x the right major version. This should match the major version of the current release. E.g. all versions of 4.x
should be set to `4.0.0`. should be set to `4.0.0`.
*Updating markdown files*
When updating markdown on sites such as userhelp.silverstripe.org or docs.silverstripe.org, the process is similar:
* Run `RefreshMarkdownTask` to pull down new markdown files.
* Then `RebuildLuceneDocsIndex` to update search indexes.
Running either of these tasks may time out when requested, but will continue to run in the background. Normally
only the search index rebuild takes a long period of time.
Note that markdown is automatically updated daily, and this should only be done if an immediate refresh is necessary.
### Stage 3: Let the world know ### Stage 3: Let the world know
Once a release has been published there are a few places where user documentation Once a release has been published there are a few places where user documentation