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.
- checksums.yaml +5 -5
- data/MIT-LICENSE +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/assets/javascripts/caboose_rets/admin_media.js +0 -0
- data/app/assets/javascripts/caboose_rets/caboose_rets.js +0 -0
- data/app/controllers/caboose_rets/agents_controller.rb +0 -0
- data/app/controllers/caboose_rets/application_controller.rb +0 -0
- data/app/controllers/caboose_rets/offices_controller.rb +0 -0
- data/app/controllers/caboose_rets/open_houses_controller.rb +0 -0
- data/app/controllers/caboose_rets/properties_controller.rb +1 -0
- data/app/controllers/caboose_rets/rets_controller.rb +0 -0
- data/app/controllers/caboose_rets/rets_media_controller.rb +0 -0
- data/app/controllers/caboose_rets/saved_properties_controller.rb +0 -0
- data/app/controllers/caboose_rets/saved_searches_controller.rb +0 -0
- data/app/helpers/caboose_rets/application_helper.rb +0 -0
- data/app/models/caboose_rets/agent.rb +0 -0
- data/app/models/caboose_rets/agent_meta.rb +0 -0
- data/app/models/caboose_rets/media.rb +0 -0
- data/app/models/caboose_rets/office.rb +0 -0
- data/app/models/caboose_rets/office_meta.rb +0 -0
- data/app/models/caboose_rets/open_house.rb +0 -0
- data/app/models/caboose_rets/property.rb +0 -0
- data/app/models/caboose_rets/rets_config.rb +0 -0
- data/app/models/caboose_rets/rets_importer.rb +0 -0
- data/app/models/caboose_rets/rets_importer_bak.rb +0 -0
- data/app/models/caboose_rets/rets_importer_old.rb +0 -0
- data/app/models/caboose_rets/rets_plugin.rb +0 -0
- data/app/models/caboose_rets/saved_property.rb +0 -0
- data/app/models/caboose_rets/saved_search.rb +0 -0
- data/app/models/caboose_rets/schema.rb +0 -0
- data/app/models/caboose_rets/schema_past.rb +0 -0
- data/app/models/caboose_rets/search_option.rb +0 -0
- data/app/views/caboose/blocks/_layout_rets.html.erb +0 -0
- data/app/views/caboose_rets/agents/admin_edit.html.erb +0 -0
- data/app/views/caboose_rets/agents/admin_edit_sort.html.erb +0 -0
- data/app/views/caboose_rets/agents/admin_index.html.erb +0 -0
- data/app/views/caboose_rets/agents/contact.html.erb +0 -0
- data/app/views/caboose_rets/agents/details.html.erb +0 -0
- data/app/views/caboose_rets/agents/index.html.erb +0 -0
- data/app/views/caboose_rets/media/admin_property_media.html.erb +0 -0
- data/app/views/caboose_rets/offices/admin_edit.html.erb +0 -0
- data/app/views/caboose_rets/offices/admin_index.html.erb +0 -0
- data/app/views/caboose_rets/open_houses/admin_index.html.erb +0 -0
- data/app/views/caboose_rets/properties/_image_gallery.html.erb +0 -0
- data/app/views/caboose_rets/properties/_search_form.html.erb +0 -0
- data/app/views/caboose_rets/properties/admin_edit.html.erb +1 -1
- data/app/views/caboose_rets/properties/admin_index.html.erb +14 -0
- data/app/views/caboose_rets/properties/details.html.erb +0 -0
- data/app/views/caboose_rets/properties/facebook_listings_feed.rss.builder +3 -1
- data/app/views/caboose_rets/properties/facebook_products_feed.rss.builder +0 -0
- data/app/views/caboose_rets/properties/index.html.erb +0 -0
- data/app/views/caboose_rets/properties/property_not_exists.html.erb +0 -0
- data/app/views/caboose_rets/properties/test_form.html.erb +0 -0
- data/app/views/caboose_rets/rets/admin_import_form.html.erb +0 -0
- data/app/views/caboose_rets/saved_searches/edit.html.erb +0 -0
- data/app/views/caboose_rets/saved_searches/index.html.erb +0 -0
- data/config/routes.rb +0 -0
- data/lib/caboose-rets.rb +0 -0
- data/lib/caboose_rets/caboose_rets_helper.rb +0 -0
- data/lib/caboose_rets/engine.rb +0 -0
- data/lib/caboose_rets/version.rb +1 -1
- data/lib/rets/base/core.rb +0 -0
- data/lib/rets/base/sax_metadata.rb +0 -0
- data/lib/rets/base/sax_search.rb +0 -0
- data/lib/rets/client.rb +0 -0
- data/lib/rets/exceptions.rb +0 -0
- data/lib/rets/http.rb +0 -0
- data/lib/rets/stream_http.rb +0 -0
- data/lib/rets/version.rb +0 -0
- data/lib/tasks/caboose_rets.rake +0 -0
- data/test/caboose_test.rb +0 -0
- data/test/dummy/README.rdoc +0 -0
- data/test/dummy/Rakefile +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +0 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -0
- data/test/dummy/app/helpers/application_helper.rb +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +0 -0
- data/test/dummy/config.ru +0 -0
- data/test/dummy/config/application.rb +0 -0
- data/test/dummy/config/boot.rb +0 -0
- data/test/dummy/config/database.yml +0 -0
- data/test/dummy/config/environment.rb +0 -0
- data/test/dummy/config/environments/development.rb +0 -0
- data/test/dummy/config/environments/production.rb +0 -0
- data/test/dummy/config/environments/test.rb +0 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/test/dummy/config/initializers/inflections.rb +0 -0
- data/test/dummy/config/initializers/mime_types.rb +0 -0
- data/test/dummy/config/initializers/secret_token.rb +0 -0
- data/test/dummy/config/initializers/session_store.rb +0 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/test/dummy/config/locales/en.yml +0 -0
- data/test/dummy/config/routes.rb +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +0 -0
- data/test/dummy/public/422.html +0 -0
- data/test/dummy/public/500.html +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f5f2e47148f5a79b5ba26670eb22275e0e4a6c836f6cca70727988d9b0a187f5
|
4
|
+
data.tar.gz: cc7b8ca8a3f657e67a445acaffbaae07aeb653b7961fdb02f72c63dcca6b610d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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:
|
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
|
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
|
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
|
data/lib/caboose_rets/engine.rb
CHANGED
File without changes
|
data/lib/caboose_rets/version.rb
CHANGED
data/lib/rets/base/core.rb
CHANGED
File without changes
|
File without changes
|
data/lib/rets/base/sax_search.rb
CHANGED
File without changes
|
data/lib/rets/client.rb
CHANGED
File without changes
|
data/lib/rets/exceptions.rb
CHANGED
File without changes
|
data/lib/rets/http.rb
CHANGED
File without changes
|
data/lib/rets/stream_http.rb
CHANGED
File without changes
|
data/lib/rets/version.rb
CHANGED
File without changes
|
data/lib/tasks/caboose_rets.rake
CHANGED
File without changes
|
data/test/caboose_test.rb
CHANGED
File without changes
|
data/test/dummy/README.rdoc
CHANGED
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
|
data/test/dummy/config/boot.rb
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
|
data/test/dummy/config/routes.rb
CHANGED
File without changes
|
data/test/dummy/db/test.sqlite3
CHANGED
File without changes
|
data/test/dummy/log/test.log
CHANGED
File without changes
|
data/test/dummy/public/404.html
CHANGED
File without changes
|
data/test/dummy/public/422.html
CHANGED
File without changes
|
data/test/dummy/public/500.html
CHANGED
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.
|
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-
|
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.
|
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.
|