repo
string
commit
string
message
string
diff
string
hotchpotch/as3rails2u
2a8524d299d23351a51fc568d480c29c56970ed8
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@55 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/core/Enumerable.as b/src/com/rails2u/core/Enumerable.as new file mode 100644 index 0000000..14e31e2 --- /dev/null +++ b/src/com/rails2u/core/Enumerable.as @@ -0,0 +1,59 @@ +package com.rails2u.core { + public class Enumerable { + public static function zip(t:*, ...args):Enumerator...
hotchpotch/as3rails2u
5084f00dc6b0f0d2649229199bed34f17da8b063
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@54 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/layout/Cell.as b/src/com/rails2u/layout/Cell.as new file mode 100644 index 0000000..a581eab --- /dev/null +++ b/src/com/rails2u/layout/Cell.as @@ -0,0 +1,107 @@ +package com.rails2u.layout { + import flash.events.EventDispatcher; + import flash.display.DisplayObject; + + public cla...
hotchpotch/as3rails2u
fbcf197a9c23f10bd2d4ff325cff15ddb08d940a
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@53 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/layout/GridLayout.as b/src/com/rails2u/layout/GridLayout.as new file mode 100644 index 0000000..749c4bd --- /dev/null +++ b/src/com/rails2u/layout/GridLayout.as @@ -0,0 +1,179 @@ +package com.rails2u.layout { + import flash.display.Graphics; + import flash.display.Sprite; + import ...
hotchpotch/as3rails2u
406beecd9429799303eb6da96bfa8f5426518b42
add SpringEngine
diff --git a/src/com/rails2u/engine/Spring.as b/src/com/rails2u/engine/Spring.as new file mode 100644 index 0000000..20e4e5a --- /dev/null +++ b/src/com/rails2u/engine/Spring.as @@ -0,0 +1,82 @@ +package com.rails2u.engine { + import flash.display.DisplayObject; + import flash.utils.Dictionary; + import flash....
hotchpotch/as3rails2u
ea04ccd28c9df09c5ce16f47a4b036fab4e36111
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@51 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/bridge/ExportJS.as b/src/com/rails2u/bridge/ExportJS.as new file mode 100644 index 0000000..14c2528 --- /dev/null +++ b/src/com/rails2u/bridge/ExportJS.as @@ -0,0 +1,194 @@ +package com.rails2u.bridge { + import flash.errors.IllegalOperationError; + import flash.external.ExternalInter...
hotchpotch/as3rails2u
0309aacbf61955e14c2376c6f600622e238458aa
fix sum bugs
diff --git a/src/com/rails2u/debug/ExportJS.as b/src/com/rails2u/debug/ExportJS.as index d1d8cca..0c8adbb 100644 --- a/src/com/rails2u/debug/ExportJS.as +++ b/src/com/rails2u/debug/ExportJS.as @@ -1,109 +1,126 @@ package com.rails2u.debug { import flash.errors.IllegalOperationError; import flash.external.Ext...
hotchpotch/as3rails2u
2add600c63faf1fda8c7ad771250af7027672392
add _reload
diff --git a/src/com/rails2u/debug/ExportJS.as b/src/com/rails2u/debug/ExportJS.as index a9715cc..d1d8cca 100644 --- a/src/com/rails2u/debug/ExportJS.as +++ b/src/com/rails2u/debug/ExportJS.as @@ -1,100 +1,109 @@ package com.rails2u.debug { import flash.errors.IllegalOperationError; import flash.external.Ext...
hotchpotch/as3rails2u
f26b14c0143b350ec6c58c3817c95affad44e4b2
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@48 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/debug/ExportJS.as b/src/com/rails2u/debug/ExportJS.as new file mode 100644 index 0000000..a9715cc --- /dev/null +++ b/src/com/rails2u/debug/ExportJS.as @@ -0,0 +1,100 @@ +package com.rails2u.debug { + import flash.errors.IllegalOperationError; + import flash.external.ExternalInterface...
hotchpotch/as3rails2u
55d126aa8861dc1e87045940455b666d2f2268cd
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@47 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/log.as b/src/log.as index 8890d28..21fdbfc 100644 --- a/src/log.as +++ b/src/log.as @@ -1,37 +1,41 @@ package { import flash.external.ExternalInterface; import com.rails2u.utils.ObjectInspecter; import flash.utils.getQualifiedClassName; /** * log() is Object inspect dump output to tr...
hotchpotch/as3rails2u
c81cc0df2afccc0fcdfacb9aef50201d8ac464b6
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@46 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/utils/ObjectInspecter.as b/src/com/rails2u/utils/ObjectInspecter.as index d38ec31..0901f84 100644 --- a/src/com/rails2u/utils/ObjectInspecter.as +++ b/src/com/rails2u/utils/ObjectInspecter.as @@ -1,65 +1,65 @@ package com.rails2u.utils { import flash.utils.getQualifiedClassName; ...
hotchpotch/as3rails2u
d6bc33dd713b04ccf100aaa3327cd3568fa323fa
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@45 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/utils/ObjectInspecter.as b/src/com/rails2u/utils/ObjectInspecter.as index b7745d5..d38ec31 100644 --- a/src/com/rails2u/utils/ObjectInspecter.as +++ b/src/com/rails2u/utils/ObjectInspecter.as @@ -1,57 +1,65 @@ package com.rails2u.utils { import flash.utils.getQualifiedClassName; + ...
hotchpotch/as3rails2u
44516e951f3cb17388e32f43beaf65b85c8f5cfc
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@44 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/debug/DebugWatcher.as b/src/com/rails2u/debug/DebugWatcher.as index cb1754c..70da031 100644 --- a/src/com/rails2u/debug/DebugWatcher.as +++ b/src/com/rails2u/debug/DebugWatcher.as @@ -1,39 +1,39 @@ package com.rails2u.debug { import flash.events.IEventDispatcher; import com.rails...
hotchpotch/as3rails2u
36665dfe40b184c7e4302972364494b8dbb54ed3
remove loop method
diff --git a/src/com/rails2u/debug/Benchmark.as b/src/com/rails2u/debug/Benchmark.as index eea3608..abecbdc 100644 --- a/src/com/rails2u/debug/Benchmark.as +++ b/src/com/rails2u/debug/Benchmark.as @@ -1,48 +1,42 @@ package com.rails2u.debug { import flash.utils.Dictionary; import flash.events.Event; imp...
hotchpotch/as3rails2u
db0bfd74eadaa2e188d075459acaca6404bb716d
add loop method
diff --git a/src/com/rails2u/debug/Benchmark.as b/src/com/rails2u/debug/Benchmark.as index e8f7905..eea3608 100644 --- a/src/com/rails2u/debug/Benchmark.as +++ b/src/com/rails2u/debug/Benchmark.as @@ -1,41 +1,48 @@ package com.rails2u.debug { import flash.utils.Dictionary; import flash.events.Event; imp...
hotchpotch/as3rails2u
ed687403f0cd5ce22ec775e64dbbc95111f7a4f5
fix mail addr.....
diff --git a/licence.txt b/licence.txt index 8417a36..440f7bb 100644 --- a/licence.txt +++ b/licence.txt @@ -1,24 +1,24 @@ -Yuichi Tateno. <hotch_potch@N0!spam@gmail.com> +Yuichi Tateno. <hotchpotch@N0!spam@gmail.com> http://rails2u.com/ THE MIT License -------- Copyright (c) 2007 Yuichi Tateno. Permis...
hotchpotch/as3rails2u
010088670875de8432774d0fdb53c906cacdd7a3
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@39 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/net/JSONPLoader.as b/src/com/rails2u/net/JSONPLoader.as index b34217f..751a465 100644 --- a/src/com/rails2u/net/JSONPLoader.as +++ b/src/com/rails2u/net/JSONPLoader.as @@ -1,71 +1,104 @@ package com.rails2u.net { import flash.events.EventDispatcher; import flash.external.External...
hotchpotch/as3rails2u
e61e90bc2527b8143f8262318e220b44b5f270c9
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@38 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/net/JSONPLoader.as b/src/com/rails2u/net/JSONPLoader.as new file mode 100644 index 0000000..b34217f --- /dev/null +++ b/src/com/rails2u/net/JSONPLoader.as @@ -0,0 +1,71 @@ +package com.rails2u.net { + import flash.events.EventDispatcher; + import flash.external.ExternalInterface; + ...
hotchpotch/as3rails2u
8aaa8335230862944b76a70c068da97b854d3a70
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@37 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/swflayer/SWFLayer.as b/src/com/rails2u/swflayer/SWFLayer.as index 46a8132..87cb065 100644 --- a/src/com/rails2u/swflayer/SWFLayer.as +++ b/src/com/rails2u/swflayer/SWFLayer.as @@ -1,146 +1,165 @@ package com.rails2u.swflayer { import flash.external.ExternalInterface; import flash...
hotchpotch/as3rails2u
d6120e4d5c7ca29c768fd376374d6d240e262c2a
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@36 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/swflayer/SWFLayer.as b/src/com/rails2u/swflayer/SWFLayer.as index c7f8175..46a8132 100644 --- a/src/com/rails2u/swflayer/SWFLayer.as +++ b/src/com/rails2u/swflayer/SWFLayer.as @@ -1,115 +1,146 @@ package com.rails2u.swflayer { import flash.external.ExternalInterface; import flash...
hotchpotch/as3rails2u
50a4303a2e001ad87ce64246e64d5996c3124956
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@35 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/swflayer/SWFLayer.as b/src/com/rails2u/swflayer/SWFLayer.as index a6b6407..c7f8175 100644 --- a/src/com/rails2u/swflayer/SWFLayer.as +++ b/src/com/rails2u/swflayer/SWFLayer.as @@ -1,86 +1,115 @@ package com.rails2u.swflayer { import flash.external.ExternalInterface; - public class ...
hotchpotch/as3rails2u
9df9716e160419180543bee89d5f1c2887610acc
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@34 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/swflayer/SWFLayer.as b/src/com/rails2u/swflayer/SWFLayer.as new file mode 100644 index 0000000..a6b6407 --- /dev/null +++ b/src/com/rails2u/swflayer/SWFLayer.as @@ -0,0 +1,86 @@ +package com.rails2u.swflayer { + import flash.external.ExternalInterface; + public class SWFLayer { + ...
hotchpotch/as3rails2u
ac09e07c9213ca1f648b6cc97cfa171778840ba7
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@33 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/net/navigateToURL.as b/src/com/rails2u/net/navigateToURL.as index 6292527..a34a6b3 100644 --- a/src/com/rails2u/net/navigateToURL.as +++ b/src/com/rails2u/net/navigateToURL.as @@ -1,41 +1,50 @@ package com.rails2u.net { import flash.net.URLRequest; import flash.net.URLRequestMeth...
hotchpotch/as3rails2u
cce2155bdb3c3f53b5dd595f5d54b2812bb3c5fe
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@32 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/net/navigateToURL.as b/src/com/rails2u/net/navigateToURL.as index f6b5b9a..6292527 100644 --- a/src/com/rails2u/net/navigateToURL.as +++ b/src/com/rails2u/net/navigateToURL.as @@ -1,41 +1,41 @@ package com.rails2u.net { import flash.net.URLRequest; import flash.net.URLRequestMeth...
hotchpotch/as3rails2u
e28f2abee1428e0eb4d4a4c881cdd58e7184fedf
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@31 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/net/navigateToURL.as b/src/com/rails2u/net/navigateToURL.as new file mode 100644 index 0000000..f6b5b9a --- /dev/null +++ b/src/com/rails2u/net/navigateToURL.as @@ -0,0 +1,41 @@ +package com.rails2u.net { + import flash.net.URLRequest; + import flash.net.URLRequestMethod; + import ...
hotchpotch/as3rails2u
4d160b5521af29895780a44c7b94777af1b6fa1d
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@30 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/d_project/qrcode/BitBuffer.as b/src/com/d_project/qrcode/BitBuffer.as deleted file mode 100644 index 7ed3114..0000000 --- a/src/com/d_project/qrcode/BitBuffer.as +++ /dev/null @@ -1,59 +0,0 @@ -package com.d_project.qrcode { - - /** - * BitBuffer - * @author Kazuhiko Arase - ...
hotchpotch/as3rails2u
d4c2dd1fdfe065e9f774f1b020cc0d94572ea93c
QRコードを生成する
diff --git a/src/com/d_project/qrcode/BitBuffer.as b/src/com/d_project/qrcode/BitBuffer.as new file mode 100644 index 0000000..7ed3114 --- /dev/null +++ b/src/com/d_project/qrcode/BitBuffer.as @@ -0,0 +1,59 @@ +package com.d_project.qrcode { + + /** + * BitBuffer + * @author Kazuhiko Arase + */...
hotchpotch/as3rails2u
0809927b4269a8777d8117b8fa8eff617306e8d9
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@28 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/mx/mxTweener.as b/src/com/rails2u/mx/mxTweener.as index 29d0d19..57d4a79 100644 --- a/src/com/rails2u/mx/mxTweener.as +++ b/src/com/rails2u/mx/mxTweener.as @@ -1,108 +1,194 @@ package com.rails2u.mx { import mx.effects.Effect; import mx.effects.AnimateProperty; import mx.eff...
hotchpotch/as3rails2u
96722804b9f55407089b401a21a0e7ec391e9a72
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@27 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/mx/mxTweener.as b/src/com/rails2u/mx/mxTweener.as new file mode 100644 index 0000000..29d0d19 --- /dev/null +++ b/src/com/rails2u/mx/mxTweener.as @@ -0,0 +1,108 @@ +package com.rails2u.mx { + import mx.effects.Effect; + import mx.effects.AnimateProperty; + import mx.effects.easing....
hotchpotch/as3rails2u
dc9063c2e741ff8e22fb6086ff5a4bc95ccdd515
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@26 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/utils/BitmapUtil.as b/src/com/rails2u/utils/BitmapUtil.as index 3b8929e..08e2087 100644 --- a/src/com/rails2u/utils/BitmapUtil.as +++ b/src/com/rails2u/utils/BitmapUtil.as @@ -1,22 +1,22 @@ package com.rails2u.utils { import flash.display.BitmapData; import flash.display.Bitmap; ...
hotchpotch/as3rails2u
56c60744538602fab42c9b3ca2717a2226050e5a
git-svn-id: http://svn.rails2u.com/as3rails2u/trunk@25 96db6a20-122f-0410-8d9f-89437bbe4005
diff --git a/src/com/rails2u/utils/BitmapUtil.as b/src/com/rails2u/utils/BitmapUtil.as new file mode 100644 index 0000000..3b8929e --- /dev/null +++ b/src/com/rails2u/utils/BitmapUtil.as @@ -0,0 +1,22 @@ +package com.rails2u.utils { + import flash.display.BitmapData; + import flash.display.Bitmap; + import fla...
calmh/Register
1eccf323c69724214b427737b8ad5a73e5856daa
Bump version number to 2.0.12.
diff --git a/config/environment.rb b/config/environment.rb index bf3a34b..e076cb7 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,95 +1,95 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
54232fb3f6d3a4ec2c7793759da21b732d2a2b58
Don't save students that fail validation!
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index b6a5b6a..5cdc6dd 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,338 +1,331 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
60f99b871216aae2ff70246ed9e873c3536d8c67
Upgrade to Rails 2.3.9 and newer authlogic and haml gems.
diff --git a/config/environment.rb b/config/environment.rb index 57fb194..bf3a34b 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,95 +1,95 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
2b49aea4d86758d26d9f5a966d6d2cf51f1a50bc
Birth date must be a valid date
diff --git a/test/unit/student_test.rb b/test/unit/student_test.rb index f9c4bd6..ac3d13d 100644 --- a/test/unit/student_test.rb +++ b/test/unit/student_test.rb @@ -1,135 +1,140 @@ require 'test_helper' class StudentTest < ActiveSupport::TestCase def setup Factory(:student, :personal_number => '19710730-318...
calmh/Register
8ed1a628f0506bdbfa2cdc258a34dd9edd8b4427
Blank site settings are valid.
diff --git a/app/models/configuration_setting.rb b/app/models/configuration_setting.rb index 44d3e57..15c5738 100644 --- a/app/models/configuration_setting.rb +++ b/app/models/configuration_setting.rb @@ -1,4 +1,4 @@ class ConfigurationSetting < ActiveRecord::Base - validates_presence_of :setting, :value + validates...
calmh/Register
252ef9ee8df9bf5fcf92cfb60b073fe01ba7ba9f
Bump version number to 2.0.11.
diff --git a/config/environment.rb b/config/environment.rb index 537b2fb..57fb194 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,95 +1,95 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
0e8d05eff8d543b76beb888d93907e3ea582766e
Revert to Rails 2.3.5 that doesn't break tests, update to newer gem versions.
diff --git a/config/environment.rb b/config/environment.rb index 8d87f48..537b2fb 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,99 +1,95 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
9bee4afef2f66e95f98dd2e972cb8b7e803e641d
Reformatting.
diff --git a/config/boot.rb b/config/boot.rb index 035fc52..dd5e3b6 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,110 +1,110 @@ # Don't change this file! # Configure your app in config/environment.rb and config/environments/*.rb RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT) mo...
calmh/Register
edbabb030638abf56a2458185357252b5b613c5f
Rails 2.3.8 compatibility
diff --git a/config/environment.rb b/config/environment.rb index dcad6dc..8d87f48 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,99 +1,99 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
66adc5ea39ceef2492078f29df5c466322a6992a
Bump version number to 2.0.10.
diff --git a/config/environment.rb b/config/environment.rb index 2c76fe6..dcad6dc 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,99 +1,99 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
a15a0c5767bd33d3b4ea86f53b871f50c5ea8941
Plugin update.
diff --git a/vendor/plugins/haml/init.rb b/vendor/plugins/haml/init.rb index f9fdfdc..3b64a9e 100644 --- a/vendor/plugins/haml/init.rb +++ b/vendor/plugins/haml/init.rb @@ -1,16 +1,18 @@ begin require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here rescue LoadError begin require 'haml' # From ...
calmh/Register
e280d54a82f48ce6e99ee0e9a995b63aa231f25f
Remove duplicate definition.
diff --git a/test/factories.rb b/test/factories.rb index de2343f..79d6b2c 100644 --- a/test/factories.rb +++ b/test/factories.rb @@ -1,146 +1,141 @@ def cached_association(key) object = key.to_s.camelize.constantize.first object ||= Factory(key) end Factory.sequence :pnumber do |n| last = n % 1000; n /= 1...
calmh/Register
ff3629ff938f849a27c39197359b95ca7733b378
Bump version number to 2.0.9.
diff --git a/config/environment.rb b/config/environment.rb index 827c81d..2c76fe6 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,99 +1,99 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
e517e4071c0f46daf7263f40455a8d737d189a27
Ignore .DS_Store files.
diff --git a/.gitignore b/.gitignore index d021f82..95fde47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ db/*.sqlite3 log/*.log tmp/**/* tmp/* doc/api doc/app public/stylesheets/web_app_theme_override.css .sass-cache - +.DS_Store
calmh/Register
6c68c5765807fcbcf8eeac0ea8bb453a63fc0f39
Release tagging script.
diff --git a/bin/make-release b/bin/make-release new file mode 100755 index 0000000..4c3b9fa --- /dev/null +++ b/bin/make-release @@ -0,0 +1,17 @@ +#!/bin/sh + +export VER=$1 + +git checkout -b release-$VER +sed "s/CURRENT_VERSION = \".*\"/CURRENT_VERSION = \"$VER\"/" < config/environment.rb > config/environment.rb.new...
calmh/Register
4e7e8ad9e7a655d51c591c16c87bf4e2a879772d
Static version variable.
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 59dc91d..80496e0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,61 +1,57 @@ # Methods added to this helper will be available to all templates in the application. module ApplicationHel...
calmh/Register
87210aa02892dc05766a8955aed6748ec0e882d3
Introduce admin-only lists and improve mailing list updating
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index e3606f3..b6a5b6a 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,332 +1,338 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
bea0d2fb3571ab3f887573f083dfacc2b53276c7
Add 'club admin' factory
diff --git a/app/models/mailing_list.rb b/app/models/mailing_list.rb index 6dffc77..3f7c672 100644 --- a/app/models/mailing_list.rb +++ b/app/models/mailing_list.rb @@ -1,7 +1,7 @@ class MailingList < ActiveRecord::Base has_and_belongs_to_many :students, :order => "fname, sname" belongs_to :club - validates_for...
calmh/Register
54b69f24f7e131dfe13009bdb397bd870fa1365d
Only extract addresses of non-archived students.
diff --git a/bin/ml-members b/bin/ml-members index 64a501c..faba667 100644 --- a/bin/ml-members +++ b/bin/ml-members @@ -1,8 +1,11 @@ #!/usr/bin/env ruby mailing_list_name = ARGV[0] mailing_list = MailingList.find_by_email(mailing_list_name) if mailing_list - members = mailing_list.students.map { |s| s.email }.re...
calmh/Register
f42a5b27a5bb44e1fa91ba723ee1f76b59ca9acd
Tweaked display of archived students.
diff --git a/app/views/students/archived.html.haml b/app/views/students/archived.html.haml index 3f7104d..ee3fa60 100644 --- a/app/views/students/archived.html.haml +++ b/app/views/students/archived.html.haml @@ -1,23 +1,32 @@ .block .secondary-navigation %ul %li.first= link_to t(:Club_List), clubs_path...
calmh/Register
fc4eeb3bc78034a26d376b000272d8428eef70d1
Extend archived handling
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index b3808d8..e3606f3 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,320 +1,332 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
03938c795f1b026956f04974a3fef54ee79ca781
Mailing lists should be sorted by email
diff --git a/app/controllers/mailing_lists_controller.rb b/app/controllers/mailing_lists_controller.rb index 7ac6f09..ed5745b 100644 --- a/app/controllers/mailing_lists_controller.rb +++ b/app/controllers/mailing_lists_controller.rb @@ -1,44 +1,44 @@ class MailingListsController < ApplicationController before_filte...
calmh/Register
0bc3bc950452e90beb0bec24be855cac8246bd91
Order students on mailing list page by name.
diff --git a/app/models/mailing_list.rb b/app/models/mailing_list.rb index 4cb92ca..6dffc77 100644 --- a/app/models/mailing_list.rb +++ b/app/models/mailing_list.rb @@ -1,7 +1,7 @@ class MailingList < ActiveRecord::Base - has_and_belongs_to_many :students + has_and_belongs_to_many :students, :order => "fname, sname"...
calmh/Register
908c415e09d000581cc9f52a7bb3974a7b414504
Fix bug with updating mailing list memebership as administrator.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index a58344c..b3808d8 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,320 +1,320 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
8171d7ec02a03d73ea5c8eb60ea16c7075db2526
Reindent and add tests for mailing list management (administrator)
diff --git a/test/integration/mailing_list_test.rb b/test/integration/mailing_list_test.rb index ce41672..e571d61 100644 --- a/test/integration/mailing_list_test.rb +++ b/test/integration/mailing_list_test.rb @@ -1,111 +1,139 @@ require 'test_helper' class MailingListTest < ActionController::IntegrationTest - def s...
calmh/Register
93e639378e48b26cc1a7ad6f79bee063b36912f0
Some cleanups and extra tests.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index cc62e7d..440efda 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,174 +1,130 @@ -# Filters added to this controller apply to all controllers in the applica...
calmh/Register
ac2853e9220b9d124e0a6c7c7ed7716839d2abae
Don't require personal number by default (matches production environment)
diff --git a/config/environment.rb b/config/environment.rb index 695be09..d221eb0 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,97 +1,97 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
a1c38f3e7d59cdca40072d0b6fa3d04936565f12
Minor corrections to statistics
diff --git a/app/models/student.rb b/app/models/student.rb index 0c4a596..fe1c83c 100644 --- a/app/models/student.rb +++ b/app/models/student.rb @@ -1,163 +1,163 @@ class Student < User belongs_to :club has_and_belongs_to_many :groups, :order => "identifier" has_and_belongs_to_many :mailing_lists has_many ...
calmh/Register
c6967e1c54bc41393684d705e98cde7f85bc89ce
Seriously improved performance of statistics.
diff --git a/app/views/students/_statistics.html.erb b/app/views/students/_statistics.html.erb deleted file mode 100644 index f2bcae4..0000000 --- a/app/views/students/_statistics.html.erb +++ /dev/null @@ -1,58 +0,0 @@ -<div class="block"> - <h3><%=t(:Statistics)%></h3> - <div class="content"> - <p> - <%= t(...
calmh/Register
8e60792a7a2300600e5a3857e34c53733e5fde02
Heavier performance test
diff --git a/test/performance/browsing_test.rb b/test/performance/browsing_test.rb index 21cf3f0..ae3ad28 100644 --- a/test/performance/browsing_test.rb +++ b/test/performance/browsing_test.rb @@ -1,60 +1,61 @@ require 'test_helper' require 'performance_test_help' class BrowsingTest < ActionController::Performance...
calmh/Register
34d849ceb983943bcce3c4306d61e9b9b8ffceb8
Heavier seed data
diff --git a/db/seeds.rb b/db/seeds.rb index b7e414d..ea70e61 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,49 +1,51 @@ Factory(:configuration_setting, :setting => :site_theme, :value => 'djime-cerulean') admin = Factory(:administrator, :login => 'admin', :password => 'admin', :password_confirmation => 'admin...
calmh/Register
2907235ac4b309eb8f5505d089e0567eeb31a11d
Eager load grade from student
diff --git a/app/models/student.rb b/app/models/student.rb index 31f9941..0c4a596 100644 --- a/app/models/student.rb +++ b/app/models/student.rb @@ -1,163 +1,163 @@ class Student < User belongs_to :club has_and_belongs_to_many :groups, :order => "identifier" has_and_belongs_to_many :mailing_lists has_many ...
calmh/Register
e1ceb5cf685de838f24fe8c75854ecefdc83dc30
Increase performance sligtly by caching operations on student.
diff --git a/app/models/student.rb b/app/models/student.rb index 0c8b96f..31f9941 100644 --- a/app/models/student.rb +++ b/app/models/student.rb @@ -1,148 +1,163 @@ class Student < User belongs_to :club has_and_belongs_to_many :groups, :order => "identifier" has_and_belongs_to_many :mailing_lists has_many ...
calmh/Register
b10dff746a50c8d493a239cb3e6ee4cce8129a78
Fake Id to avoid warning.
diff --git a/app/models/message.rb b/app/models/message.rb index f6d259a..4c9efaa 100644 --- a/app/models/message.rb +++ b/app/models/message.rb @@ -1,5 +1,7 @@ class Message attr_accessor :from attr_accessor :body attr_accessor :subject + + def id; 1; end end
calmh/Register
f8caf81d7ef1cb94ad13c5034a53757f9f1850cb
First attempt att doing performance testing.
diff --git a/config/environments/performance.rb b/config/environments/performance.rb new file mode 100644 index 0000000..f587ff7 --- /dev/null +++ b/config/environments/performance.rb @@ -0,0 +1,22 @@ +# Settings specified here will take precedence over those in config/environment.rb + +# The test environment is used e...
calmh/Register
749d98abdc73b569dbe240db964108059ba599fa
These two cannot be the same array...
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 89430fe..15fdc82 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -1,31 +1,32 @@ class MessagesController < ApplicationController def new @students = Student.fin...
calmh/Register
e9e7029738208c5ecd7aa48ecd311c74584bef47
Fix microbug in message sending.
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 93629b1..89430fe 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -1,31 +1,31 @@ class MessagesController < ApplicationController def new @students = Student.fin...
calmh/Register
56002c0dbb0c818375799aa2800b32562366cf84
Fix problem with sending message.
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index 9594688..93629b1 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -1,25 +1,31 @@ class MessagesController < ApplicationController def new - @message = Message.new(...
calmh/Register
c256ab21f709679d557c64fe4d4b5391aef72445
Fix problem with leakage between clubs.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index 85a2b23..a58344c 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,320 +1,320 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
e1dc6cbe793b36b49ff4cc543868bc4145c09677
Add default value to archived column.
diff --git a/db/migrate/20100307204058_add_archived_to_user.rb b/db/migrate/20100307204058_add_archived_to_user.rb index f8cf0c9..c32fdf2 100644 --- a/db/migrate/20100307204058_add_archived_to_user.rb +++ b/db/migrate/20100307204058_add_archived_to_user.rb @@ -1,9 +1,9 @@ class AddArchivedToUser < ActiveRecord::Migrat...
calmh/Register
fbd5481fa8e2c49b7533f967852f452fa97bf5ba
Add forgotten migration.
diff --git a/db/migrate/20100307204058_add_archived_to_user.rb b/db/migrate/20100307204058_add_archived_to_user.rb new file mode 100644 index 0000000..f8cf0c9 --- /dev/null +++ b/db/migrate/20100307204058_add_archived_to_user.rb @@ -0,0 +1,9 @@ +class AddArchivedToUser < ActiveRecord::Migration + def self.up + add_...
calmh/Register
eb119081b10264c4ad933706229d31e72395ff05
Add archived field to students.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index 194ac7d..85a2b23 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,313 +1,320 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
ad7efc4206887d17365fb607b6be931fc8a2f95d
Add welcome text editor to site settings. Fix bug with site settings saving.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 135df2e..cc62e7d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,166 +1,174 @@ # Filters added to this controller apply to all controllers in the applica...
calmh/Register
5df28bb70024943c66cda35d38418267641a7978
Some trimming and cleaning
diff --git a/app/controllers/administrators_controller.rb b/app/controllers/administrators_controller.rb index 97791c5..2898ced 100644 --- a/app/controllers/administrators_controller.rb +++ b/app/controllers/administrators_controller.rb @@ -1,86 +1,83 @@ class AdministratorsController < ApplicationController before...
calmh/Register
12c0e991c52bfe79a24cc25df5a3612df8c0d4ba
Small clarifications to keep reek happy
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 8bafb84..82c42f6 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,61 +1,52 @@ class GroupsController < ApplicationController before_filter :require_groups_permission ...
calmh/Register
b9555a99ce3a3b767d9adc2577b761b293bf9893
Slight cleanups
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 61d0547..ebf1140 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,171 +1,167 @@ # Filters added to this controller apply to all controllers in the applica...
calmh/Register
41dd30945f29428c65fdb79bfc25862f764802d8
Cleanup, simplification and more tests
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index aff85fd..8bafb84 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -1,87 +1,61 @@ class GroupsController < ApplicationController before_filter :require_groups_permission - ...
calmh/Register
c513de86fe5f00b72812be251a8eb0a3dc4e29ee
Student for log in tests
diff --git a/db/seeds.rb b/db/seeds.rb index c397878..0def704 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,28 +1,29 @@ Factory(:configuration_setting, :setting => :site_theme, :value => 'djime-cerulean') admin = Factory(:administrator, :login => 'admin', :password => 'admin', :password_confirmation => 'admin...
calmh/Register
26c11c8bf78c090b50eb2ab528235725f97bb326
Haml conversion
diff --git a/app/views/students/_self_form.html.erb b/app/views/students/_self_form.html.erb deleted file mode 100644 index 6288121..0000000 --- a/app/views/students/_self_form.html.erb +++ /dev/null @@ -1,52 +0,0 @@ -<div class="group"> - <%= f.label :main_interest_id, t(:Main_Interest), :class => :label %> - <%= se...
calmh/Register
06cae219efbbaf1d36b3e9be9d71961b0eb17404
Simplify SearchParams and write up some tests for sorting.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index 7db2e0c..3cbd4ae 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,254 +1,274 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
ce739c8b4a4c2435b2fc9c0c8b24957b559085c7
Simplify administrators controller and write up some tests
diff --git a/app/controllers/administrators_controller.rb b/app/controllers/administrators_controller.rb index c72563c..97791c5 100644 --- a/app/controllers/administrators_controller.rb +++ b/app/controllers/administrators_controller.rb @@ -1,120 +1,86 @@ class AdministratorsController < ApplicationController - bef...
calmh/Register
ffecfae2c88218ab1234b5274598cbaca2d0c067
Factory:ize integration tests.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b1242aa..61d0547 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,160 +1,171 @@ # Filters added to this controller apply to all controllers in the applica...
calmh/Register
8dcad72a7dc732326c63278a680225220e3f1945
Add seed data and more factories.
diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 0000000..c397878 --- /dev/null +++ b/db/seeds.rb @@ -0,0 +1,28 @@ +Factory(:configuration_setting, :setting => :site_theme, :value => 'djime-cerulean') + +admin = Factory(:administrator, :login => 'admin', + :password => 'admin', :password_confirmation ...
calmh/Register
7524eb211e3b12386d18741d8cf8165490eb0724
Converted form to Haml, corrected checkboxes.
diff --git a/app/views/students/_form.html.erb b/app/views/students/_form.html.erb deleted file mode 100644 index a065d3b..0000000 --- a/app/views/students/_form.html.erb +++ /dev/null @@ -1,121 +0,0 @@ -<%= f.hidden_field :club_id, :class => 'text_field' %> - -<div class="group"> - <%= f.label :fname, t(:Groups), :...
calmh/Register
4cdda39b7588bbd3b611b6190c9b2dba35006b1b
Replace fixtures with factory_girl. All tests now need refactoring.
diff --git a/config/environment.rb b/config/environment.rb index 8df79db..695be09 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,96 +1,97 @@ # Be sure to restart your server when you modify this file # Uncomment below to force Rails into production mode when # you don't control web/app server...
calmh/Register
58c1760795336448c6c660104215a9d8ccdd6b4c
Clean up personal_number/birthdate testing.
diff --git a/app/models/student.rb b/app/models/student.rb index 1234b6e..2ee40d6 100644 --- a/app/models/student.rb +++ b/app/models/student.rb @@ -1,127 +1,146 @@ class Student < User belongs_to :club has_and_belongs_to_many :groups, :order => "identifier" has_and_belongs_to_many :mailing_lists has_many ...
calmh/Register
566f662e9036ff327d6e01d71cc7dcc14efc47ed
Implementation of message sending.
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb new file mode 100644 index 0000000..79ad642 --- /dev/null +++ b/app/controllers/messages_controller.rb @@ -0,0 +1,30 @@ +class MessagesController < ApplicationController + def new + @message = Message.new + @message.from...
calmh/Register
e14aafb126f6d9e67c14fad27685c9571e110928
Fix exporting of filtered views.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index 919552d..2aa8751 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,251 +1,251 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
d5353977421f4f8dafb6fe3263db93f844229a6e
Simplify searching and sorting behaviour
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index 8427501..919552d 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,242 +1,251 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
f35f522cc2d289d5e7876d371c7da4c502bbc8ca
View latest log in on users summary.
diff --git a/app/views/administrators/index.html.erb b/app/views/administrators/index.html.erb deleted file mode 100644 index 46910ce..0000000 --- a/app/views/administrators/index.html.erb +++ /dev/null @@ -1,37 +0,0 @@ -<div class="block"> - <div class="secondary-navigation"> - <ul> - <li class="active first ...
calmh/Register
4254acb430bd8c0c3a942c39b5dc3837c3f29dd2
View source link
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 068210a..3b8cbf5 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -1,49 +1,51 @@ !!! %html - cache('layout_header') do %head %title= get_config(:site...
calmh/Register
7ceda509517065a14ba13d5ba5aa4cf4e846a4fa
Report bug link
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index a8470c2..068210a 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -1,44 +1,49 @@ !!! %html - cache('layout_header') do %head %title= get_config(:site...
calmh/Register
2c5cc7f658f6a98b79871fe8a849f7f009676aba
First attempt at sorting by column headers.
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb index f5b749e..8427501 100644 --- a/app/controllers/students_controller.rb +++ b/app/controllers/students_controller.rb @@ -1,229 +1,242 @@ class SearchParams attr_accessor :group_id attr_accessor :grade attr_accessor...
calmh/Register
e3d48d4aaca7b6d8012821dec9a9ab60b2b90005
Fix password reset and login for students.
diff --git a/app/controllers/password_resets_controller.rb b/app/controllers/password_resets_controller.rb index b4275ab..7a4edf8 100644 --- a/app/controllers/password_resets_controller.rb +++ b/app/controllers/password_resets_controller.rb @@ -1,46 +1,55 @@ class PasswordResetsController < ApplicationController be...
calmh/Register
d5b0f93821e1d088e4180073dfaecf3354cc847a
Have valid tokens in fixtures
diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 5de29e3..0230719 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -1,571 +1,571 @@ --- users_015: city: "Vall\xC3\xA5kra" single_access_token: zDafGGhEtEtfK9g11eZx last_request_at: personal_number: 19850107-1768 ...
calmh/Register
a851f8305f889ce07fb30d7c8b8c101ce67bdb51
Fix from address
diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 7784ede..dda2582 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -1,11 +1,11 @@ class Notifier < ActionMailer::Base default_url_options[:host] = "www.fiveforms.org" def password_reset_instructions(user) subject "P...
calmh/Register
60d537df5d442aa5e49bd56dd638a0477491deb0
Files for password reset
diff --git a/app/controllers/password_resets_controller.rb b/app/controllers/password_resets_controller.rb new file mode 100644 index 0000000..b4275ab --- /dev/null +++ b/app/controllers/password_resets_controller.rb @@ -0,0 +1,46 @@ +class PasswordResetsController < ApplicationController + before_filter :load_user_us...
calmh/Register
ee86f3dc7eff4917e3974ea2846950776ab8a752
Add missing translation
diff --git a/config/locales/en.yml b/config/locales/en.yml index 7f36e77..bedcbe6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,182 +1,183 @@ en: Register: Register Students: Students ID: ID Name: Name Grade: Grade Statistics: Statistics Num_Students: Number of Students G...
calmh/Register
ce97b9b6f1bec305478a564b2e7bd185f1c603fd
Hamlify main layout + links and change version format
diff --git a/app/controllers/user_sessions_controller.rb b/app/controllers/user_sessions_controller.rb index fd2d6a0..f3352fb 100644 --- a/app/controllers/user_sessions_controller.rb +++ b/app/controllers/user_sessions_controller.rb @@ -1,33 +1,32 @@ class UserSessionsController < ApplicationController before_filte...
thijs/cl-sphinx-search
48eef193d8bc35208e648f518893f676feb86db5
Use version var
diff --git a/cl-sphinx-search.asd b/cl-sphinx-search.asd index 08f1386..4ad6ef8 100644 --- a/cl-sphinx-search.asd +++ b/cl-sphinx-search.asd @@ -1,29 +1,36 @@ ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; See the LICENSE file for licensing information. (in-package #:cl-user) (defpackage #:cl-...