Skip to content
Permalink
Browse files

Normalizing final new lines (#1744)

* Enfore line ending config inside project

* Ammend all missing final new lines

I used the following script

```bash
for file in $(git grep --cached -Il '' | grep -v /vendor/)
do
  if [ -n "$(tail -c 1 < "$file")" ]
  then
    echo >> "$file"
  fi
done

```

* Add an editorconfig file

To try to minimize diff noise caused by different editors.
  • Loading branch information...
deivid-rodriguez authored and josepjaume committed Aug 16, 2017
1 parent f5d6698 commit 532e149b32a146a0a3c49f88ef5d48be8eadad72
Showing with 191 additions and 180 deletions.
  1. +1 −1 .dockerignore
  2. +9 −0 .editorconfig
  3. +2 −0 .gitattributes
  4. +1 −1 .yardopts
  5. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/extra/_categories.scss
  6. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/extra/_login.scss
  7. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/extra/_sort.scss
  8. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/modules/_typography.scss
  9. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/plugins/_select2.scss
  10. +1 −1 decidim-admin/app/assets/stylesheets/decidim/admin/utils/_toggle-expand.scss
  11. +1 −1 decidim-admin/app/views/decidim/admin/categories/_form.html.erb
  12. +1 −1 decidim-admin/app/views/decidim/admin/managed_users/impersonations/new.html.erb
  13. +1 −1 decidim-admin/app/views/decidim/admin/managed_users/new.html.erb
  14. +1 −1 decidim-admin/app/views/decidim/admin/managed_users/promotions/new.html.erb
  15. +1 −1 decidim-admin/app/views/decidim/admin/participatory_process_copies/_form.html.erb
  16. +1 −1 decidim-admin/app/views/decidim/admin/participatory_process_user_roles/edit.html.erb
  17. +1 −1 decidim-admin/app/views/decidim/admin/scope_types/_form.html.erb
  18. +1 −1 decidim-admin/app/views/decidim/admin/scope_types/edit.html.erb
  19. +1 −1 decidim-admin/app/views/decidim/admin/scopes/_form.html.erb
  20. +1 −1 decidim-admin/app/views/decidim/admin/scopes/edit.html.erb
  21. +1 −1 decidim-admin/app/views/layouts/decidim/admin/newsletters.erb
  22. +1 −1 decidim-admin/app/views/layouts/decidim/admin/pages.html.erb
  23. +1 −1 decidim-admin/app/views/layouts/decidim/admin/participatory_process_groups.html.erb
  24. +1 −1 decidim-admin/app/views/layouts/decidim/admin/settings.html.erb
  25. +1 −1 decidim-admin/config/locales/ca.yml
  26. +1 −1 decidim-admin/config/locales/es.yml
  27. +1 −1 decidim-admin/config/locales/eu.yml
  28. +1 −1 decidim-admin/config/locales/fi.yml
  29. +1 −1 decidim-admin/config/locales/fr.yml
  30. +1 −1 decidim-admin/config/locales/it.yml
  31. +1 −1 decidim-admin/config/locales/nl.yml
  32. +1 −1 decidim-admin/config/locales/pl.yml
  33. +1 −1 decidim-budgets/app/assets/stylesheets/decidim/budgets/_budgets.scss
  34. +1 −1 decidim-budgets/app/views/decidim/budgets/projects/_budget_excess.html.erb
  35. +1 −1 decidim-budgets/app/views/decidim/budgets/projects/_filters_small_view.html.erb
  36. +1 −1 decidim-budgets/config/locales/ca.yml
  37. +1 −1 decidim-budgets/config/locales/es.yml
  38. +1 −1 decidim-budgets/config/locales/eu.yml
  39. +1 −1 decidim-budgets/config/locales/fi.yml
  40. +1 −1 decidim-budgets/config/locales/fr.yml
  41. +1 −1 decidim-budgets/config/locales/it.yml
  42. +1 −1 decidim-budgets/config/locales/nl.yml
  43. +1 −1 decidim-budgets/config/locales/pl.yml
  44. +1 −1 decidim-comments/app/frontend/fragments/add_comment_form_commentable.fragment.graphql
  45. +1 −1 decidim-comments/app/frontend/fragments/add_comment_form_session.fragment.graphql
  46. +1 −1 decidim-comments/app/frontend/fragments/comment.fragment.graphql
  47. +1 −1 decidim-comments/app/frontend/fragments/comment_data.fragment.graphql
  48. +1 −1 decidim-comments/app/frontend/fragments/comment_thread.fragment.graphql
  49. +1 −1 decidim-comments/app/frontend/fragments/down_vote_button.fragment.graphql
  50. +1 −1 decidim-comments/app/frontend/fragments/up_vote_button.fragment.graphql
  51. +1 −1 decidim-comments/app/frontend/mutations/add_comment.mutation.graphql
  52. +1 −1 decidim-comments/app/frontend/mutations/down_vote.mutation.graphql
  53. +1 −1 decidim-comments/app/frontend/mutations/up_vote.mutation.graphql
  54. +1 −1 decidim-comments/app/frontend/queries/comments.query.graphql
  55. +1 −1 decidim-comments/app/views/decidim/comments/comment_notification_mailer/reply_created.html.erb
  56. +1 −1 decidim-comments/config/locales/ca.yml
  57. +1 −1 decidim-comments/config/locales/es.yml
  58. +1 −1 decidim-comments/config/locales/eu.yml
  59. +1 −1 decidim-comments/config/locales/fi.yml
  60. +1 −1 decidim-comments/config/locales/fr.yml
  61. +1 −1 decidim-comments/config/locales/it.yml
  62. +1 −1 decidim-comments/config/locales/nl.yml
  63. +1 −1 decidim-comments/config/locales/pl.yml
  64. +1 −1 decidim-core/app/assets/images/decidim/icons.svg
  65. +1 −1 decidim-core/app/assets/stylesheets/decidim/extras/_callout.scss
  66. +1 −1 decidim-core/app/assets/stylesheets/decidim/extras/_process_stats.scss
  67. +1 −1 decidim-core/app/assets/stylesheets/decidim/extras/_reference.scss
  68. +1 −1 decidim-core/app/assets/stylesheets/decidim/extras/_register_form.scss
  69. +1 −1 decidim-core/app/assets/stylesheets/decidim/extras/_social_icons_mini.scss
  70. +1 −1 decidim-core/app/assets/stylesheets/decidim/layouts/_home.scss
  71. +1 −1 decidim-core/app/assets/stylesheets/decidim/layouts/_view.scss
  72. +1 −1 decidim-core/app/assets/stylesheets/decidim/map.css
  73. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_author-avatar.scss
  74. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_callout.scss
  75. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_datepicker.scss
  76. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_definition-data.scss
  77. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_extra.scss
  78. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_flag.scss
  79. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_footer.scss
  80. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_forms.scss
  81. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_help.scss
  82. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_pagination.scss
  83. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_process-info.scss
  84. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_reference.scss
  85. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_reveal.scss
  86. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_signup.scss
  87. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_static-pages.scss
  88. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_tags.scss
  89. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_title-action.scss
  90. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_user-form.scss
  91. +1 −1 decidim-core/app/assets/stylesheets/decidim/modules/_video.scss
  92. +1 −1 decidim-core/app/assets/stylesheets/decidim/plugins/_select2.scss
  93. +1 −1 decidim-core/app/assets/stylesheets/decidim/utils/_toggle-expand.scss
  94. +1 −1 decidim-core/app/views/decidim/account/delete.html.erb
  95. +1 −1 decidim-core/app/views/decidim/participatory_processes/_statistics.html.erb
  96. +1 −1 decidim-core/app/views/decidim/reported_mailer/hide.html.erb
  97. +1 −1 decidim-core/app/views/decidim/reported_mailer/report.html.erb
  98. +1 −1 decidim-core/app/views/decidim/shared/_announcement.html.erb
  99. +1 −1 decidim-core/app/views/decidim/shared/_flag_modal.html.erb
  100. +1 −1 decidim-core/app/views/pages/home/_statistics.html.erb
  101. +1 −1 decidim-core/app/views/pages/home/_sub_hero.html.erb
  102. +1 −1 decidim-core/config/locales/ca.yml
  103. +1 −1 decidim-core/config/locales/es.yml
  104. +1 −1 decidim-core/config/locales/eu.yml
  105. +1 −1 decidim-core/config/locales/fi.yml
  106. +1 −1 decidim-core/config/locales/fr.yml
  107. +1 −1 decidim-core/config/locales/it.yml
  108. +1 −1 decidim-core/config/locales/nl.yml
  109. +1 −1 decidim-core/config/locales/pl.yml
  110. +1 −1 decidim-dev/config/locales/ca.yml
  111. +1 −1 decidim-dev/config/locales/es.yml
  112. +1 −1 decidim-dev/config/locales/eu.yml
  113. +1 −1 decidim-dev/config/locales/fi.yml
  114. +1 −1 decidim-dev/config/locales/fr.yml
  115. +1 −1 decidim-dev/config/locales/it.yml
  116. +1 −1 decidim-dev/config/locales/nl.yml
  117. +1 −1 decidim-dev/config/locales/pl.yml
  118. +1 −1 decidim-dev/lib/decidim/dev/test/rspec_support/phantomjs_polyfills/phantomjs-getOwnPropertyNames.js
  119. +1 −1 decidim-meetings/app/assets/images/decidim/meetings/icon.svg
  120. +1 −1 decidim-meetings/app/views/decidim/meetings/meetings/_datetime.html.erb
  121. +1 −1 decidim-meetings/app/views/decidim/meetings/meetings/_filters_small_view.html.erb
  122. +1 −1 decidim-meetings/config/locales/ca.yml
  123. +1 −1 decidim-meetings/config/locales/es.yml
  124. +1 −1 decidim-meetings/config/locales/eu.yml
  125. +1 −1 decidim-meetings/config/locales/fi.yml
  126. +1 −1 decidim-meetings/config/locales/fr.yml
  127. +1 −1 decidim-meetings/config/locales/it.yml
  128. +1 −1 decidim-meetings/config/locales/nl.yml
  129. +1 −1 decidim-meetings/config/locales/pl.yml
  130. +1 −1 decidim-pages/app/assets/images/decidim/pages/icon.svg
  131. +1 −1 decidim-pages/app/views/decidim/pages/admin/pages/_form.html.erb
  132. +1 −1 decidim-pages/config/locales/ca.yml
  133. +1 −1 decidim-pages/config/locales/es.yml
  134. +1 −1 decidim-pages/config/locales/eu.yml
  135. +1 −1 decidim-pages/config/locales/fi.yml
  136. +1 −1 decidim-pages/config/locales/fr.yml
  137. +1 −1 decidim-pages/config/locales/it.yml
  138. +1 −1 decidim-pages/config/locales/nl.yml
  139. +1 −1 decidim-pages/config/locales/pl.yml
  140. +1 −1 decidim-proposals/app/assets/images/decidim/proposals/icon.svg
  141. +1 −1 decidim-proposals/app/views/decidim/proposals/proposals/_filters_small_view.html.erb
  142. +1 −1 decidim-proposals/config/locales/ca.yml
  143. +1 −1 decidim-proposals/config/locales/es.yml
  144. +1 −1 decidim-proposals/config/locales/eu.yml
  145. +1 −1 decidim-proposals/config/locales/fi.yml
  146. +1 −1 decidim-proposals/config/locales/fr.yml
  147. +1 −1 decidim-proposals/config/locales/it.yml
  148. +1 −1 decidim-proposals/config/locales/nl.yml
  149. +1 −1 decidim-proposals/config/locales/pl.yml
  150. +1 −1 decidim-results/app/assets/images/decidim/results/icon.svg
  151. +1 −1 decidim-results/app/views/decidim/results/results/_filters_small_view.html.erb
  152. +1 −1 decidim-results/config/locales/ca.yml
  153. +1 −1 decidim-results/config/locales/es.yml
  154. +1 −1 decidim-results/config/locales/eu.yml
  155. +1 −1 decidim-results/config/locales/fi.yml
  156. +1 −1 decidim-results/config/locales/fr.yml
  157. +1 −1 decidim-results/config/locales/it.yml
  158. +1 −1 decidim-results/config/locales/nl.yml
  159. +1 −1 decidim-results/config/locales/pl.yml
  160. +1 −1 decidim-surveys/app/assets/images/decidim/surveys/icon.svg
  161. +1 −1 decidim-surveys/app/views/decidim/surveys/admin/surveys/_form.html.erb
  162. +1 −1 decidim-surveys/config/locales/ca.yml
  163. +1 −1 decidim-surveys/config/locales/es.yml
  164. +1 −1 decidim-surveys/config/locales/eu.yml
  165. +1 −1 decidim-surveys/config/locales/fi.yml
  166. +1 −1 decidim-surveys/config/locales/fr.yml
  167. +1 −1 decidim-surveys/config/locales/it.yml
  168. +1 −1 decidim-surveys/config/locales/nl.yml
  169. +1 −1 decidim-surveys/config/locales/pl.yml
  170. +1 −1 decidim-system/app/assets/stylesheets/decidim/system/_actions.scss
  171. +1 −1 decidim-system/app/assets/stylesheets/decidim/system/_layout.scss
  172. +1 −1 decidim-system/app/assets/stylesheets/decidim/system/_login.scss
  173. +1 −1 decidim-system/app/assets/stylesheets/decidim/system/_tables.scss
  174. +1 −1 decidim-system/config/locales/ca.yml
  175. +1 −1 decidim-system/config/locales/es.yml
  176. +1 −1 decidim-system/config/locales/eu.yml
  177. +1 −1 decidim-system/config/locales/fi.yml
  178. +1 −1 decidim-system/config/locales/fr.yml
  179. +1 −1 decidim-system/config/locales/it.yml
  180. +1 −1 decidim-system/config/locales/nl.yml
  181. +1 −1 decidim-system/config/locales/pl.yml
  182. +1 −1 jsconfig.json
@@ -2,4 +2,4 @@
.byebug_history
pkg/
.git
.github
.github
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@@ -1 +1,3 @@
* text=auto
*/vendor/* -text
bundle.js binary
@@ -5,4 +5,4 @@ app/**/*.rb
lib/**/*.rb
docs/*.md
README.md
LICENSE-AGPLv3.txt
LICENSE-AGPLv3.txt
@@ -2,4 +2,4 @@
td:first-child{
padding-left: 20px
}
}
}
@@ -33,4 +33,4 @@ body.login{
padding: $global-padding;
}
}
}
}
@@ -9,4 +9,4 @@

.icon--move {
vertical-align: middle;
}
}
@@ -16,4 +16,4 @@

.text-info{
color: $secondary;
}
}
@@ -24,4 +24,4 @@
right: 4px;
}
}
}
}
@@ -5,4 +5,4 @@
&.is-expanded{
display: block;
}
}
}
@@ -17,4 +17,4 @@
<%= select :category, :parent_id, @form.parent_categories.collect { |c| [c.name[current_organization.default_locale], c.id] }, include_blank: true %>
</div>
</div>
</div>
</div>
@@ -12,4 +12,4 @@
<div class="button--double form-general-submit">
<%= f.submit t(".impersonate") %>
</div>
<% end %>
<% end %>
@@ -44,4 +44,4 @@
<%= f.submit t(".create") %>
</div>
<% end %>
<% end %>
<% end %>
@@ -18,4 +18,4 @@
<div class="button--double form-general-submit">
<%= f.submit t(".promote") %>
</div>
<% end %>
<% end %>
@@ -35,4 +35,4 @@
</div>
</div>
</div>
</div>
</div>
@@ -4,4 +4,4 @@
<div class="button--double form-general-submit">
<%= f.submit t(".update") %>
</div>
<% end %>
<% end %>
@@ -4,4 +4,4 @@
</div>
<div class="row column">
<%= form.translated :text_field, :plural %>
</div>
</div>
@@ -10,4 +10,4 @@
<div class="button--double form-general-submit">
<%= f.submit t(".update") %>
</div>
<% end %>
<% end %>
@@ -10,4 +10,4 @@
<div class="columns xlarge-6">
<%= form.collection_select :scope_type_id, organization_scope_types, :id, :name %>
</div>
</div>
</div>
@@ -10,4 +10,4 @@
<div class="button--double form-general-submit">
<%= f.submit t(".update") %>
</div>
<% end %>
<% end %>
@@ -11,4 +11,4 @@

<%= render "layouts/decidim/admin/application" do %>
<%= yield %>
<% end %>
<% end %>
@@ -11,4 +11,4 @@

<%= render "layouts/decidim/admin/application" do %>
<%= yield %>
<% end %>
<% end %>
@@ -11,4 +11,4 @@

<%= render "layouts/decidim/admin/application" do %>
<%= yield %>
<% end %>
<% end %>
@@ -19,4 +19,4 @@

<%= render "layouts/decidim/admin/application" do %>
<%= yield %>
<% end %>
<% end %>
@@ -636,4 +636,4 @@ ca:
time:
formats:
datepicker: "%m/%d/%Y"
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -636,4 +636,4 @@ es:
time:
formats:
datepicker: "%m/%d/%Y"
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -561,4 +561,4 @@ eu:
time:
formats:
datepicker: "%Y / %m / %d"
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -403,4 +403,4 @@ fi:
none: Ei ryhmää
time:
formats:
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -525,4 +525,4 @@ fr:
time:
formats:
datepicker: "%m / %j / %A"
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -466,4 +466,4 @@ it:
settings:
title: Impostazioni
users:
title: Utenti
title: Utenti
@@ -5,4 +5,4 @@ nl:
description: Beschrijving
time:
formats:
timepicker: "%d/%m/%Y %H:%M"
timepicker: "%d/%m/%Y %H:%M"
@@ -4,4 +4,4 @@ pl:
category:
name: Nazwa
feature:
name: Nazwa
name: Nazwa
@@ -1 +1 @@
@import "budget/*";
@import "budget/*";
@@ -11,4 +11,4 @@
<button data-close class="button expanded"><%= t('.ok') %></button>
</div>
</div>
</div>
</div>
@@ -15,4 +15,4 @@
<div class="filters">
<%= render partial: "filters" %>
</div>
</div>
</div>
@@ -127,4 +127,4 @@ ca:
project_proposals: 'Propostes incloses en aquest projecte:'
index:
confirmed_orders_count: Nombre de vots
total_budget: Pressupost total
total_budget: Pressupost total
@@ -127,4 +127,4 @@ es:
project_proposals: 'Propuestas incluidas en este proyecto:'
index:
confirmed_orders_count: Número de votos
total_budget: Presupuesto total
total_budget: Presupuesto total
@@ -127,4 +127,4 @@ eu:
project_proposals: 'Proiektu honetan jasotako proposamenak:'
index:
confirmed_orders_count: Boto-kopurua
total_budget: Guztizko aurrekontua
total_budget: Guztizko aurrekontua
@@ -117,4 +117,4 @@ fi:
success: Äänesi on peruttu onnistuneesti
index:
confirmed_orders_count: Tilauksien määrä
total_budget: Koko budjetti
total_budget: Koko budjetti
@@ -126,4 +126,4 @@ fr:
project_proposals: 'Propositions incluses dans ce projet:'
index:
confirmed_orders_count: Nombre de votes comptés
total_budget: Budget total
total_budget: Budget total
@@ -123,4 +123,4 @@ it:
project_proposals: 'Proposte incluse in questo progetto:'
index:
confirmed_orders_count: Conteggio ordini
total_budget: Budget totale
total_budget: Budget totale
@@ -2,4 +2,4 @@ nl:
activemodel:
attributes:
project:
description: Beschrijving
description: Beschrijving
@@ -2,4 +2,4 @@ pl:
decidim:
budgets:
actions:
new: Nowy
new: Nowy
@@ -1,4 +1,4 @@
fragment AddCommentFormCommentable on Commentable {
id
type
}
}
@@ -3,4 +3,4 @@ fragment AddCommentFormSession on Session {
id
name
}
}
}
@@ -11,4 +11,4 @@ fragment Comment on Comment {
}
}
}
}
}
@@ -20,4 +20,4 @@ fragment CommentData on Comment {
alreadyReported
...UpVoteButton
...DownVoteButton
}
}
@@ -3,4 +3,4 @@
fragment CommentThread on Comment {
hasComments
...Comment
}
}
@@ -3,4 +3,4 @@ fragment DownVoteButton on Comment {
downVotes
downVoted
upVoted
}
}
@@ -3,4 +3,4 @@ fragment UpVoteButton on Comment {
upVotes
upVoted
downVoted
}
}
@@ -6,4 +6,4 @@ mutation addComment($commentableId: String!, $commentableType: String!, $body: S
...CommentThread
}
}
}
}
@@ -6,4 +6,4 @@ mutation DownVote($id: ID!) {
...Comment
}
}
}
}
@@ -6,4 +6,4 @@ mutation UpVote($id: ID!) {
...Comment
}
}
}
}
@@ -20,4 +20,4 @@ query GetComments($commentableId: String!, $commentableType: String!, $orderBy:
}
...AddCommentFormCommentable
}
}
}
@@ -15,4 +15,4 @@

<p>
<%= t("decidim.comments.comment_notification_mailer.manage_email_subscriptions_html", link: link_to(t("decidim.comments.comment_notification_mailer.notifications_settings_link"), decidim.notifications_settings_url(host: @organization.host))) %>
</p>
</p>
@@ -70,4 +70,4 @@ ca:
loading: Carregant els comentaris ...
title: "%{count} comentaris"
featured_comment:
title: Comentari destacat
title: Comentari destacat
@@ -70,4 +70,4 @@ es:
loading: Cargando los comentarios ...
title: "%{count} comentarios"
featured_comment:
title: Comentario destacado
title: Comentario destacado

0 comments on commit 532e149

Please sign in to comment.
You can’t perform that action at this time.