Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 3167 Bytes
1 | This is a list of changes in Typo 4.1. This is aimed at developers and theme |
2 | creators, not end-users. |
3 | |
4 | URL Generation |
5 | -------------- |
6 | |
7 | URLs are now generated based on the blog base_url, not the current |
8 | controller's base URL. This has a number of impacts: |
9 | |
10 | * If the base_url setting is wrong, most links will be broken. |
11 | * We can now generate permalink URLs directly from models without needing a |
12 | controller object. |
13 | * We can (and have) removed all of the controllers parameters passed around |
14 | to text filters and notifiers. |
15 | |
16 | We've added a number of methods for generating URLs directly from models. In |
17 | specific, all models that make sense have a 'permalink_url' method, and we're |
18 | adding methods like 'trackback_url' and 'feed_url' where they make sense. |
19 | There are *way* too many definitions of common URLs within Typo, and we're |
20 | moving all of them into the models. |
21 | |
22 | |
23 | Text Filters |
24 | ------------ |
25 | |
26 | The text filter API has been overhauled. Since we no longer need a controller |
27 | object everywhere, we've been able to simplify the API substantially. We've |
28 | also moved text filters from the Rails components/ directory into Rails |
29 | plugins, in vendor/plugins/typo-textfilter-*. It should now be possible to |
30 | manage text filters using the usual plugin management mechanisms. |
31 | |
32 | |
33 | Helper Cleanup |
34 | -------------- |
35 | |
36 | A bunch of redundant helpers have been deprecated. Look at |
37 | app/helpers/application_helper.rb for a list. All calls to deprecated helpers |
38 | have been removed from the Typo tree, but some out-of-tree plugins and themes |
39 | may still call them. Watch Typo's log for deprecation warnings. |
40 | |
41 | Here's a partial list of what's been removed: |
42 | |
43 | * ApplicationHelper.config_value(:foo): replace with this_blog.foo |
44 | * ApplicationHelper.config[:foo]: replace with this_blog.foo |
45 | * ApplicationHelper.server_url_for: just use url_for. |
46 | * ApplicationHelper.url_of(item): use item.permalink_url |
47 | * ApplicationHelper.*_url(item): use item.permalink_url |
48 | * XmlHelper.*_link(item): use item.permalink_url |
49 | |
50 | |
51 | Removal of body_html and friends |
52 | -------------------------------- |
53 | |
54 | The content table's body_html and extended_html fields are gone. They've |
55 | always been a bit odd, because they're a cache of text_filter(body) and |
56 | text_filter(extended). They've moved out of the database and into the fragment |
57 | cache. As a practical measure users shouldn't see a difference, however the |
58 | body_html and extended_html methods have been deprecated; use html(:body) or |
59 | html(:extended). |
60 | |
61 | |
62 | Admin revamping |
63 | --------------- |
64 | |
65 | The admin has been rebuilt to become more functionnal. The previous |
66 | organization was based on the MVC model, this one on ergonomics. |
67 | There is still a lot of work to be done, like having a lovely Aqua 2.0 like |
68 | CSS to look cleaner. |
69 | |
70 | |
71 | Internationalization and localization |
72 | ------------------------------------- |
73 | |
74 | Typo now supports foreign languages. The Localization plugin has been used, |
75 | and the application now supports French. |
76 | More translators are needed to support as much languages as possible. |
77 | |
78 | |
79 | Comments auto moderation |
80 | ------------------------ |
81 | |
82 | Comments and trackbacks can now be directly sent to moderation before being |
83 | published. An option is avaliable in the settings. |