Development

Changeset 11147

You must first sign up to be able to contribute.

Changeset 11147

Show
Ignore:
Timestamp:
08/26/08 08:05:10 (5 months ago)
Author:
fabien
Message:

[1.1, 1.2] fixed Markdown for UPGRADE files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/UPGRADE

    r9285 r11147  
    172172    sfContext::getInstance()->getLogger() 
    173173 
    174 Routing 
    175 ~~~~~~~ 
     174### Routing 
    176175 
    177176Here is the default configuration for the routing in `factories.yml`: 
     
    185184The `project:upgrade1.1` task makes all the changes for you. 
    186185 
    187 Logging 
    188 ~~~~~~~ 
     186### Logging 
    189187 
    190188Here is the default configuration for logging in `factories.yml`: 
     
    232230The `project:upgrade1.1` task makes all those changes for you. 
    233231 
    234 i18n 
    235 ~~~~ 
     232### i18n 
    236233 
    237234Here is the default configuration for i18n in `factories.yml`: 
     
    613610The symfony command line task names have changed. They now use a namespace syntax. The old task names still work--they are just aliases for the new task names. Here is a table showing the name changes: 
    614611 
    615     Old task name             |  New task name 
    616     --------------------------|----------------- 
    617     clear-cache               | cache:clear 
    618     clear-controllers         | project:clear-controllers 
    619     disable                   | project:disable 
    620     downgrade                 | [Not implemented] 
    621     enable                    | project:enable 
    622     fix-perms                 | project:permissions 
    623     freeze                    | project:freeze 
    624     init-app                  | generate:app 
    625     init-batch                | [Not implemented] 
    626     init-controller           | [Not implemented] 
    627     init-module               | generate:module 
    628     init-project              | generate:project 
    629     log-purge                 | log:clear 
    630     log-rotate                | log:rotate 
    631     plugin-install            | plugin:install 
    632     plugin-list               | plugin:list 
    633     plugin-uninstall          | plugin:uninstall 
    634     plugin-upgrade            | plugin:upgrade 
    635     propel-build-all          | propel:build-all 
    636     propel-build-all-load     | propel:build-all-load 
    637     propel-build-db           | propel:build-db 
    638     propel-build-model        | propel:build-model 
    639     propel-build-schema       | propel:build-schema 
    640     propel-build-sql          | propel:build-sql 
    641     propel-convert-xml-schema | propel:schema-to-yml 
    642     propel-convert-yml-schema | propel:schema-to-xml 
    643     propel-dump-data          | propel:data-dump 
    644     propel-generate-crud      | propel:generate-crud 
    645     propel-init-admin         | propel:init-admin 
    646     propel-init-crud          | [Not implemented] 
    647     propel-insert-sql         | propel:insert-sql 
    648     propel-load-data          | propel:data-load 
    649     sync                      | project:deploy 
    650     test-all                  | test:all 
    651     test-functional           | test:functional 
    652     test-unit                 | test:unit 
    653     unfreeze                  | project:unfreeze 
    654     upgrade                   | project:freeze 
     612 Old task name             |  New task name 
     613 ------------------------- | ---------------- 
     614 clear-cache               | cache:clear 
     615 clear-controllers         | project:clear-controllers 
     616 disable                   | project:disable 
     617 downgrade                 | [Not implemented] 
     618 enable                    | project:enable 
     619 fix-perms                 | project:permissions 
     620 freeze                    | project:freeze 
     621 init-app                  | generate:app 
     622 init-batch                | [Not implemented] 
     623 init-controller           | [Not implemented] 
     624 init-module               | generate:module 
     625 init-project              | generate:project 
     626 log-purge                 | log:clear 
     627 log-rotate                | log:rotate 
     628 plugin-install            | plugin:install 
     629 plugin-list               | plugin:list 
     630 plugin-uninstall          | plugin:uninstall 
     631 plugin-upgrade            | plugin:upgrade 
     632 propel-build-all          | propel:build-all 
     633 propel-build-all-load     | propel:build-all-load 
     634 propel-build-db           | propel:build-db 
     635 propel-build-model        | propel:build-model 
     636 propel-build-schema       | propel:build-schema 
     637 propel-build-sql          | propel:build-sql 
     638 propel-convert-xml-schema | propel:schema-to-yml 
     639 propel-convert-yml-schema | propel:schema-to-xml 
     640 propel-dump-data          | propel:data-dump 
     641 propel-generate-crud      | propel:generate-crud 
     642 propel-init-admin         | propel:init-admin 
     643 propel-init-crud          | [Not implemented] 
     644 propel-insert-sql         | propel:insert-sql 
     645 propel-load-data          | propel:data-load 
     646 sync                      | project:deploy 
     647 test-all                  | test:all 
     648 test-functional           | test:functional 
     649 test-unit                 | test:unit 
     650 unfreeze                  | project:unfreeze 
     651 upgrade                   | project:freeze 
    655652 
    656653As before, if you want to list the available tasks, just call the `symfony` command with no argument: 
     
    681678  * Change your front controllers so they look like this: 
    682679 
    683       {{{ 
     680        [php] 
    684681        <?php 
    685682 
     
    688685        $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true); 
    689686        sfContext::createInstance($configuration)->dispatch(); 
    690       }}} 
    691687 
    692688You can now launch the `project:upgrade1.1` script to finish the upgrade. 
  • branches/1.2/UPGRADE_TO_1_1

    r10628 r11147  
    172172    sfContext::getInstance()->getLogger() 
    173173 
    174 Routing 
    175 ~~~~~~~ 
     174### Routing 
    176175 
    177176Here is the default configuration for the routing in `factories.yml`: 
     
    185184The `project:upgrade1.1` task makes all the changes for you. 
    186185 
    187 Logging 
    188 ~~~~~~~ 
     186### Logging 
    189187 
    190188Here is the default configuration for logging in `factories.yml`: 
     
    232230The `project:upgrade1.1` task makes all those changes for you. 
    233231 
    234 i18n 
    235 ~~~~ 
     232### i18n 
    236233 
    237234Here is the default configuration for i18n in `factories.yml`: 
     
    613610The symfony command line task names have changed. They now use a namespace syntax. The old task names still work--they are just aliases for the new task names. Here is a table showing the name changes: 
    614611 
    615     Old task name             |  New task name 
    616     --------------------------|----------------- 
    617     clear-cache               | cache:clear 
    618     clear-controllers         | project:clear-controllers 
    619     disable                   | project:disable 
    620     downgrade                 | [Not implemented] 
    621     enable                    | project:enable 
    622     fix-perms                 | project:permissions 
    623     freeze                    | project:freeze 
    624     init-app                  | generate:app 
    625     init-batch                | [Not implemented] 
    626     init-controller           | [Not implemented] 
    627     init-module               | generate:module 
    628     init-project              | generate:project 
    629     log-purge                 | log:clear 
    630     log-rotate                | log:rotate 
    631     plugin-install            | plugin:install 
    632     plugin-list               | plugin:list 
    633     plugin-uninstall          | plugin:uninstall 
    634     plugin-upgrade            | plugin:upgrade 
    635     propel-build-all          | propel:build-all 
    636     propel-build-all-load     | propel:build-all-load 
    637     propel-build-db           | propel:build-db 
    638     propel-build-model        | propel:build-model 
    639     propel-build-schema       | propel:build-schema 
    640     propel-build-sql          | propel:build-sql 
    641     propel-convert-xml-schema | propel:schema-to-yml 
    642     propel-convert-yml-schema | propel:schema-to-xml 
    643     propel-dump-data          | propel:data-dump 
    644     propel-generate-crud      | propel:generate-crud 
    645     propel-init-admin         | propel:init-admin 
    646     propel-init-crud          | [Not implemented] 
    647     propel-insert-sql         | propel:insert-sql 
    648     propel-load-data          | propel:data-load 
    649     sync                      | project:deploy 
    650     test-all                  | test:all 
    651     test-functional           | test:functional 
    652     test-unit                 | test:unit 
    653     unfreeze                  | project:unfreeze 
    654     upgrade                   | project:freeze 
     612 Old task name             |  New task name 
     613 ------------------------- | ---------------- 
     614 clear-cache               | cache:clear 
     615 clear-controllers         | project:clear-controllers 
     616 disable                   | project:disable 
     617 downgrade                 | [Not implemented] 
     618 enable                    | project:enable 
     619 fix-perms                 | project:permissions 
     620 freeze                    | project:freeze 
     621 init-app                  | generate:app 
     622 init-batch                | [Not implemented] 
     623 init-controller           | [Not implemented] 
     624 init-module               | generate:module 
     625 init-project              | generate:project 
     626 log-purge                 | log:clear 
     627 log-rotate                | log:rotate 
     628 plugin-install            | plugin:install 
     629 plugin-list               | plugin:list 
     630 plugin-uninstall          | plugin:uninstall 
     631 plugin-upgrade            | plugin:upgrade 
     632 propel-build-all          | propel:build-all 
     633 propel-build-all-load     | propel:build-all-load 
     634 propel-build-db           | propel:build-db 
     635 propel-build-model        | propel:build-model 
     636 propel-build-schema       | propel:build-schema 
     637 propel-build-sql          | propel:build-sql 
     638 propel-convert-xml-schema | propel:schema-to-yml 
     639 propel-convert-yml-schema | propel:schema-to-xml 
     640 propel-dump-data          | propel:data-dump 
     641 propel-generate-crud      | propel:generate-crud 
     642 propel-init-admin         | propel:init-admin 
     643 propel-init-crud          | [Not implemented] 
     644 propel-insert-sql         | propel:insert-sql 
     645 propel-load-data          | propel:data-load 
     646 sync                      | project:deploy 
     647 test-all                  | test:all 
     648 test-functional           | test:functional 
     649 test-unit                 | test:unit 
     650 unfreeze                  | project:unfreeze 
     651 upgrade                   | project:freeze 
    655652 
    656653As before, if you want to list the available tasks, just call the `symfony` command with no argument: 
     
    681678  * Change your front controllers so they look like this: 
    682679 
    683       {{{ 
     680        [php] 
    684681        <?php 
    685682 
     
    688685        $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true); 
    689686        sfContext::createInstance($configuration)->dispatch(); 
    690       }}} 
    691687 
    692688You can now launch the `project:upgrade1.1` script to finish the upgrade. 
  • branches/1.2/UPGRADE_TO_1_2

    r11116 r11147  
    2828------------- 
    2929 
    30 Request 
    31 ~~~~~~~ 
     30### Request 
    3231 
    3332The `path_info_array`, `path_info_key`, and `relative_url_root` settings have 
     
    4140instead of being passed as an attribute. 
    4241 
    43 Response 
    44 ~~~~~~~~ 
     42### Response 
    4543 
    4644There is a new setting for the `response` factory: `send_http_headers`. 
     
    124122----- 
    125123 
    126 Cookies 
    127 ~~~~~~~ 
     124### Cookies 
    128125 
    129126Cookies are now extensively supported in the `sfBrowser` and `sfTestBrowser` 
     
    166163of each cookie. 
    167164 
    168 Links 
    169 ~~~~~ 
     165### Links 
    170166 
    171167When you simulate a click on a button or on a link, you give the name to the `click()`