Skip to content
Snippets Groups Projects
Commit 33d6b1a4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Suppression du cookie consent (conforme CNIL)

parent 182d6faa
No related branches found
No related tags found
No related merge requests found
Showing
with 3 additions and 46 deletions
...@@ -27,7 +27,6 @@ gem "enum_help" ...@@ -27,7 +27,6 @@ gem "enum_help"
gem "faceted_search" gem "faceted_search"
gem "font-awesome-sass" gem "font-awesome-sass"
gem "front_matter_parser" gem "front_matter_parser"
gem "gdpr", "~> 1.2.5"
gem "geocoder", "~> 1.8" gem "geocoder", "~> 1.8"
gem "geo_point" gem "geo_point"
gem "gitlab" gem "gitlab"
......
...@@ -93,7 +93,7 @@ GEM ...@@ -93,7 +93,7 @@ GEM
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
tzinfo (~> 2.0) tzinfo (~> 2.0)
addressable (2.8.2) addressable (2.8.3)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 6.0)
angularjs-rails (1.8.0) angularjs-rails (1.8.0)
annotate (3.2.0) annotate (3.2.0)
...@@ -102,7 +102,7 @@ GEM ...@@ -102,7 +102,7 @@ GEM
autoprefixer-rails (10.4.13.0) autoprefixer-rails (10.4.13.0)
execjs (~> 2) execjs (~> 2)
aws-eventstream (1.2.0) aws-eventstream (1.2.0)
aws-partitions (1.740.0) aws-partitions (1.742.0)
aws-sdk-core (3.171.0) aws-sdk-core (3.171.0)
aws-eventstream (~> 1, >= 1.0.2) aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.651.0) aws-partitions (~> 1, >= 1.651.0)
...@@ -111,7 +111,7 @@ GEM ...@@ -111,7 +111,7 @@ GEM
aws-sdk-kms (1.63.0) aws-sdk-kms (1.63.0)
aws-sdk-core (~> 3, >= 3.165.0) aws-sdk-core (~> 3, >= 3.165.0)
aws-sigv4 (~> 1.1) aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.120.0) aws-sdk-s3 (1.120.1)
aws-sdk-core (~> 3, >= 3.165.0) aws-sdk-core (~> 3, >= 3.165.0)
aws-sdk-kms (~> 1) aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4) aws-sigv4 (~> 1.4)
...@@ -224,10 +224,6 @@ GEM ...@@ -224,10 +224,6 @@ GEM
font-awesome-sass (6.4.0) font-awesome-sass (6.4.0)
sassc (~> 2.0) sassc (~> 2.0)
front_matter_parser (1.0.1) front_matter_parser (1.0.1)
gdpr (1.2.5)
js_cookie_rails
rails
sassc-rails
geo_calc (0.7.8) geo_calc (0.7.8)
activesupport (>= 3.0.1) activesupport (>= 3.0.1)
geo_units (~> 0.3.2) geo_units (~> 0.3.2)
...@@ -279,8 +275,6 @@ GEM ...@@ -279,8 +275,6 @@ GEM
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
jquery-ui-rails (6.0.1) jquery-ui-rails (6.0.1)
railties (>= 3.2.16) railties (>= 3.2.16)
js_cookie_rails (2.2.0)
railties (>= 3.1)
json (2.6.3) json (2.6.3)
jwt (2.7.0) jwt (2.7.0)
kamifusen (1.11.2) kamifusen (1.11.2)
...@@ -588,7 +582,6 @@ DEPENDENCIES ...@@ -588,7 +582,6 @@ DEPENDENCIES
figaro figaro
font-awesome-sass font-awesome-sass
front_matter_parser front_matter_parser
gdpr (~> 1.2.5)
geo_point geo_point
geocoder (~> 1.8) geocoder (~> 1.8)
gitlab gitlab
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
//= require cropperjs/dist/cropper //= require cropperjs/dist/cropper
//= require jquery-cropper/dist/jquery-cropper //= require jquery-cropper/dist/jquery-cropper
//= require appstack/app //= require appstack/app
//= require gdpr/cookie_consent
//= require sortablejs/Sortable //= require sortablejs/Sortable
//= require summernote/summernote-bs5 //= require summernote/summernote-bs5
//= require slug/slug //= require slug/slug
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
//= require jquery-cropper/dist/jquery-cropper //= require jquery-cropper/dist/jquery-cropper
// TODO remove appstack js // TODO remove appstack js
//= require appstack/app //= require appstack/app
//= require gdpr/cookie_consent
//= require sortablejs/Sortable //= require sortablejs/Sortable
//= require summernote/summernote-bs5 //= require summernote/summernote-bs5
//= require slug/slug //= require slug/slug
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
//= require simple_form_password_with_hints //= require simple_form_password_with_hints
//= require simple_form_bs5_file_input //= require simple_form_bs5_file_input
//= require summernote/summernote-bs5 //= require summernote/summernote-bs5
//= require gdpr/cookie_consent
//= require autocomplete-rails //= require autocomplete-rails
//= require_tree ./application/plugins //= require_tree ./application/plugins
//= require_self //= require_self
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
//= require simple_form_bs5_file_input //= require simple_form_bs5_file_input
//= require cropperjs/dist/cropper //= require cropperjs/dist/cropper
//= require jquery-cropper/dist/jquery-cropper //= require jquery-cropper/dist/jquery-cropper
//= require gdpr/cookie_consent
//= require_self //= require_self
//= require_tree ./admin/plugins //= require_tree ./admin/plugins
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
//= require simple_form_password_with_hints //= require simple_form_password_with_hints
//= require simple_form_bs5_file_input //= require simple_form_bs5_file_input
//= require summernote/summernote-bs5 //= require summernote/summernote-bs5
//= require gdpr/cookie_consent
//= require autocomplete-rails //= require autocomplete-rails
//= require_tree ./application/plugins //= require_tree ./application/plugins
//= require_tree ./extranet //= require_tree ./extranet
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
@import 'simple_form_bs5_file_input' @import 'simple_form_bs5_file_input'
@import 'summernote-bs5' @import 'summernote-bs5'
@import 'cropperjs/dist/cropper' @import 'cropperjs/dist/cropper'
@import 'gdpr/cookie_consent'
@import 'codemirror/lib/codemirror' @import 'codemirror/lib/codemirror'
@import '../commons/*' @import '../commons/*'
@import 'commons/*' @import 'commons/*'
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
@import 'simple_form_bs5_file_input' @import 'simple_form_bs5_file_input'
@import 'summernote-bs5' @import 'summernote-bs5'
@import 'cropperjs/dist/cropper' @import 'cropperjs/dist/cropper'
@import 'gdpr/cookie_consent'
@import 'codemirror/lib/codemirror' @import 'codemirror/lib/codemirror'
@import '../commons/*' @import '../commons/*'
@import 'commons/*' @import 'commons/*'
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
@import 'simple_form_password_with_hints' @import 'simple_form_password_with_hints'
@import 'simple_form_bs5_file_input' @import 'simple_form_bs5_file_input'
@import 'cropperjs/dist/cropper' @import 'cropperjs/dist/cropper'
@import 'gdpr/cookie_consent'
@import 'faceted_search' @import 'faceted_search'
@import 'commons/*' @import 'commons/*'
@import 'application/*' @import 'application/*'
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
@import 'simple_form_password_with_hints' @import 'simple_form_password_with_hints'
@import 'simple_form_bs5_file_input' @import 'simple_form_bs5_file_input'
@import 'summernote-bs5' @import 'summernote-bs5'
@import 'gdpr/cookie_consent'
@import 'cropperjs/dist/cropper' @import 'cropperjs/dist/cropper'
@import 'commons/summernote' @import 'commons/summernote'
@import 'commons/bootstrap-icons' @import 'commons/bootstrap-icons'
......
...@@ -143,9 +143,6 @@ ...@@ -143,9 +143,6 @@
<%= link_to t("#{term}"), t("#{term}_url"), target: '_blank', rel: 'noreferrer' %> <%= link_to t("#{term}"), t("#{term}_url"), target: '_blank', rel: 'noreferrer' %>
</li> </li>
<% end %> <% end %>
<li class="list-inline-item">
<%= link_to t('cookies_consent_choice'), '', class: 'js-gdpr__cookie_consent__display_again' %>
</li>
</ul> </ul>
</div> </div>
<% end %> <% end %>
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
</div> </div>
</div> </div>
<%= javascript_include_tag 'admin/appstack' %> <%= javascript_include_tag 'admin/appstack' %>
<%= render 'gdpr/cookie_consent' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
<%= render 'summernote_localization' %> <%= render 'summernote_localization' %>
</body> </body>
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
<%= render "admin/layouts/themes/pure/commands" %> <%= render "admin/layouts/themes/pure/commands" %>
<%= render "admin/layouts/themes/pure/footer" %> <%= render "admin/layouts/themes/pure/footer" %>
<%= javascript_include_tag 'admin/pure' %> <%= javascript_include_tag 'admin/pure' %>
<%= render 'gdpr/cookie_consent' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
<%= render 'summernote_localization' %> <%= render 'summernote_localization' %>
</body> </body>
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<%= yield %> <%= yield %>
</main> </main>
<%= render 'footer' %> <%= render 'footer' %>
<%= render 'gdpr/cookie_consent' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
</body> </body>
</html> </html>
...@@ -19,9 +19,6 @@ ...@@ -19,9 +19,6 @@
class: 'nav-link ps-0', class: 'nav-link ps-0',
target: '_blank', target: '_blank',
rel: 'noreferrer' %> rel: 'noreferrer' %>
<%= link_to t('cookies_consent_choice'),
'',
class: 'nav-link js-gdpr__cookie_consent__display_again ps-0' %>
</nav> </nav>
</div> </div>
</footer> </footer>
...@@ -45,10 +45,6 @@ about = current_extranet.about ...@@ -45,10 +45,6 @@ about = current_extranet.about
target: '_blank', target: '_blank',
rel: 'noreferrer' if current_extranet.has_cookies_policy? %> rel: 'noreferrer' if current_extranet.has_cookies_policy? %>
<%= link_to t('extranet.data'), data_path %> <%= link_to t('extranet.data'), data_path %>
<%= link_to t('cookies_consent_choice'),
'',
class: 'js-gdpr__cookie_consent__display_again' %>
<%= t 'extranet.osuny_html' %> <%= t 'extranet.osuny_html' %>
</nav> </nav>
</div> </div>
......
<div class="gdpr__cookie_consent js-gdpr__cookie_consent">
<div class="gdpr__cookie_consent__text">
<%= t('gdpr.cookie_consent.text') %>
<%= t('gdpr.cookie_consent.learn_more_html', link: cookies_policy_path) %>
</div>
<div class="gdpr__cookie_consent__buttons">
<button class="gdpr__cookie_consent__buttons__ok js-gdpr__cookie_consent__buttons__ok btn btn-primary btn-sm btn-xs"> <%= t('gdpr.cookie_consent.button_ok') %></button>
<button class="gdpr__cookie_consent__buttons__ko js-gdpr__cookie_consent__buttons__ko btn btn-primary btn-sm btn-xs"> <%= t('gdpr.cookie_consent.button_ko') %></button>
</div>
</div>
\ No newline at end of file
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<%= yield %> <%= yield %>
</main> </main>
<%= render 'extranet/application/footer' %> <%= render 'extranet/application/footer' %>
<%= render 'extranet/gdpr/cookie_consent' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
<%= javascript_include_tag 'extranet' %> <%= javascript_include_tag 'extranet' %>
<script src="https://example.osuny.org/js/extranet.js"></script> <script src="https://example.osuny.org/js/extranet.js"></script>
......
...@@ -24,12 +24,10 @@ ...@@ -24,12 +24,10 @@
<%= link_to t('terms_of_service'), terms_path, rel: 'noreferrer' if current_extranet.has_terms? %> <%= link_to t('terms_of_service'), terms_path, rel: 'noreferrer' if current_extranet.has_terms? %>
<%= link_to t('privacy_policy'), privacy_policy_path, rel: 'noreferrer' if current_extranet.has_privacy_policy? %> <%= link_to t('privacy_policy'), privacy_policy_path, rel: 'noreferrer' if current_extranet.has_privacy_policy? %>
<%= link_to t('cookies_policy'), cookies_policy_path, rel: 'noreferrer' if current_extranet.has_cookies_policy? %> <%= link_to t('cookies_policy'), cookies_policy_path, rel: 'noreferrer' if current_extranet.has_cookies_policy? %>
<%= link_to t('cookies_consent_choice'), '', class: 'js-gdpr__cookie_consent__display_again' %>
</footer> </footer>
</div> </div>
</div> </div>
</main> </main>
<%= render 'extranet/gdpr/cookie_consent' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
<%= javascript_include_tag 'extranet' %> <%= javascript_include_tag 'extranet' %>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment