Changeset 11147
- Timestamp:
- 08/26/08 08:05:10 (3 months ago)
- Files:
-
- branches/1.1/UPGRADE (modified) (6 diffs)
- branches/1.2/UPGRADE_TO_1_1 (modified) (6 diffs)
- branches/1.2/UPGRADE_TO_1_2 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/UPGRADE
r9285 r11147 172 172 sfContext::getInstance()->getLogger() 173 173 174 Routing 175 ~~~~~~~ 174 ### Routing 176 175 177 176 Here is the default configuration for the routing in `factories.yml`: … … 185 184 The `project:upgrade1.1` task makes all the changes for you. 186 185 187 Logging 188 ~~~~~~~ 186 ### Logging 189 187 190 188 Here is the default configuration for logging in `factories.yml`: … … 232 230 The `project:upgrade1.1` task makes all those changes for you. 233 231 234 i18n 235 ~~~~ 232 ### i18n 236 233 237 234 Here is the default configuration for i18n in `factories.yml`: … … 613 610 The 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: 614 611 615 Old task name | New task name616 --------------------------|-----------------617 clear-cache | cache:clear618 clear-controllers | project:clear-controllers619 disable | project:disable620 downgrade | [Not implemented]621 enable | project:enable622 fix-perms | project:permissions623 freeze | project:freeze624 init-app | generate:app625 init-batch | [Not implemented]626 init-controller | [Not implemented]627 init-module | generate:module628 init-project | generate:project629 log-purge | log:clear630 log-rotate | log:rotate631 plugin-install | plugin:install632 plugin-list | plugin:list633 plugin-uninstall | plugin:uninstall634 plugin-upgrade | plugin:upgrade635 propel-build-all | propel:build-all636 propel-build-all-load | propel:build-all-load637 propel-build-db | propel:build-db638 propel-build-model | propel:build-model639 propel-build-schema | propel:build-schema640 propel-build-sql | propel:build-sql641 propel-convert-xml-schema | propel:schema-to-yml642 propel-convert-yml-schema | propel:schema-to-xml643 propel-dump-data | propel:data-dump644 propel-generate-crud | propel:generate-crud645 propel-init-admin | propel:init-admin646 propel-init-crud | [Not implemented]647 propel-insert-sql | propel:insert-sql648 propel-load-data | propel:data-load649 sync | project:deploy650 test-all | test:all651 test-functional | test:functional652 test-unit | test:unit653 unfreeze | project:unfreeze654 upgrade | project:freeze612 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 655 652 656 653 As before, if you want to list the available tasks, just call the `symfony` command with no argument: … … 681 678 * Change your front controllers so they look like this: 682 679 683 {{{680 [php] 684 681 <?php 685 682 … … 688 685 $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true); 689 686 sfContext::createInstance($configuration)->dispatch(); 690 }}}691 687 692 688 You can now launch the `project:upgrade1.1` script to finish the upgrade. branches/1.2/UPGRADE_TO_1_1
r10628 r11147 172 172 sfContext::getInstance()->getLogger() 173 173 174 Routing 175 ~~~~~~~ 174 ### Routing 176 175 177 176 Here is the default configuration for the routing in `factories.yml`: … … 185 184 The `project:upgrade1.1` task makes all the changes for you. 186 185 187 Logging 188 ~~~~~~~ 186 ### Logging 189 187 190 188 Here is the default configuration for logging in `factories.yml`: … … 232 230 The `project:upgrade1.1` task makes all those changes for you. 233 231 234 i18n 235 ~~~~ 232 ### i18n 236 233 237 234 Here is the default configuration for i18n in `factories.yml`: … … 613 610 The 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: 614 611 615 Old task name | New task name616 --------------------------|-----------------617 clear-cache | cache:clear618 clear-controllers | project:clear-controllers619 disable | project:disable620 downgrade | [Not implemented]621 enable | project:enable622 fix-perms | project:permissions623 freeze | project:freeze624 init-app | generate:app625 init-batch | [Not implemented]626 init-controller | [Not implemented]627 init-module | generate:module628 init-project | generate:project629 log-purge | log:clear630 log-rotate | log:rotate631 plugin-install | plugin:install632 plugin-list | plugin:list633 plugin-uninstall | plugin:uninstall634 plugin-upgrade | plugin:upgrade635 propel-build-all | propel:build-all636 propel-build-all-load | propel:build-all-load637 propel-build-db | propel:build-db638 propel-build-model | propel:build-model639 propel-build-schema | propel:build-schema640 propel-build-sql | propel:build-sql641 propel-convert-xml-schema | propel:schema-to-yml642 propel-convert-yml-schema | propel:schema-to-xml643 propel-dump-data | propel:data-dump644 propel-generate-crud | propel:generate-crud645 propel-init-admin | propel:init-admin646 propel-init-crud | [Not implemented]647 propel-insert-sql | propel:insert-sql648 propel-load-data | propel:data-load649 sync | project:deploy650 test-all | test:all651 test-functional | test:functional652 test-unit | test:unit653 unfreeze | project:unfreeze654 upgrade | project:freeze612 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 655 652 656 653 As before, if you want to list the available tasks, just call the `symfony` command with no argument: … … 681 678 * Change your front controllers so they look like this: 682 679 683 {{{680 [php] 684 681 <?php 685 682 … … 688 685 $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true); 689 686 sfContext::createInstance($configuration)->dispatch(); 690 }}}691 687 692 688 You can now launch the `project:upgrade1.1` script to finish the upgrade. branches/1.2/UPGRADE_TO_1_2
r11116 r11147 28 28 ------------- 29 29 30 Request 31 ~~~~~~~ 30 ### Request 32 31 33 32 The `path_info_array`, `path_info_key`, and `relative_url_root` settings have … … 41 40 instead of being passed as an attribute. 42 41 43 Response 44 ~~~~~~~~ 42 ### Response 45 43 46 44 There is a new setting for the `response` factory: `send_http_headers`. … … 124 122 ----- 125 123 126 Cookies 127 ~~~~~~~ 124 ### Cookies 128 125 129 126 Cookies are now extensively supported in the `sfBrowser` and `sfTestBrowser` … … 166 163 of each cookie. 167 164 168 Links 169 ~~~~~ 165 ### Links 170 166 171 167 When you simulate a click on a button or on a link, you give the name to the `click()`