Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

uploading is now possible to all folders

  • Loading branch information...
commit bcd8b3de6ff19d119c7ee53c7f061c0e313a3b30 1 parent 402878b
Jan Gnip authored

Showing 96 changed files with 249 additions and 577 deletions. Show diff stats Hide diff stats

  1. +0 8 .idea/.generators
  2. +0 1  .idea/.name
  3. +0 7 .idea/.rakeTasks
  4. +0 103 .idea/FileBox.iml
  5. +0 5 .idea/encodings.xml
  6. +0 8 .idea/misc.xml
  7. +0 9 .idea/modules.xml
  8. +0 7 .idea/vcs.xml
  9. +0 411 .idea/workspace.xml
  10. BIN  .redcar/lucene/_1y.cfs
  11. BIN  .redcar/lucene/_1y_3.del
  12. BIN  .redcar/lucene/_1z.cfs
  13. BIN  .redcar/lucene/_1z_1.del
  14. BIN  .redcar/lucene/_20.cfs
  15. BIN  .redcar/lucene/_21.cfs
  16. BIN  .redcar/lucene/_21_1.del
  17. BIN  .redcar/lucene/_22.cfs
  18. BIN  .redcar/lucene/_22_1.del
  19. BIN  .redcar/lucene/_23.cfs
  20. BIN  .redcar/lucene/_23_2.del
  21. BIN  .redcar/lucene/_24.cfs
  22. BIN  .redcar/lucene/_24_1.del
  23. BIN  .redcar/lucene/_25.cfs
  24. BIN  .redcar/lucene/_25_1.del
  25. BIN  .redcar/lucene/_26.cfs
  26. BIN  .redcar/lucene/_2s.cfs
  27. BIN  .redcar/lucene/_2s_5.del
  28. BIN  .redcar/lucene/_2t.cfs
  29. BIN  .redcar/lucene/_2u.cfs
  30. BIN  .redcar/lucene/_2u_1.del
  31. BIN  .redcar/lucene/_2v.cfs
  32. BIN  .redcar/lucene/_2v_1.del
  33. BIN  .redcar/lucene/_2w.cfs
  34. BIN  .redcar/lucene/_2w_1.del
  35. BIN  .redcar/lucene/_2x.cfs
  36. BIN  .redcar/lucene/_2y.cfs
  37. BIN  .redcar/lucene/_2y_1.del
  38. BIN  .redcar/lucene/_2z.cfs
  39. BIN  .redcar/lucene/_30.cfs
  40. BIN  .redcar/lucene/_3c.cfs
  41. BIN  .redcar/lucene/_3c_1.del
  42. BIN  .redcar/lucene/_3d.cfs
  43. BIN  .redcar/lucene/_46.cfs
  44. BIN  .redcar/lucene/_46_1.del
  45. BIN  .redcar/lucene/_47.cfs
  46. BIN  .redcar/lucene/_47_1.del
  47. BIN  .redcar/lucene/_48.cfs
  48. BIN  .redcar/lucene/_50_3.del
  49. BIN  .redcar/lucene/_51.cfs
  50. BIN  .redcar/lucene/_51_1.del
  51. BIN  .redcar/lucene/_52.cfs
  52. BIN  .redcar/lucene/_52_1.del
  53. BIN  .redcar/lucene/_53.cfs
  54. BIN  .redcar/lucene/_54.cfs
  55. BIN  .redcar/lucene/_54_1.del
  56. BIN  .redcar/lucene/_55.cfs
  57. BIN  .redcar/lucene/_56.cfs
  58. BIN  .redcar/lucene/_57.cfs
  59. BIN  .redcar/lucene/_6y.cfs
  60. BIN  .redcar/lucene/_6y_2.del
  61. BIN  .redcar/lucene/_6z.cfs
  62. BIN  .redcar/lucene/_70.cfs
  63. BIN  .redcar/lucene/_70_1.del
  64. BIN  .redcar/lucene/_71.cfs
  65. BIN  .redcar/lucene/_8w.cfs
  66. BIN  .redcar/lucene/_8w_5.del
  67. BIN  .redcar/lucene/_8x.cfs
  68. BIN  .redcar/lucene/_8x_1.del
  69. BIN  .redcar/lucene/_8y.cfs
  70. BIN  .redcar/lucene/_8z.cfs
  71. BIN  .redcar/lucene/_8z_1.del
  72. BIN  .redcar/lucene/_90.cfs
  73. BIN  .redcar/lucene/_91.cfs
  74. BIN  .redcar/lucene/_91_1.del
  75. BIN  .redcar/lucene/_92.cfs
  76. BIN  .redcar/lucene/_93.cfs
  77. BIN  .redcar/lucene/_93_1.del
  78. BIN  .redcar/lucene/_94.cfs
  79. BIN  .redcar/lucene/{_50.cfs → _k.cfs}
  80. BIN  .redcar/lucene/segments.gen
  81. BIN  .redcar/lucene/segments_21
  82. BIN  .redcar/lucene/segments_2s
  83. BIN  .redcar/lucene/segments_33
  84. BIN  .redcar/lucene/segments_3v
  85. BIN  .redcar/lucene/segments_4r
  86. BIN  .redcar/lucene/segments_6e
  87. BIN  .redcar/lucene/segments_8a
  88. BIN  .redcar/lucene/{segments_2k → segments_k}
  89. +1 1  .redcar/lucene_last_updated
  90. +1 1  .redcar/redcar.lock
  91. +208 1 .redcar/tags
  92. +18 8 app/controllers/assets_controller.rb
  93. +2 1  app/views/assets/_form.html.erb
  94. +7 1 app/views/assets/new.html.erb
  95. +9 5 app/views/home/index.html.erb
  96. +3 0  config/routes.rb
8 .idea/.generators
... ... @@ -1,8 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<Settings><!--This file was automatically generated by Ruby plugin.
3   -You are allowed to:
4   -1. Reorder generators
5   -2. Remove generators
6   -3. Add installed generators
7   -To add new installed generators automatically delete this file and reload the project.
8   ---><GeneratorsGroup><Generator name="active_record:migration" /><Generator name="active_record:model" /><Generator name="active_record:observer" /><Generator name="active_record:session_migration" /><Generator name="controller" /><Generator name="erb:controller" /><Generator name="erb:mailer" /><Generator name="erb:scaffold" /><Generator name="generator" /><Generator name="helper" /><Generator name="integration_test" /><Generator name="mailer" /><Generator name="metal" /><Generator name="migration" /><Generator name="model" /><Generator name="model_subclass" /><Generator name="observer" /><Generator name="performance_test" /><Generator name="plugin" /><Generator name="resource" /><Generator name="scaffold" /><Generator name="scaffold_controller" /><Generator name="session_migration" /><Generator name="stylesheets" /><Generator name="test_unit:controller" /><Generator name="test_unit:helper" /><Generator name="test_unit:integration" /><Generator name="test_unit:mailer" /><Generator name="test_unit:model" /><Generator name="test_unit:observer" /><Generator name="test_unit:performance" /><Generator name="test_unit:plugin" /><Generator name="test_unit:scaffold" /></GeneratorsGroup></Settings>
1  .idea/.name
... ... @@ -1 +0,0 @@
1   -FileBox
7 .idea/.rakeTasks
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<Settings><!--This file was automatically generated by Ruby plugin.
3   -You are allowed to:
4   -1. Remove rake task
5   -2. Add existing rake tasks
6   -To add existing rake tasks automatically delete this file and reload the project.
7   ---><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="List versions of all Rails frameworks and the environment" fullCmd="about" taksId="about" /><RakeGroup description="" fullCmd="" taksId="db"><RakeTask description="Create the database from config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)" fullCmd="db:create" taksId="create" /><RakeTask description="Drops the database for the current Rails.env (use db:drop:all to drop all databases)" fullCmd="db:drop" taksId="drop" /><RakeGroup description="" fullCmd="" taksId="fixtures"><RakeTask description="Load fixtures into the current environment's database" fullCmd="db:fixtures:load" taksId="load" /><RakeTask description="" fullCmd="db:fixtures:identify" taksId="identify" /></RakeGroup><RakeTask description="Migrate the database (options: VERSION=x, VERBOSE=false)" fullCmd="db:migrate" taksId="migrate" /><RakeGroup description="" fullCmd="" taksId="migrate"><RakeTask description="Display status of migrations" fullCmd="db:migrate:status" taksId="status" /><RakeTask description="" fullCmd="db:migrate:down" taksId="down" /><RakeTask description="" fullCmd="db:migrate:redo" taksId="redo" /><RakeTask description="" fullCmd="db:migrate:reset" taksId="reset" /><RakeTask description="" fullCmd="db:migrate:up" taksId="up" /></RakeGroup><RakeTask description="Rolls the schema back to the previous version (specify steps w/ STEP=n)" fullCmd="db:rollback" taksId="rollback" /><RakeGroup description="" fullCmd="" taksId="schema"><RakeTask description="Create a db/schema.rb file that can be portably used against any DB supported by AR" fullCmd="db:schema:dump" taksId="dump" /><RakeTask description="Load a schema.rb file into the database" fullCmd="db:schema:load" taksId="load" /></RakeGroup><RakeTask description="Load the seed data from db/seeds.rb" fullCmd="db:seed" taksId="seed" /><RakeTask description="Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the db first)" fullCmd="db:setup" taksId="setup" /><RakeGroup description="" fullCmd="" taksId="structure"><RakeTask description="Dump the database structure to an SQL file" fullCmd="db:structure:dump" taksId="dump" /></RakeGroup><RakeTask description="Retrieves the current schema version number" fullCmd="db:version" taksId="version" /><RakeTask description="" fullCmd="db:abort_if_pending_migrations" taksId="abort_if_pending_migrations" /><RakeTask description="" fullCmd="db:charset" taksId="charset" /><RakeTask description="" fullCmd="db:collation" taksId="collation" /><RakeGroup description="" fullCmd="" taksId="create"><RakeTask description="" fullCmd="db:create:all" taksId="all" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="drop"><RakeTask description="" fullCmd="db:drop:all" taksId="all" /></RakeGroup><RakeTask description="" fullCmd="db:forward" taksId="forward" /><RakeTask description="" fullCmd="db:load_config" taksId="load_config" /><RakeTask description="" fullCmd="db:reset" taksId="reset" /><RakeGroup description="" fullCmd="" taksId="sessions"><RakeTask description="" fullCmd="db:sessions:clear" taksId="clear" /><RakeTask description="" fullCmd="db:sessions:create" taksId="create" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="test"><RakeTask description="" fullCmd="db:test:clone" taksId="clone" /><RakeTask description="" fullCmd="db:test:clone_structure" taksId="clone_structure" /><RakeTask description="" fullCmd="db:test:load" taksId="load" /><RakeTask description="" fullCmd="db:test:prepare" taksId="prepare" /><RakeTask description="" fullCmd="db:test:purge" taksId="purge" /></RakeGroup></RakeGroup><RakeGroup description="" fullCmd="" taksId="doc"><RakeTask description="Generate docs for the app -- also availble doc:rails, doc:guides, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE=&quot;Custom Title&quot;)" fullCmd="doc:app" taksId="app" /><RakeTask description="" fullCmd="doc:clobber" taksId="clobber" /><RakeTask description="" fullCmd="doc:clobber_app" taksId="clobber_app" /><RakeTask description="" fullCmd="doc:clobber_plugins" taksId="clobber_plugins" /><RakeTask description="" fullCmd="doc:clobber_rails" taksId="clobber_rails" /><RakeTask description="" fullCmd="doc:guides" taksId="guides" /><RakeTask description="" fullCmd="doc:plugins" taksId="plugins" /><RakeTask description="" fullCmd="doc:rails" taksId="rails" /><RakeTask description="" fullCmd="doc:reapp" taksId="reapp" /><RakeTask description="" fullCmd="doc:rerails" taksId="rerails" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="log"><RakeTask description="Truncates all *.log files in log/ to zero bytes" fullCmd="log:clear" taksId="clear" /></RakeGroup><RakeTask description="Prints out your Rack middleware stack" fullCmd="middleware" taksId="middleware" /><RakeTask description="Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)" fullCmd="notes" taksId="notes" /><RakeGroup description="" fullCmd="" taksId="notes"><RakeTask description="Enumerate a custom annotation, specify with ANNOTATION=CUSTOM" fullCmd="notes:custom" taksId="custom" /><RakeTask description="" fullCmd="notes:fixme" taksId="fixme" /><RakeTask description="" fullCmd="notes:optimize" taksId="optimize" /><RakeTask description="" fullCmd="notes:todo" taksId="todo" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="paperclip"><RakeTask description="Cleans out invalid attachments" fullCmd="paperclip:clean" taksId="clean" /><RakeTask description="Refreshes both metadata and thumbnails" fullCmd="paperclip:refresh" taksId="refresh" /><RakeGroup description="" fullCmd="" taksId="refresh"><RakeTask description="Regenerates content_type/size metadata for a given CLASS (and optional ATTACHMENT)" fullCmd="paperclip:refresh:metadata" taksId="metadata" /><RakeTask description="Regenerates thumbnails for a given CLASS (and optional ATTACHMENT)" fullCmd="paperclip:refresh:thumbnails" taksId="thumbnails" /></RakeGroup></RakeGroup><RakeGroup description="" fullCmd="" taksId="rails"><RakeTask description="Applies the template supplied by LOCATION=/path/to/template" fullCmd="rails:template" taksId="template" /><RakeTask description="Update both configs and public/javascripts from Rails (or use just update:javascripts or update:configs)" fullCmd="rails:update" taksId="update" /><RakeGroup description="" fullCmd="" taksId="freeze"><RakeTask description="" fullCmd="rails:freeze:edge" taksId="edge" /><RakeTask description="" fullCmd="rails:freeze:gems" taksId="gems" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="templates"><RakeTask description="" fullCmd="rails:templates:copy" taksId="copy" /></RakeGroup><RakeTask description="" fullCmd="rails:unfreeze" taksId="unfreeze" /><RakeGroup description="" fullCmd="" taksId="update"><RakeTask description="" fullCmd="rails:update:application_controller" taksId="application_controller" /><RakeTask description="" fullCmd="rails:update:configs" taksId="configs" /><RakeTask description="" fullCmd="rails:update:javascripts" taksId="javascripts" /><RakeTask description="" fullCmd="rails:update:scripts" taksId="scripts" /></RakeGroup></RakeGroup><RakeTask description="Print out all defined routes in match order, with names" fullCmd="routes" taksId="routes" /><RakeTask description="Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions)" fullCmd="secret" taksId="secret" /><RakeTask description="Report code statistics (KLOCs, etc) from the application" fullCmd="stats" taksId="stats" /><RakeTask description="Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)" fullCmd="test" taksId="test" /><RakeGroup description="" fullCmd="" taksId="test"><RakeTask description="Run tests for {:recent=&gt;&quot;test:prepare&quot;} / Test recent changes" fullCmd="test:recent" taksId="recent" /><RakeTask description="Run tests for {:uncommitted=&gt;&quot;test:prepare&quot;} / Test changes since last checkin (only Subversion and Git)" fullCmd="test:uncommitted" taksId="uncommitted" /><RakeTask description="" fullCmd="test:benchmark" taksId="benchmark" /><RakeTask description="" fullCmd="test:functionals" taksId="functionals" /><RakeTask description="" fullCmd="test:integration" taksId="integration" /><RakeTask description="" fullCmd="test:plugins" taksId="plugins" /><RakeTask description="" fullCmd="test:prepare" taksId="prepare" /><RakeTask description="" fullCmd="test:profile" taksId="profile" /><RakeTask description="" fullCmd="test:units" taksId="units" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="time"><RakeGroup description="" fullCmd="" taksId="zones"><RakeTask description="Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6" fullCmd="time:zones:all" taksId="all" /><RakeTask description="" fullCmd="time:zones:local" taksId="local" /><RakeTask description="" fullCmd="time:zones:us" taksId="us" /></RakeGroup></RakeGroup><RakeGroup description="" fullCmd="" taksId="tmp"><RakeTask description="Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)" fullCmd="tmp:clear" taksId="clear" /><RakeTask description="Creates tmp directories for sessions, cache, sockets, and pids" fullCmd="tmp:create" taksId="create" /><RakeGroup description="" fullCmd="" taksId="cache"><RakeTask description="" fullCmd="tmp:cache:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="pids"><RakeTask description="" fullCmd="tmp:pids:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="sessions"><RakeTask description="" fullCmd="tmp:sessions:clear" taksId="clear" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="sockets"><RakeTask description="" fullCmd="tmp:sockets:clear" taksId="clear" /></RakeGroup></RakeGroup><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="doc" taksId="doc" /><RakeTask description="" fullCmd="doc/api" taksId="doc/api" /><RakeTask description="" fullCmd="doc/api/index.html" taksId="doc/api/index.html" /><RakeTask description="" fullCmd="doc/app" taksId="doc/app" /><RakeTask description="" fullCmd="doc/app/index.html" taksId="doc/app/index.html" /><RakeTask description="" fullCmd="environment" taksId="environment" /><RakeTask description="" fullCmd="rails_env" taksId="rails_env" /></RakeGroup></Settings>
103 .idea/FileBox.iml
... ... @@ -1,103 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<module type="RUBY_MODULE" version="4">
3   - <component name="FacetManager">
4   - <facet type="RailsFacetType" name="Ruby on Rails">
5   - <configuration>
6   - <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_SUPPORT_REMOVED" VALUE="false" />
7   - <RAILS_FACET_CONFIG_ID NAME="RAILS_TESTS_SOURCES_PATCHED" VALUE="true" />
8   - <RAILS_FACET_CONFIG_ID NAME="RAILS_FACET_APPLICATION_ROOT" VALUE="$MODULE_DIR$" />
9   - </configuration>
10   - </facet>
11   - </component>
12   - <component name="GemRequirementsHolder" version="3">
13   - <requirement>
14   - <requirement>
15   - <dependency name="acts_as_tree" version="0" bound="GREATER_OR_EQUAL" git="false" path="false" doRequire="true" />
16   - </requirement>
17   - <source from="Gemfile" />
18   - </requirement>
19   - <requirement>
20   - <requirement>
21   - <dependency name="devise" version="0" bound="GREATER_OR_EQUAL" git="true" path="false" doRequire="true" />
22   - </requirement>
23   - <source from="Gemfile" />
24   - </requirement>
25   - <requirement>
26   - <requirement>
27   - <dependency name="nifty-generators" version="0" bound="GREATER_OR_EQUAL" git="false" path="false" doRequire="true" />
28   - </requirement>
29   - <source from="Gemfile" />
30   - </requirement>
31   - <requirement>
32   - <requirement>
33   - <dependency name="oauth2" version="0" bound="GREATER_OR_EQUAL" git="false" path="false" doRequire="true" />
34   - </requirement>
35   - <source from="Gemfile" />
36   - </requirement>
37   - <requirement>
38   - <requirement>
39   - <dependency name="paperclip" version="2.3" bound="LATEST_IN_BRANCH" git="false" path="false" doRequire="true" />
40   - </requirement>
41   - <source from="Gemfile" />
42   - </requirement>
43   - <requirement>
44   - <requirement>
45   - <dependency name="rails" version="3.0.7" bound="EQUAL" git="false" path="false" doRequire="true" />
46   - </requirement>
47   - <source from="Gemfile" />
48   - </requirement>
49   - <requirement>
50   - <requirement>
51   - <dependency name="ruby-mysql" version="0" bound="GREATER_OR_EQUAL" git="false" path="false" doRequire="true" />
52   - </requirement>
53   - <source from="Gemfile" />
54   - </requirement>
55   - </component>
56   - <component name="NewModuleRootManager">
57   - <content url="file://$MODULE_DIR$">
58   - <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
59   - <excludeFolder url="file://$MODULE_DIR$/tmp" />
60   - </content>
61   - <orderEntry type="inheritedJdk" />
62   - <orderEntry type="sourceFolder" forTests="false" />
63   - <orderEntry type="library" scope="PROVIDED" name="[gem] rake (v0.8.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7)" level="application" />
64   - <orderEntry type="library" scope="PROVIDED" name="[gem] actionmailer (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/actionmailer-3.0.7)" level="application" />
65   - <orderEntry type="library" scope="PROVIDED" name="[gem] rack (v1.2.2, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.2)" level="application" />
66   - <orderEntry type="library" scope="PROVIDED" name="[gem] activerecord (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-3.0.7)" level="application" />
67   - <orderEntry type="library" scope="PROVIDED" name="[gem] activeresource (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/activeresource-3.0.7)" level="application" />
68   - <orderEntry type="library" scope="PROVIDED" name="[gem] activesupport (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7)" level="application" />
69   - <orderEntry type="library" scope="PROVIDED" name="[gem] i18n (v0.5.0, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/i18n-0.5.0)" level="application" />
70   - <orderEntry type="library" scope="PROVIDED" name="[gem] polyglot (v0.3.1, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/polyglot-0.3.1)" level="application" />
71   - <orderEntry type="library" scope="PROVIDED" name="[gem] arel (v2.0.9, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/arel-2.0.9)" level="application" />
72   - <orderEntry type="library" scope="PROVIDED" name="[gem] treetop (v1.4.9, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/treetop-1.4.9)" level="application" />
73   - <orderEntry type="library" scope="PROVIDED" name="[gem] mime-types (v1.16, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/mime-types-1.16)" level="application" />
74   - <orderEntry type="library" scope="PROVIDED" name="[gem] builder (v2.1.2, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/builder-2.1.2)" level="application" />
75   - <orderEntry type="library" scope="PROVIDED" name="[gem] mail (v2.2.17, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/mail-2.2.17)" level="application" />
76   - <orderEntry type="library" scope="PROVIDED" name="[gem] railties (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7)" level="application" />
77   - <orderEntry type="library" scope="PROVIDED" name="[gem] tzinfo (v0.3.27, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/tzinfo-0.3.27)" level="application" />
78   - <orderEntry type="library" scope="PROVIDED" name="[gem] activemodel (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/activemodel-3.0.7)" level="application" />
79   - <orderEntry type="library" scope="PROVIDED" name="[gem] thor (v0.14.6, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6)" level="application" />
80   - <orderEntry type="library" scope="PROVIDED" name="[gem] rails (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/rails-3.0.7)" level="application" />
81   - <orderEntry type="library" scope="PROVIDED" name="[gem] actionpack (v3.0.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.7)" level="application" />
82   - <orderEntry type="library" scope="PROVIDED" name="[gem] erubis (v2.6.6, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/erubis-2.6.6)" level="application" />
83   - <orderEntry type="library" scope="PROVIDED" name="[gem] rack-mount (v0.6.14, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/rack-mount-0.6.14)" level="application" />
84   - <orderEntry type="library" scope="PROVIDED" name="[gem] abstract (v1.0.0, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/abstract-1.0.0)" level="application" />
85   - <orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.12, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.12)" level="application" />
86   - <orderEntry type="library" scope="PROVIDED" name="[gem] rack-test (v0.5.7, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/rack-test-0.5.7)" level="application" />
87   - <orderEntry type="library" scope="PROVIDED" name="[gem] mysql (v2.8.1, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/mysql-2.8.1)" level="application" />
88   - <orderEntry type="library" scope="PROVIDED" name="[gem] ruby-mysql (v2.9.4, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/ruby-mysql-2.9.4)" level="application" />
89   - <orderEntry type="library" scope="PROVIDED" name="[gem] acts_as_tree (v0.1.1, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/acts_as_tree-0.1.1)" level="application" />
90   - <orderEntry type="library" scope="PROVIDED" name="[gem] paperclip (v2.3.11, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/paperclip-2.3.11)" level="application" />
91   - <orderEntry type="library" scope="PROVIDED" name="[gem] oauth2 (v0.4.1, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/oauth2-0.4.1)" level="application" />
92   - <orderEntry type="library" scope="PROVIDED" name="[gem] nifty-generators (v0.4.6, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/nifty-generators-0.4.6)" level="application" />
93   - <orderEntry type="library" scope="PROVIDED" name="[gem] devise (v1.3.3, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/devise-1.3.3)" level="application" />
94   - <orderEntry type="library" scope="PROVIDED" name="[gem] multipart-post (v1.1.0, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/multipart-post-1.1.0)" level="application" />
95   - <orderEntry type="library" scope="PROVIDED" name="[gem] bcrypt-ruby (v2.1.4, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/bcrypt-ruby-2.1.4)" level="application" />
96   - <orderEntry type="library" scope="PROVIDED" name="[gem] multi_json (v0.0.5, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/multi_json-0.0.5)" level="application" />
97   - <orderEntry type="library" scope="PROVIDED" name="[gem] addressable (v2.2.5, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/addressable-2.2.5)" level="application" />
98   - <orderEntry type="library" scope="PROVIDED" name="[gem] warden (v1.0.3, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/warden-1.0.3)" level="application" />
99   - <orderEntry type="library" scope="PROVIDED" name="[gem] orm_adapter (v0.0.4, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/orm_adapter-0.0.4)" level="application" />
100   - <orderEntry type="library" scope="PROVIDED" name="[gem] faraday (v0.6.1, /home/droid/.rvm/gems/ruby-1.9.2-p180/gems/faraday-0.6.1)" level="application" />
101   - </component>
102   -</module>
103   -
5 .idea/encodings.xml
... ... @@ -1,5 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project version="4">
3   - <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4   -</project>
5   -
8 .idea/misc.xml
... ... @@ -1,8 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project version="4">
3   - <component name="DependencyValidationManager">
4   - <option name="SKIP_IMPORT_STATEMENTS" value="false" />
5   - </component>
6   - <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.2-p180" project-jdk-type="RUBY_SDK" />
7   -</project>
8   -
9 .idea/modules.xml
... ... @@ -1,9 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project version="4">
3   - <component name="ProjectModuleManager">
4   - <modules>
5   - <module fileurl="file://$PROJECT_DIR$/.idea/FileBox.iml" filepath="$PROJECT_DIR$/.idea/FileBox.iml" />
6   - </modules>
7   - </component>
8   -</project>
9   -
7 .idea/vcs.xml
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project version="4">
3   - <component name="VcsDirectoryMappings">
4   - <mapping directory="$PROJECT_DIR$" vcs="Git" />
5   - </component>
6   -</project>
7   -
411 .idea/workspace.xml
... ... @@ -1,411 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project version="4">
3   - <component name="ChangeListManager">
4   - <list default="true" id="6b8e5f2a-f478-4e84-9db9-49df90f7a921" name="Default" comment="">
5   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_1y.cfs" afterPath="" />
6   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_1y_3.del" afterPath="" />
7   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_1z.cfs" afterPath="" />
8   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_1z_1.del" afterPath="" />
9   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_20.cfs" afterPath="" />
10   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_21.cfs" afterPath="" />
11   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_21_1.del" afterPath="" />
12   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_22.cfs" afterPath="" />
13   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_22_1.del" afterPath="" />
14   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_23.cfs" afterPath="" />
15   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_23_2.del" afterPath="" />
16   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_24.cfs" afterPath="" />
17   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_24_1.del" afterPath="" />
18   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_25.cfs" afterPath="" />
19   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_25_1.del" afterPath="" />
20   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_26.cfs" afterPath="" />
21   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2s.cfs" afterPath="" />
22   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2s_5.del" afterPath="" />
23   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2t.cfs" afterPath="" />
24   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2u.cfs" afterPath="" />
25   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2u_1.del" afterPath="" />
26   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2v.cfs" afterPath="" />
27   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2v_1.del" afterPath="" />
28   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2w.cfs" afterPath="" />
29   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2w_1.del" afterPath="" />
30   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2x.cfs" afterPath="" />
31   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2y.cfs" afterPath="" />
32   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2y_1.del" afterPath="" />
33   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_2z.cfs" afterPath="" />
34   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_30.cfs" afterPath="" />
35   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_3c.cfs" afterPath="" />
36   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_3c_1.del" afterPath="" />
37   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_3d.cfs" afterPath="" />
38   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_46.cfs" afterPath="" />
39   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_46_1.del" afterPath="" />
40   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_47.cfs" afterPath="" />
41   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_47_1.del" afterPath="" />
42   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_48.cfs" afterPath="" />
43   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_50.cfs" afterPath="" />
44   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_50_3.del" afterPath="" />
45   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_51.cfs" afterPath="" />
46   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_51_1.del" afterPath="" />
47   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_52.cfs" afterPath="" />
48   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_52_1.del" afterPath="" />
49   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_53.cfs" afterPath="" />
50   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_54.cfs" afterPath="" />
51   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_54_1.del" afterPath="" />
52   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_55.cfs" afterPath="" />
53   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_56.cfs" afterPath="" />
54   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/_57.cfs" afterPath="" />
55   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_21" afterPath="" />
56   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_2k" afterPath="" />
57   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_2s" afterPath="" />
58   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_33" afterPath="" />
59   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_3v" afterPath="" />
60   - <change type="DELETED" beforePath="$PROJECT_DIR$/.redcar/lucene/segments_4r" afterPath="" />
61   - <change type="DELETED" beforePath="$PROJECT_DIR$/public/images/rails.png" afterPath="" />
62   - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.redcar/lucene_last_updated" afterPath="$PROJECT_DIR$/.redcar/lucene_last_updated" />
63   - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.redcar/redcar.lock" afterPath="$PROJECT_DIR$/.redcar/redcar.lock" />
64   - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.redcar/tags" afterPath="$PROJECT_DIR$/.redcar/tags" />
65   - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/controllers/assets_controller.rb" afterPath="$PROJECT_DIR$/app/controllers/assets_controller.rb" />
66   - </list>
67   - <ignored path="FileBox.iws" />
68   - <ignored path=".idea/workspace.xml" />
69   - <option name="TRACKING_ENABLED" value="true" />
70   - <option name="SHOW_DIALOG" value="false" />
71   - <option name="HIGHLIGHT_CONFLICTS" value="true" />
72   - <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
73   - <option name="LAST_RESOLUTION" value="IGNORE" />
74   - </component>
75   - <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
76   - <component name="CoverageDataManager" choice="3" />
77   - <component name="CreatePatchCommitExecutor">
78   - <option name="PATCH_PATH" value="" />
79   - <option name="REVERSE_PATCH" value="false" />
80   - </component>
81   - <component name="DaemonCodeAnalyzer">
82   - <disable_hints />
83   - </component>
84   - <component name="FavoritesManager">
85   - <favorites_list name="FileBox" />
86   - </component>
87   - <component name="FileEditorManager">
88   - <leaf>
89   - <file leaf-file-name="assets_controller.rb" pinned="false" current="true" current-in-tab="true">
90   - <entry file="file://$PROJECT_DIR$/app/controllers/assets_controller.rb">
91   - <provider selected="true" editor-type-id="text-editor">
92   - <state line="21" column="29" selection-start="535" selection-end="535" vertical-scroll-proportion="0.3723404">
93   - <folding />
94   - </state>
95   - </provider>
96   - </entry>
97   - </file>
98   - </leaf>
99   - </component>
100   - <component name="Git.Settings">
101   - <option name="CHECKOUT_INCLUDE_TAGS" value="false" />
102   - <option name="UPDATE_CHANGES_POLICY" value="STASH" />
103   - </component>
104   - <component name="IdeDocumentHistory">
105   - <option name="changedFiles">
106   - <list>
107   - <option value="$PROJECT_DIR$/app/controllers/assets_controller.rb" />
108   - </list>
109   - </option>
110   - </component>
111   - <component name="ProjectLevelVcsManager" settingsEditedManually="false">
112   - <OptionsSetting value="true" id="Add" />
113   - <OptionsSetting value="true" id="Remove" />
114   - <OptionsSetting value="true" id="Checkout" />
115   - <OptionsSetting value="true" id="Update" />
116   - <OptionsSetting value="true" id="Status" />
117   - <OptionsSetting value="true" id="Edit" />
118   - <ConfirmationsSetting value="0" id="Add" />
119   - <ConfirmationsSetting value="0" id="Remove" />
120   - </component>
121   - <component name="ProjectReloadState">
122   - <option name="STATE" value="0" />
123   - </component>
124   - <component name="ProjectView">
125   - <navigator currentView="RailsProjectView" proportions="" version="1" splitterProportion="0.5">
126   - <flattenPackages />
127   - <showMembers />
128   - <showModules />
129   - <showLibraryContents />
130   - <hideEmptyPackages />
131   - <abbreviatePackageNames />
132   - <autoscrollToSource />
133   - <autoscrollFromSource />
134   - <sortByType />
135   - </navigator>
136   - <panes>
137   - <pane id="Scope" />
138   - <pane id="RailsProjectView">
139   - <subPane>
140   - <PATH>
141   - <PATH_ELEMENT>
142   - <option name="myItemId" value="FileBox" />
143   - <option name="myItemType" value="org.jetbrains.plugins.ruby.rails.projectView.v2.nodes.RailsProjectNode" />
144   - </PATH_ELEMENT>
145   - <PATH_ELEMENT>
146   - <option name="myItemId" value="FileBox" />
147   - <option name="myItemType" value="org.jetbrains.plugins.ruby.rails.projectView.v2.nodes.RailsModuleNode" />
148   - </PATH_ELEMENT>
149   - </PATH>
150   - </subPane>
151   - </pane>
152   - <pane id="Favorites" />
153   - <pane id="ProjectPane">
154   - <subPane>
155   - <PATH>
156   - <PATH_ELEMENT>
157   - <option name="myItemId" value="FileBox" />
158   - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
159   - </PATH_ELEMENT>
160   - </PATH>
161   - <PATH>
162   - <PATH_ELEMENT>
163   - <option name="myItemId" value="FileBox" />
164   - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
165   - </PATH_ELEMENT>
166   - <PATH_ELEMENT>
167   - <option name="myItemId" value="FileBox" />
168   - <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
169   - </PATH_ELEMENT>
170   - </PATH>
171   - </subPane>
172   - </pane>
173   - </panes>
174   - </component>
175   - <component name="PropertiesComponent">
176   - <property name="recentsLimit" value="5" />
177   - </component>
178   - <component name="RunManager" selected="Rails.Development: FileBox">
179   - <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
180   - <module name="" />
181   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
182   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
183   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
184   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
185   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
186   - <envs />
187   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
188   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
189   - <COVERAGE_PATTERN ENABLED="true">
190   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
191   - </COVERAGE_PATTERN>
192   - </EXTENSION>
193   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="" />
194   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
195   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
196   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
197   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
198   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
199   - <method />
200   - </configuration>
201   - <configuration default="true" type="RailsRunConfigurationType" factoryName="Rails">
202   - <predefined_log_file id="RUBY_RAILS_SERVER" enabled="true" />
203   - <module name="" />
204   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
205   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
206   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
207   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
208   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
209   - <envs />
210   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
211   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
212   - <COVERAGE_PATTERN ENABLED="true">
213   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
214   - </COVERAGE_PATTERN>
215   - </EXTENSION>
216   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SCRIPT_ARGS" VALUE="" />
217   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="PORT" VALUE="3000" />
218   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
219   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RAILS_SERVER_TYPE" VALUE="Default" />
220   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ENVIRONMENT_TYPE" VALUE="development" />
221   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
222   - <method />
223   - </configuration>
224   - <configuration default="false" name="test" type="RakeRunConfigurationType" factoryName="Rake">
225   - <module name="FileBox" />
226   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
227   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
228   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
229   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
230   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
231   - <envs>
232   - <env name="RAILS_ENV" value="test" />
233   - </envs>
234   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
235   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
236   - <COVERAGE_PATTERN ENABLED="true">
237   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
238   - </COVERAGE_PATTERN>
239   - </EXTENSION>
240   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="test" />
241   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
242   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE=":test_unit " />
243   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
244   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
245   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
246   - <method />
247   - </configuration>
248   - <configuration default="false" name="spec" type="RakeRunConfigurationType" factoryName="Rake">
249   - <module name="FileBox" />
250   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
251   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
252   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
253   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
254   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
255   - <envs />
256   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
257   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
258   - <COVERAGE_PATTERN ENABLED="true">
259   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
260   - </COVERAGE_PATTERN>
261   - </EXTENSION>
262   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="spec" />
263   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
264   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE=":rspec " />
265   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
266   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
267   - <RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
268   - <method />
269   - </configuration>
270   - <configuration default="false" name="Production: FileBox" type="RailsRunConfigurationType" factoryName="Rails">
271   - <predefined_log_file id="RUBY_RAILS_SERVER" enabled="true" />
272   - <module name="FileBox" />
273   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
274   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
275   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
276   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
277   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
278   - <envs />
279   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
280   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
281   - <COVERAGE_PATTERN ENABLED="true">
282   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
283   - </COVERAGE_PATTERN>
284   - </EXTENSION>
285   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SCRIPT_ARGS" VALUE="" />
286   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="PORT" VALUE="3000" />
287   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
288   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RAILS_SERVER_TYPE" VALUE="Default" />
289   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ENVIRONMENT_TYPE" VALUE="production" />
290   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
291   - <method />
292   - </configuration>
293   - <configuration default="false" name="Development: FileBox" type="RailsRunConfigurationType" factoryName="Rails">
294   - <predefined_log_file id="RUBY_RAILS_SERVER" enabled="true" />
295   - <module name="FileBox" />
296   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
297   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
298   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
299   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
300   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
301   - <envs />
302   - <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
303   - <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" track_test_folders="true" runner="rcov">
304   - <COVERAGE_PATTERN ENABLED="true">
305   - <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
306   - </COVERAGE_PATTERN>
307   - </EXTENSION>
308   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="SCRIPT_ARGS" VALUE="" />
309   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="PORT" VALUE="3000" />
310   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="IP" VALUE="0.0.0.0" />
311   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="RAILS_SERVER_TYPE" VALUE="Default" />
312   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="ENVIRONMENT_TYPE" VALUE="development" />
313   - <RAILS_SERVER_CONFIG_SETTINGS_ID NAME="LAUNCH_JS" VALUE="false" />
314   - <method />
315   - </configuration>
316   - <list size="4">
317   - <item index="0" class="java.lang.String" itemvalue="Rake.test" />
318   - <item index="1" class="java.lang.String" itemvalue="Rake.spec" />
319   - <item index="2" class="java.lang.String" itemvalue="Rails.Production: FileBox" />
320   - <item index="3" class="java.lang.String" itemvalue="Rails.Development: FileBox" />
321   - </list>
322   - </component>
323   - <component name="ShelveChangesManager" show_recycled="false" />
324   - <component name="SvnConfiguration" maxAnnotateRevisions="500">
325   - <option name="USER" value="" />
326   - <option name="PASSWORD" value="" />
327   - <option name="LAST_MERGED_REVISION" />
328   - <option name="MERGE_DRY_RUN" value="false" />
329   - <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
330   - <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
331   - <option name="IGNORE_SPACES_IN_MERGE" value="false" />
332   - <option name="DETECT_NESTED_COPIES" value="true" />
333   - <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
334   - <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
335   - <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
336   - <option name="FORCE_UPDATE" value="false" />
337   - <configuration useDefault="true">$USER_HOME$/.subversion_IDEA</configuration>
338   - <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
339   - </component>
340   - <component name="TaskManager">
341   - <task active="true" id="Default" summary="Default task">
342   - <changelist id="6b8e5f2a-f478-4e84-9db9-49df90f7a921" name="Default" comment="" />
343   - <created>1305103110963</created>
344   - <updated>1305103110963</updated>
345   - </task>
346   - <servers />
347   - </component>
348   - <component name="ToolWindowManager">
349   - <frame x="0" y="24" width="1280" height="976" extended-state="6" />
350   - <editor active="false" />
351   - <layout>
352   - <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
353   - <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
354   - <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
355   - <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
356   - <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24960127" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
357   - <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
358   - <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
359   - <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
360   - <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
361   - <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
362   - <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
363   - <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
364   - <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
365   - <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
366   - <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
367   - </layout>
368   - </component>
369   - <component name="VcsManagerConfiguration">
370   - <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
371   - <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
372   - <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
373   - <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
374   - <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
375   - <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
376   - <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
377   - <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
378   - <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
379   - <option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
380   - <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
381   - <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
382   - <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
383   - <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
384   - <option name="LAST_COMMIT_MESSAGE" />
385   - <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
386   - <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
387   - <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
388   - <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
389   - <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
390   - <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
391   - <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
392   - <option name="ACTIVE_VCS_NAME" />
393   - <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
394   - <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
395   - <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
396   - <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
397   - </component>
398   - <component name="XDebuggerManager">
399   - <breakpoint-manager />
400   - </component>
401   - <component name="editorHistoryManager">
402   - <entry file="file://$PROJECT_DIR$/app/controllers/assets_controller.rb">
403   - <provider selected="true" editor-type-id="text-editor">
404   - <state line="21" column="29" selection-start="535" selection-end="535" vertical-scroll-proportion="0.3723404">
405   - <folding />
406   - </state>
407   - </provider>
408   - </entry>
409   - </component>
410   -</project>
411   -
BIN  .redcar/lucene/_1y.cfs
Binary file not shown
BIN  .redcar/lucene/_1y_3.del
Binary file not shown
BIN  .redcar/lucene/_1z.cfs
Binary file not shown
BIN  .redcar/lucene/_1z_1.del
Binary file not shown
BIN  .redcar/lucene/_20.cfs
Binary file not shown
BIN  .redcar/lucene/_21.cfs
Binary file not shown
BIN  .redcar/lucene/_21_1.del
Binary file not shown
BIN  .redcar/lucene/_22.cfs
Binary file not shown
BIN  .redcar/lucene/_22_1.del
Binary file not shown
BIN  .redcar/lucene/_23.cfs
Binary file not shown
BIN  .redcar/lucene/_23_2.del
Binary file not shown
BIN  .redcar/lucene/_24.cfs
Binary file not shown
BIN  .redcar/lucene/_24_1.del
Binary file not shown
BIN  .redcar/lucene/_25.cfs
Binary file not shown
BIN  .redcar/lucene/_25_1.del
Binary file not shown
BIN  .redcar/lucene/_26.cfs
Binary file not shown
BIN  .redcar/lucene/_2s.cfs
Binary file not shown
BIN  .redcar/lucene/_2s_5.del
Binary file not shown
BIN  .redcar/lucene/_2t.cfs
Binary file not shown
BIN  .redcar/lucene/_2u.cfs
Binary file not shown
BIN  .redcar/lucene/_2u_1.del
Binary file not shown
BIN  .redcar/lucene/_2v.cfs
Binary file not shown
BIN  .redcar/lucene/_2v_1.del
Binary file not shown
BIN  .redcar/lucene/_2w.cfs
Binary file not shown
BIN  .redcar/lucene/_2w_1.del
Binary file not shown
BIN  .redcar/lucene/_2x.cfs
Binary file not shown
BIN  .redcar/lucene/_2y.cfs
Binary file not shown
BIN  .redcar/lucene/_2y_1.del
Binary file not shown
BIN  .redcar/lucene/_2z.cfs
Binary file not shown
BIN  .redcar/lucene/_30.cfs
Binary file not shown
BIN  .redcar/lucene/_3c.cfs
Binary file not shown
BIN  .redcar/lucene/_3c_1.del
Binary file not shown
BIN  .redcar/lucene/_3d.cfs
Binary file not shown
BIN  .redcar/lucene/_46.cfs
Binary file not shown
BIN  .redcar/lucene/_46_1.del
Binary file not shown
BIN  .redcar/lucene/_47.cfs
Binary file not shown
BIN  .redcar/lucene/_47_1.del
Binary file not shown
BIN  .redcar/lucene/_48.cfs
Binary file not shown
BIN  .redcar/lucene/_50_3.del
Binary file not shown
BIN  .redcar/lucene/_51.cfs
Binary file not shown
BIN  .redcar/lucene/_51_1.del
Binary file not shown
BIN  .redcar/lucene/_52.cfs
Binary file not shown
BIN  .redcar/lucene/_52_1.del
Binary file not shown
BIN  .redcar/lucene/_53.cfs
Binary file not shown
BIN  .redcar/lucene/_54.cfs
Binary file not shown
BIN  .redcar/lucene/_54_1.del
Binary file not shown
BIN  .redcar/lucene/_55.cfs
Binary file not shown
BIN  .redcar/lucene/_56.cfs
Binary file not shown
BIN  .redcar/lucene/_57.cfs
Binary file not shown
BIN  .redcar/lucene/_6y.cfs
Binary file not shown
BIN  .redcar/lucene/_6y_2.del
Binary file not shown
BIN  .redcar/lucene/_6z.cfs
Binary file not shown
BIN  .redcar/lucene/_70.cfs
Binary file not shown
BIN  .redcar/lucene/_70_1.del
Binary file not shown
BIN  .redcar/lucene/_71.cfs
Binary file not shown
BIN  .redcar/lucene/_8w.cfs
Binary file not shown
BIN  .redcar/lucene/_8w_5.del
Binary file not shown
BIN  .redcar/lucene/_8x.cfs
Binary file not shown
BIN  .redcar/lucene/_8x_1.del
Binary file not shown
BIN  .redcar/lucene/_8y.cfs
Binary file not shown
BIN  .redcar/lucene/_8z.cfs
Binary file not shown
BIN  .redcar/lucene/_8z_1.del
Binary file not shown
BIN  .redcar/lucene/_90.cfs
Binary file not shown
BIN  .redcar/lucene/_91.cfs
Binary file not shown
BIN  .redcar/lucene/_91_1.del
Binary file not shown
BIN  .redcar/lucene/_92.cfs
Binary file not shown
BIN  .redcar/lucene/_93.cfs
Binary file not shown
BIN  .redcar/lucene/_93_1.del
Binary file not shown
BIN  .redcar/lucene/_94.cfs
Binary file not shown
BIN  .redcar/lucene/_50.cfs → .redcar/lucene/_k.cfs
Binary file not shown
BIN  .redcar/lucene/segments.gen
Binary file not shown
BIN  .redcar/lucene/segments_21
Binary file not shown
BIN  .redcar/lucene/segments_2s
Binary file not shown
BIN  .redcar/lucene/segments_33
Binary file not shown
BIN  .redcar/lucene/segments_3v
Binary file not shown
BIN  .redcar/lucene/segments_4r
Binary file not shown
BIN  .redcar/lucene/segments_6e
Binary file not shown
BIN  .redcar/lucene/segments_8a
Binary file not shown
BIN  .redcar/lucene/segments_2k → .redcar/lucene/segments_k
Binary file not shown
2  .redcar/lucene_last_updated
... ... @@ -1 +1 @@
1   -1305124119
  1 +1305484628
2  .redcar/redcar.lock
... ... @@ -1 +1 @@
1   -1703: Locked by 1703 at Sun May 08 14:29:54 +0200 2011
  1 +4334: Locked by 4334 at Sun May 15 16:22:54 +0200 2011
209 .redcar/tags
... ... @@ -1,42 +1,214 @@
1   -1305124119
  1 +1305484628
2 2 AddAttachmentUploadedFileToAsset /home/droid/FileBox/db/migrate/20110426215541_add_attachment_uploaded_file_to_asset.rb class AddAttachmentUploadedFileToAsset
3 3 AddFolderIdToAssets /home/droid/FileBox/db/migrate/20110511092742_add_folder_id_to_assets.rb class AddFolderIdToAssets
  4 +Application /home/droid/FileBox/config/application.rb class Application
4 5 ApplicationController /home/droid/FileBox/app/controllers/application_controller.rb class ApplicationController
  6 +ApplicationHelper /home/droid/FileBox/app/helpers/application_helper.rb module ApplicationHelper
5 7 Asset /home/droid/FileBox/app/models/asset.rb class Asset
6 8 AssetTest /home/droid/FileBox/test/unit/asset_test.rb class AssetTest
7 9 AssetsController /home/droid/FileBox/app/controllers/assets_controller.rb class AssetsController
8 10 AssetsControllerTest /home/droid/FileBox/test/functional/assets_controller_test.rb class AssetsControllerTest
9 11 AssetsHelper /home/droid/FileBox/app/helpers/assets_helper.rb module AssetsHelper
  12 +BrowsingTest /home/droid/FileBox/test/performance/browsing_test.rb class BrowsingTest
10 13 CreateAssets /home/droid/FileBox/db/migrate/20110426195434_create_assets.rb class CreateAssets
11 14 CreateFolders /home/droid/FileBox/db/migrate/20110508115232_create_folders.rb class CreateFolders
  15 +DeviseCreateUsers /home/droid/FileBox/db/migrate/20110425190216_devise_create_users.rb class DeviseCreateUsers
  16 +ErrorMessagesHelper /home/droid/FileBox/app/helpers/error_messages_helper.rb module ErrorMessagesHelper
  17 +Filebox /home/droid/FileBox/config/application.rb module Filebox
12 18 Folder /home/droid/FileBox/app/models/folder.rb class Folder
13 19 FolderTest /home/droid/FileBox/test/unit/folder_test.rb class FolderTest
14 20 FoldersController /home/droid/FileBox/app/controllers/folders_controller.rb class FoldersController
15 21 FoldersControllerTest /home/droid/FileBox/test/functional/folders_controller_test.rb class FoldersControllerTest
16 22 FoldersHelper /home/droid/FileBox/app/helpers/folders_helper.rb module FoldersHelper
  23 +FormBuilderAdditions /home/droid/FileBox/app/helpers/error_messages_helper.rb module FormBuilderAdditions
17 24 HomeController /home/droid/FileBox/app/controllers/home_controller.rb class HomeController
  25 +LayoutHelper /home/droid/FileBox/app/helpers/layout_helper.rb module LayoutHelper
  26 +Str /home/droid/FileBox/public/javascripts/prototype.js function Str(key, holder, stack)
  27 +TestCase /home/droid/FileBox/test/test_helper.rb class ActiveSupport::TestCase
  28 +Type /home/droid/FileBox/public/javascripts/prototype.js function Type(o)
18 29 User /home/droid/FileBox/app/models/user.rb class User
  30 +UserTest /home/droid/FileBox/test/unit/user_test.rb class UserTest
  31 +abs /home/droid/FileBox/public/javascripts/prototype.js function abs()
  32 +absolutize /home/droid/FileBox/public/javascripts/prototype.js function absolutize(element)
  33 +addMethods /home/droid/FileBox/public/javascripts/prototype.js function addMethods(source)
  34 +addText /home/droid/FileBox/public/javascripts/controls.js function addText(mode, condition)
  35 +all /home/droid/FileBox/public/javascripts/prototype.js function all(iterator, context)
  36 +any /home/droid/FileBox/public/javascripts/prototype.js function any(iterator, context)
  37 +argumentNames /home/droid/FileBox/public/javascripts/prototype.js function argumentNames()
  38 +bind /home/droid/FileBox/public/javascripts/prototype.js function bind(context)
  39 +bindAsEventListener /home/droid/FileBox/public/javascripts/prototype.js function bindAsEventListener(context)
  40 +blank /home/droid/FileBox/public/javascripts/prototype.js function blank()
19 41 browse /home/droid/FileBox/app/controllers/home_controller.rb def browse
  42 +camelize /home/droid/FileBox/public/javascripts/prototype.js function camelize()
  43 +capitalize /home/droid/FileBox/public/javascripts/prototype.js function capitalize()
  44 +ceil /home/droid/FileBox/public/javascripts/prototype.js function ceil()
  45 +checkDeficiency /home/droid/FileBox/public/javascripts/prototype.js function checkDeficiency(tagName)
  46 +checkReadyState /home/droid/FileBox/public/javascripts/prototype.js function checkReadyState()
  47 +clear /home/droid/FileBox/public/javascripts/prototype.js function clear()
  48 +clone /home/droid/FileBox/public/javascripts/prototype.js function clone()
  49 +clone /home/droid/FileBox/public/javascripts/prototype.js function clone()
  50 +clone /home/droid/FileBox/public/javascripts/prototype.js function clone(object)
  51 +collect /home/droid/FileBox/public/javascripts/prototype.js function collect(iterator, context)
  52 +compact /home/droid/FileBox/public/javascripts/prototype.js function compact()
  53 +concat /home/droid/FileBox/public/javascripts/prototype.js function concat()
  54 +copy /home/droid/FileBox/public/javascripts/prototype.js function copy(methods, destination, onlyIfAbsent)
20 55 create /home/droid/FileBox/app/controllers/assets_controller.rb def create
21 56 create /home/droid/FileBox/app/controllers/folders_controller.rb def create
  57 +create /home/droid/FileBox/public/javascripts/prototype.js function create()
  58 +cssNameFor /home/droid/FileBox/public/javascripts/prototype.js function cssNameFor(key)
  59 +cumulativeOffset /home/droid/FileBox/public/javascripts/prototype.js function cumulativeOffset(element)
  60 +cumulativeScrollOffset /home/droid/FileBox/public/javascripts/prototype.js function cumulativeScrollOffset(element)
  61 +curry /home/droid/FileBox/public/javascripts/prototype.js function curry()
  62 +dasherize /home/droid/FileBox/public/javascripts/prototype.js function dasherize()
  63 +defer /home/droid/FileBox/public/javascripts/prototype.js function defer()
  64 +define /home/droid/FileBox/public/javascripts/prototype.js function define(D)
  65 +delay /home/droid/FileBox/public/javascripts/prototype.js function delay(timeout)
22 66 destroy /home/droid/FileBox/app/controllers/assets_controller.rb def destroy
23 67 destroy /home/droid/FileBox/app/controllers/folders_controller.rb def destroy
  68 +detect /home/droid/FileBox/public/javascripts/prototype.js function detect(iterator, context)
  69 +dirCheck /home/droid/FileBox/public/javascripts/prototype.js function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML )
  70 +dirNodeCheck /home/droid/FileBox/public/javascripts/prototype.js function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML )
  71 +dispatch /home/droid/FileBox/public/javascripts/effects.js function dispatch(effect, eventName)
  72 +down /home/droid/FileBox/db/migrate/20110425190216_devise_create_users.rb def self.down
24 73 down /home/droid/FileBox/db/migrate/20110426195434_create_assets.rb def self.down
25 74 down /home/droid/FileBox/db/migrate/20110426215541_add_attachment_uploaded_file_to_asset.rb def self.down
26 75 down /home/droid/FileBox/db/migrate/20110508115232_create_folders.rb def self.down
27 76 down /home/droid/FileBox/db/migrate/20110511092742_add_folder_id_to_assets.rb def self.down
  77 +each /home/droid/FileBox/public/javascripts/prototype.js function each(iterator)
  78 +each /home/droid/FileBox/public/javascripts/prototype.js function each(iterator, context)
  79 +eachSlice /home/droid/FileBox/public/javascripts/prototype.js function eachSlice(number, iterator, context)
28 80 edit /home/droid/FileBox/app/controllers/assets_controller.rb def edit
29 81 edit /home/droid/FileBox/app/controllers/folders_controller.rb def edit
  82 +element /home/droid/FileBox/public/javascripts/prototype.js function element(event)
  83 +empty /home/droid/FileBox/public/javascripts/prototype.js function empty()
  84 +endsWith /home/droid/FileBox/public/javascripts/prototype.js function endsWith(pattern)
  85 +error_messages /home/droid/FileBox/app/helpers/error_messages_helper.rb def error_messages(options = {})
  86 +error_messages_for /home/droid/FileBox/app/helpers/error_messages_helper.rb def error_messages_for(*objects)
  87 +escapeHTML /home/droid/FileBox/public/javascripts/prototype.js function escapeHTML()
  88 +evalJSON /home/droid/FileBox/public/javascripts/prototype.js function evalJSON(sanitize)
  89 +evalScripts /home/droid/FileBox/public/javascripts/prototype.js function evalScripts()
  90 +extend /home/droid/FileBox/public/javascripts/prototype.js function extend(destination, source)
  91 +extend /home/droid/FileBox/public/javascripts/prototype.js function extend(tagName)
  92 +extendElementWith /home/droid/FileBox/public/javascripts/prototype.js function extendElementWith(element, methods)
  93 +extendElements /home/droid/FileBox/public/javascripts/prototype.js function extendElements(elements)
  94 +extractScripts /home/droid/FileBox/public/javascripts/prototype.js function extractScripts()
  95 +fallback /home/droid/FileBox/public/javascripts/controls.js function fallback(name, expr)
30 96 file_name /home/droid/FileBox/app/models/asset.rb def file_name
31 97 file_size /home/droid/FileBox/app/models/asset.rb def file_size
  98 +find /home/droid/FileBox/public/javascripts/prototype.js function find(elements, expression, index)
  99 +findAll /home/droid/FileBox/public/javascripts/prototype.js function findAll(iterator, context)
  100 +findDOMClass /home/droid/FileBox/public/javascripts/prototype.js function findDOMClass(tagName)
  101 +findElement /home/droid/FileBox/public/javascripts/prototype.js function findElement(event, expression)
  102 +fire /home/droid/FileBox/public/javascripts/prototype.js function fire(element, eventName, memo, bubble)
  103 +fireContentLoadedEvent /home/droid/FileBox/public/javascripts/prototype.js function fireContentLoadedEvent()
  104 +first /home/droid/FileBox/public/javascripts/prototype.js function first()
  105 +flatten /home/droid/FileBox/public/javascripts/prototype.js function flatten()
  106 +floor /home/droid/FileBox/public/javascripts/prototype.js function floor()
32 107 get /home/droid/FileBox/app/controllers/assets_controller.rb def get
  108 +get /home/droid/FileBox/public/javascripts/prototype.js function get(key)
  109 +getDimensions /home/droid/FileBox/public/javascripts/prototype.js function getDimensions(element)
  110 +getLayout /home/droid/FileBox/public/javascripts/prototype.js function getLayout(element, preCompute)
  111 +getOffsetParent /home/droid/FileBox/public/javascripts/prototype.js function getOffsetParent(element)
  112 +getPixelValue /home/droid/FileBox/public/javascripts/prototype.js function getPixelValue(value, property)
  113 +getRootElement /home/droid/FileBox/public/javascripts/prototype.js function getRootElement()
  114 +grep /home/droid/FileBox/public/javascripts/prototype.js function grep(filter, iterator, context)
  115 +gsub /home/droid/FileBox/public/javascripts/prototype.js function gsub(pattern, replacement)
  116 +handleMethod /home/droid/FileBox/public/javascripts/rails.js function handleMethod(element)
  117 +handleRemote /home/droid/FileBox/public/javascripts/rails.js function handleRemote(element)
  118 +inGroupsOf /home/droid/FileBox/public/javascripts/prototype.js function inGroupsOf(number, fillWith)
  119 +include /home/droid/FileBox/public/javascripts/prototype.js function include(object)
  120 +include /home/droid/FileBox/public/javascripts/prototype.js function include(pattern)
  121 +include /home/droid/FileBox/public/javascripts/prototype.js function include(value)
33 122 index /home/droid/FileBox/app/controllers/assets_controller.rb def index
34 123 index /home/droid/FileBox/app/controllers/folders_controller.rb def index
35 124 index /home/droid/FileBox/app/controllers/home_controller.rb def index
  125 +index /home/droid/FileBox/public/javascripts/prototype.js function index(value)
  126 +indexOf /home/droid/FileBox/public/javascripts/prototype.js function indexOf(item, i)
  127 +initialize /home/droid/FileBox/public/javascripts/prototype.js function initialize(object)
  128 +initialize /home/droid/FileBox/public/javascripts/prototype.js function initialize(start, end, exclusive)
  129 +inject /home/droid/FileBox/public/javascripts/prototype.js function inject(memo, iterator, context)
  130 +inspect /home/droid/FileBox/public/javascripts/prototype.js function inspect()
  131 +inspect /home/droid/FileBox/public/javascripts/prototype.js function inspect()
  132 +inspect /home/droid/FileBox/public/javascripts/prototype.js function inspect()
  133 +inspect /home/droid/FileBox/public/javascripts/prototype.js function inspect(object)
  134 +inspect /home/droid/FileBox/public/javascripts/prototype.js function inspect(useDoubleQuotes)
  135 +interpolate /home/droid/FileBox/public/javascripts/prototype.js function interpolate(object, pattern)
  136 +intersect /home/droid/FileBox/public/javascripts/prototype.js function intersect(array)
  137 +invoke /home/droid/FileBox/public/javascripts/prototype.js function invoke(method)
  138 +isArray /home/droid/FileBox/public/javascripts/prototype.js function isArray(object)
  139 +isBody /home/droid/FileBox/public/javascripts/prototype.js function isBody(element)
  140 +isDetached /home/droid/FileBox/public/javascripts/prototype.js function isDetached(element)
  141 +isDisplayed /home/droid/FileBox/public/javascripts/prototype.js function isDisplayed(element)
  142 +isElement /home/droid/FileBox/public/javascripts/prototype.js function isElement(object)
  143 +isEventSupported /home/droid/FileBox/public/javascripts/rails.js function isEventSupported(eventName)
  144 +isForm /home/droid/FileBox/public/javascripts/rails.js function isForm(element)
  145 +isFunction /home/droid/FileBox/public/javascripts/prototype.js function isFunction(object)
  146 +isHash /home/droid/FileBox/public/javascripts/prototype.js function isHash(object)
  147 +isInput /home/droid/FileBox/public/javascripts/rails.js function isInput(element)
  148 +isJSON /home/droid/FileBox/public/javascripts/prototype.js function isJSON()
  149 +isLeftClick /home/droid/FileBox/public/javascripts/prototype.js function isLeftClick(event) { return _isButton(event, 0)
  150 +isMiddleClick /home/droid/FileBox/public/javascripts/prototype.js function isMiddleClick(event) { return _isButton(event, 1)
  151 +isNumber /home/droid/FileBox/public/javascripts/prototype.js function isNumber(object)
  152 +isRightClick /home/droid/FileBox/public/javascripts/prototype.js function isRightClick(event) { return _isButton(event, 2)
  153 +isString /home/droid/FileBox/public/javascripts/prototype.js function isString(object)
  154 +isUndefined /home/droid/FileBox/public/javascripts/prototype.js function isUndefined(object)
  155 +iter /home/droid/FileBox/public/javascripts/prototype.js function iter(name)
  156 +javascript /home/droid/FileBox/app/helpers/layout_helper.rb def javascript(*args)
  157 +keys /home/droid/FileBox/public/javascripts/prototype.js function keys()
  158 +keys /home/droid/FileBox/public/javascripts/prototype.js function keys(object)
  159 +klass /home/droid/FileBox/public/javascripts/prototype.js function klass()
  160 +last /home/droid/FileBox/public/javascripts/prototype.js function last()
  161 +lastIndexOf /home/droid/FileBox/public/javascripts/prototype.js function lastIndexOf(item, i)
  162 +match /home/droid/FileBox/public/javascripts/prototype.js function match()
  163 +match /home/droid/FileBox/public/javascripts/prototype.js function match(element, selector)
  164 +max /home/droid/FileBox/public/javascripts/prototype.js function max(iterator, context)
  165 +measure /home/droid/FileBox/public/javascripts/prototype.js function measure(element, property)
  166 +merge /home/droid/FileBox/public/javascripts/prototype.js function merge(array, args)
  167 +merge /home/droid/FileBox/public/javascripts/prototype.js function merge(object)
  168 +methodize /home/droid/FileBox/public/javascripts/prototype.js function methodize()
  169 +min /home/droid/FileBox/public/javascripts/prototype.js function min(iterator, context)
36 170 new /home/droid/FileBox/app/controllers/assets_controller.rb def new
37 171 new /home/droid/FileBox/app/controllers/folders_controller.rb def new
  172 +observe /home/droid/FileBox/public/javascripts/prototype.js function observe(element, eventName, handler)
  173 +on /home/droid/FileBox/public/javascripts/prototype.js function on(element, eventName, selector, callback)
  174 +parseColor /home/droid/FileBox/public/javascripts/effects.js function parseColor(color)
  175 +parseJSON /home/droid/FileBox/public/javascripts/prototype.js function parseJSON()
  176 +partition /home/droid/FileBox/public/javascripts/prototype.js function partition(iterator, context)
  177 +pluck /home/droid/FileBox/public/javascripts/prototype.js function pluck(property)
  178 +pointer /home/droid/FileBox/public/javascripts/prototype.js function pointer(event)
  179 +pointerX /home/droid/FileBox/public/javascripts/prototype.js function pointerX(event)
  180 +pointerY /home/droid/FileBox/public/javascripts/prototype.js function pointerY(event)
  181 +pollDoScroll /home/droid/FileBox/public/javascripts/prototype.js function pollDoScroll()
  182 +positionedOffset /home/droid/FileBox/public/javascripts/prototype.js function positionedOffset(element)
  183 +prepareReplacement /home/droid/FileBox/public/javascripts/prototype.js function prepareReplacement(replacement)
  184 +purgeElement /home/droid/FileBox/public/javascripts/prototype.js function purgeElement(element)
  185 +reject /home/droid/FileBox/public/javascripts/prototype.js function reject(iterator, context)
  186 +relativize /home/droid/FileBox/public/javascripts/prototype.js function relativize(element)
  187 +reverse /home/droid/FileBox/public/javascripts/prototype.js function reverse(inline)
  188 +round /home/droid/FileBox/public/javascripts/prototype.js function round()
  189 +scan /home/droid/FileBox/public/javascripts/prototype.js function scan(pattern, iterator)
  190 +select /home/droid/FileBox/public/javascripts/prototype.js function select()
  191 +select /home/droid/FileBox/public/javascripts/prototype.js function select(selector, scope)
  192 +set /home/droid/FileBox/public/javascripts/prototype.js function set(key, value)
38 193 show /home/droid/FileBox/app/controllers/assets_controller.rb def show
39 194 show /home/droid/FileBox/app/controllers/folders_controller.rb def show
  195 +show_title? /home/droid/FileBox/app/helpers/layout_helper.rb def show_title?
  196 +size /home/droid/FileBox/public/javascripts/prototype.js function size()
  197 +size /home/droid/FileBox/public/javascripts/prototype.js function size()
  198 +sortBy /home/droid/FileBox/public/javascripts/prototype.js function sortBy(iterator, context)
  199 +startsWith /home/droid/FileBox/public/javascripts/prototype.js function startsWith(pattern)
  200 +stop /home/droid/FileBox/public/javascripts/prototype.js function stop(event)
  201 +stopObserving /home/droid/FileBox/public/javascripts/prototype.js function stopObserving(element, eventName, handler)
  202 +stringify /home/droid/FileBox/public/javascripts/prototype.js function stringify(object)
  203 +strip /home/droid/FileBox/public/javascripts/prototype.js function strip()
  204 +stripAlpha /home/droid/FileBox/public/javascripts/prototype.js function stripAlpha(filter)
  205 +stripScripts /home/droid/FileBox/public/javascripts/prototype.js function stripScripts()
  206 +stripTags /home/droid/FileBox/public/javascripts/prototype.js function stripTags()
  207 +stylesheet /home/droid/FileBox/app/helpers/layout_helper.rb def stylesheet(*args)
  208 +sub /home/droid/FileBox/public/javascripts/prototype.js function sub(pattern, replacement, count)
  209 +subclass /home/droid/FileBox/public/javascripts/prototype.js function subclass()
  210 +succ /home/droid/FileBox/public/javascripts/prototype.js function succ()
  211 +succ /home/droid/FileBox/public/javascripts/prototype.js function succ()
40 212 test_create_invalid /home/droid/FileBox/test/functional/assets_controller_test.rb def test_create_invalid
41 213 test_create_invalid /home/droid/FileBox/test/functional/folders_controller_test.rb def test_create_invalid
42 214 test_create_valid /home/droid/FileBox/test/functional/assets_controller_test.rb def test_create_valid
@@ -45,6 +217,7 @@ test_destroy /home/droid/FileBox/test/functional/assets_controller_test.rb def
45 217 test_destroy /home/droid/FileBox/test/functional/folders_controller_test.rb def test_destroy
46 218 test_edit /home/droid/FileBox/test/functional/assets_controller_test.rb def test_edit
47 219 test_edit /home/droid/FileBox/test/functional/folders_controller_test.rb def test_edit
  220 +test_homepage /home/droid/FileBox/test/performance/browsing_test.rb def test_homepage
48 221 test_index /home/droid/FileBox/test/functional/assets_controller_test.rb def test_index
49 222 test_index /home/droid/FileBox/test/functional/folders_controller_test.rb def test_index
50 223 test_new /home/droid/FileBox/test/functional/assets_controller_test.rb def test_new
@@ -57,9 +230,43 @@ test_update_invalid /home/droid/FileBox/test/functional/assets_controller_test.r
57 230 test_update_invalid /home/droid/FileBox/test/functional/folders_controller_test.rb def test_update_invalid
58 231 test_update_valid /home/droid/FileBox/test/functional/assets_controller_test.rb def test_update_valid
59 232 test_update_valid /home/droid/FileBox/test/functional/folders_controller_test.rb def test_update_valid
  233 +times /home/droid/FileBox/public/javascripts/prototype.js function times(count)
  234 +times /home/droid/FileBox/public/javascripts/prototype.js function times(iterator, context)
  235 +title /home/droid/FileBox/app/helpers/layout_helper.rb def title(page_title, show_title = true)
  236 +toArray /home/droid/FileBox/public/javascripts/prototype.js function toArray()
  237 +toArray /home/droid/FileBox/public/javascripts/prototype.js function toArray()
  238 +toCSSPixels /home/droid/FileBox/public/javascripts/prototype.js function toCSSPixels(number)
  239 +toColorPart /home/droid/FileBox/public/javascripts/prototype.js function toColorPart()
  240 +toDecimal /home/droid/FileBox/public/javascripts/prototype.js function toDecimal(pctString)
  241 +toHTML /home/droid/FileBox/public/javascripts/prototype.js function toHTML(object)
  242 +toISOString /home/droid/FileBox/public/javascripts/prototype.js function toISOString()
  243 +toJSON /home/droid/FileBox/public/javascripts/prototype.js function toJSON()
  244 +toJSON /home/droid/FileBox/public/javascripts/prototype.js function toJSON(value)
  245 +toObject /home/droid/FileBox/public/javascripts/prototype.js function toObject()
  246 +toPaddedString /home/droid/FileBox/public/javascripts/prototype.js function toPaddedString(length, radix)
  247 +toQueryPair /home/droid/FileBox/public/javascripts/prototype.js function toQueryPair(key, value)
  248 +toQueryParams /home/droid/FileBox/public/javascripts/prototype.js function toQueryParams(separator)
  249 +toQueryString /home/droid/FileBox/public/javascripts/prototype.js function toQueryString()
  250 +toQueryString /home/droid/FileBox/public/javascripts/prototype.js function toQueryString(object)
  251 +truncate /home/droid/FileBox/public/javascripts/prototype.js function truncate(length, truncation)
  252 +underscore /home/droid/FileBox/public/javascripts/prototype.js function underscore()
  253 +unescapeHTML /home/droid/FileBox/public/javascripts/prototype.js function unescapeHTML()
  254 +unfilterJSON /home/droid/FileBox/public/javascripts/prototype.js function unfilterJSON(filter)
  255 +uniq /home/droid/FileBox/public/javascripts/prototype.js function uniq(sorted)
  256 +unset /home/droid/FileBox/public/javascripts/prototype.js function unset(key)
  257 +up /home/droid/FileBox/db/migrate/20110425190216_devise_create_users.rb def self.up
60 258 up /home/droid/FileBox/db/migrate/20110426195434_create_assets.rb def self.up
61 259 up /home/droid/FileBox/db/migrate/20110426215541_add_attachment_uploaded_file_to_asset.rb def self.up
62 260 up /home/droid/FileBox/db/migrate/20110508115232_create_folders.rb def self.up
63 261 up /home/droid/FileBox/db/migrate/20110511092742_add_folder_id_to_assets.rb def self.up
64 262 update /home/droid/FileBox/app/controllers/assets_controller.rb def update
65 263 update /home/droid/FileBox/app/controllers/folders_controller.rb def update
  264 +update /home/droid/FileBox/public/javascripts/prototype.js function update(array, args)
  265 +update /home/droid/FileBox/public/javascripts/prototype.js function update(element, content)
  266 +update /home/droid/FileBox/public/javascripts/prototype.js function update(object)
  267 +values /home/droid/FileBox/public/javascripts/prototype.js function values()
  268 +values /home/droid/FileBox/public/javascripts/prototype.js function values(object)
  269 +viewportOffset /home/droid/FileBox/public/javascripts/prototype.js function viewportOffset(forElement)
  270 +without /home/droid/FileBox/public/javascripts/prototype.js function without()
  271 +wrap /home/droid/FileBox/public/javascripts/prototype.js function wrap(wrapper)
  272 +zip /home/droid/FileBox/public/javascripts/prototype.js function zip()
26 app/controllers/assets_controller.rb
... ... @@ -1,5 +1,5 @@
1 1 class AssetsController < ApplicationController
2   - before_filter :authenticate_user! # requires autenthentification before any acion
  2 + before_filter :authenticate_user! # Requires autenthentification before any acion
3 3 def index
4 4 @assets = current_user.assets
5 5 end
@@ -9,16 +9,26 @@ def show
9 9 end
10 10
11 11 def new
12   - @asset = current_user.assets.new
  12 + @asset = current_user.assets.build # Build method because of folder_id
  13 + if params[:folder_id] # If we want to upload a file inside another folder
  14 + @current_folder = current_user.folders.find(params[:folder_id])
  15 + @asset.folder_id = @current_folder.id
  16 + end
13 17 end
14 18
15 19 def create
16   - @asset = current_user.assets.new(params[:asset])
17   - if @asset.save
18   - redirect_to @asset, :notice => "Successfully created asset."
19   - else
20   - render :action => 'new'
21   - end
  20 + @asset = current_user.assets.build(params[:asset])
  21 + if @asset.save
  22 + flash[:notice] = "Successfully uploaded the file."
  23 +
  24 + if @asset.folder # Checking if we have a parent folder for this file
  25 + redirect_to browse_path(@asset.folder) # Then we redirect to the parent folder
  26 + else
  27 + redirect_to root_url
  28 + end
  29 + else
  30 + render :action => 'new'
  31 + end
22 32 end
23 33
24 34 def edit
3  app/views/assets/_form.html.erb
@@ -3,6 +3,7 @@
3 3 <p>
4 4 <%= f.label :uploaded_file, "File" %><br>
5 5 <%= f.file_field :uploaded_file %>
6   - </p>
  6 + </p>
  7 + <%= f.hidden_field :folder_id %>
7 8 <p><%= f.submit "Upload" %></p>
8 9 <% end %>
8 app/views/assets/new.html.erb
@@ -2,4 +2,10 @@
2 2
3 3 <%= render 'form' %>
4 4
5   -<p><%= link_to "Back to List", root_url %></p>
  5 +<p>
  6 +<% if @asset.folder %>
  7 + <%= link_to "Back to '#{@asset.folder.name}' Folder", browse_path(@asset.folder) %>
  8 +<% else %>
  9 + <%= link_to "Back", root_url %>
  10 +<% end %>
  11 +</p>
14 app/views/home/index.html.erb
@@ -7,11 +7,15 @@
7 7 <ul id= "top_menu">
8 8 <li><%= link_to "Upload", new_asset_path %></li>
9 9 <!-- If we are in a folder, create new subfolder -->
10   - <% if @current_folder %>
11   - <li><%= link_to "New folder", new_sub_folder_path(@current_folder) %></li>
12   - <% else %>
13   - <li><%= link_to "New folder", new_folder_path %></li>
14   - <% end %>
  10 + <ul id= "top_menu">
  11 + <% if @current_folder %>
  12 + <li><%= link_to "Upload", new_sub_file_path(@current_folder) %></li>
  13 + <li><%= link_to "New Folder", new_sub_folder_path(@current_folder) %></li>
  14 + <% else %>
  15 + <li><%= link_to "Upload", new_asset_path %></li>
  16 + <li><%= link_to "New Folder", new_folder_path %></li>
  17 + <% end %>
  18 +</ul>
15 19 </ul>
16 20 </div>
17 21 <%= render :partial => "breadcrumbs" %>
3  config/routes.rb
@@ -70,4 +70,7 @@
70 70
71 71 # For creating subfolders
72 72 match "browse/:folder_id/new_folder" => "folders#new", :as => "new_sub_folder"
  73 +
  74 + # For uploading files to folders
  75 + match "browse/:folder_id/new_file" => "assets#new", :as => "new_sub_file"
73 76 end

0 comments on commit bcd8b3d

Please sign in to comment.
Something went wrong with that request. Please try again.