diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 0da8d8662..0046a76a9 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,7 +6,7 @@ # https://github.com/actions/labeler/blob/master/README.md name: Labeler -on: [pull_request] +on: [pull_request_target] jobs: label: diff --git a/Gemfile b/Gemfile index fed7b6c37..d0c34f205 100644 --- a/Gemfile +++ b/Gemfile @@ -19,14 +19,12 @@ gem "date", "~> 3.3.3" gem 'httparty', '~> 0.21.0' # https://github.com/jnunemaker/httparty gem 'rack-attack', '~> 5.2' # for blocking ip addressses -gem 'rack-ssl', '~> 1.4' gem 'sprockets', '~> 3.7' # Helpers gem 'chronic', '~> 0.10.2' # For nat lang parsing of dates gem 'countries', '~> 4.2' gem 'i18n-js', '~> 3.8', git: 'https://github.com/houdiniproject/i18n-js.git', branch: 'houdini-tweaks' -gem 'lograge', '~> 0.12.0' # make logging less terrible in rails gem 'rails-i18n', '~> 6.0.0', '~> 6' gem 'premailer-rails', '~> 1.12' # for styling of email gem 'money', '~> 6.16' diff --git a/Gemfile.lock b/Gemfile.lock index a331fcdf3..8ceaf1fff 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -245,11 +245,6 @@ GEM listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - lograge (0.12.0) - actionpack (>= 4) - activesupport (>= 4) - railties (>= 4) - request_store (~> 1.0) loofah (2.21.3) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -311,8 +306,6 @@ GEM rack (>= 1.0, < 3) rack-proxy (0.7.6) rack - rack-ssl (1.4.1) - rack rack-test (2.1.0) rack (>= 1.3) rack-timeout (0.6.3) @@ -362,8 +355,6 @@ GEM regexp_parser (2.7.0) reline (0.3.3) io-console (~> 0.5) - request_store (1.5.1) - rack (>= 1.4) responders (3.1.0) actionpack (>= 5.2) railties (>= 5.2) @@ -525,7 +516,6 @@ DEPENDENCIES js-routes kaminari listen - lograge (~> 0.12.0) money (~> 6.16) param_validation! pg (~> 1.4) @@ -533,7 +523,6 @@ DEPENDENCIES puma (~> 5.6) qx! rack-attack (~> 5.2) - rack-ssl (~> 1.4) rack-timeout (~> 0.6.3) rails (= 6.1.7.4) rails-i18n (~> 6.0.0, ~> 6) diff --git a/NOTICE-ruby b/NOTICE-ruby index 4f37a8782..ab7474831 100644 --- a/NOTICE-ruby +++ b/NOTICE-ruby @@ -1027,6 +1027,33 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** activestorage; version 6.1.7.4 -- +Copyright (c) 2017-2022 David Heinemeier Hansson, Basecamp + +Copyright (c) 2017-2022 David Heinemeier Hansson, Basecamp + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** ast; version 2.4.2 -- @@ -1054,6 +1081,34 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** actioncable; version 6.1.7.4 -- +Copyright (c) 2010-2015 James Coglan +Copyright (c) 2015-2022 Basecamp, LLC + +Copyright (c) 2015-2022 Basecamp, LLC + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** rb-fsevent; version 0.11.2 -- @@ -1437,6 +1492,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** actionmailbox; version 6.1.7.4 -- +Copyright (c) 2018-2022 Basecamp, LLC + +MIT License + +Copyright (c) 2018-2022 Basecamp, LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + ------ ** crass; version 1.0.6 -- @@ -1461,33 +1544,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** mini_portile2; version 2.8.2 -- -Copyright (c) 2011-2016 Luis Lavena and Mike Dalessio - -Copyright (c) 2011-2016 Luis Lavena and Mike Dalessio - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------ ** bcrypt; version 3.1.18 -- @@ -1808,34 +1864,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** zeitwerk; version 2.6.8 -- -Copyright (c) 2019-o Xavier Noria -Copyright (c) 2019- o Xavier Noria - -Copyright (c) 2019–ω Xavier Noria - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ------ ** kaminari-actionview; version 1.2.2 -- @@ -2524,6 +2552,33 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** activejob; version 6.1.7.4 -- +Copyright (c) 2014-2022 David Heinemeier Hansson + +Copyright (c) 2014-2022 David Heinemeier Hansson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** premailer-rails; version 1.12.0 -- @@ -2861,6 +2916,34 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** actiontext; version 6.1.7.4 -- +Copyright (c) 2020-2022 Basecamp, LLC + +MIT License + +Copyright (c) 2020-2022 Basecamp, LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + ------ ** i18n; version 1.14.1 -- @@ -2888,6 +2971,42 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** actionmailer; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +** actionpack; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +** actionview; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +** activemodel; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +** railties; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +Copyright (c) 2006-2013 Paul Battley, Michael Neumann, Tim Fletcher + +Copyright (c) 2004-2022 David Heinemeier Hansson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** tilt; version 2.0.10 -- @@ -2913,35 +3032,6 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** rack-ssl; version 1.4.1 -- -Copyright (c) 2010 Joshua Peek - -Copyright (c) 2010 Joshua Peek - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - - ------ ** execjs; version 2.8.1 -- @@ -2973,6 +3063,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------ +** activerecord; version 6.1.7.4 -- +Copyright (c) 2004-2022 David Heinemeier Hansson +copyright (c) 2007-2016 Nick Kallen, Bryan Helmkamp, Emilio Tagua, Aaron Patterson ** async; version 1.30.1 -- Copyright, 2017, by Samuel G. D. Williams. Copyright, 2018, by Samuel G. D. Williams. @@ -3012,15 +3105,12 @@ Copyright (c) 2010-2015, The Dojo Foundation ** mime-types; version 3.4.1 -- Copyright 2003-2019 Austin Ziegler and contributors. ** mime-types-data; version 3.2022.0105 -- -** minitest; version 5.18.1 -- -Copyright (c) Ryan Davis, seattle.rb ** qx; version 0.1.1 -- -** rack; version 2.2.7 -- -Copyright (c) 2009-2018 Michael Fellinger -Copyright (c) Django Software Foundation and individual contributors -Copyright (c) 2007-2019 Leah Neukirchen ** rack-attack; version 5.4.2 -- Copyright Kickstarter, PBC. +** rails; version 6.1.7.4 -- +** rails-dom-testing; version 2.1.1 -- +Copyright (c) 2013-2015 Kasper Timm Hansen ** rails-html-sanitizer; version 1.6.0 -- Copyright (c) 2013-2023 Rafael Mendonca Franca, Kasper Timm Hansen, Mike Dalessio ** samovar; version 2.1.4 -- @@ -3661,6 +3751,33 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +------ + +** activesupport; version 6.1.7.4 -- +Copyright (c) 2005-2022 David Heinemeier Hansson + +Copyright (c) 2005-2022 David Heinemeier Hansson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** regexp_parser; version 2.7.0 -- @@ -3725,34 +3842,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** request_store; version 1.5.1 -- -Copyright (c) 2012 Steve Klabnik - -Copyright (c) 2012 Steve Klabnik - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ------ ** sassc; version 2.4.0 -- @@ -3875,34 +3964,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------- - -** lograge; version 0.12.0 -- -Copyright (c) 2016 Mathias Meyer - -The MIT License (MIT) - -Copyright (c) 2016 Mathias Meyer - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - ------ ** raabro; version 1.4.0 -- @@ -4139,6 +4200,130 @@ You can redistribute it and/or modify it under either the terms of the PURPOSE. +------ + +** test-unit; version 3.6.1 -- +Copyright (c) 2008 Ryan Davis +Copyright (c) 2008-2011 Kouhei Sutou +Copyright (c) 2008-2020 Sutou Kouhei +Copyright (c) 2009-2013 Kouhei Sutou +Copyright (c) 2000-2002 Nathaniel Talbott +Copyright (c) 2000-2003 Nathaniel Talbott +Copyright (c) 2003-2007 Nathaniel Talbott +copyright (c) 2000-2003 Nathaniel Talbott +Copyright (c) 2000-2003, Nathaniel Talbott +Copyright (c) 2001-2008 Python Software Foundation +Copyright (c) 2011 Kouhei Sutou +Copyright (c) 2012 Kouhei Sutou +Copyright (c) 2008-2012 Kouhei Sutou +Copyright (c) 2008-2017 Kouhei Sutou +Copyright (c) 2008-2023 Sutou Kouhei +Copyright (c) 2012-2015 Kouhei Sutou +Copyright (c) 1995-2001 Corporation for National Research Initiatives +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation +copyright (c) 2008-2010 Kouhei Sutou and 2001-2008 Python Software Foundation +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands + +test-unit is copyrighted free software by Kouhei Sutou +, Ryan Davis +and Nathaniel Talbott . + +You can redistribute it and/or modify it under either the terms of the +2-clause BSDL (see the file BSDL), or the conditions below: + +1. You may make and give away verbatim copies of the source form of the + software without restriction, provided that you duplicate all of the + original copyright notices and associated disclaimers. + +2. You may modify your copy of the software in any way, provided that + you do at least ONE of the following: + + a. place your modifications in the Public Domain or otherwise + make them Freely Available, such as by posting said + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. + + b. use the modified software only within your corporation or + organization. + + c. give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d. make other distribution arrangements with the author. + +3. You may distribute the software in object code or binary form, + provided that you do at least ONE of the following: + + a. distribute the binaries and library files of the software, + together with instructions (in the manual page or equivalent) + on where to get the original distribution. + + b. accompany the distribution with the machine-readable source of + the software. + + c. give non-standard binaries non-standard names, with + instructions on where to get the original software distribution. + + d. make other distribution arrangements with the author. + +4. You may modify and include the part of the software into any other + software (possibly commercial). But some files in the distribution + are not written by the author, so that they are not under these terms. + + For the list of those files and their copying conditions, see the + file LEGAL. + +5. The scripts and library files supplied as input to or produced as + output from the software do not automatically fall under the + copyright of the software, but belong to whomever generated them, + and may be sold commercially, and may be aggregated with this + software. + +6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. + +Exceptions +---------- + + * lib/test/unit/diff.rb: This license and PSF license + + +------ + +** nokogiri; version 1.15.3 -- +Copyright 2010 Google Inc. +Copyright 2011 Google Inc. +Copyright 2018 Craig Barnes +Copyright 2017-2018 Craig Barnes +Copyright 2018 Stephen Checkoway +Copyright (c) 1998-2003 Daniel Veillard +Copyright (c) 1998-2012 Daniel Veillard +Copyright (c) 2001-2002 Daniel Veillard +copyrighted by the Free Software Foundation +Copyright 2013-2021 Sam Ruby, Stephen Checkoway +Copyright (c) 1991 Free Software Foundation, Inc. +Copyright 1992-2022 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. +Copyright (c) 1995-2017 Jean-loup Gailly and Mark Adler +Copyright (c) 2001-2003 Thai Open Source Software Center Ltd +Copyright (c) 2008-2009 Bjoern Hoehrmann +Copyright (c) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard +Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto) +Copyright 2008 2023 by Mike Dalessio, Aaron Patterson, Yoko Harada, Akinori MUSHA, John Shahid, Karol Bucek, Sam Ruby, Craig Barnes, Stephen Checkoway, Lars Kanis, Sergio Arbeo, Timothy Elliott, Nobuyoshi Nakada, Charles Nutter, Patrick Mahoney + +The MIT License + +Copyright 2008 -- 2023 by Mike Dalessio, Aaron Patterson, Yoko Harada, Akinori MUSHA, John Shahid, Karol Bucek, Sam Ruby, Craig Barnes, Stephen Checkoway, Lars Kanis, Sergio Arbeo, Timothy Elliott, Nobuyoshi Nakada, Charles Nutter, Patrick Mahoney. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + ------ ** marcel; version 1.0.2 -- @@ -4398,6 +4583,10 @@ Copyright (c) 1999-2004 Yukihiro Matsumoto Copyright (c) 1999-2007 Minero Aoki Copyright (c) 1993-2013 Yukihiro Matsumoto Copyright (c) 1999-2007 Yukihiro Matsumoto +** timeout; version 0.4.0 -- +Copyright (c) 1993-2013 Yukihiro Matsumoto +Copyright (c) 2000 Information-technology Promotion Agency, Japan +Copyright (c) 2000 Network Applied Communication Laboratory, Inc. ** webrick; version 1.8.1 -- Copyright (c) 2003 H.M. Copyright (c) 2002 Internet @@ -5014,76 +5203,6 @@ You can redistribute it and/or modify it under either the terms of the PURPOSE. ------- - -** test-unit; version 3.6.1 -- - -test-unit is copyrighted free software by Kouhei Sutou -, Ryan Davis -and Nathaniel Talbott . - -You can redistribute it and/or modify it under either the terms of the -2-clause BSDL (see the file BSDL), or the conditions below: - -1. You may make and give away verbatim copies of the source form of the - software without restriction, provided that you duplicate all of the - original copyright notices and associated disclaimers. - -2. You may modify your copy of the software in any way, provided that - you do at least ONE of the following: - - a. place your modifications in the Public Domain or otherwise - make them Freely Available, such as by posting said - modifications to Usenet or an equivalent medium, or by allowing - the author to include your modifications in the software. - - b. use the modified software only within your corporation or - organization. - - c. give non-standard binaries non-standard names, with - instructions on where to get the original software distribution. - - d. make other distribution arrangements with the author. - -3. You may distribute the software in object code or binary form, - provided that you do at least ONE of the following: - - a. distribute the binaries and library files of the software, - together with instructions (in the manual page or equivalent) - on where to get the original distribution. - - b. accompany the distribution with the machine-readable source of - the software. - - c. give non-standard binaries non-standard names, with - instructions on where to get the original software distribution. - - d. make other distribution arrangements with the author. - -4. You may modify and include the part of the software into any other - software (possibly commercial). But some files in the distribution - are not written by the author, so that they are not under these terms. - - For the list of those files and their copying conditions, see the - file LEGAL. - -5. The scripts and library files supplied as input to or produced as - output from the software do not automatically fall under the - copyright of the software, but belong to whomever generated them, - and may be sold commercially, and may be aggregated with this - software. - -6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR - IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE. - -Exceptions ----------- - - * lib/test/unit/diff.rb: This license and PSF license - - ------ ** net-imap; version 0.3.6 -- diff --git a/README.md b/README.md index a56c3e4d7..1405a7c8b 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ All new backend code and React components should be well tested. ## Prerequisites -- Node 14 +- Node.js 14 (we require 14 because we want the full internationalization built-in) - Yarn -- PostgreSQL 10 or 12 +- PostgreSQL 12 (10 probably works) - Ruby 2.7 - Ubuntu 18.04, 20.04, 22.04 or equivalent @@ -66,17 +66,9 @@ and create an issue with your test design or run test sessions for ### Installation prep -Houdini requires a few pieces of software be installed, as well as some optional -pieces which make development much easier. - -These include: - -- PostgreSQL 12 (10 probably works) -- NodeJS 14 (we require 14 because we want the full internationalization built-in) -- Ruby 2.7.7 - -There a few optional tools which make working on Houdini -easier +Houdini requires a few pieces of software be installed as mentioned in +Prerequisites above, as well as some optional pieces which make development much +easier. The optional tools include: - RBENV - rbenv is a version manager tool for the Ruby programming language on Unix-like systems. It is useful for switching between multiple Ruby versions on @@ -222,9 +214,13 @@ To verify everying is set up correctly, you can try running through the Ruby test cases: ```bash -./bin/rails spec +bin/rails spec ``` +(You can also run `bin/rspec`, which provides the full feature set of rspec such +as `--next-failure` and `--only-failures`, but does not set up a test database +when it doesn't exist.) + You should expect to see the output of the test execution, including messages about pending test cases, and eventually get the output to the effect of below: diff --git a/config/initializers/log_rage.rb b/config/initializers/log_rage.rb deleted file mode 100644 index b55c14274..000000000 --- a/config/initializers/log_rage.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -# Full license explanation at https://github.com/houdiniproject/houdini/blob/main/LICENSE -Rails.application.configure do - if Rails.env != 'test' - - config.lograge.enabled = true - # add time to lograge - config.lograge.custom_options = lambda do |event| - { time: event.time, - exception: event.payload[:exception], # ["ExceptionClass", "the message"] - exception_object: event.payload[:exception_object] } # the exception instance - end - end -end diff --git a/docs/getting_started.md b/docs/getting_started.md index 211101372..1327b1cd0 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -1,16 +1,5 @@ # Getting Started -## Dependencies - ---- - -You'll need to have the following dependencies installed: - -* Ruby 2.7 -* Node 14 -* Yarn -* PostgreSQL 10 or 12 - ## Local Config --- @@ -120,12 +109,6 @@ variable. For example: `NODE_ENV=development bin/rake assets:precompile` -## Testing - ---- - -Run `bundle exec rspec` to run test suite. - ## Formatting We are using [Standard](https://github.com/testdouble/standard) that is a