Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Commit

Permalink
released 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danrot committed Feb 13, 2015
2 parents feada6d + 1ce8030 commit 202b6fb
Show file tree
Hide file tree
Showing 40 changed files with 1,943 additions and 697 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# IDEs
.idea/*
*.iml
*~

# System files
.DS_Store
Expand Down
52 changes: 19 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,27 @@
sudo: false
sudo: true

language: php

php:
- 5.5
- 5.6
- hhvm

env:
global:
- secure: "Uft74EqqtZ2NOYECsx8bq8RaN8L40S12X9rFqsVLrbV2E8ru8ijL4mZNcRYYSSG5L6jR27wvlalTbzxBRWT1LnAt15AreCmuq/m9tj3yyXMNkX6dASVpw/qxTlgeAwGP26iFe4zgKubmyQXZroK8iIN4/HimRwYaADSeQ4j8QyQ="
- secure: "UmFds85SDbGAGgayw75iXegyElb68BVjT+rwwaUDtokreSgUytnj6+puFcomYtE5SiHmhZbcDZs2f4jBh0GlmDCULBIsj2i3B+qUdt0S3k6yNUhqEM6FoEmrFeiD0hK3PUW267LJEhZjgQfjkAhRGoF6RpLQFrvZFi9ldbS207c="
- SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/sulu/logs
- DB=mysql

before_script:
- mkdir -p $LOGS_DIR
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE sulu;"; fi
- if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE sulu;" -U postgres; fi
- cp app/Resources/pages/default.xml.dist app/Resources/pages/default.xml
- cp app/Resources/pages/overview.xml.dist app/Resources/pages/overview.xml
- cp app/Resources/snippets/default.xml.dist app/Resources/snippets/default.xml
- cp app/Resources/webspaces/sulu.io.xml.dist app/Resources/webspaces/sulu.io.xml
- ./tests/sauce/connect_setup.sh
- composer self-update
- composer update --prefer-dist --no-interaction
- php app/console sulu:build dev --no-interaction
- php app/console server:run 0.0.0.0:8000 --router=app/config/router_admin.php --env prod > /dev/null 2>&1 &
- ./tests/sauce/connect_block.sh
global:
- secure: "Uft74EqqtZ2NOYECsx8bq8RaN8L40S12X9rFqsVLrbV2E8ru8ijL4mZNcRYYSSG5L6jR27wvlalTbzxBRWT1LnAt15AreCmuq/m9tj3yyXMNkX6dASVpw/qxTlgeAwGP26iFe4zgKubmyQXZroK8iIN4/HimRwYaADSeQ4j8QyQ="
- secure: "UmFds85SDbGAGgayw75iXegyElb68BVjT+rwwaUDtokreSgUytnj6+puFcomYtE5SiHmhZbcDZs2f4jBh0GlmDCULBIsj2i3B+qUdt0S3k6yNUhqEM6FoEmrFeiD0hK3PUW267LJEhZjgQfjkAhRGoF6RpLQFrvZFi9ldbS207c="
- SAUCE_CONNECT_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/sulu/logs
- DB=mysql
- BEHAT_PROFILE=sauce_labs
matrix:
- BEHAT_SUITES="admin contact"
- BEHAT_SUITES="content core location"
- BEHAT_SUITES="media security snippet tag"
- BEHAT_SUITES="category"

script: ./tests/runtests.sh

script: bin/paratest -p 2 -f
php:
- 5.6

matrix:
allow_failures:
- php: hhvm
before_script: ./tests/beforetests.sh

after_script:
- ./tests/travis_print_logs.sh

- cat /tmp/http_log
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
CHANGELOG for Sulu CMF
======================

* 0.15.0
* FEATURE #405 [sulu-standard] Inclusion of PHPCR-Shell as a dev dependency
* ENHANCEMENT #401 [sulu-standard] Using the SYMONY_ENV environment variable instead of APP_ENV
* BUGFIX #829 [ContactBundle] Account-Contacts: show full-name of contact
* ENHANCEMENT #828 [ContactBundle] Changed columns for contact list and made concatenated columns not sortable
* BUGFIX #825 [WebsiteBundle] Fixed syntax error in ExceptionController
* FEATURE #806 [SnippetBundle] added sorting feature to snippet content type
* FEATURE #806 [ContentBundle] added sorting feature to internal links content type
* ENHANCEMENT #798 [All] Updated Symfony version to 2.6
* BUGFIX #826 [All] Moved locales config from admin-bundle to core-bundle
* BUGFIX #736 [WebsiteBundle] Redirect with port didn't work
* ENHANCEMENT #735 [CategoryBundle] Use parameters instead of FCQN of entities in service config
* ENHANCEMENT #735 [MediaBundle] Use parameters instead of FCQN of entities in service config
* ENHANCEMENT #735 [TagBundle] Use parameters instead of FCQN of entities in service config
* FEATURE #792 [ContactBundle] added widget to show all companys of contact
* FEATURE #820 [ContactBundle] Contact-Import: define multiple tags: 'account_tag1 ..n'
* FEATURE #810 [ContactBundle] added command line tool for detecting missing country codes in import csv files
that uses google geo api for finding the correct country code
* BUGFIX #801 [All] Removed unused clean task which is deleting the public directory when executed
due to the symfony 2.6 changes to symlinks
* FEATURE #793 [SecurityBundle] Added field passwordForgetToken to BaseUser-Entity
* FEATURE #793 [ContactBundle] Added Repository service for Contact
* BUGFIX #795 [ContentBundle] Reversed structure paths to enable custom config
* ENHANCEMENT #776 [CoreBundle] Added set title to index page for init webspaces
* BUGFIX #774 [ContentBundle] Enabled save shadow for index pages
* BUGFIX #778 [ContentBundle] Fixed shadow page with internal link and smart-content
* BUGFIX #790 [WebsiteBundle] Fixed twig variables for 404 page
* FEATURE #684 [ContentBundle] Refactored preview to use new websocket component and only one socket for form
and preview
* FEATURE #684 [WebsocketBundle] Implemented Websocket Component to standardize Websocket implementations
* BUGFIX #753 [MediaBundle] Fix 0 bytes file upload
* FEATURE #714 [ContentBundle] Add Option to hide page in sidemap
* ENHANCEMENT #740 [SecurityBundle] Made role content navigation extendable
* FEATURE #569 [All] Behat integration - behat features for bundles
* ENHANCEMENT #692 [SecurityBundle] Made user extendable
* ENHANCEMENT #731 [TestBundle] Removed test user
* BUGFIX #671 [MediaBundle] Fixed fileversion update with meta data
* FEATURE #702 [AdminBundle] Added sortings to user settings and changed default url for activities
* BUGFIX #697 [ContactBundle] Set VAT number field optional
* BUGFIX #697 [CoreBundle] Do not try and set the theme when the portal has not been found
* FEATURE #697 [HttpCacheBundle] Refactored HTTP cache, introduced Varnish support. See 38af8da73c929f9f57bb87a8973a1ee55dccee29
* ENHANCEMENT #777 [ContentBundle] Enable "copy language" on startpage
* FEATURE #722 [ClientBundle] Add Dependency Injection
* ENHANCEMENT #699 [sulu-standard] Add single internal link and checkbox to example
* ENHANCEMENT #404 [AdminBundle] Added config param "sulu_admin.locales" for content locales

* 0.14.2 (2015-02-02)
* HOTFIX #781 [CoreBundle] HTTP Cache event listener uses the wrong event name due to recent change

Expand Down
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) MassiveArt Webservices GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
68 changes: 68 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,74 @@
# Upgrade

## 0.15.0

### Sulu Locales
The Sulu Locales are not hardcoded anymore, but configured in the `app/config/config.yml` file:

```yml
sulu_core:
locales: ["de","en"]
```
You have to add the locales to your configuration, otherwise Sulu will stop working.
### Internal Links
The internal representation of the internal links have changed, you have to run the following command to convert them:
```bash
app/console sulu:upgrade:0.15.0:internal-links
```

### Websocket Component

Websocket start command changed to `app/console sulu:websocket:run`. If you use xdebug on your server please start
websockets with `app/console sulu:websocket:run -e prod`.

Rename the parameters `content_preview_port` and `content_preview_url` to `websocket_port` and `websocket_url`.
Additionally remove 'ws://' at front and '/' at end from `websocket_url`.

Default behavior is that websocket turned of for preview, if you want to use it turn it on in the
`app/config/admin/config.yml` under:

```yml
sulu_content:
preview:
mode: auto # possibilities [auto, on_request, off]
websocket: false # use websockets for preview, if true it tries to connect to websocket server,
# if that fails it uses ajax as a fallback
delay: 300 # used for the delayed send of changes, lesser delay are more request but less latency
```
### HTTP Cache
The HTTP cache integration has been refactored. The following configuration
must be **removed**:
````yaml
sulu_core:
# ...
http_cache:
type: symfonyHttpCache
````
The Symfony HTTP cache is enabled by default now, so there is no need to do
anything else. See the [HTTP cache
documentation](http://sulu.readthedocs.org/en/latest/reference/bundles/http_cache.html)
for more information.
### Renamed RequestAnalyzerInterface methods
The text "Current" has been removed from all of the request analyzer methods.
If you used the request analyzer service then you will probably need to update
your code, see: https://github.com/sulu-cmf/sulu/pull/749/files#diff-23
### Environment Variable
We are now using the `SYMFONY_ENV` instead of the `APP_ENV` environment variable. You have to update your
`web/.htaccess` file or your system environment variables.

## 0.14.0

* Role name is now unique
* check roles and give them unique names
* Apply all permissions correctly, otherwise users won't be able to work on snippets, categories or tags anymore
Expand Down
5 changes: 5 additions & 0 deletions app/AbstractKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public function registerBundles()
new Sulu\Bundle\WebsiteBundle\SuluWebsiteBundle(),
new Sulu\Bundle\LocationBundle\SuluLocationBundle(),
new Sulu\Bundle\SearchBundle\SuluSearchBundle(),
new Sulu\Bundle\HttpCacheBundle\SuluHttpCacheBundle(),
new Sulu\Bundle\WebsocketBundle\SuluWebsocketBundle(),

// website
new Client\Bundle\WebsiteBundle\ClientWebsiteBundle(),
Expand All @@ -67,8 +69,11 @@ public function registerBundles()
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();


// debug enhancement
$bundles[] = new RaulFraile\Bundle\LadybugBundle\RaulFraileLadybugBundle();
$bundles[] = new Sulu\Bundle\TestBundle\SuluTestBundle();
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
}

return $bundles;
Expand Down
14 changes: 14 additions & 0 deletions app/Resources/pages/example.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@
<title lang="en">Time input</title>
</meta>
</property>

<property name="checkbox" type="checkbox">
<meta>
<title lang="de">Checkbox</title>
<title lang="en">Checkbox</title>
</meta>
</property>

<property name="single_link" type="single_internal_link">
<meta>
<title lang="de">Einzelner Interner Link</title>
<title lang="en">Single Internal links</title>
</meta>
</property>
</properties>
</section>

Expand Down
Loading

0 comments on commit 202b6fb

Please sign in to comment.