edwinmoss / active_scaffold forked from activescaffold/active_scaffold
- Source
- Commits
- Network (125)
- Issues (0)
- Downloads (6)
- Wiki (2)
- Graphs
-
Branch:
master
Edwin Moss (author)
Thu Jan 07 23:29:27 -0800 2010
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Jun 06 19:25:04 -0700 2008 | |
| |
CHANGELOG | Sat Aug 23 00:43:53 -0700 2008 | |
| |
MIT-LICENSE | Mon Feb 19 23:28:38 -0800 2007 | |
| |
README | Thu Jan 07 14:17:44 -0800 2010 | |
| |
Rakefile | Mon Dec 03 16:41:14 -0800 2007 | |
| |
environment.rb | Thu Jan 07 19:41:04 -0800 2010 | |
| |
frontends/ | Thu Jan 07 21:08:24 -0800 2010 | |
| |
init.rb | Mon Feb 23 07:51:40 -0800 2009 | |
| |
install.rb | Tue Jun 16 01:27:09 -0700 2009 | |
| |
install_assets.rb | Wed Aug 26 16:06:34 -0700 2009 | |
| |
lib/ | Thu Jan 07 23:29:27 -0800 2010 | |
| |
public/ | Mon Feb 19 23:28:38 -0800 2007 | |
| |
test/ | Thu May 07 09:42:28 -0700 2009 | |
| |
things.todo | Thu Jan 07 22:40:56 -0800 2010 | |
| |
uninstall.rb | Thu Oct 01 01:09:48 -0700 2009 |
README
This fork's variances from the core repository:
- Added Actions:
- :export - (csv) uses customized selection of columns and the filter setup in search action
- :print - (html, pdf)
- :refresh - an ajax refresh of the list
- :customize - list column customization
- :revision - supports acts_as_revisionable
- Includes render_component. No need to install another plugin.
- Localization is supported per Rails example - not in the plugin. Only 'en-us.rb' is included in plugin.
- Migration #timestamps includes:
- deleted_at
- t.timestamps :deleted_at => true # If you want a deleted_at field
- lock_version
- t.timestamps :lock_version => false # If you don't want lock_version field
- Generator support
- script/generate active_scaffold user
- :config block additions
ActiveScaffold.set_defaults do |config|
config.security.allowed_actions << :verify # Add your own actions to security
config.left_handed = true
config.one_column_list = true # suppress the grid look, in favor of a free format per row
config.upper_case_form_fields = true
config.secure_download_key = "DOWNLoadMyFileplease"
config.show_actions_column = false # hide the action columns
config.subform.layout = :horizontal # Specify your preferred subform layout
end
- secure_download - support for putting your file repository somewhere other than public and allow secure download
- Supply a secure_download_key in config block (see above)
- In active_scaffold config block:
column#options = {:secure_download => true},
- In your model (if using file_column plugin):
file_column :package, :root_path => File.join(RAILS_ROOT, 'files')
- :field_search additions:
- Filter operators for other data types including 'BETWEEN' for:
#condition_for_string_type
#condition_for_dhtml_calendar_type
#condition_for_exact_type
#condition_for_record_select_type
#condition_for_multi_select_type
- js :failure action is populated
- Loading indicator support
- default params for like_pattern param on all helper methods
- rid of active_scaffold_search_multi_select in favor of active_scaffold_search_select
- :list additions:
- render_action_link has additional param link_html_options = {}. This allows for example the ease of performing
window.open in the onclick and redisplay row in one action link - like reading pdf generated email in a new window and
marking it as read.
- Left or Right-handed format (see config block above)
- do_list_by_sql method - build your list with a sql statement
- Handle no_entries_message via t() method
- Stack user created row based actions - limits the width of action column
- Show that list is filtered by showing a link in column header of action column that allows for a quick reset.
- #make_available_method override method - specify in the model if value is available, useful when a field is
dependent on other fields
- display and calculation formatters for:
- :usa_zip
- :usa_phone
- :usa_money
- :percentage
- :ssn
- :create/:update additions:
- Column#allow_add_existing (Disable add existing controls on subform)
- Exception handling in active_scaffold_input_for. It is nice to know you just messed something up in the config
block.
- Just in case you want to use it in a wizard-like fashion - params[:wizard_controller] is preserved throughout
- :boolean types are treated as checkboxes by default
- All helper methods include - ,options = {})
- #form_ui => :hidden
- Force all fields to be UPPER_CASE or
column#options = {upper_case_form_fields => false}
- Support :horizontal or :vertical sub-forms
- ActiveRecord Error messages display at the top and the bottom of forms - just in case you have a really long form
and the browser does not auto-scroll to show you the top of the form on submit.
- A few helpers:
- active_scaffold_add_existing_label and active_scaffold_add_existing_input
- remote_image_submit_tag
- :form_ui supports additional types of:
- :yes_no_radio
- :true_false_radio
- :usa_zip
- :usa_phone
- :usa_money
- client-side js formating for:
- :usa_zip
- :usa_phone
- :usa_money
- :percentage
- :ssn
- Specify action links with a symbol or a string
- SemanticAttribute integration - inspect column type and required-ness from SemanticAttribute
- RecordSelect integration - I use it all the time so I make sure it works.
**********************************************************************************
** For all documentation see the project website: http://www.ActiveScaffold.com **
**********************************************************************************
ActiveScaffold plugin by Scott Rutherford (scott@caronsoftware.com), Richard White (rrwhite@gmail.com), Lance Ivy
(lance@cainlevy.net), Ed Moss, and Tim Harper
Uses DhtmlHistory by Brad Neuberg (bkn3@columbia.edu)
http://codinginparadise.org
Uses Querystring by Adam Vandenberg
http://adamv.com/dev/javascript/querystring
Uses Paginator by Bruce Williams
http://paginator.rubyforge.org/
Supports RecordSelect by Lance Ivy
http://code.google.com/p/recordselect/
== Version Information
Please note the following list of Active Scaffold branches and Rails versions. Master will not work with Rails < 2.2
Rails master (edge): Active Scaffold master
Rails 2.2.*: Active Scaffold rails-2.2
Rails 2.1.*: Active Scaffold rails-2.1
Rails < 2.1: Active Scaffold 1-1-stable (no guarantees)
Released under the MIT license (included)
