Created
February 10, 2012 19:02
-
-
Save leonardorb/1791759 to your computer and use it in GitHub Desktop.
hg diff -c 8048:5e0757aa938
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 846e17a50fbf -r 5e0757aa9385 app/helpers/application_helper.rb | |
--- a/app/helpers/application_helper.rb Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/app/helpers/application_helper.rb Fri Feb 10 16:34:04 2012 -0200 | |
@@ -88,7 +88,6 @@ | |
end | |
- | |
def display_user_message(page, message) | |
page.hide :message_area | |
page.replace_html :message_area, :partial => "shared/success_message", :locals => { :description => message } | |
@@ -99,6 +98,12 @@ | |
page.replace_html :message_area, :partial => "shared/message_area" | |
end | |
end | |
+ | |
+ def favicon_meta_tag | |
+ return nil if current_brand && !current_brand.is_a?(::Pixily::Brand::OfficeDrop) | |
+ '<link rel="shortcut icon" href="<%= root_url %>/favicon.ico" type="image/x-icon"/> | |
+ <link rel="icon" href="http://<%= root_url %>/favicon.png" type="image/png"/>' | |
+ end | |
def display_message_and_hide(message, params) | |
message = content_tag(:span, h(message), :class => "normalMsg") | |
@@ -298,10 +303,7 @@ | |
agent | |
end | |
- def favicon_meta_tag | |
- return nil if current_brand && !current_brand.is_a?(::Pixily::Brand::OfficeDrop) | |
- '<link rel="shortcut icon" href="<%= root_url %>/favicon.ico" type="image/x-icon"/> | |
- <link rel="icon" href="http://<%= root_url %>/favicon.png" type="image/png"/>' | |
- end | |
- | |
+ #def main_account | |
+ # current_account.main_account | |
+ #end | |
end | |
diff -r 846e17a50fbf -r 5e0757aa9385 app/services/office_drop/storage/aws_s3.rb | |
--- a/app/services/office_drop/storage/aws_s3.rb Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/app/services/office_drop/storage/aws_s3.rb Fri Feb 10 16:34:04 2012 -0200 | |
@@ -3,7 +3,7 @@ | |
DEFAULT_EXPIRES = 2.hours.to_i | |
def url_for(path, options = {}) | |
- if options.blank? | |
+ if options.blank? && options[:disable_headers].nil? | |
options.merge!( | |
:url_params => { | |
'response-cache-control' => "max-age=#{1.day.to_i}", | |
diff -r 846e17a50fbf -r 5e0757aa9385 app/services/storage/definition.rb | |
--- a/app/services/storage/definition.rb Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/app/services/storage/definition.rb Fri Feb 10 16:34:04 2012 -0200 | |
@@ -74,7 +74,7 @@ | |
def to_page_url(page_number, artifact_type, options = {}) | |
if Feature.enabled?(:on_demand_images) && !options[:direct_url] | |
if self.document.pages.by_number(page_number.to_i).converted? | |
- url = OfficeDrop::Storage.url_for(self.to_page_path(page_number, artifact_type), options) | |
+ url = OfficeDrop::Storage.url_for(self.to_page_path(page_number, artifact_type), options.merge( :disable_headers => true )) | |
url.gsub!('https://s3.amazonaws.com:443/', '') | |
"/s3_redirect/#{url}" | |
else | |
diff -r 846e17a50fbf -r 5e0757aa9385 app/views/document_filters/_form.html.erb | |
--- a/app/views/document_filters/_form.html.erb Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/app/views/document_filters/_form.html.erb Fri Feb 10 16:34:04 2012 -0200 | |
@@ -11,7 +11,7 @@ | |
<br/> | |
<ul> | |
- <li><%= I18n.t('Then label it with (sepparate labels with commas)') %> <%= text_field_with_auto_complete :document_filter_action, :value, {:name => "actions[labels]", :value => params[:actions].try(:[], :labels)}, :tokens => "," %> </li> | |
+ <li><%= I18n.t('Then label it with (separate labels with commas)') %> <%= text_field_with_auto_complete :document_filter_action, :value, {:name => "actions[labels]", :value => params[:actions].try(:[], :labels)}, :tokens => "," %> </li> | |
<li><%= I18n.t('And move it to folder') %> <%= select_tag "actions[folder_id]", options_for_select(tree_nested_set_options(:include_root => false), params[:actions].try(:[], :folder_id).to_i) %></li> | |
</ul> | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/deploy/readme/INSTALL-od-v3-alpha.txt | |
--- a/config/deploy/readme/INSTALL-od-v3-alpha.txt Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/deploy/readme/INSTALL-od-v3-alpha.txt Fri Feb 10 16:34:04 2012 -0200 | |
@@ -1,3 +1,5 @@ | |
+# Procedures for OfficeDrop ONLY | |
+ | |
rake db:migrate CACHE_CLASSES=false | |
rake db:migrate:down VERSION=20111221131356 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/environments/user-leonardo.yml | |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
+++ b/config/environments/user-leonardo.yml Fri Feb 10 16:34:04 2012 -0200 | |
@@ -0,0 +1,9 @@ | |
+db: | |
+ database: pixdocs_development | |
+ username: postgres | |
+ password: | |
+ port: 5432 | |
+ | |
+#solr: | |
+ #instance_dir: /Users/tiago/work/office_drop/solr/app/solr/indices | |
+ #new_solr_index_version: 5 | |
\ No newline at end of file | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/environments/user-leonardorb.yml | |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |
+++ b/config/environments/user-leonardorb.yml Fri Feb 10 16:34:04 2012 -0200 | |
@@ -0,0 +1,9 @@ | |
+db: | |
+ database: pixdocs_development | |
+ username: postgres | |
+ password: | |
+ port: 5432 | |
+ | |
+#solr: | |
+ #instance_dir: /Users/tiago/work/office_drop/solr/app/solr/indices | |
+ #new_solr_index_version: 5 | |
\ No newline at end of file | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/de.po | |
--- a/config/locales/de.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/de.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2630,7 +2630,7 @@ | |
msgstr "Sie haben kein Dokument als Favorit markiert" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "Dann Bezeichnung hinzufügen (mehrere Bezeichnungen durch Komma trennen):" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/es.po | |
--- a/config/locales/es.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/es.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2630,7 +2630,7 @@ | |
msgstr "No ha marcado ningún documento como favorito" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "Luego, rotúlelo con (separe los rótulos con comas)" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/fr.po | |
--- a/config/locales/fr.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/fr.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2630,7 +2630,7 @@ | |
msgstr "Vous n'avez pas marqué ce document comme favori" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "Appliquez-lui ensuite les libellés (séparés par des virgules)" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/it.po | |
--- a/config/locales/it.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/it.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2630,7 +2630,7 @@ | |
msgstr "Nessun documento è stato contrassegnato come preferito" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "In seguito etichettarlo (separare le etichette con virgole)" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/nl.po | |
--- a/config/locales/nl.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/nl.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2630,7 +2630,7 @@ | |
msgstr "U heeft geen document gemarkeerd als favoriet." | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "Voeg vervolgens een label toe (scheid labels door komma's)" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/pt-BR.po | |
--- a/config/locales/pt-BR.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/pt-BR.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2628,7 +2628,7 @@ | |
msgstr "Você não marcou nenhum documento como favorito" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "Então marque com (separe os marcadores com vírgulas)" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/template.php | |
--- a/config/locales/template.php Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/template.php Fri Feb 10 16:34:04 2012 -0200 | |
@@ -755,7 +755,7 @@ | |
_('for this label.'); | |
_('Favorite Documents'); | |
_('You have not marked any document as a favorite'); | |
-_('Then label it with (sepparate labels with commas)'); | |
+_('Then label it with (separate labels with commas)'); | |
_('And move it to folder'); | |
_('Test'); | |
_('Save'); | |
diff -r 846e17a50fbf -r 5e0757aa9385 config/locales/template.po | |
--- a/config/locales/template.po Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/config/locales/template.po Fri Feb 10 16:34:04 2012 -0200 | |
@@ -2628,7 +2628,7 @@ | |
msgstr "" | |
#: config/locales/template.php:758 | |
-msgid "Then label it with (sepparate labels with commas)" | |
+msgid "Then label it with (separate labels with commas)" | |
msgstr "" | |
#: config/locales/template.php:759 | |
diff -r 846e17a50fbf -r 5e0757aa9385 db/development_structure.sql | |
--- a/db/development_structure.sql Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/db/development_structure.sql Fri Feb 10 16:34:04 2012 -0200 | |
@@ -991,7 +991,7 @@ | |
FOR v_file_entry IN SELECT * FROM documents WHERE v_deleted_entry.node_path @> node_path AND deleted_at IS NULL LOOP | |
RAISE NOTICE 'Deleting %', v_file_entry.name; | |
- UPDATE documents SET deleted_at = now() + '10 seconds'::INTERVAL * ROUND(random() * 10) WHERE id = v_file_entry.id; | |
+ UPDATE documents SET deleted_at = now() WHERE id = v_file_entry.id; | |
INSERT INTO file_versions (fkey, action, account_id, latest_version, revision_id, size, file_updated_time) VALUES (v_file_entry.fkey, 'd', v_file_entry.account_id, true, v_rev_id, v_file_entry.size, v_file_entry.file_updated_time); | |
END LOOP; | |
END | |
@@ -1185,9 +1185,9 @@ | |
synchronized boolean DEFAULT false, | |
new_fkey character varying(255), | |
prev_fkey character varying(255), | |
- error_code integer DEFAULT 0, | |
purged boolean DEFAULT false, | |
archive boolean DEFAULT false, | |
+ error_code integer DEFAULT 0, | |
extracted boolean DEFAULT false, | |
index_migrated boolean DEFAULT false | |
); | |
@@ -1510,6 +1510,20 @@ | |
-- | |
CREATE OPERATOR ? ( | |
+ PROCEDURE = lt_q_regex, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = lquery[], | |
+ COMMUTATOR = ?, | |
+ RESTRICT = contsel, | |
+ JOIN = contjoinsel | |
+); | |
+ | |
+ | |
+-- | |
+-- Name: ?; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR ? ( | |
PROCEDURE = lt_q_rregex, | |
LEFTARG = lquery[], | |
RIGHTARG = ltree, | |
@@ -1524,8 +1538,8 @@ | |
-- | |
CREATE OPERATOR ? ( | |
- PROCEDURE = lt_q_regex, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _lt_q_regex, | |
+ LEFTARG = ltree[], | |
RIGHTARG = lquery[], | |
COMMUTATOR = ?, | |
RESTRICT = contsel, | |
@@ -1548,20 +1562,6 @@ | |
-- | |
--- Name: ?; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR ? ( | |
- PROCEDURE = _lt_q_regex, | |
- LEFTARG = ltree[], | |
- RIGHTARG = lquery[], | |
- COMMUTATOR = ?, | |
- RESTRICT = contsel, | |
- JOIN = contjoinsel | |
-); | |
- | |
- | |
--- | |
-- Name: ?<@; Type: OPERATOR; Schema: public; Owner: - | |
-- | |
@@ -1610,6 +1610,20 @@ | |
-- | |
CREATE OPERATOR @ ( | |
+ PROCEDURE = ltxtq_exec, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = ltxtquery, | |
+ COMMUTATOR = @, | |
+ RESTRICT = contsel, | |
+ JOIN = contjoinsel | |
+); | |
+ | |
+ | |
+-- | |
+-- Name: @; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR @ ( | |
PROCEDURE = ltxtq_rexec, | |
LEFTARG = ltxtquery, | |
RIGHTARG = ltree, | |
@@ -1624,8 +1638,8 @@ | |
-- | |
CREATE OPERATOR @ ( | |
- PROCEDURE = ltxtq_exec, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _ltxtq_exec, | |
+ LEFTARG = ltree[], | |
RIGHTARG = ltxtquery, | |
COMMUTATOR = @, | |
RESTRICT = contsel, | |
@@ -1648,20 +1662,6 @@ | |
-- | |
--- Name: @; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR @ ( | |
- PROCEDURE = _ltxtq_exec, | |
- LEFTARG = ltree[], | |
- RIGHTARG = ltxtquery, | |
- COMMUTATOR = @, | |
- RESTRICT = contsel, | |
- JOIN = contjoinsel | |
-); | |
- | |
- | |
--- | |
-- Name: @>; Type: OPERATOR; Schema: public; Owner: - | |
-- | |
@@ -1750,6 +1750,20 @@ | |
-- | |
CREATE OPERATOR ^? ( | |
+ PROCEDURE = lt_q_regex, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = lquery[], | |
+ COMMUTATOR = ^?, | |
+ RESTRICT = contsel, | |
+ JOIN = contjoinsel | |
+); | |
+ | |
+ | |
+-- | |
+-- Name: ^?; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR ^? ( | |
PROCEDURE = lt_q_rregex, | |
LEFTARG = lquery[], | |
RIGHTARG = ltree, | |
@@ -1764,8 +1778,8 @@ | |
-- | |
CREATE OPERATOR ^? ( | |
- PROCEDURE = lt_q_regex, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _lt_q_regex, | |
+ LEFTARG = ltree[], | |
RIGHTARG = lquery[], | |
COMMUTATOR = ^?, | |
RESTRICT = contsel, | |
@@ -1788,14 +1802,14 @@ | |
-- | |
--- Name: ^?; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR ^? ( | |
- PROCEDURE = _lt_q_regex, | |
- LEFTARG = ltree[], | |
- RIGHTARG = lquery[], | |
- COMMUTATOR = ^?, | |
+-- Name: ^@; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR ^@ ( | |
+ PROCEDURE = ltxtq_exec, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = ltxtquery, | |
+ COMMUTATOR = ^@, | |
RESTRICT = contsel, | |
JOIN = contjoinsel | |
); | |
@@ -1820,8 +1834,8 @@ | |
-- | |
CREATE OPERATOR ^@ ( | |
- PROCEDURE = ltxtq_exec, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _ltxtq_exec, | |
+ LEFTARG = ltree[], | |
RIGHTARG = ltxtquery, | |
COMMUTATOR = ^@, | |
RESTRICT = contsel, | |
@@ -1844,20 +1858,6 @@ | |
-- | |
--- Name: ^@; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR ^@ ( | |
- PROCEDURE = _ltxtq_exec, | |
- LEFTARG = ltree[], | |
- RIGHTARG = ltxtquery, | |
- COMMUTATOR = ^@, | |
- RESTRICT = contsel, | |
- JOIN = contjoinsel | |
-); | |
- | |
- | |
--- | |
-- Name: ^@>; Type: OPERATOR; Schema: public; Owner: - | |
-- | |
@@ -1904,6 +1904,20 @@ | |
-- | |
CREATE OPERATOR ^~ ( | |
+ PROCEDURE = ltq_regex, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = lquery, | |
+ COMMUTATOR = ^~, | |
+ RESTRICT = contsel, | |
+ JOIN = contjoinsel | |
+); | |
+ | |
+ | |
+-- | |
+-- Name: ^~; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR ^~ ( | |
PROCEDURE = ltq_rregex, | |
LEFTARG = lquery, | |
RIGHTARG = ltree, | |
@@ -1918,8 +1932,8 @@ | |
-- | |
CREATE OPERATOR ^~ ( | |
- PROCEDURE = ltq_regex, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _ltq_regex, | |
+ LEFTARG = ltree[], | |
RIGHTARG = lquery, | |
COMMUTATOR = ^~, | |
RESTRICT = contsel, | |
@@ -1942,20 +1956,6 @@ | |
-- | |
--- Name: ^~; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR ^~ ( | |
- PROCEDURE = _ltq_regex, | |
- LEFTARG = ltree[], | |
- RIGHTARG = lquery, | |
- COMMUTATOR = ^~, | |
- RESTRICT = contsel, | |
- JOIN = contjoinsel | |
-); | |
- | |
- | |
--- | |
-- Name: ||; Type: OPERATOR; Schema: public; Owner: - | |
-- | |
@@ -1993,6 +1993,20 @@ | |
-- | |
CREATE OPERATOR ~ ( | |
+ PROCEDURE = ltq_regex, | |
+ LEFTARG = ltree, | |
+ RIGHTARG = lquery, | |
+ COMMUTATOR = ~, | |
+ RESTRICT = contsel, | |
+ JOIN = contjoinsel | |
+); | |
+ | |
+ | |
+-- | |
+-- Name: ~; Type: OPERATOR; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR ~ ( | |
PROCEDURE = ltq_rregex, | |
LEFTARG = lquery, | |
RIGHTARG = ltree, | |
@@ -2007,8 +2021,8 @@ | |
-- | |
CREATE OPERATOR ~ ( | |
- PROCEDURE = ltq_regex, | |
- LEFTARG = ltree, | |
+ PROCEDURE = _ltq_regex, | |
+ LEFTARG = ltree[], | |
RIGHTARG = lquery, | |
COMMUTATOR = ~, | |
RESTRICT = contsel, | |
@@ -2031,17 +2045,10 @@ | |
-- | |
--- Name: ~; Type: OPERATOR; Schema: public; Owner: - | |
--- | |
- | |
-CREATE OPERATOR ~ ( | |
- PROCEDURE = _ltq_regex, | |
- LEFTARG = ltree[], | |
- RIGHTARG = lquery, | |
- COMMUTATOR = ~, | |
- RESTRICT = contsel, | |
- JOIN = contjoinsel | |
-); | |
+-- Name: gist__ltree_ops; Type: OPERATOR FAMILY; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR FAMILY gist__ltree_ops USING gist; | |
-- | |
@@ -2069,6 +2076,13 @@ | |
-- | |
+-- Name: gist_ltree_ops; Type: OPERATOR FAMILY; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR FAMILY gist_ltree_ops USING gist; | |
+ | |
+ | |
+-- | |
-- Name: gist_ltree_ops; Type: OPERATOR CLASS; Schema: public; Owner: - | |
-- | |
@@ -2098,6 +2112,13 @@ | |
-- | |
+-- Name: ltree_ops; Type: OPERATOR FAMILY; Schema: public; Owner: - | |
+-- | |
+ | |
+CREATE OPERATOR FAMILY ltree_ops USING btree; | |
+ | |
+ | |
+-- | |
-- Name: ltree_ops; Type: OPERATOR CLASS; Schema: public; Owner: - | |
-- | |
@@ -2740,16 +2761,6 @@ | |
-- | |
--- Name: bucket_move; Type: TABLE; Schema: public; Owner: -; Tablespace: | |
--- | |
- | |
-CREATE TABLE bucket_move ( | |
- id bigint, | |
- copied boolean DEFAULT false NOT NULL | |
-); | |
- | |
- | |
--- | |
-- Name: bulk_order_backup_media_types; Type: TABLE; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -6189,7 +6200,7 @@ | |
id bigint NOT NULL, | |
user_id bigint NOT NULL, | |
contact_id bigint NOT NULL, | |
- shared_at timestamp with time zone DEFAULT '2008-02-10 01:02:52.62514-05'::timestamp with time zone NOT NULL, | |
+ shared_at timestamp with time zone DEFAULT '2008-02-10 04:02:52.62514-02'::timestamp with time zone NOT NULL, | |
status character varying(32) NOT NULL, | |
viewed_count smallint NOT NULL, | |
expire_at timestamp with time zone NOT NULL, | |
@@ -9084,13 +9095,6 @@ | |
-- | |
--- Name: documents_deleted_at_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
--- | |
- | |
-CREATE INDEX documents_deleted_at_idx ON documents USING btree (deleted_at); | |
- | |
- | |
--- | |
-- Name: idx_documents_node_path_btree_idx; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -9644,13 +9648,6 @@ | |
-- | |
--- Name: index_documents_on_cached_parent_path; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
--- | |
- | |
-CREATE INDEX index_documents_on_cached_parent_path ON documents USING btree (cached_parent_path); | |
- | |
- | |
--- | |
-- Name: index_documents_on_content_type; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -9679,6 +9676,13 @@ | |
-- | |
+-- Name: index_documents_on_fkey_and_deleted_at_and_account_id; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
+-- | |
+ | |
+CREATE INDEX index_documents_on_fkey_and_deleted_at_and_account_id ON documents USING btree (fkey, deleted_at, account_id); | |
+ | |
+ | |
+-- | |
-- Name: index_documents_on_folder_id; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -9707,13 +9711,6 @@ | |
-- | |
--- Name: index_documents_on_node_path; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
--- | |
- | |
-CREATE INDEX index_documents_on_node_path ON documents USING btree (node_path); | |
- | |
- | |
--- | |
-- Name: index_documents_on_normalized; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -9721,13 +9718,6 @@ | |
-- | |
--- Name: index_documents_on_purged; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
--- | |
- | |
-CREATE INDEX index_documents_on_purged ON documents USING btree (purged); | |
- | |
- | |
--- | |
-- Name: index_documents_on_ready_for_user_at; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -11044,6 +11034,13 @@ | |
-- | |
+-- Name: page_count_idx_on_documents; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
+-- | |
+ | |
+CREATE INDEX page_count_idx_on_documents ON documents USING btree (page_count); | |
+ | |
+ | |
+-- | |
-- Name: test_index_documents; Type: INDEX; Schema: public; Owner: -; Tablespace: | |
-- | |
@@ -12081,28 +12078,28 @@ | |
INSERT INTO schema_migrations (version) VALUES ('20110726201217'); | |
+INSERT INTO schema_migrations (version) VALUES ('20110714214956'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20110817174919'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20110823183023'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20110824201407'); | |
+ | |
INSERT INTO schema_migrations (version) VALUES ('20110806005257'); | |
INSERT INTO schema_migrations (version) VALUES ('20110827172523'); | |
INSERT INTO schema_migrations (version) VALUES ('20110827182929'); | |
-INSERT INTO schema_migrations (version) VALUES ('20110714214956'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20110817174919'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20110823183023'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20110824201407'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20110910183748'); | |
- | |
INSERT INTO schema_migrations (version) VALUES ('20110910231805'); | |
INSERT INTO schema_migrations (version) VALUES ('20110910231806'); | |
INSERT INTO schema_migrations (version) VALUES ('20110913060759'); | |
+INSERT INTO schema_migrations (version) VALUES ('20110927140549'); | |
+ | |
INSERT INTO schema_migrations (version) VALUES ('20110803200914'); | |
INSERT INTO schema_migrations (version) VALUES ('20110803222826'); | |
@@ -12125,42 +12122,52 @@ | |
INSERT INTO schema_migrations (version) VALUES ('20110926173516'); | |
-INSERT INTO schema_migrations (version) VALUES ('20110927140549'); | |
+INSERT INTO schema_migrations (version) VALUES ('20111025183022'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20110926230351'); | |
INSERT INTO schema_migrations (version) VALUES ('20110929190942'); | |
INSERT INTO schema_migrations (version) VALUES ('20111010223428'); | |
-INSERT INTO schema_migrations (version) VALUES ('20110926230351'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111025183022'); | |
- | |
INSERT INTO schema_migrations (version) VALUES ('20111028154920'); | |
INSERT INTO schema_migrations (version) VALUES ('20111028233357'); | |
+INSERT INTO schema_migrations (version) VALUES ('20111107192128'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111108164702'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111110191347'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111114173350'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111121235445'); | |
+ | |
INSERT INTO schema_migrations (version) VALUES ('20111124220238'); | |
-INSERT INTO schema_migrations (version) VALUES ('20111107192128'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111108164702'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111110191347'); | |
+INSERT INTO schema_migrations (version) VALUES ('20111128124412'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111130133242'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111207161513'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20111213174714'); | |
INSERT INTO schema_migrations (version) VALUES ('20111110191447'); | |
-INSERT INTO schema_migrations (version) VALUES ('20111114173350'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111121235445'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111128124412'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111130133242'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111207161513'); | |
- | |
INSERT INTO schema_migrations (version) VALUES ('20111215130808'); | |
+INSERT INTO schema_migrations (version) VALUES ('20111221131356'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20120102152735'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20120112202227'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20120117141325'); | |
+ | |
+INSERT INTO schema_migrations (version) VALUES ('20120119115808'); | |
+ | |
INSERT INTO schema_migrations (version) VALUES ('20110808202431'); | |
INSERT INTO schema_migrations (version) VALUES ('20110818183218'); | |
@@ -12179,12 +12186,6 @@ | |
INSERT INTO schema_migrations (version) VALUES ('20111101030442'); | |
-INSERT INTO schema_migrations (version) VALUES ('20111213174714'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20111221131356'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20120102152735'); | |
- | |
INSERT INTO schema_migrations (version) VALUES ('20120105154448'); | |
INSERT INTO schema_migrations (version) VALUES ('20120106130700'); | |
@@ -12193,10 +12194,4 @@ | |
INSERT INTO schema_migrations (version) VALUES ('20120107180053'); | |
-INSERT INTO schema_migrations (version) VALUES ('20120112202227'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20120117141325'); | |
- | |
-INSERT INTO schema_migrations (version) VALUES ('20120119115808'); | |
- | |
INSERT INTO schema_migrations (version) VALUES ('20120208163845'); | |
\ No newline at end of file | |
diff -r 846e17a50fbf -r 5e0757aa9385 public/stylesheets/main/_style_layout.css | |
--- a/public/stylesheets/main/_style_layout.css Fri Feb 10 12:55:56 2012 -0500 | |
+++ b/public/stylesheets/main/_style_layout.css Fri Feb 10 16:34:04 2012 -0200 | |
@@ -165,7 +165,7 @@ | |
text-decoration: none; | |
font-weight: bold; | |
font-size: 1.5em; | |
- padding-top: 6px; | |
+ padding-top: 6px; | |
} | |
#menu ul li a:link, #menu a:visited { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment