Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 12
- Log:
Configured for temporary /rails/rforum location on Alpha. Updated
several layouts to suit RISC OS Open Limited site style in addition
to producing a theme stylesheet. View changes included a few fixes
to invalid HTML 'class' attribute values (they contained spaces).
Some examples may remain. Note temporary hacks to force in
"/rails/rforum" prefix to some URLs where they are either hard coded
or the user helpers but for currently unknown reasons the helpers are
giving an incorrect result.Extended menu item renderer to allow a separator string to be
supplied; needed to allow horizontal navigation regions as well as
sidebar-based vertical navigation regions ("|" vs "</li><li>").Fix in models.rb to allow attempts to unsubscribe from a topic from
which the user has already subscribed - e.g. clicking on the relevant
link in a notification e-mail message twice. Previously, an application
error would be raised.Extended permissions system to include whether or not a user can post
(can_post?()) or reply (can_reply?()) to a message. Normal and admin
users always can. Guests follow new options token "guests_cannot_post"
(note that this is not the same as "anon_posting_allowed" which asks
that guests supply at least their name rather than be anonymous - of
course that's pretty useless as a guest can put in any name they want,
real or otherwise). The navbar and post_menu controllers know about
the new options and won't generate links for prohibited actions. Topic
controller enforces permissions in case someone builds links by hand.Changed user_controller.rb to add flash[:attention] tokens when a user
logs in or out. Fixed broken hard-coded URL generation to use url_for
helper method instead. Used the flash[:attention] mechanism to produce
the notification about an e-mail message sent for a forgotten password
rather than writing just that text into a blank page - redirects back
to the forum controller, list action.This revision is believed to be the functional equivalent of revision
906 of RForum merged with changes made to an unknown prior revision of
RForum along with acts_as_authenticated modification plus the above
set of fixes and documentation. At the time of writing this specific
combination has not been tested live on the RISC OS Open Limited
prototype site.
- Author:
- adh
- Date:
- Sat Jul 22 21:15:03 +0100 2006
- Size:
- 470 Bytes
- Properties:
- Property svn:executable is set
1 | #!/bin/ruby |
2 | |
3 | require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) |
4 | |
5 | # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: |
6 | # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired |
7 | require "dispatcher" |
8 | |
9 | ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun) |
10 | Dispatcher.dispatch |