From 504a1c86d1e3b8a668925023a9da0da654935505 Mon Sep 17 00:00:00 2001 From: dkrugman Date: Thu, 29 Feb 2024 20:44:42 -0500 Subject: [PATCH 1/5] Changed congress_members_actions :value column to TEXT to handle more data --- .../021_change_congress_member_actions_value_type.rb | 10 ++++++++++ db/schema.rb | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 db/migrate/021_change_congress_member_actions_value_type.rb diff --git a/db/migrate/021_change_congress_member_actions_value_type.rb b/db/migrate/021_change_congress_member_actions_value_type.rb new file mode 100644 index 0000000..1072c5f --- /dev/null +++ b/db/migrate/021_change_congress_member_actions_value_type.rb @@ -0,0 +1,10 @@ +class ChangeCongressMemberActionsValueType < ActiveRecord::Migration + def self.up + change_column :congress_member_actions, :value, :text, limit: 65535 + end + + def self.down + change_column :congress_member_actions, :value, :string, limit: 511 + end +end + diff --git a/db/schema.rb b/db/schema.rb index 4591f1d..a72e99f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,3 +1,4 @@ +# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. @@ -10,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20) do +ActiveRecord::Schema.define(version: 21) do create_table "campaign_tags", force: :cascade do |t| t.string "name", limit: 255 @@ -22,7 +23,7 @@ t.string "action", limit: 255 t.string "name", limit: 255 t.string "selector", limit: 255 - t.string "value", limit: 511 + t.text "value", limit: 65535 t.boolean "required", default: false t.integer "maxlength", limit: 4 t.string "captcha_selector", limit: 255 From d073cf0555fc9a8eb35d4de539ea993cf9737eac Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 14 Mar 2024 16:16:29 -0400 Subject: [PATCH 2/5] Add 1 git-crypt collaborator New collaborators: 58EE346E Doug --- .git-crypt/.gitattributes | 4 ++++ .../1848D0B0D65FB6DA9F35A0272A0993FF58EE346E.gpg | Bin 0 -> 725 bytes 2 files changed, 4 insertions(+) create mode 100644 .git-crypt/.gitattributes create mode 100644 .git-crypt/keys/default/0/1848D0B0D65FB6DA9F35A0272A0993FF58EE346E.gpg diff --git a/.git-crypt/.gitattributes b/.git-crypt/.gitattributes new file mode 100644 index 0000000..665b10e --- /dev/null +++ b/.git-crypt/.gitattributes @@ -0,0 +1,4 @@ +# Do not edit this file. To specify the files to encrypt, create your own +# .gitattributes file in the directory where your files are. +* !filter !diff +*.gpg binary diff --git a/.git-crypt/keys/default/0/1848D0B0D65FB6DA9F35A0272A0993FF58EE346E.gpg b/.git-crypt/keys/default/0/1848D0B0D65FB6DA9F35A0272A0993FF58EE346E.gpg new file mode 100644 index 0000000000000000000000000000000000000000..03a47cf83102a76f97ea60f285e41264e5d47c3f GIT binary patch literal 725 zcmV;`0xJE50t^G!ul_?}la;Ok5B@pJtgf>{8Nsm$xfEvEk3-X|PQzD#$9=Ah@ zUvI$@rT(Mm9<%jLXbHD zFD)$0A%29dndItMiukVctz;!z9<@>@er%Y1mk5QY?nS!Mb)Y$PqLeF`Jw*A$oDmY# zBw<3$(FOJ+5PPug1a@G+pS}bm4;a}MU%fj&(_ktPqX!p9vNlD7h@*$FihI|!Ggz;( zs0Tz_cB-|KlOk#3OjAc?plt=Ea_ub9x$}IjU!2+YSJIPOVf`+9ha2-&m%l;4I%0#8Atz2b4kb29!gcnswu z8s}|WMX1UHC&qyKCJNHP0|8B~gG2*+LU+p_AxLK6RGV$|Ks;hKGyWB0*%6oQi)r?V zdXm@g7^|g~7djEZtlvr911YDc0A!$#c*KZRC{PcS7o%7dKiEYA=-@C3#Plnw2ZkNi zE{1$8!-*{`@6h#>r%ET1>y5e<5)$+H*k^Ydi410Qo;IG=lm~d*0Uz`$7B{=*DV6F^ zJ!+UG-nS~w%WNe;2@4VwVm&U$h+L=d Date: Thu, 14 Mar 2024 16:27:32 -0400 Subject: [PATCH 3/5] added encrypted config file --- .gitattributes | 1 + config/phantom-dc_config.rb | Bin 0 -> 2433 bytes 2 files changed, 1 insertion(+) create mode 100644 .gitattributes create mode 100644 config/phantom-dc_config.rb diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d9ba3ae --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +config/phantom-dc_config.rb filter=git-crypt diff=git-crypt diff --git a/config/phantom-dc_config.rb b/config/phantom-dc_config.rb new file mode 100644 index 0000000000000000000000000000000000000000..79ceaa20f0f6359ea56a62780011dd215e3bb58c GIT binary patch literal 2433 zcmV-{34ZnfM@dveQdv+`056+I&)-E1{atlhX;H1c$e*i%ckk7A#g^Xp9(1xKK1SPL zteWLFPXz2^XPvn$zG&P9_4o&FC`ZLr%kJjm04B=w}MWOZmj(4RIQCR0cA9>|mQgJM&O@(mon$1cmOO+C{tj zGYLc|7-i~#)l@@so@n-GZ%dw_LK$!~izC6OBp%{Ph2tqPQuR#|bD?d!M0`=va_8p= zs_Yum01veST>6(Gp*a9YDyL2bA^aoQfPy|oSGN#Z3RA+@t`NDgJVHo5u%U9bIVDZU z#K0F*kL3#qcsYQ^*igl*dVwVY2-x1r{+Re1-3#|w%( zr35&iT25UB+fz6^!2ixG9^23{UgTr~oFLXuH&;7&sfKD&RLGg4xHa?J<7;P(^>GUr&ZE(>SnVtZBvWOBbrr9|0mJIDVu7p3`L`w}_<`RSKp-7>t&#crcHR^f5 z%i7`5{R*Hoay#6++|q^bK~I>LHV*^_y6*ZvCjcN|&f@y9b%|}YD-tmg-}|7@$8lpv zA(Ug~jn!Ca8p3lCQItY8+4W4Rh@_roP|i2RD}N3$sAVdM997Td&hjd)Bd$?=!=i=Y z)r(*QAcP)#7!eMYl^p0=7@rXkmU~5AubnXuZWf80bI5W$dllL=?O35U6Rf zqTp81)e4)!?K*e^9Jpo~ZP;gOX_*mO{%+*(8@Yl_Uk+>%@Vd5`ntCz z$6s|VZxn8a)+&rYh8yG2+p|sX6U*JwYL%xdTYN@muquyT!gFk6#M7|vyWd-`G6Ii&+{j4JgNC8@VqTeO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QKeU@a*3m2YBEP+N#hW#XjrG=f> literal 0 HcmV?d00001 From a9dde46cd4935bc3066fb75ff9941f577dcd46f8 Mon Sep 17 00:00:00 2001 From: Doug Krugman Date: Thu, 14 Mar 2024 16:53:25 -0400 Subject: [PATCH 4/5] no longer ignoring encrypted config file --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 983f544..62cf11d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,8 @@ db/*.db config/database.rb .*.sw* *.swp -config/phantom-dc_config.rb .bundle .vagrant docker-compose.yml private/* -.env \ No newline at end of file +.env From ca1b0a11726a25f3706fd57800da1fafc2766fb3 Mon Sep 17 00:00:00 2001 From: Doug Krugman Date: Thu, 14 Mar 2024 20:49:29 -0400 Subject: [PATCH 5/5] added more encrypted config files --- .env | Bin 0 -> 1028 bytes .gitattributes | 2 ++ .gitignore | 3 +-- config/database.rb | Bin 0 -> 2496 bytes 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .env create mode 100644 config/database.rb diff --git a/.env b/.env new file mode 100644 index 0000000000000000000000000000000000000000..33609acb91110d724f854ccca4e056a657cc19fb GIT binary patch literal 1028 zcmV+f1pE5{M@dveQdv+`018`+JPqGp*<4m82r-&|6<48e67pI^meGxt-ypD@L|7MZ zcPtIOPE=p<=8dn(2%?tNNI9$vSxMDo8)Ew(?`be%DWM2IF{<{V=kul!`D+IgsUp}E zf>=Wpy=Iy4T#nFH$z`T6*t{aXk#SN1)Bk&BT5d+*f<&d4BE7uvh0gz3F6%AA9UEu< z|D|C$X*VR$t73`_jEq?Mm9o5n$~Ns?1Y*BxV#7#nkU40K+Tr}H)681Bv|)FaRP99(iT z$me$s1JF1p?yp8zeG6@5PyHUf=M^Wk2SW`f01U#DK;(V!J!}zry%&B4`0Z!`J7ECz zY>>`)feSZcYYDly zSw*GH0gFlCUq)-abnqb_QBGS-vjafp+$w3+$Xi`p1|;P~L5BO%+9+UvWP6~4T`DP^#E{z>5}tudsqgk zV_E`|araN9h@`FfR>iy>DBbHnUAS!gPnlGqW-&N068bW`(~~87ty5187tjPOL62G0dk_~x?N;P@{9 literal 0 HcmV?d00001 diff --git a/.gitattributes b/.gitattributes index d9ba3ae..aed388b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,3 @@ +.env filter=git-crypt diff=git-crypt config/phantom-dc_config.rb filter=git-crypt diff=git-crypt +config/database.rb filter=git-crypt diff=git-crypt diff --git a/.gitignore b/.gitignore index 62cf11d..b18a597 100644 --- a/.gitignore +++ b/.gitignore @@ -6,11 +6,10 @@ vendor/gems/* !vendor/gems/cache/ .sass-cache/* db/*.db -config/database.rb .*.sw* *.swp .bundle .vagrant docker-compose.yml private/* -.env + diff --git a/config/database.rb b/config/database.rb new file mode 100644 index 0000000000000000000000000000000000000000..13058076b30fbf324fa6e6108d12d19ecd5c3e3d GIT binary patch literal 2496 zcmV;x2|xA#M@dveQdv+`0QZt>8LXsovwK!#p4g@p$*^6(FKwH??_y>H>~gJf*mE10 zsLfDt-L?Y#R=SFL*NjHcPRBI0lv#%Uroi*PI!>v<(#-$8$4qsZ7fZ`mIhGgA2VLQ* z8DDqVqG$e400L;g*}eIg!WQP77gtx9i=WUC z!BH~Fy8AmK8BU1(gCQVq?p0|pH~Z#3SW?W6Dvu_V*&V-+4okYG-Rh&9bo-(>-#)!2 z*K#QK!=T*SrTr7^p`MD{7r6edPUNTC=N8po6S7*r0~ha2>3WIr*MMEhO9`q;;Lo< zXB6#Om>f)we4%1-j51@+MkDE1(tf=29V)^Gp^Vma=-|lE!UO~tPg=WGC02sk<&lVp zzrv-f{#0G0a~8SR-4W-rB%qW7Q_+bO|uc}LEWI1Wl;BPM?=`S6f3sw=0J&q+O`NkAgsKsgK zhe&Tw1Q2+Pf|V9pGBAMVeN6QPt<2Q+;4%0wNqlRHZ_*(JABlKF!VO7N_O;40CB~$C zgUI2=BRd;af6Zu{#?4@uwOieWOnvG@1-Irs-;7H?H!=uJ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