Skip to content

Commit

Permalink
chore: update to 0.27.9 version (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: Hadrien Froger <[email protected]>
  • Loading branch information
froger and Hadrien Froger authored Dec 2, 2024
1 parent fdca623 commit 4e761e0
Show file tree
Hide file tree
Showing 160 changed files with 8,684 additions and 5,348 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM octree/voca-decidim:0.27
FROM octree/voca-decidim:0.27-bullseye
ENV PM2_RUN="decidim,sidekiq" \
ROOT="/home/decidim/app" \
NODE_ENV=development \
Expand All @@ -14,21 +14,25 @@ RUN apt-get update -yq \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& truncate -s 0 /var/log/*log \
&& rm -rf /usr/local/bundle/cache \

# Configure bundle
&& cd $ROOT \
&& bundle config set path "vendor" \
&& bundle config set path "$ROOT/vendor" \
&& bundle config set without "development:test" \
&& bundle config set no_cache "true" \
&& bundle config set deployment "false" \
&& bundle config set deployment "true" \
&& rm -rf vendor voca/Gemfile.lock \
&& rm -rf db/migrate/*
&& rm -rf db/migrate/*

COPY ./contrib/01_mautic_entrypoint /docker-entrypoint.d/01_mautic_entrypoint
COPY ./contrib/99_recompile /docker-entrypoint.d/99_recompile
COPY --chown=decidim:decidim ./contrib/nginx/nginx.conf /etc/nginx/nginx.conf
COPY --chown=decidim:decidim . $ROOT
RUN export RAILS_SECRET_KEY_BASE=assets \

RUN RAILS_SECRET_KEY_BASE=assets \
&& bundle install \
&& bundle config set deployment "true"
&& npm ci \
&& bundle exec rails assets:precompile \
&& rm -rf node_modules .npm .bundle

CMD ["pm2-runtime", "start", "config/ecosystem.config.js", "--only", "$PM2_RUN"]
CMD ["pm2-runtime", "start", "config/ecosystem.config.js", "--only", "$PM2_RUN"]
14 changes: 14 additions & 0 deletions app/views/static/api/docs/directive/deprecated/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -599,6 +606,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/directive/include/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -598,6 +605,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/directive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -570,6 +577,13 @@
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/directive/skip/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -598,6 +605,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/enum/__directivelocation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,13 @@ <h4 id="input_field_definition" class="name anchored">
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -661,6 +668,13 @@ <h4 id="input_field_definition" class="name anchored">
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/enum/__typekind/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@ <h4 id="non_null" class="name anchored">
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -611,6 +618,13 @@ <h4 id="non_null" class="name anchored">
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/enum/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -570,6 +577,13 @@
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
15 changes: 15 additions & 0 deletions app/views/static/api/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<h3>
<a id="using-the-graphql-api" class="anchor" href="#using-the-graphql-api" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Using the GraphQL APi</h3>
<p>The GraphQL format is a JSON formatted text that is specified in a query. Response is a JSON object as well. For details about specification check the official <a href="https://graphql.org/learn/">GraphQL site</a>.</p>
<p>Exercise caution when utilizing the output of this API, as it may include HTML that has not been escaped. Take particular care in handling this data, specially if you intend to render it on a webpage.</p>
<p>For instance, you can check the version of a Decidim installation by using <code>curl</code> in the terminal:</p>
<pre><code>curl -sSH "Content-Type: application/json" \
-d '{"query": "{ decidim { version } }"}' \
Expand Down Expand Up @@ -724,6 +725,13 @@ <h4>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -1067,6 +1075,13 @@ <h4>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/input_object/categoryfilter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -577,6 +584,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/input_object/componentfilter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -613,6 +620,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/input_object/componentsort/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -601,6 +608,13 @@ <h2>
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
14 changes: 14 additions & 0 deletions app/views/static/api/docs/input_object/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@
</li>


<li>
<a href="/api/docs/object/localizedcustomfields/" class="sidebar-link">
LocalizedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/localizedstring/" class="sidebar-link">
LocalizedString
Expand Down Expand Up @@ -570,6 +577,13 @@
</li>


<li>
<a href="/api/docs/object/translatedcustomfields/" class="sidebar-link">
TranslatedCustomFields
</a>
</li>


<li>
<a href="/api/docs/object/translatedfield/" class="sidebar-link">
TranslatedField
Expand Down
Loading

0 comments on commit 4e761e0

Please sign in to comment.