decidim-decidim_awesome 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82220fe500241ed7230f9b9c75496674ba199a90692d9b1e1ef0988dcfe73d8e
4
- data.tar.gz: c0067b640dcc77a30556266f04af28337711cc084d3bddfd8b45d9c9e3566657
3
+ metadata.gz: a04e8fa0ca3025c7bdd3f21508e1bcf3046546483782fd0f9348f804e6f6b137
4
+ data.tar.gz: 400190dfe91cf0bd6e06ec4c58594c11981191a7b8b63d83b6f9e0aee220d61c
5
5
  SHA512:
6
- metadata.gz: 13e277af1691dfe07af969b3422914e88738fddc84bbbe70bfdd029bf1abb04b618eac788fda19b8a802be612ccd27b145f9603f3f7032bdc10aef2c32f3ea28
7
- data.tar.gz: d6710fa6ca902f9c03c2a8ccf8024b7770b12246fca1aa639a6e0d7eb657e88d68cf14c22169492236d6f496490a15f9aedb398bcdeefe14e41106b3a9f5d5cc
6
+ metadata.gz: 0e06d6ae9a8698e51dfc11d16349e4c6906c9a8037d6bb53cbf700ed7b39c7550e6ad0c923f9675fd3f2bd28729e22e24dcdcb085a1f168511e41be0f88fee56
7
+ data.tar.gz: 769c204652bf08908913b06f834e4eef814b08b07e7c7869f7ea2a2d4741a57a6e86fb8bbf355b2066ecbba32bb7dbda57e57ae614b58b56413ccff95bab778b
data/CHANGELOG.md ADDED
@@ -0,0 +1,181 @@
1
+ CHANGELOG
2
+ =========
3
+
4
+ v0.8.0
5
+ ------
6
+
7
+ Compatibility:
8
+ - Decidim v0.26.x
9
+ - Decidim v0.25.x
10
+
11
+ Features:
12
+ - Several bug fixing related to deactivating features (now there's a test for it).
13
+ - Now awesome components can be disabled using the `disabled_components` configuration var.
14
+ - Feature: Custom redirections editor: Create shorter URL redirections to other places, inside or outside Decidim.
15
+ - Update to webpacker compatiblity and Decidim 0.25
16
+ - Added tasks `bin/rails decidim_awesome:active_storage_migrations:check_migration_from_carrierwave` and `bin/rails decidim_awesome:active_storage_migrations:migrate_from_carrierwave` (also accessible as a backgroundjob from the awesome admin checks)
17
+ - REMOVED: SCSS themes are not available anymore (the alternative is to use custom styles). This is mostly because of webpacker.
18
+
19
+ v0.7.2
20
+ ------
21
+
22
+ Compatibility:
23
+ - Decidim v0.24.x
24
+ - Decidim v0.23.x
25
+
26
+ Features:
27
+ - Added custom fields (with admin interface and scopable) to replace normal body in proposals.
28
+ - Change Markdown editor behaviour: now it is converted to HTML before storing in the database. This makes the editor compatible with all Rich Text editors.
29
+ - Added icons in the awesome config menu
30
+ - Fixes scoped admins accessing process groups
31
+
32
+ v0.7.1
33
+ ------
34
+
35
+ Compatibility:
36
+ - Decidim v0.24.x
37
+ - Decidim v0.23.x
38
+
39
+ Features:
40
+ - Fix CSS custom styles when using html characters
41
+ - Add Awesome Map content block for the homepage
42
+ - Added processes groups constraint for different scoped tweaks
43
+ - Added "Never" constraint to deactivated scoped tweaks temporarily
44
+ - Change Markdown editor behaviour: now it is converted to HTML before storing in the database. This makes the editor compatible with all Rich Text editors. This also takes this feature out the the "experimental" zone as the resulting edited text is fully compatible with standard Decidim.
45
+ - Added scoped admins feature: Any user can be turned into a limited admin and scoped to one or more participatory spaces.
46
+ - Fix allowing access to participatory space admins (only full admins can access the module).
47
+ - Added `participatory_spaces_routes_context` config variable to specify additional routes correspondences to participatory spaces.
48
+
49
+ v0.7.0
50
+ ------
51
+
52
+ Compatibility:
53
+ - Decidim v0.24
54
+ - Decidim v0.23.x
55
+ - Decidim v0.23
56
+
57
+ v0.6.7
58
+ ------
59
+
60
+ Compatibility:
61
+ - Decidim v0.23.x
62
+ - Decidim v0.23
63
+ - Decidim v0.22
64
+
65
+ Features:
66
+ - Feature: Truncate description in map popups to configurable character limit
67
+ - Add CSS validation and syntax highlighting in CSS boxes editors
68
+ - Fix: filter awesome map by hash takes into account the status of categories
69
+
70
+ v0.6.6
71
+ ------
72
+
73
+ Compatibility:
74
+ - Decidim v0.23.3
75
+ - Decidim v0.23.2
76
+ - Decidim v0.23.1
77
+ - Decidim v0.23
78
+ - Decidim v0.22
79
+
80
+ Features:
81
+ - Fix: Prevents overrides for menus not specified in awesome config
82
+ - Fix: Respect original @if condition for menu presenter for native menus
83
+
84
+ v0.6.5
85
+ ------
86
+
87
+ Compatibility:
88
+ - Decidim v0.23.3
89
+ - Decidim v0.23.2
90
+ - Decidim v0.23.1
91
+ - Decidim v0.23
92
+ - Decidim v0.22
93
+
94
+ Features:
95
+ - Allow admins to modify the main Decidim menu
96
+
97
+ v0.6.4
98
+ ------
99
+
100
+ Compatibility:
101
+ - Decidim v0.23.3
102
+ - Decidim v0.23.2
103
+ - Decidim v0.23.1
104
+ - Decidim v0.23
105
+ - Decidim v0.22
106
+
107
+ Features:
108
+ - Fixes a 500 error when custom styles is empty
109
+ - Fixes removal of existing css boxes when other configuration are changed
110
+
111
+ v0.6.3
112
+ ------
113
+
114
+ Compatibility:
115
+ - Decidim v0.23.3
116
+ - Decidim v0.23.2
117
+ - Decidim v0.23.1
118
+ - Decidim v0.23
119
+ - Decidim v0.22
120
+
121
+ Features:
122
+ - Adds custom scoped styles
123
+
124
+ v0.6.2
125
+ ------
126
+
127
+ Compatibility:
128
+ - Decidim release/0.23-stable
129
+ - Decidim v0.23.1
130
+ - Decidim v0.23
131
+ - Decidim v0.22
132
+
133
+ Features:
134
+ - Fixes compatibility with proposals in branch `release/0.23-stable`
135
+
136
+ v0.6.1
137
+ ------
138
+
139
+ Compatibility:
140
+ - Decidim v0.23
141
+ - Decidim v0.22
142
+
143
+ Features:
144
+ - Improve awesome map categories visualization
145
+ - Fix image uploader
146
+ - Adds announcements for full screen iframes
147
+
148
+ v0.6
149
+ ----
150
+
151
+ Compatibility:
152
+ - Decidim v0.23
153
+ - Decidim v0.22
154
+
155
+ Features:
156
+ - Full screen iframe component
157
+ - live support chat linked with Telegram
158
+
159
+ v0.4, 0.5
160
+ ----
161
+
162
+ Compatibility:
163
+ - Decidim v0.22
164
+ - Decidim v0.21
165
+
166
+ Features:
167
+ - Decidim CSS themes for tenants
168
+
169
+ v0.3
170
+ ----
171
+
172
+ Compatibility:
173
+ - Decidim v0.21
174
+ - Decidim v0.20
175
+
176
+ Features:
177
+ - Awesome map
178
+ - Images in rich text editors
179
+ - Images in textarea editors
180
+ - Autosave forms
181
+ - Scoped constraints for each feature
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  # This holds the decidim-decidim_awesome version.
5
5
  module DecidimAwesome
6
- VERSION = "0.8.0"
6
+ VERSION = "0.8.1"
7
7
  COMPAT_DECIDIM_VERSION = [">= 0.25.0", "< 0.27"].freeze
8
8
  end
9
9
  end
@@ -20,6 +20,8 @@ namespace :decidim_decidim_awesome do
20
20
 
21
21
  def install_decidim_awesome_npm
22
22
  decidim_awesome_npm_dependencies.each do |type, packages|
23
+ puts "install NPM packages. You can also do this manually with this command:"
24
+ puts "npm i --save-#{type} #{packages.join(" ")}"
23
25
  system! "npm i --save-#{type} #{packages.join(" ")}"
24
26
  end
25
27
  end
data/package.json ADDED
@@ -0,0 +1,211 @@
1
+ {
2
+ "name": "decidim-module-decidim_awesome",
3
+ "version": "0.8.0",
4
+ "description": "Mods and tweaks for Decidim",
5
+ "main": "index.js",
6
+ "directories": {
7
+ "example": "examples",
8
+ "lib": "lib"
9
+ },
10
+ "scripts": {
11
+ "test": "echo \"Error: no test specified\" && exit 1",
12
+ "lint": "eslint -c .eslintrc.json --ext .js app/packs/",
13
+ "lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/ --fix",
14
+ "stylelint": "stylelint **/*.scss",
15
+ "stylelint-fix": "stylelint **/*.scss --fix"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/Platoniq/decidim-module-decidim_awesome.git"
20
+ },
21
+ "keywords": [
22
+ "decidim"
23
+ ],
24
+ "author": "ivan@platoniq.net",
25
+ "license": "AGPL-3.0-or-later",
26
+ "bugs": {
27
+ "url": "https://github.com/Platoniq/decidim-module-decidim_awesome/issues"
28
+ },
29
+ "homepage": "https://github.com/Platoniq/decidim-module-decidim_awesome#readme",
30
+ "stylelint": {
31
+ "rules": {
32
+ "at-rule-empty-line-before": [
33
+ "always",
34
+ {
35
+ "except": [
36
+ "blockless-after-same-name-blockless",
37
+ "first-nested"
38
+ ],
39
+ "ignore": [
40
+ "after-comment"
41
+ ],
42
+ "ignoreAtRules": [
43
+ "else"
44
+ ]
45
+ }
46
+ ],
47
+ "at-rule-name-case": "lower",
48
+ "at-rule-semicolon-newline-after": "always",
49
+ "block-closing-brace-empty-line-before": "never",
50
+ "block-closing-brace-newline-after": "always",
51
+ "block-closing-brace-newline-before": "always-multi-line",
52
+ "block-closing-brace-space-before": "always-single-line",
53
+ "block-no-empty": true,
54
+ "block-opening-brace-newline-after": "always-multi-line",
55
+ "block-opening-brace-space-after": "always-single-line",
56
+ "block-opening-brace-space-before": "always",
57
+ "color-hex-case": "lower",
58
+ "color-hex-length": "short",
59
+ "color-no-invalid-hex": true,
60
+ "comment-empty-line-before": [
61
+ "always",
62
+ {
63
+ "except": [
64
+ "first-nested"
65
+ ],
66
+ "ignore": [
67
+ "stylelint-commands"
68
+ ]
69
+ }
70
+ ],
71
+ "comment-no-empty": true,
72
+ "comment-whitespace-inside": "always",
73
+ "custom-property-empty-line-before": [
74
+ "always",
75
+ {
76
+ "except": [
77
+ "after-custom-property",
78
+ "first-nested"
79
+ ],
80
+ "ignore": [
81
+ "after-comment",
82
+ "inside-single-line-block"
83
+ ]
84
+ }
85
+ ],
86
+ "declaration-bang-space-after": "never",
87
+ "declaration-bang-space-before": "always",
88
+ "declaration-block-no-duplicate-properties": [
89
+ true,
90
+ {
91
+ "ignore": [
92
+ "consecutive-duplicates-with-different-values"
93
+ ]
94
+ }
95
+ ],
96
+ "declaration-block-no-redundant-longhand-properties": true,
97
+ "declaration-block-no-shorthand-property-overrides": true,
98
+ "declaration-block-semicolon-newline-after": "always-multi-line",
99
+ "declaration-block-semicolon-space-after": "always-single-line",
100
+ "declaration-block-semicolon-space-before": "never",
101
+ "declaration-block-single-line-max-declarations": 1,
102
+ "declaration-block-trailing-semicolon": "always",
103
+ "declaration-colon-newline-after": "always-multi-line",
104
+ "declaration-colon-space-after": "always-single-line",
105
+ "declaration-colon-space-before": "never",
106
+ "declaration-empty-line-before": [
107
+ "always",
108
+ {
109
+ "except": [
110
+ "after-declaration",
111
+ "first-nested"
112
+ ],
113
+ "ignore": [
114
+ "after-comment",
115
+ "inside-single-line-block"
116
+ ]
117
+ }
118
+ ],
119
+ "function-calc-no-unspaced-operator": true,
120
+ "function-comma-newline-after": "always-multi-line",
121
+ "function-comma-space-after": "always-single-line",
122
+ "function-comma-space-before": "never",
123
+ "function-linear-gradient-no-nonstandard-direction": true,
124
+ "function-max-empty-lines": 0,
125
+ "function-name-case": "lower",
126
+ "function-parentheses-newline-inside": "always-multi-line",
127
+ "function-parentheses-space-inside": "never-single-line",
128
+ "function-whitespace-after": "always",
129
+ "indentation": 2,
130
+ "keyframe-declaration-no-important": true,
131
+ "length-zero-no-unit": true,
132
+ "max-empty-lines": 1,
133
+ "media-feature-colon-space-after": "always",
134
+ "media-feature-colon-space-before": "never",
135
+ "media-feature-name-case": "lower",
136
+ "media-feature-name-no-unknown": true,
137
+ "media-feature-parentheses-space-inside": "never",
138
+ "media-feature-range-operator-space-after": "always",
139
+ "media-feature-range-operator-space-before": "always",
140
+ "media-query-list-comma-newline-after": "always-multi-line",
141
+ "media-query-list-comma-space-after": "always-single-line",
142
+ "media-query-list-comma-space-before": "never",
143
+ "no-empty-source": true,
144
+ "no-eol-whitespace": true,
145
+ "no-extra-semicolons": true,
146
+ "no-invalid-double-slash-comments": true,
147
+ "no-missing-end-of-source-newline": true,
148
+ "number-leading-zero": "never",
149
+ "number-no-trailing-zeros": true,
150
+ "property-case": "lower",
151
+ "property-no-unknown": true,
152
+ "rule-empty-line-before": [
153
+ "always-multi-line",
154
+ {
155
+ "except": [
156
+ "first-nested"
157
+ ],
158
+ "ignore": [
159
+ "after-comment"
160
+ ]
161
+ }
162
+ ],
163
+ "selector-attribute-brackets-space-inside": "never",
164
+ "selector-attribute-operator-space-after": "never",
165
+ "selector-attribute-operator-space-before": "never",
166
+ "selector-combinator-space-after": "always",
167
+ "selector-combinator-space-before": "always",
168
+ "selector-descendant-combinator-no-non-space": true,
169
+ "selector-list-comma-newline-after": "always",
170
+ "selector-list-comma-space-before": "never",
171
+ "selector-max-empty-lines": 0,
172
+ "selector-pseudo-class-case": "lower",
173
+ "selector-pseudo-class-no-unknown": true,
174
+ "selector-pseudo-class-parentheses-space-inside": "never",
175
+ "selector-pseudo-element-case": "lower",
176
+ "selector-pseudo-element-colon-notation": "double",
177
+ "selector-pseudo-element-no-unknown": true,
178
+ "selector-type-case": "lower",
179
+ "selector-type-no-unknown": true,
180
+ "shorthand-property-no-redundant-values": true,
181
+ "string-no-newline": true,
182
+ "unit-case": "lower",
183
+ "unit-no-unknown": true,
184
+ "value-list-comma-newline-after": "always-multi-line",
185
+ "value-list-comma-space-after": "always-single-line",
186
+ "value-list-comma-space-before": "never",
187
+ "value-list-max-empty-lines": 0
188
+ }
189
+ },
190
+ "devDependencies": {
191
+ "eslint": "^7.32.0",
192
+ "eslint": "^7.25.0",
193
+ "eslint-config-prettier": "^8.2.0",
194
+ "eslint-config-standard": "^11.0.0",
195
+ "eslint-plugin-import": "^2.22.0",
196
+ "stylelint": "13.11.0"
197
+ },
198
+ "dependencies": {
199
+ "codemirror": "^5.65.0",
200
+ "europa": "^4.0.0",
201
+ "form-storage": "^1.3.5",
202
+ "formBuilder": "^3.6.1",
203
+ "highlight.js": "^11.4.0",
204
+ "inline-attachment": "^2.0.3",
205
+ "inscrybmde": "^1.11.6",
206
+ "jquery-ui": "^1.13.0",
207
+ "jsrender": "^1.0.9",
208
+ "leaflet.featuregroup.subgroup": "^1.0.2",
209
+ "select2": "^4.1.0-rc.0"
210
+ }
211
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-decidim_awesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Vergés
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -105,6 +105,7 @@ executables: []
105
105
  extensions: []
106
106
  extra_rdoc_files: []
107
107
  files:
108
+ - CHANGELOG.md
108
109
  - LICENSE-AGPLv3.txt
109
110
  - README.md
110
111
  - Rakefile
@@ -331,6 +332,7 @@ files:
331
332
  - lib/decidim/decidim_awesome/version.rb
332
333
  - lib/tasks/decidim_awesome_active_storage_migrations_tasks.rake
333
334
  - lib/tasks/decidim_awesome_webpacker_tasks.rake
335
+ - package.json
334
336
  homepage: https://github.com/platoniq/decidim-module-decidim_awesome
335
337
  licenses:
336
338
  - AGPL-3.0