caboose-rets 0.1.68 → 0.1.69

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +0 -0
  3. data/README.md +0 -0
  4. data/Rakefile +0 -0
  5. data/app/assets/javascripts/caboose_rets/admin_media.js +0 -0
  6. data/app/assets/javascripts/caboose_rets/caboose_rets.js +0 -0
  7. data/app/controllers/caboose_rets/agents_controller.rb +0 -0
  8. data/app/controllers/caboose_rets/application_controller.rb +0 -0
  9. data/app/controllers/caboose_rets/offices_controller.rb +0 -0
  10. data/app/controllers/caboose_rets/open_houses_controller.rb +0 -0
  11. data/app/controllers/caboose_rets/properties_controller.rb +1 -0
  12. data/app/controllers/caboose_rets/rets_controller.rb +0 -0
  13. data/app/controllers/caboose_rets/rets_media_controller.rb +0 -0
  14. data/app/controllers/caboose_rets/saved_properties_controller.rb +0 -0
  15. data/app/controllers/caboose_rets/saved_searches_controller.rb +0 -0
  16. data/app/helpers/caboose_rets/application_helper.rb +0 -0
  17. data/app/models/caboose_rets/agent.rb +0 -0
  18. data/app/models/caboose_rets/agent_meta.rb +0 -0
  19. data/app/models/caboose_rets/media.rb +0 -0
  20. data/app/models/caboose_rets/office.rb +0 -0
  21. data/app/models/caboose_rets/office_meta.rb +0 -0
  22. data/app/models/caboose_rets/open_house.rb +0 -0
  23. data/app/models/caboose_rets/property.rb +0 -0
  24. data/app/models/caboose_rets/rets_config.rb +0 -0
  25. data/app/models/caboose_rets/rets_importer.rb +0 -0
  26. data/app/models/caboose_rets/rets_importer_bak.rb +0 -0
  27. data/app/models/caboose_rets/rets_importer_old.rb +0 -0
  28. data/app/models/caboose_rets/rets_plugin.rb +0 -0
  29. data/app/models/caboose_rets/saved_property.rb +0 -0
  30. data/app/models/caboose_rets/saved_search.rb +0 -0
  31. data/app/models/caboose_rets/schema.rb +0 -0
  32. data/app/models/caboose_rets/schema_past.rb +0 -0
  33. data/app/models/caboose_rets/search_option.rb +0 -0
  34. data/app/views/caboose/blocks/_layout_rets.html.erb +0 -0
  35. data/app/views/caboose_rets/agents/admin_edit.html.erb +0 -0
  36. data/app/views/caboose_rets/agents/admin_edit_sort.html.erb +0 -0
  37. data/app/views/caboose_rets/agents/admin_index.html.erb +0 -0
  38. data/app/views/caboose_rets/agents/contact.html.erb +0 -0
  39. data/app/views/caboose_rets/agents/details.html.erb +0 -0
  40. data/app/views/caboose_rets/agents/index.html.erb +0 -0
  41. data/app/views/caboose_rets/media/admin_property_media.html.erb +0 -0
  42. data/app/views/caboose_rets/offices/admin_edit.html.erb +0 -0
  43. data/app/views/caboose_rets/offices/admin_index.html.erb +0 -0
  44. data/app/views/caboose_rets/open_houses/admin_index.html.erb +0 -0
  45. data/app/views/caboose_rets/properties/_image_gallery.html.erb +0 -0
  46. data/app/views/caboose_rets/properties/_search_form.html.erb +0 -0
  47. data/app/views/caboose_rets/properties/admin_edit.html.erb +1 -1
  48. data/app/views/caboose_rets/properties/admin_index.html.erb +14 -0
  49. data/app/views/caboose_rets/properties/details.html.erb +0 -0
  50. data/app/views/caboose_rets/properties/facebook_listings_feed.rss.builder +3 -1
  51. data/app/views/caboose_rets/properties/facebook_products_feed.rss.builder +0 -0
  52. data/app/views/caboose_rets/properties/index.html.erb +0 -0
  53. data/app/views/caboose_rets/properties/property_not_exists.html.erb +0 -0
  54. data/app/views/caboose_rets/properties/test_form.html.erb +0 -0
  55. data/app/views/caboose_rets/rets/admin_import_form.html.erb +0 -0
  56. data/app/views/caboose_rets/saved_searches/edit.html.erb +0 -0
  57. data/app/views/caboose_rets/saved_searches/index.html.erb +0 -0
  58. data/config/routes.rb +0 -0
  59. data/lib/caboose-rets.rb +0 -0
  60. data/lib/caboose_rets/caboose_rets_helper.rb +0 -0
  61. data/lib/caboose_rets/engine.rb +0 -0
  62. data/lib/caboose_rets/version.rb +1 -1
  63. data/lib/rets/base/core.rb +0 -0
  64. data/lib/rets/base/sax_metadata.rb +0 -0
  65. data/lib/rets/base/sax_search.rb +0 -0
  66. data/lib/rets/client.rb +0 -0
  67. data/lib/rets/exceptions.rb +0 -0
  68. data/lib/rets/http.rb +0 -0
  69. data/lib/rets/stream_http.rb +0 -0
  70. data/lib/rets/version.rb +0 -0
  71. data/lib/tasks/caboose_rets.rake +0 -0
  72. data/test/caboose_test.rb +0 -0
  73. data/test/dummy/README.rdoc +0 -0
  74. data/test/dummy/Rakefile +0 -0
  75. data/test/dummy/app/assets/javascripts/application.js +0 -0
  76. data/test/dummy/app/assets/stylesheets/application.css +0 -0
  77. data/test/dummy/app/controllers/application_controller.rb +0 -0
  78. data/test/dummy/app/helpers/application_helper.rb +0 -0
  79. data/test/dummy/app/views/layouts/application.html.erb +0 -0
  80. data/test/dummy/config.ru +0 -0
  81. data/test/dummy/config/application.rb +0 -0
  82. data/test/dummy/config/boot.rb +0 -0
  83. data/test/dummy/config/database.yml +0 -0
  84. data/test/dummy/config/environment.rb +0 -0
  85. data/test/dummy/config/environments/development.rb +0 -0
  86. data/test/dummy/config/environments/production.rb +0 -0
  87. data/test/dummy/config/environments/test.rb +0 -0
  88. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
  89. data/test/dummy/config/initializers/inflections.rb +0 -0
  90. data/test/dummy/config/initializers/mime_types.rb +0 -0
  91. data/test/dummy/config/initializers/secret_token.rb +0 -0
  92. data/test/dummy/config/initializers/session_store.rb +0 -0
  93. data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
  94. data/test/dummy/config/locales/en.yml +0 -0
  95. data/test/dummy/config/routes.rb +0 -0
  96. data/test/dummy/db/test.sqlite3 +0 -0
  97. data/test/dummy/log/test.log +0 -0
  98. data/test/dummy/public/404.html +0 -0
  99. data/test/dummy/public/422.html +0 -0
  100. data/test/dummy/public/500.html +0 -0
  101. data/test/dummy/public/favicon.ico +0 -0
  102. data/test/integration/navigation_test.rb +0 -0
  103. data/test/test_helper.rb +0 -0
  104. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fb2ef6eae7c6c338805d3300f633237533c3e322
4
- data.tar.gz: 17b3a20960fd3cad1b4938ef248e73df8df3ae4e
2
+ SHA256:
3
+ metadata.gz: f5f2e47148f5a79b5ba26670eb22275e0e4a6c836f6cca70727988d9b0a187f5
4
+ data.tar.gz: cc7b8ca8a3f657e67a445acaffbaae07aeb653b7961fdb02f72c63dcca6b610d
5
5
  SHA512:
6
- metadata.gz: da3dfe9239a9d0045e1e624321a39a52045f2916e11fc42e2c493eeb598ccb7c0d0cf61e97093ee78aabaa8e4559c3a5fa757b5cf7b00b4e4fe9cf47dd899af2
7
- data.tar.gz: de609913891ec57cf36055906cd2fa2beabcce16a59d7255b0f4a768de6d0b096f56bf0ee183c803104013298534b0b6f73f5004c5a214ef01158b0bcaf2a289
6
+ metadata.gz: ef914af0629bbe1a0f4af744329d3618f1d94345ea8bad1a9f149424896ff744e12094b3d13456e4c30f7c5326f8e5394a74aeac8c62545470c79e07e4a15627
7
+ data.tar.gz: 89fa25dc96d720a37473eb057dab390e4b7d612d4de051277b6bb8fca567cf70484d0f344d5f235c844a4b999b2bc229e96cc65bbe84badcf644c1a393bb82b7
data/MIT-LICENSE CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -208,6 +208,7 @@ module CabooseRets
208
208
  # @route GET /rets/listings-feed/:fieldtype
209
209
  def facebook_listings_feed
210
210
  @use_alternate_link = false
211
+ @fieldtype = params[:fieldtype]
211
212
  rc = CabooseRets::RetsConfig.where(:site_id => @site.id).first
212
213
  if params[:fieldtype] == 'agent' && rc && !rc.agent_mls.blank?
213
214
  if @site.id == 558
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -191,7 +191,7 @@ $(window).load(function() {
191
191
  update_url: '/admin/properties/<%= @property.id %>',
192
192
  authenticity_token: '<%= form_authenticity_token %>',
193
193
  attributes: [
194
- { name: 'alternate_link', nice_name: 'Alternate Link', type: 'text', value: <%== Caboose.json(@property.alternate_link) %>, width: 500 }
194
+ { name: 'alternate_link', nice_name: 'Alternate Link', type: 'text', value: <%== Caboose.json(@property.alternate_link) %>, width: 800 }
195
195
  ]
196
196
  });
197
197
  });
@@ -14,6 +14,17 @@
14
14
  <% content_for :caboose_css do %>
15
15
  <style>
16
16
  #properties_new { display: none; }
17
+ #properties_message {
18
+ display: block;
19
+ min-height: 87px;
20
+ margin-bottom: 0 !important;
21
+ }
22
+ #properties_message p {
23
+ margin: 10px 0 0 0;
24
+ }
25
+ #properties_table_container {
26
+ margin-top: 10px;
27
+ }
17
28
  </style>
18
29
  <% end %>
19
30
 
@@ -49,5 +60,8 @@ $(document).ready(function() {
49
60
  ]
50
61
  });
51
62
  });
63
+ $(window).load(function() {
64
+ setTimeout(function(){ $("#properties_toggle_search").trigger("click"); }, 500);
65
+ });
52
66
  </script>
53
67
  <% end %>
File without changes
@@ -34,7 +34,9 @@ xml.instruct! :xml, :version => "1.0"
34
34
  xml.listing_type('for_sale_by_agent')
35
35
  xml.num_baths(property.baths_total)
36
36
  xml.num_beds(property.beds_total)
37
- if !property.alternate_link.blank? && @use_alternate_link == true
37
+ if @use_alternate_link == true && @fieldtype == 'agent' && @site.id == 558
38
+ xml.url(property.alternate_link)
39
+ elsif !property.alternate_link.blank? && @use_alternate_link == true
38
40
  xml.url(property.alternate_link)
39
41
  else
40
42
  xml.url("https://" + domain + "/properties/#{property.mls_number}/details")
File without changes
File without changes
File without changes
File without changes
data/config/routes.rb CHANGED
File without changes
data/lib/caboose-rets.rb CHANGED
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.68'
2
+ VERSION = '0.1.69'
3
3
  end
File without changes
File without changes
File without changes
data/lib/rets/client.rb CHANGED
File without changes
File without changes
data/lib/rets/http.rb CHANGED
File without changes
File without changes
data/lib/rets/version.rb CHANGED
File without changes
File without changes
data/test/caboose_test.rb CHANGED
File without changes
File without changes
data/test/dummy/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/test/dummy/config.ru CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/test/test_helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.68
4
+ version: 0.1.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.2.0
157
+ rubygems_version: 2.7.8
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Library to download RETS data to a local website.