Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needed to pass :layout => false to render :action calls in all _respond_... #286

Open
wants to merge 2,257 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2257 commits
Select commit Hold shift + click to select a range
5584b95
fix double .sub-form-record in vertical subforms
Dec 19, 2012
dcfaa59
support changing select with custom HTML on replace_existing
Dec 20, 2012
cc061df
fix render :super multiple times in different views
Dec 20, 2012
824446c
Use step options when setting current time
scambra Dec 21, 2012
7a65715
Allow the use of symbol and string in action_link config.
yurikoval Dec 25, 2012
7f03b2b
complete datetime if people write only date
scambra Dec 26, 2012
c84200a
Merge pull request #220 from mediweb/master
scambra Dec 26, 2012
8f5281e
fix view paths when first rendering is :super
scambra Dec 27, 2012
4afd545
column_value_for_<column_type>_type methods so form_ui can define con…
Dec 27, 2012
b82eac8
fix name for column_value_for_<column_type>_type methods
Dec 27, 2012
0ca82f3
minutes and seconds are not required to parse datetime
scambra Jan 10, 2013
da2e7c2
remove record from list if it doesn't fullfil current conditions afte…
scambra Jan 14, 2013
1b74661
skip contraint columns for sorting
scambra Jan 14, 2013
99404eb
add description to header on horizontal subforms
scambra Jan 15, 2013
0199a9f
add field_attributes helper
scambra Jan 16, 2013
8eaa742
update changelog
scambra Jan 16, 2013
c1bead6
use instance variable for column on render_field
scambra Jan 17, 2013
f8a6288
don't render adapter if response is js
scambra Jan 18, 2013
271200f
fix last commit
scambra Jan 18, 2013
145e9b0
fix last commit, it broke ajax actions
scambra Jan 18, 2013
c39009e
update changelog, 3.2.17 was released
scambra Jan 16, 2013
5d79bc2
add missing preventDefault and stop
scambra Jan 18, 2013
fd880cb
Revert "don't render adapter if response is js"
scambra Jan 18, 2013
abe35a4
clean description when is used as title
scambra Jan 19, 2013
6755e8c
rewrites methods using jquery.live() to use jquery.on() as they are d…
pshoukry Jan 21, 2013
68492d4
Fixes input.datetime_picker selector name
pshoukry Jan 21, 2013
aa74747
Merge pull request #228 from pshoukry/master
scambra Jan 21, 2013
5fbb2dc
pass xhr to report_500_response so it can be overrided and do differe…
scambra Jan 21, 2013
52ff243
Fix error with 'Add existing record' using record_select
Envek Jan 22, 2013
c6313f5
Merge pull request #229 from Envek/fix_add_existing_record_using_RS
scambra Jan 22, 2013
71830e7
fix #232, grouped_options_for_select conflict
scambra Jan 23, 2013
2fb3429
view for inplace edit remote overriding
scambra Jan 23, 2013
1141e09
set @column in render_field_inplace
scambra Jan 23, 2013
eb4f786
simplify old code
scambra Jan 25, 2013
d902f32
fix parsing date and datetime using translated days and months
scambra Jan 27, 2013
7da890c
between needs both from and to, if from or to is nil won't work
scambra Jan 28, 2013
6743680
remove use of deprecated features in 1.8.0 and removed in 1.9.0
scambra Jan 28, 2013
e64fe44
update changelog
scambra Jan 28, 2013
1792e04
fix render :super for namespaced controllers, fixes #237
scambra Jan 28, 2013
8c501b4
enable multipart form after update with apply button, fixes #219
scambra Jan 28, 2013
4112241
update changelog
scambra Jan 29, 2013
9001c62
display error message only when @record.errors is not empty
scambra Jan 30, 2013
53c074f
more fixes for jquery 1.9
scambra Jan 30, 2013
445baca
update changelog
scambra Jan 30, 2013
e44c206
only parse strings, in case someone uses ActiveScaffold.replace with …
scambra Jan 30, 2013
883033b
fix trigger on replacing html string
scambra Jan 30, 2013
0fdaece
another fix for highliting after updating row
scambra Jan 30, 2013
e9a7c22
fix tableless for rails 3.2.11
scambra Jan 31, 2013
b3e774c
raise exception on tableless when record is not found
scambra Feb 8, 2013
72295b7
avoid checking authorization for subsection
Feb 8, 2013
3f40801
format_column_calculation helper
Feb 8, 2013
532ab6b
Doesn't crash when datetime format is invalid
Feb 11, 2013
ec2107c
parse datetime defaults to today when date is missing
Feb 11, 2013
2eda8a3
bump to 3.3.0.rc2
scambra Feb 12, 2013
fa2c5db
reduce usage of session
scambra Feb 14, 2013
0f33aa5
fix get and set on UserSettings
scambra Feb 14, 2013
a751497
fix nested label
scambra Feb 14, 2013
28043a9
add flash warning message with wrong date and datetimes
scambra Feb 14, 2013
d95d788
fix render_field with subgroups on subforms
pedropaG Feb 20, 2013
d4a9c27
event onclick on subforms a.destroy replaced by data-delete-id
pedropaG Feb 21, 2013
defb1aa
display create on list header for nested scaffolds too
scambra Feb 21, 2013
f9f271a
fix always_show_create on nested
scambra Feb 21, 2013
4233bb2
remove non html attributes from action links
scambra Feb 21, 2013
1a4dbb9
add auto_select_columns and enable required only for validations with…
scambra Feb 21, 2013
31f8122
fix text link for non authorized links
scambra Feb 21, 2013
24be040
auto_select_columns
scambra Feb 21, 2013
b294b45
auto select columns default to false
scambra Feb 21, 2013
4feed58
rename select_columns to select_associated_columns, auto_select_colum…
scambra Feb 21, 2013
5d89d6e
avoid deleting conditions from options, fixes #246
scambra Feb 21, 2013
0594e58
cache helper overrides per class
scambra Feb 21, 2013
cb4a106
fix auto_select_columns
scambra Feb 26, 2013
62a8c94
fix auto_select_columns
scambra Feb 26, 2013
bb99ead
auto select counter cache column
scambra Feb 26, 2013
e87e6df
select_columns for has_many/has_one through belongs_to
scambra Feb 26, 2013
2d6a88e
fix typo
scambra Feb 26, 2013
b195873
fix typo
scambra Feb 26, 2013
05a44c2
fix on action update for collection actions
scambra Feb 28, 2013
2536a29
encoding for date_picker_bridge, fixes #249
scambra Mar 1, 2013
9ec2959
support unsuccessful action with list_inline_adapter
scambra Mar 1, 2013
2606262
fix successful?, always true if not set to false, fixes #253
scambra Mar 6, 2013
102fa65
bump to rc3 now it works with rails 3.2.13
scambra Mar 6, 2013
7a87fae
remove multiple count queries, fixes #248
scambra Mar 7, 2013
3cbbb4d
fix bitfields bridge
scambra Mar 7, 2013
19f55e8
exclude bifield column from actions where subgroup is created
scambra Mar 7, 2013
5a95feb
remove some partials to improve form performance
scambra Mar 7, 2013
2d3d844
keep old session info on embedded session, so info like config_list i…
scambra Mar 8, 2013
2bb4462
fix always show create
scambra Mar 12, 2013
7cabbdd
keep scripts on parsing html
scambra Mar 14, 2013
7687be8
keep session cleaner
scambra Mar 14, 2013
034cf59
refresh_with_header
scambra Mar 14, 2013
2477e09
outer joins for search
scambra Mar 14, 2013
c3770fd
fix changing label on embedded scaffolds
scambra Mar 15, 2013
a7c86c3
move label link generation to action_link_html_options
scambra Mar 15, 2013
df22c5d
fix move label link generation to action_link_html_options
scambra Mar 15, 2013
6490215
fix move label link generation to action_link_html_options for disabl…
scambra Mar 15, 2013
7d6390e
fix constraints
scambra Mar 15, 2013
7eeb2ca
fix outer joins
scambra Mar 15, 2013
608268e
fix set focus for inplace edit clone or ajax
scambra Mar 19, 2013
5e81dac
Update and rename README to README.md
guycall Mar 19, 2013
f482b5b
fix gemspec
scambra Mar 20, 2013
76aa610
allow to override label for list column headings
scambra Mar 20, 2013
5525e37
3.2.19 is already released
scambra Mar 20, 2013
e998769
Keep focus on last field when render_field is called
pedropaG Mar 21, 2013
c07b182
add empty create and update tableless
scambra Mar 21, 2013
1cd771a
fix refresh_list after create and update uploading file
scambra Mar 21, 2013
5d3fc91
fix Keep focus on last field
scambra Mar 21, 2013
4fee208
fix removing action link
scambra Mar 22, 2013
e5e7c53
support outer_joins with sql code
scambra Mar 25, 2013
f080906
clean helper
scambra Mar 25, 2013
f29ba88
clean queries and improve calculation override
scambra Mar 25, 2013
4331b2a
use :object
pedropaG Mar 26, 2013
3f60dbc
Don't trigger an association load when checking for unsaved associations
robg Mar 29, 2013
1d28358
Merge pull request #259 from robg/unsaved_associated_fix
scambra Apr 1, 2013
a7737d3
improve some notes about 3.2 and 3.3 versions
scambra Apr 1, 2013
6b20854
Debug TinyMce Bridge
Apr 2, 2013
5443cb0
fix checking methods in ruby 1.9
scambra Apr 5, 2013
d77fec6
update changelog
scambra Apr 5, 2013
092712d
fix typo
scambra Apr 5, 2013
7531a22
fix render_field when beginning_of_chain is overrided and params are …
scambra Apr 5, 2013
45810a0
fix create_associated_record_row when views are overrided and more tf…
scambra Apr 5, 2013
c4a685d
fix detection of empty for has_and_belongs_to_many on subforms, fixes…
scambra Apr 5, 2013
cf3f7ed
add changelog
scambra Apr 5, 2013
a9f0994
Update changelog
scambra Apr 5, 2013
bd85bfc
always send id for render_field
scambra Apr 5, 2013
cb3a1ce
allow multiple subform levels
scambra Apr 5, 2013
80cc09b
fix render_field on nested scaffolds
scambra Apr 9, 2013
328d777
fix includes for show columns with groups
pedropaG Apr 9, 2013
11988ff
add column_default_value to check defaults on virtual columns
pedropaG Apr 9, 2013
fb0b08c
fix required on html5 for auto blank records with multilevel subforms
pedropaG Apr 9, 2013
07acb9b
Adds a default entry to I18n to ActiveScaffold::Bridges::DatePicker
mguinada Apr 9, 2013
050df58
Merge pull request #265 from runtimerevolution/fix-heroku-asset-preco…
scambra Apr 10, 2013
970fbde
fix generator for namespaced model, fixes #263
scambra Apr 10, 2013
726412f
fix respond_to for rails 2.0, fixes #250
scambra Apr 10, 2013
7651fa6
close all open adapters before delete row, try to fix #264
scambra Apr 11, 2013
6e563f7
only hide columns when there is a form_action
pedropaG Apr 18, 2013
f49fc8a
the action doesnt need to be a crud type
pedropaG Apr 18, 2013
82d3b57
Fixed typos
Apr 18, 2013
3fc52f6
updating russian locale
Apr 18, 2013
c130046
Merge pull request #270 from korobkov/master
scambra Apr 19, 2013
7172b11
fix field id on render_field from subforms
pedropaG Apr 26, 2013
c47c447
fix render field on nested without subform
scambra May 7, 2013
b8da0a8
fix horizonta_subform when parent is nil
scambra May 7, 2013
3220c41
support column.options in file columns
scambra May 6, 2013
c7605c8
release 3.3.0
scambra May 8, 2013
55265b9
fixed issue on adapter colspan when active_scaffold_config_list is used
scambra May 9, 2013
2aeeba6
remove unneeded check, that bug is not on AR anymore
scambra May 14, 2013
06bec17
update changelog
scambra May 14, 2013
7d15065
fix list calculations html
scambra May 14, 2013
894b22d
fix close without adapter
scambra May 14, 2013
02d5c04
remove > character
scambra May 14, 2013
a2ca094
fix update calculations after destroy row
scambra May 14, 2013
45ca31a
update changelog
scambra May 14, 2013
2702e35
fix previous commit
scambra May 14, 2013
e4d7206
use col_class from subform
scambra May 16, 2013
8859412
fix count and calculate searching with count_includes
scambra May 21, 2013
b150d43
update changelog
scambra May 21, 2013
2cfaada
CRUD links have no controller attached, and call id_from_controller u…
May 21, 2013
77f4a23
Merge pull request #275 from DemocracyEngine/master
scambra May 22, 2013
fd32e43
update changelog
scambra May 22, 2013
d95467b
use method_defined?
scambra May 28, 2013
0910883
fix typo
May 29, 2013
fed0021
Merge pull request #277 from seichner/fix_typo
scambra May 30, 2013
3d1a851
fixes for ruby2
scambra May 30, 2013
f6bf5fb
On subforms for readonly associations, don't show blank record, and d…
chrisbarber May 30, 2013
1143c82
Merge pull request #278 from chrisbarber/nested_readonly
scambra May 31, 2013
bf375a4
Merge branch 'master' of github.com:activescaffold/active_scaffold
scambra Jun 6, 2013
87eca30
fix checking jquery version, fixes #279
scambra Jun 6, 2013
8f1a77c
cache association options
scambra Jun 6, 2013
7a3b0e3
use render :partial with :collection in subforms, high performance im…
scambra Jun 6, 2013
ae49377
remove some uses of @record and use record argument
scambra Jun 6, 2013
534098e
add localeapp and update translation files
scambra Jun 7, 2013
b6548f2
remove localeapp intializer from git, app cannot start
scambra Jun 7, 2013
be07734
fix typo on translation
scambra Jun 7, 2013
915a4ab
update french
scambra Jun 7, 2013
02f44b4
Support jquery-rails 3 gem and jquery-ui-rails gem
scambra Jun 7, 2013
9e3b1ff
remove cellpadding and cellspacing, fixes #149
scambra Jun 7, 2013
3124739
add sortable
scambra Jun 7, 2013
8487451
support inline settings with data- prefix for datepicker and datetime…
scambra Jun 7, 2013
67c20fc
clean html
scambra Jun 7, 2013
9405210
clean html, remove for attribute from labels for plural association c…
scambra Jun 7, 2013
480cd2f
avoid using @record in search helpers
scambra Jun 7, 2013
1083d49
remove unused partial
scambra Jun 7, 2013
5ac68b9
Avoid record creation for render subform columns header
scambra Jun 10, 2013
112a0d1
fix scope calculation on subform, it was broken when render was chang…
scambra Jun 10, 2013
adedcfa
Use list_columns method for setting associations includes, so columns…
scambra Jun 11, 2013
6d00158
avoid using @record for inplace edit template
scambra Jun 11, 2013
8b02973
clear session when setting nil values
scambra Jun 11, 2013
cf9a114
store user settings (sort, page, search_params) into session is optio…
scambra Jun 11, 2013
33c6323
mostrar False en listado cuando list_ui es boolean
scambra Jun 12, 2013
bbff8ab
borrar cache list_method al cambiar list_ui (o form_ui si no hay list…
scambra Jun 12, 2013
1f43084
overridable method to change the label on a search field for a column
pedropaG Jun 12, 2013
27f51e7
subform should work when show_blank_record is false
scambra Jun 12, 2013
d2e9ebf
add record to search_column_label, it can be useful for using I18n.t
scambra Jun 13, 2013
3423163
Fix each_record_in_scope when conditions_for_collection needs some in…
scambra Jun 14, 2013
0168b2f
Use Object.getPrototypeOf instead of __proto__, latter doesn't work i…
scambra Jun 14, 2013
5d8c249
ensure getPrototypeOf is defined in old browsers
scambra Jun 14, 2013
b5640c7
fix render :super when render is called as render partial, and suppor…
pedropaG Jun 20, 2013
26e406a
Support security_method and ignore_method in columns link
pedropaG Jun 20, 2013
941616f
update changelog
pedropaG Jun 20, 2013
ef8b8ff
bump to 3.3.1
scambra Jun 24, 2013
53fe487
fix subforms inside subforms
pedropaG Jun 24, 2013
8e5fd7d
Fix draggable for jquery-rails 3 gem
scambra Jun 24, 2013
87c09b6
Fix draggable for jquery-rails 3 gem
scambra Jun 24, 2013
94369f8
Support to change attributes in list column headings with column_head…
scambra Jun 26, 2013
ed39354
keep url for embedded
pedropaG Jul 2, 2013
e413a52
Remove duplicated results when searching with outer_joins in plural a…
scambra Jul 4, 2013
7ceb9ff
bump to 3.3.2
scambra Jul 4, 2013
1f7e136
Allow to override select options in active_scaffold_search_select
scambra Jul 5, 2013
5fbfc6d
add effects from jquery ui
scambra Jul 8, 2013
3684080
fix jquery.ui.effect
scambra Jul 8, 2013
5b68a1e
remove frontends from gemspec
scambra Jul 9, 2013
01ba0d4
fix default count on tableless models
scambra Jul 9, 2013
2ebaf5f
fix default count on tableless models with non :id primary key
scambra Jul 9, 2013
b1b01bc
prepare mock_app for testing
scambra Jul 9, 2013
7b7b637
fix searching in nested scaffolds
scambra Jul 10, 2013
0208085
fix searching in nested scaffolds
scambra Jul 10, 2013
76f7d2a
Revert "it's possible to sort using a function, in that case ActiveSc…
scambra Jul 12, 2013
fb38fab
fix some tests
scambra Jul 12, 2013
ce4b203
fix helpers tests
scambra Jul 12, 2013
8e842c8
fix some config tests
scambra Jul 12, 2013
9580564
fix nested tests
scambra Jul 15, 2013
42fa8af
fix list tests
scambra Jul 15, 2013
ac871af
fix sti tests
scambra Jul 15, 2013
a9fdb48
fix finder tests
scambra Jul 15, 2013
c270db2
fix bridges tests
scambra Jul 15, 2013
c8e0915
move setting colspan before ater/before, sometimes changing colspan s…
scambra Jul 16, 2013
4de0e10
fix searching when includes is set to nil
scambra Jul 17, 2013
d5ab693
fix searching when includes is set to nil
scambra Jul 17, 2013
dbebeea
test for setting nil in includes
scambra Jul 17, 2013
0396a10
test validation reflection
scambra Jul 17, 2013
7916d9f
fix bridge tests
scambra Jul 17, 2013
452c7f8
fix tests for ruby 2
scambra Jul 22, 2013
ccb8171
fix tests on ruby 2
scambra Jul 22, 2013
f299f2e
keep @record in other variable when get_row is called so flash messag…
scambra Jul 24, 2013
81be938
fix broken sti links because of caching
clyfe Aug 4, 2013
f51ebb9
small optimization on STI links
clyfe Aug 4, 2013
2ce7748
always send parent_controller to render_field requests on subforms
scambra Aug 7, 2013
76c3939
fix popup links with method
scambra Aug 7, 2013
1c45c41
fix when jquery-ui is not loaded
scambra Aug 7, 2013
27a9d35
fix loading styles from jquery ui rails gem
scambra Aug 7, 2013
fad546e
still loading theme in jquery ui rails gem
scambra Aug 7, 2013
449092c
still loading theme in jquery ui rails gem
scambra Aug 7, 2013
0751647
use scss and image-url for jquery-ui images
scambra Aug 7, 2013
9b1e0eb
use css.erb instead of scss, it fails when loaded from erb
scambra Aug 7, 2013
82986b5
fix css.erb
scambra Aug 7, 2013
2606cd3
Merge pull request #285 from clyfe/master
scambra Aug 8, 2013
c1609c3
small improvement
scambra Aug 8, 2013
630ff14
Revert "small improvement"
scambra Aug 8, 2013
cfd479f
release 3.3.3
scambra Aug 9, 2013
b80c689
needed to pass :layout => false to render :action calls in all _respo…
xdotcommer Aug 9, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .autotest
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
class Autotest
##
# Convert a path in a string, s, into a class name, changing
# underscores to CamelCase, etc.

def path_to_classname(s)
sep = File::SEPARATOR
f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)
f = f.map { |path| path.split(/_|(\d+)/).map { |seg| seg.capitalize }.join }
f = f.map { |path| path =~ /Test$/ ? path : "#{path}Test" }
f.join('::')
end
end

Autotest.add_hook :initialize do |at|
# doesn't seem to work
# at.clear_mappings

at.add_mapping(/^lib\/.*\.rb$/) do |filename, _|
possible = File.basename(filename, 'rb').gsub '_', '_?'
files_matching %r%^test/.*#{possible}_test\.rb$%
end

at.add_mapping(/^test.*\/.*_test\.rb$/) do |filename, _|
filename
end
end
5 changes: 5 additions & 0 deletions .document
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lib/**/*.rb
bin/*
-
features/**/*.feature
MIT-LICENSE.txt
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# rcov generated
coverage

# rdoc generated
rdoc

# yard generated
doc
.yardoc

# bundler
.bundle

# jeweler generated
pkg

# sass generated
.sass-cache

# logs
log/**

# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
# * Include files you want ignored
# * Run: git config --global core.excludesfile ~/.gitignore
#
# After doing this, these files will be ignored in all your git projects,
# saving you from having to 'pollute' every project you touch with them
#
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
#
# For MacOS:
#
#.DS_Store
#
# For TextMate
#*.tmproj
#tmtags
#
# For emacs:
#*~
#\#*
#.\#*
#
# For vim:
*.swp
#
# For kdevelop:
*.kdev4
.project
config/initializers/localeapp.rb
231 changes: 230 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,232 @@
= 3.3.3
- Allow to override select options in active_scaffold_search_select
- Load effects from jQuery UI when using jquery-rails 3 gem
- Fix searching on nested scaffolds (broken on 3.3.2)
- Fix searching when includes is set to nil
- Send parent_controller for render_field requests on subforms for persisted records, as new records were already sending it
- Avoid loading some JS when jquery-ui is not available
- Load CSS from jquery ui rails gem

= 3.3.2
- Fix subforms inside subforms
- Fix draggable for jquery-rails 3 gem
- Support to change attributes in list column headings with column_heading_attributes helper
- Keep url for embedded in data-refresh attr of active-scaffold-component div
- Remove duplicated results when searching with outer_joins in plural associations

= 3.3.1
- Set adapter colspan (nested lists and forms) using javascript, fixed issue when active_scaffold_config_list is used
- Fix bug saving default values when get method is overrided on model to return default value
- Fix close action_link without adapter
- Fix update calculations after destroy a row
- Fix count and calculate searching with count_includes
- Fix action_after_create
- Cache associations options (for :select form_ui on associations), it can be disabled with config.cache_association_options = false
- Clean some code so we can stop changing @record in partials and using @record in helpers
- Support jquery-rails 3 gem and jquery-ui-rails gem
- Clean some invalid HTML
- Add store_user_settings option to enable storing sort, page and search params into session (enabled by default for backwards compatibility)
- Fix each_record_in_scope when conditions_for_collection needs some includes
- Add method to override label in search fields (field_search)
- Add method to override attributes for column headings on list
- Support security_method and ignore_method in column's link
- render :super should work for every render call (with partial and locals or with only one hash)

= 3.3.0
- Unify field overrides and list_ui method signatures
- Improve performance removing some partials and adding some caching for helper overrides and UIs, and caching url generation for lists (caching url is optional)
- Drop support for rails 3.1
- Add HTML5 form fields
- Add :chosen form_ui, and :chosen and :multi_chosen search_ui
- Fix nested with has_one associations, and belongs_to associations with :list action
- Support optgroup in :select and :chosen form_ui
- Support render_form_field with multiple rows (rows with associated-record class)
- Support for updating columns, row or table after updating a column with inplace_edit
- Keep order for records in plural subforms, so new records are saved in same order as form order
- Support add_subgroup in horizontal subforms
- Improve support in helpers for using :select form_ui with polymorphic associations (needs to use a select to choose the class)
- Allow to create in nested has_many :through associations, when source association is a belongs_to
- Fix calculations using field_search with has_many includes
- Add support to ActiveScaffold.create_record_row to insert after or before of an element
- Add support for dynamic action group
- Improve parsing of datetimes
- Add support for lists filtered by id (one-item lists)
- Fix update_columns with sending whole big forms
- Improve update_columns on subforms
- Support to override ActiveScaffold.remove so effects can be added on page elements deletion
- Add support for conversion methods in controller, so form_uis can define how to convert params to values
- Avoid sorting by contraint columns
- Cosmetic fixes and improvements
- Fix multipart persistent update form
- Support jquery 1.9 (jquery-rails 2.2.0 gem)
- Reduce usage of session
- Allow to include header on list refreshing
- Add search_joins to columns, so it's possible to do left joins without loading associations only for searching
- Fix set focus for inplace edit clone and ajax
- Allow to override label for list column headings with a new helper method column_heading_label
- Keep focus on last field when render_field is called
- Add empty create and update methods to tableless
- Allow multiple subform levels

= 3.2.20
- Some fixes for ruby 1.9
- Some fixes for rails 3.1
- Fix detection of empty for has_and_belongs_to_many on subforms

= 3.2.19
- Avoid crashing when between is chosen and from or to is not filled

= 3.2.18
- Fix add existing record with record_select
- Disable link for polymorphic associations in 3.2.x, it doesn't work

= 3.2.17
- fix constraints for columns with multiple columns in search_sql
- remove unauthorized collection links
- copy parameters and html_options on cloning action link
- fix missing argument in datepicker conditions
- check authorization in model for plural associations nested links
- Allow to set action_group in nested.add_link
- fix current page when is inside outer window
- Support record select with polymorphic associations
- Fix column count in inline adapter for forms and views
- Add support for class prefix on human condition helpers

= 3.2.16
- Fix use of column.css_class in form when is a proc, it wasn't skipped when form was a columns group
- Fix constraints and colspan in self-referential associations
- Fix rendering parent row after creating or updating in a nested form (singular associations)
- Translate include_blank and prompt in form_ui :select
- Fix mark for nested scaffolds
- Fix STI creation
- Fix null search for numeric columns
- Fix recordselect inplace_edit with plural associations in ruby 1.9

= 3.2.15
- Prepare to unify field overrides and list_ui method signatures
- Add :optional to update.persistent
- Add missing triggering of as:element_updated in new subform rows
- Fix conditions for :select in field_search
- Fix datetime field search
- Fix authorization checking in member action links

= 3.2.14
- Fix default sorting, it was broken in 3.2.13

= 3.2.13
- Fix destroy action, was broken in 3.2.12
- Remove default :method sorting for associations, it wasn't useful and can be slow
- Rescue from ActiveScaffold::ActionNotAllowed and ActiveScaffold::RecordNotAllowed with 401 response, it can be overrided with deny_access method in ApplicationController.
- Allow to set arrays in search_sql so one column can search in multiple db columns, resulting sql chunks will be OR'ed
- Hide text input on searching for null or not null
- Add some classes to forms to improve CSS customization
- Fix nested links for STI controllers with common configuration in a base controller
- Fix adding routes twice in active_scaffold generator
- Restore old behavior for action_link's security_method, ignore_method already hides the link
- Add data-cancel-refresh to action links, so nested scaffold's behaviour can be applied to other action links and when adapter is closed row will be refreshed.
- fix support for tableless models in rails >= 3.2.5

= 3.2.12
- improve support for tableless models, add support for count
- fix div id for nested scaffolds
- add config.timestamped_messages and config.highlight_messages
- Improve performance using class to check authorization for plural associations which are not loaded, and avoiding to load associations if it's not needed
- Fix using a scope in main form, it wasn't working for associations (for create multiple from active_scaffold_batch)
- Fix searches with no results, it was loading first page without conditions
- Allow to change highlight options with ActiveScaffold.js_config
- allow to override column count calculation for colspan
- Remove conditions_from_params from nested links
- Fix nested forms for singular associations
- enable to get constraints in helpers, so can be used in options_for_association_conditions, for example
- Allow to edit has_one :through association in nested forms
- Fix cancan bridge broken in a previous release
- Fix mark action

= 3.2.11
- improve support for tableless models and active_scaffold_batch
- fix count includes which were broken in 3.2.9
- remove duplicated conditions in nested scaffolds, added by conditions_from_params

= 3.2.10
- fix nested scaffolds with update action disabled
- initial work for tableless support (index with limited options)
- fix scrolling on closing nested scaffolds
- fix calculations which were broken in 3.2.9

= 3.2.9
- remove duplicated conditions with constraints
- fix constraints for polymorphic associations

= 3.2.8
- add deprecation for update_column, update_columns should be used instead
- fix constraints with hide_nested_column disabled in list and embedded scaffolds which are nested too
- fix setting a hash as includes, cannot be concat in finder
- add option to scroll on close only if element is not visible in viewport (default now)
- fix create and edit singular associations without render_component
- messages go across all table
- display readonly associations in forms, it was ready to display them but it was skipping them
- Some fixes for inplace editors (cloning form overrides, ajax and radiobuttons). Add handlers for empty columns
- add wrap_tag to list so cells content can be wrapped in a tag for better styling
- fix date picker parsing for datetime fields when jquery is used
- add as:element_updated js event when replace or replace_html is called
- rescue database exceptions so you get error messages for it insted of error 500, for example in case you forgot to check uniqueness for a unique index
- add class attribute for displayed unauthorized columns in forms, so they get same styling

= 3.2.7
- restore missing update.persistent feature
- fix create.persistent
- add new record in first scaffold, not in all nested scaffolds
- fix deleting all in habtm with select_ui

= 3.2.6
- fix ordering with DISTINCT call
- allow to override some human condition strings in i18n, and translate select values for non-association columns

= 3.2.5
- add outer window for pagination links
- workaround rails 3.2.3 bug in TimeWithZone#to_time
- fix date picker format for datetime fields
- fix bitfields bridge when some actions are not used
- use core config label when is set and STI is not used

= 3.2.4
- don't break on custom SQL sorting (e.g. sorting with functions)
- fix cancel inplace edit with jquery
- fix nested scaffolds inside nested and embedded scaffolds
- fix collapsed subgroups
- fix inplace edit for checkboxes columns with true as default value
- fix calendar date select bridge

= 3.0.6 .. 3.2.3
- many changes

= 3.0.5

- switch from explicit requires to autoloading
- get nested action links up and running

= 3.0.4

- Fix a typo that made 3.0.3 unusable.

= 3.0.3

- Fixing 'require' ordering
- Code for nested and subgrouped action links
- bugfixes for better html generation

= 3.0.2

- Two bug fixes and a deprecation silencing.

= 3.0.1

- Fixing the requiring of files.

= 3.0.0

- Packaging up vhochstein's fork for Rails 3.0 as a gem.

= 1.2RC1

== FEATURES
Expand Down Expand Up @@ -149,4 +378,4 @@
* fixes for edge rails compatibility
* small improvements for localization accessibility
* minor string renaming (will affect localization tables, though)
* closed a few XSS holes
* closed a few XSS holes
28 changes: 28 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"

# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development, :test do
gem "rake"
gem "rdoc"
gem "bundler", ">= 1.0.0"
gem "localeapp"
gem "rack"
end

group :test do
gem "shoulda", ">= 0"
gem "simplecov", ">= 0"
gem "mocha"
gem "rails", "~> 3.2.6"
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
end

platforms :ruby do
gem "sqlite3"
end
end
Loading