pkgsrc/www/php-concrete5/MESSAGE
ryoon 9a2e7dd4d3 Update to 5.7.4.2
* Update MESSAGES.

Changelog:
5.7.4.2

Behavioral Improvements

    Saving only a custom template on a block will no longer wrap that block in a custom design DIV. Better saving and resetting of custom designs on blocks and areas.
    Topics improvements: topics can now be created below other topics; the only different between topic categories and topics is that categories cannot be assigned to objects, only topics can.
    We now include the page ID in the attributes dialog and panel.
    Feature block now contains an instance of the rich text editor (thanks MrKarlDilkington)
    Improvements to new update functionality when site can't connect to concrete5.org
    Improvements to new update functionality to make it more resilient with failures, but error messaging.
    Adding attributes to a page will ask for it be checked back/approved when clicking the green icon.
    Theme name and description can now be translated (thanks mlocati)
    Added an error notice when deleting a page type that’s in use in your site.

Bug Fixes

    Some servers would redirect infinitely when activating a theme or attempting to logout. This has been fixed.
    Fix bug with multiple redactor instances on the same page and in the same composer window causing problems.
    Better rendering of empty areas in Firefox (thanks JeramyNS)
    Fixed problems with “concrete.seo.trailing_slash” set to true leading to an inability to login, other problems.
    Attributes that had already been filled out were being shown as still required in page check-in panel.
    Fixed bug where full URLs were incorrectly parsed if asset caching was enabled (thanks mlocati)
    Fix download file script leading to 404 errors after you go to the dashboard and hit the back button
    Fixed https://www.concrete5.org/developers/bugs/5-7-4-1/dont-allow-to-create-file-sets-with-names-containing-forbidden-c/
    Fix https://www.concrete5.org/developers/bugs/5-7-4-1/cant-replace-a-file-with-one-in-the-incoming-directory/
    Fix XSS in conversation author object; fix author name not showing if a user didn't put in a website (thanks jaromirdalecky)
    Searching files, pages and users by topics now works in the dashboard
    Picture tag now properly inserted by Redactor when working with themes that use responsive images.
    Fixed z-index of message author and status in conversations dashboard page.

Developer Updates

    API improvements to the RedactorEditor class.

And many improvements and bugfixes including security bugfixes.
2015-05-31 02:16:11 +00:00

110 lines
2.6 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.7 2015/05/31 02:16:11 ryoon Exp $
To use concrete5 with nginx, you will need to perform the following steps.
1. Install www/nginx and www/php-fpm with following in your mk.conf.
APACHE_USER=nginx
APACHE_GROUP=nginx
2. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line.
If your machine are located in Tokyo, Japan, you should get the following.
# cat ${PREFIX}/etc/php.ini | grep date.timezone
date.timezone ="Asia/Tokyo"
3. Install MySQL database server.
# cd databases/mysql55-server
# make install
4. Start MySQL server, and setup MySQL server
# ${RCD_SCRIPTS_DIR}/mysqld start
And see messages.
5. Add MySQL user, concrete5
$ mysql -u root -p
Enter password: YOUR_MYSQL_ROOT_PASSWORD
> create user concrete5 identified by 'concrete5_user_password';
> quit
6. Create database for concrete5
$ mysql -u root -p
Enter password: YOUR_MYSQL_ROOT_PASSWORD
> create database concrete5_db;
> grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
on concrete5_db.* to concrete5@localhost identified by 'concrete5_password';
> quit
7. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=gd.so
extension=dom.so
extension=pdo.so
extension=pdo_mysql.so
extension=iconv.so
extension=mbstring.so
extension=curl.so
extension=mcrypt.so
extension=json.so
extension=zip.so
default_charaset = UTF8
mbstring.language = neutral
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
iconv.input_encoding = UTF-8
iconv.internal_encoding = UTF-8
8. Be sure to have the following lines in ${PREFIX}/etc/nginx/nginx.conf
http {
include /usr/pkg/etc/nginx/mime.types;
upstream php-handler {
server 127.0.0.1:9000;
}
server {
listen 80;
server_name YOUR_SERVER_NAME;
client_max_body_size 20m;
location / {
root ${PREFIX}/share/concrete5;
index index.php index.html index.htm;
try_files $uri $uri/ @rewrite;
}
location @rewrite {
rewrite ^/(.*)$ /index.php/$1 last;
}
location ~ \.php($|/) {
root ${PREFIX}/share/concrete5;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
}
9. Start php-fpm and nginx.
# ${RCD_SCRIPTS_DIR}/php_fpm start
# ${RCD_SCRIPTS_DIR}/nginx start
10. Access http://localhost/
And setup with the following information.
database name: concrete5_db
user name: concrete5
password: concrete5_password
===========================================================================