decidim 0.7.4 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of decidim might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/Gemfile.lock +74 -63
- data/README.md +33 -37
- data/Rakefile +40 -33
- data/docs/getting_started.md +0 -14
- data/docs/managing_translations_i18n.md +24 -0
- data/docs/testing.md +1 -1
- data/docs/view_hooks.md +74 -0
- data/lib/decidim.rb +2 -0
- data/lib/decidim/version.rb +1 -1
- data/lib/generators/decidim/app_generator.rb +9 -15
- data/lib/generators/decidim/docker_generator.rb +12 -14
- data/lib/generators/decidim/install_generator.rb +1 -1
- data/lib/generators/decidim/templates/Dockerfile.erb +1 -1
- data/lib/generators/decidim/templates/docker-compose.yml.erb +2 -23
- metadata +57 -79
- data/.babelrc +0 -17
- data/.circleci/config.yml +0 -387
- data/.codeclimate.yml +0 -57
- data/.csslintrc +0 -2
- data/.decidim-version +0 -1
- data/.dockerignore +0 -5
- data/.editorconfig +0 -9
- data/.eslintignore +0 -15
- data/.eslintrc.json +0 -277
- data/.gitattributes +0 -3
- data/.github/ISSUE_TEMPLATE.md +0 -31
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -16
- data/.gitignore +0 -15
- data/.inch.yml +0 -5
- data/.rubocop.yml +0 -1278
- data/.ruby-version +0 -1
- data/.simplecov +0 -12
- data/.yardopts +0 -8
- data/CHANGELOG.md +0 -1875
- data/CODE_OF_CONDUCT.md +0 -49
- data/Dockerfile.ci +0 -28
- data/codecov.yml +0 -104
- data/config/i18n-tasks.yml +0 -135
- data/crowdin.yaml +0 -3
- data/decidim.gemspec +0 -44
- data/docker-compose.yml +0 -27
- data/jsconfig.json +0 -3
- data/lib/generators/decidim/templates/Dockerfile.dev.erb +0 -21
- data/lib/generators/decidim/templates/decidim/dummy_authorization_handler.rb +0 -27
- data/logo.svg +0 -62
- data/package-lock.json +0 -11607
- data/package.json +0 -108
- data/spec/generator_spec.rb +0 -51
- data/spec/i18n_spec.rb +0 -37
- data/tsconfig.json +0 -21
- data/tslint.json +0 -11
- data/webpack.config.js +0 -82
- data/webpack.d.ts +0 -5
data/.codeclimate.yml
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
engines:
|
3
|
-
bundler-audit:
|
4
|
-
enabled: true
|
5
|
-
csslint:
|
6
|
-
enabled: true
|
7
|
-
exclude_paths:
|
8
|
-
- "decidim-core/app/assets/stylesheets/decidim/email.css"
|
9
|
-
duplication:
|
10
|
-
enabled: true
|
11
|
-
config:
|
12
|
-
languages:
|
13
|
-
javascript:
|
14
|
-
mass_threshold: 1000
|
15
|
-
ruby:
|
16
|
-
mass_threshold: 80
|
17
|
-
exclude_fingerprints:
|
18
|
-
- 3806e0c6847f506e683c8bc4133b22e5
|
19
|
-
- ae2cee64fca2a95102d03e03b9ffb54f
|
20
|
-
- 6c2da054d1cb001d86033cf36f6dac04
|
21
|
-
- cf5598d5182f0e2ec0afbcab63a2b017
|
22
|
-
exclude_paths:
|
23
|
-
- "decidim-*/spec/**/*"
|
24
|
-
eslint:
|
25
|
-
enabled: false
|
26
|
-
fixme:
|
27
|
-
enabled: true
|
28
|
-
exclude_paths:
|
29
|
-
- decidim-comments/app/assets/javascripts/decidim/comments/bundle.js.map
|
30
|
-
- .rubocop.yml
|
31
|
-
grep:
|
32
|
-
enabled: true
|
33
|
-
config:
|
34
|
-
patterns:
|
35
|
-
no-trailing-whitespace:
|
36
|
-
pattern: \s*$
|
37
|
-
annotation: "Don't leave trailing whitespace"
|
38
|
-
severity: minor
|
39
|
-
categories: Style
|
40
|
-
rubocop:
|
41
|
-
enabled: true
|
42
|
-
channel: rubocop-0-50
|
43
|
-
|
44
|
-
ratings:
|
45
|
-
paths:
|
46
|
-
- Gemfile.lock
|
47
|
-
- "**.css"
|
48
|
-
- "**.js"
|
49
|
-
- "**.rb"
|
50
|
-
exclude_paths:
|
51
|
-
- "**/vendor/**/*"
|
52
|
-
- "bundle.js"
|
53
|
-
- "node_modules/**/*"
|
54
|
-
- "development_app/**/*"
|
55
|
-
- "docker_development_app/**/*"
|
56
|
-
- "spec/decidim_dummy_app/**/*"
|
57
|
-
- "coverage/**/*"
|
data/.csslintrc
DELETED
data/.decidim-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.7.4
|
data/.dockerignore
DELETED
data/.editorconfig
DELETED
data/.eslintignore
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
**/*{.,-}min.js
|
2
|
-
decidim-*/vendor/**/*.js
|
3
|
-
spec/decidim_dummy_app/**/*.js
|
4
|
-
docker_development_app
|
5
|
-
development_app
|
6
|
-
**/node_modules/**
|
7
|
-
bundle.js
|
8
|
-
karma.conf.js
|
9
|
-
webpack.config.js
|
10
|
-
webpack.config.babel.js
|
11
|
-
entry.test.js
|
12
|
-
entry.js
|
13
|
-
*_manifest.js
|
14
|
-
coverage
|
15
|
-
decidim-dev/**/*/test/**/*.js
|
data/.eslintrc.json
DELETED
@@ -1,277 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"env": {
|
3
|
-
"browser": true,
|
4
|
-
"es6": true
|
5
|
-
},
|
6
|
-
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
7
|
-
"parser": "babel-eslint",
|
8
|
-
"parserOptions": {
|
9
|
-
"ecmaFeatures": {
|
10
|
-
"experimentalObjectRestSpread": true,
|
11
|
-
"jsx": true
|
12
|
-
},
|
13
|
-
"sourceType": "module"
|
14
|
-
},
|
15
|
-
"plugins": [
|
16
|
-
"react"
|
17
|
-
],
|
18
|
-
"globals": {
|
19
|
-
"$": false,
|
20
|
-
"jQuery": false,
|
21
|
-
"React": false,
|
22
|
-
"ReactDOM": false,
|
23
|
-
"describe": false,
|
24
|
-
"it": false,
|
25
|
-
"expect": false,
|
26
|
-
"beforeEach": false,
|
27
|
-
"afterEach": false,
|
28
|
-
"sinon": false,
|
29
|
-
"GraphQLDocs": false,
|
30
|
-
"Quill": false,
|
31
|
-
"SVGInjector": false,
|
32
|
-
"require": false,
|
33
|
-
"DecidimAdmin": false,
|
34
|
-
"L": false
|
35
|
-
},
|
36
|
-
"rules": {
|
37
|
-
"accessor-pairs": "error",
|
38
|
-
"array-bracket-spacing": "error",
|
39
|
-
"array-callback-return": "error",
|
40
|
-
"arrow-body-style": "off",
|
41
|
-
"arrow-parens": [
|
42
|
-
"error",
|
43
|
-
"always"
|
44
|
-
],
|
45
|
-
"arrow-spacing": [
|
46
|
-
"error",
|
47
|
-
{
|
48
|
-
"after": true,
|
49
|
-
"before": true
|
50
|
-
}
|
51
|
-
],
|
52
|
-
"block-scoped-var": "error",
|
53
|
-
"block-spacing": "off",
|
54
|
-
"callback-return": "error",
|
55
|
-
"camelcase": "error",
|
56
|
-
"class-methods-use-this": "off",
|
57
|
-
"comma-dangle": ["error", "never"],
|
58
|
-
"comma-spacing": [
|
59
|
-
"error",
|
60
|
-
{
|
61
|
-
"after": true,
|
62
|
-
"before": false
|
63
|
-
}
|
64
|
-
],
|
65
|
-
"comma-style": [
|
66
|
-
"error",
|
67
|
-
"last"
|
68
|
-
],
|
69
|
-
"complexity": "error",
|
70
|
-
"computed-property-spacing": [
|
71
|
-
"error",
|
72
|
-
"never"
|
73
|
-
],
|
74
|
-
"consistent-return": "error",
|
75
|
-
"consistent-this": "error",
|
76
|
-
"curly": "error",
|
77
|
-
"default-case": "error",
|
78
|
-
"dot-location": "error",
|
79
|
-
"dot-notation": "error",
|
80
|
-
"eol-last": "error",
|
81
|
-
"eqeqeq": "error",
|
82
|
-
"func-call-spacing": "error",
|
83
|
-
"func-name-matching": "error",
|
84
|
-
"func-names": [
|
85
|
-
"error",
|
86
|
-
"never"
|
87
|
-
],
|
88
|
-
"func-style": "error",
|
89
|
-
"generator-star-spacing": "error",
|
90
|
-
"global-require": "error",
|
91
|
-
"guard-for-in": "error",
|
92
|
-
"handle-callback-err": "error",
|
93
|
-
"id-blacklist": "error",
|
94
|
-
"id-length": "error",
|
95
|
-
"id-match": "error",
|
96
|
-
"indent": "off",
|
97
|
-
"init-declarations": "error",
|
98
|
-
"jsx-quotes": "error",
|
99
|
-
"key-spacing": "error",
|
100
|
-
"keyword-spacing": [
|
101
|
-
"error",
|
102
|
-
{
|
103
|
-
"after": true,
|
104
|
-
"before": true
|
105
|
-
}
|
106
|
-
],
|
107
|
-
"line-comment-position": "error",
|
108
|
-
"linebreak-style": [
|
109
|
-
"error",
|
110
|
-
"unix"
|
111
|
-
],
|
112
|
-
"lines-around-comment": "error",
|
113
|
-
"lines-around-directive": "error",
|
114
|
-
"max-depth": "error",
|
115
|
-
"max-len": "off",
|
116
|
-
"max-lines": "error",
|
117
|
-
"max-nested-callbacks": "error",
|
118
|
-
"max-params": "error",
|
119
|
-
"max-statements": "off",
|
120
|
-
"max-statements-per-line": "error",
|
121
|
-
"multiline-ternary": "error",
|
122
|
-
"new-cap": "error",
|
123
|
-
"new-parens": "error",
|
124
|
-
"newline-after-var": "off",
|
125
|
-
"newline-before-return": "off",
|
126
|
-
"newline-per-chained-call": "off",
|
127
|
-
"no-alert": "error",
|
128
|
-
"no-array-constructor": "error",
|
129
|
-
"no-bitwise": "error",
|
130
|
-
"no-caller": "error",
|
131
|
-
"no-catch-shadow": "error",
|
132
|
-
"no-confusing-arrow": "error",
|
133
|
-
"no-continue": "error",
|
134
|
-
"no-div-regex": "error",
|
135
|
-
"no-duplicate-imports": "error",
|
136
|
-
"no-else-return": "error",
|
137
|
-
"no-eq-null": "error",
|
138
|
-
"no-eval": "error",
|
139
|
-
"no-extend-native": "error",
|
140
|
-
"no-extra-bind": "error",
|
141
|
-
"no-extra-label": "error",
|
142
|
-
"no-extra-parens": "off",
|
143
|
-
"no-floating-decimal": "error",
|
144
|
-
"no-implicit-coercion": "error",
|
145
|
-
"no-implicit-globals": "error",
|
146
|
-
"no-implied-eval": "error",
|
147
|
-
"no-inline-comments": "error",
|
148
|
-
"no-invalid-this": "error",
|
149
|
-
"no-iterator": "error",
|
150
|
-
"no-label-var": "error",
|
151
|
-
"no-labels": "error",
|
152
|
-
"no-lone-blocks": "error",
|
153
|
-
"no-lonely-if": "error",
|
154
|
-
"no-loop-func": "error",
|
155
|
-
"no-magic-numbers": "off",
|
156
|
-
"no-mixed-operators": "error",
|
157
|
-
"no-mixed-requires": "error",
|
158
|
-
"no-multi-spaces": "off",
|
159
|
-
"no-multi-str": "error",
|
160
|
-
"no-multiple-empty-lines": "error",
|
161
|
-
"no-native-reassign": "error",
|
162
|
-
"no-negated-condition": "error",
|
163
|
-
"no-negated-in-lhs": "error",
|
164
|
-
"no-nested-ternary": "error",
|
165
|
-
"no-new": "error",
|
166
|
-
"no-new-func": "error",
|
167
|
-
"no-new-object": "error",
|
168
|
-
"no-new-require": "error",
|
169
|
-
"no-new-wrappers": "error",
|
170
|
-
"no-octal-escape": "error",
|
171
|
-
"no-param-reassign": "error",
|
172
|
-
"no-path-concat": "error",
|
173
|
-
"no-plusplus": "error",
|
174
|
-
"no-process-env": "error",
|
175
|
-
"no-process-exit": "error",
|
176
|
-
"no-proto": "error",
|
177
|
-
"no-prototype-builtins": "error",
|
178
|
-
"no-restricted-globals": "error",
|
179
|
-
"no-restricted-imports": "error",
|
180
|
-
"no-restricted-modules": "error",
|
181
|
-
"no-restricted-properties": "error",
|
182
|
-
"no-restricted-syntax": "error",
|
183
|
-
"no-return-assign": "error",
|
184
|
-
"no-script-url": "error",
|
185
|
-
"no-self-compare": "error",
|
186
|
-
"no-sequences": "error",
|
187
|
-
"no-shadow": "error",
|
188
|
-
"no-shadow-restricted-names": "error",
|
189
|
-
"no-spaced-func": "error",
|
190
|
-
"no-sync": "error",
|
191
|
-
"no-tabs": "error",
|
192
|
-
"no-template-curly-in-string": "error",
|
193
|
-
"no-ternary": "error",
|
194
|
-
"no-throw-literal": "error",
|
195
|
-
"no-trailing-spaces": "off",
|
196
|
-
"no-undef-init": "error",
|
197
|
-
"no-undefined": "error",
|
198
|
-
"no-underscore-dangle": "off",
|
199
|
-
"no-unmodified-loop-condition": "error",
|
200
|
-
"no-unneeded-ternary": "error",
|
201
|
-
"no-unused-expressions": "error",
|
202
|
-
"no-use-before-define": "error",
|
203
|
-
"no-useless-call": "error",
|
204
|
-
"no-useless-computed-key": "error",
|
205
|
-
"no-useless-concat": "error",
|
206
|
-
"no-useless-constructor": "error",
|
207
|
-
"no-useless-escape": "error",
|
208
|
-
"no-useless-rename": "error",
|
209
|
-
"no-var": "error",
|
210
|
-
"no-void": "error",
|
211
|
-
"no-warning-comments": "error",
|
212
|
-
"no-whitespace-before-property": "error",
|
213
|
-
"no-with": "error",
|
214
|
-
"object-curly-newline": "off",
|
215
|
-
"object-curly-spacing": "off",
|
216
|
-
"object-property-newline": [
|
217
|
-
"error",
|
218
|
-
{
|
219
|
-
"allowMultiplePropertiesPerLine": true
|
220
|
-
}
|
221
|
-
],
|
222
|
-
"object-shorthand": "off",
|
223
|
-
"one-var": "off",
|
224
|
-
"one-var-declaration-per-line": "error",
|
225
|
-
"operator-assignment": "error",
|
226
|
-
"operator-linebreak": "error",
|
227
|
-
"padded-blocks": "off",
|
228
|
-
"prefer-arrow-callback": "off",
|
229
|
-
"prefer-const": "off",
|
230
|
-
"prefer-numeric-literals": "error",
|
231
|
-
"prefer-reflect": "error",
|
232
|
-
"prefer-rest-params": "error",
|
233
|
-
"prefer-spread": "error",
|
234
|
-
"prefer-template": "error",
|
235
|
-
"quote-props": "off",
|
236
|
-
"quotes": "off",
|
237
|
-
"radix": "error",
|
238
|
-
"require-jsdoc": "error",
|
239
|
-
"rest-spread-spacing": "error",
|
240
|
-
"semi": "off",
|
241
|
-
"semi-spacing": "error",
|
242
|
-
"sort-imports": "off",
|
243
|
-
"sort-keys": "off",
|
244
|
-
"sort-vars": "error",
|
245
|
-
"space-before-blocks": "error",
|
246
|
-
"space-before-function-paren": "off",
|
247
|
-
"space-in-parens": [
|
248
|
-
"error",
|
249
|
-
"never"
|
250
|
-
],
|
251
|
-
"space-infix-ops": "off",
|
252
|
-
"space-unary-ops": "error",
|
253
|
-
"spaced-comment": [
|
254
|
-
"error",
|
255
|
-
"always"
|
256
|
-
],
|
257
|
-
"strict": "error",
|
258
|
-
"symbol-description": "error",
|
259
|
-
"template-curly-spacing": "error",
|
260
|
-
"unicode-bom": [
|
261
|
-
"error",
|
262
|
-
"never"
|
263
|
-
],
|
264
|
-
"valid-jsdoc": "error",
|
265
|
-
"vars-on-top": "error",
|
266
|
-
"wrap-iife": "error",
|
267
|
-
"wrap-regex": "error",
|
268
|
-
"yield-star-spacing": "error",
|
269
|
-
"yoda": "error",
|
270
|
-
"import/no-named-as-default": "off",
|
271
|
-
"import/no-extraneous-dependencies": "off",
|
272
|
-
"react/prefer-stateless-function": "off",
|
273
|
-
"react/jsx-filename-extension": "off",
|
274
|
-
"react/no-multi-comp": "off",
|
275
|
-
"react/sort-comp": "off"
|
276
|
-
}
|
277
|
-
}
|
data/.gitattributes
DELETED
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
1. Please check if an issue already exists so there are no duplicates
|
3
|
-
2. Fill out the whole template so we have a good overview on the issue
|
4
|
-
3. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the Issue
|
5
|
-
4. Please follow the template, otherwise we'll have to ask you to update it
|
6
|
-
-->
|
7
|
-
|
8
|
-
# This is a (Bug Report / Feature Proposal)
|
9
|
-
|
10
|
-
#### :tophat: Description
|
11
|
-
|
12
|
-
For bug reports:
|
13
|
-
* What went wrong?
|
14
|
-
* What did you expect should have happened?
|
15
|
-
* What was the config you used?
|
16
|
-
* What stacktrace or error message from your provider did you see?
|
17
|
-
|
18
|
-
For feature proposals:
|
19
|
-
* What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
|
20
|
-
* If there is additional config how would it look
|
21
|
-
|
22
|
-
#### :pushpin: Related issues
|
23
|
-
* #12345
|
24
|
-
|
25
|
-
#### :clipboard: Additional Data
|
26
|
-
|
27
|
-
* ***Decidim deployment where you found the issue***:
|
28
|
-
* ***Browser & version***:
|
29
|
-
* ***Screenshot***:
|
30
|
-
* ***Error messages***:
|
31
|
-
* ***URL to reproduce the error***:
|
@@ -1,16 +0,0 @@
|
|
1
|
-
#### :tophat: What? Why?
|
2
|
-
|
3
|
-
|
4
|
-
#### :pushpin: Related Issues
|
5
|
-
- Related to #?
|
6
|
-
- Fixes #?
|
7
|
-
|
8
|
-
#### :clipboard: Subtasks
|
9
|
-
- [x] Subtask 1
|
10
|
-
- [ ] Subtask 2
|
11
|
-
|
12
|
-
### :camera: Screenshots (optional)
|
13
|
-

|
14
|
-
|
15
|
-
#### :ghost: GIF
|
16
|
-
![]()
|
data/.gitignore
DELETED