decidim 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim might be problematic. Click here for more details.

data/.decidim-version CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 0.7.3
data/.eslintignore CHANGED
@@ -4,7 +4,6 @@ spec/decidim_dummy_app/**/*.js
4
4
  docker_development_app
5
5
  development_app
6
6
  **/node_modules/**
7
- vendor/bundle/**
8
7
  bundle.js
9
8
  karma.conf.js
10
9
  webpack.config.js
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  spec/decidim_dummy_app/
2
2
  .byebug_history
3
3
  pkg/
4
- vendor/bundle
5
4
  */Gemfile.lock
6
5
  .DS_Store
7
6
  node_modules/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.7.3](https://github.com/decidim/decidim/tree/v0.7.3) (2017-11-15)
4
+ [Full Changelog](https://github.com/decidim/decidim/compare/v0.7.2...v0.7.3)
5
+
6
+ **Fixed**:
7
+
8
+ - **decidim-meetings**: Admins could not submit form after getting a validation error in the meeting registrations form [\2202](https://github.com/decidim/decidim/pull/2202)
9
+
3
10
  ## [v0.7.2](https://github.com/decidim/decidim/tree/v0.7.2) (2017-11-06)
4
11
  [Full Changelog](https://github.com/decidim/decidim/compare/v0.7.1...v0.7.2)
5
12
 
data/Dockerfile.ci ADDED
@@ -0,0 +1,28 @@
1
+ ARG BASE_IMAGE_TAG=latest
2
+
3
+ FROM codegram/decidim:$BASE_IMAGE_TAG
4
+ MAINTAINER deivid.rodriguez@riseup.net
5
+
6
+ USER root
7
+
8
+ RUN apt-get update \
9
+ && apt-get install -y unzip
10
+
11
+ RUN DOCKERIZE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/dockerize-latest.tar.gz" \
12
+ && curl --silent --show-error --location --fail --retry 3 --output /tmp/dockerize-linux-amd64.tar.gz $DOCKERIZE_URL \
13
+ && tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64.tar.gz \
14
+ && rm /tmp/dockerize-linux-amd64.tar.gz \
15
+ && dockerize --version
16
+
17
+ RUN CHROME_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" \
18
+ && curl --silent --show-error --location --fail --retry 3 --output /tmp/google-chrome-stable_current_amd64.deb $CHROME_URL \
19
+ && (dpkg -i /tmp/google-chrome-stable_current_amd64.deb || apt-get -fy install) \
20
+ && rm /tmp/google-chrome-stable_current_amd64.deb \
21
+ && google-chrome-stable --version
22
+
23
+ RUN CHROMEDRIVER_RELEASE=$(curl --location --fail --retry 3 http://chromedriver.storage.googleapis.com/LATEST_RELEASE) \
24
+ && CHROMEDRIVER_URL="http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_RELEASE/chromedriver_linux64.zip" \
25
+ && curl --silent --show-error --location --fail --retry 3 --output /tmp/chromedriver_linux64.zip $CHROMEDRIVER_URL \
26
+ && unzip /tmp/chromedriver_linux64.zip chromedriver -d /usr/local/bin \
27
+ && rm /tmp/chromedriver_linux64.zip \
28
+ && chromedriver --version
data/Gemfile CHANGED
@@ -9,8 +9,6 @@ gem "decidim", path: "."
9
9
  # Uncomment the following line if you want to use decidim-assemblies plugin
10
10
  # gem "decidim-assemblies", path: "."
11
11
 
12
- gem "bootsnap", require: false
13
-
14
12
  gem "puma", "~> 3.0"
15
13
  gem "uglifier", ">= 1.3.0"
16
14
 
data/Gemfile.lock CHANGED
@@ -1,27 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- decidim (0.7.2)
5
- decidim-accountability (= 0.7.2)
6
- decidim-admin (= 0.7.2)
7
- decidim-api (= 0.7.2)
8
- decidim-budgets (= 0.7.2)
9
- decidim-comments (= 0.7.2)
10
- decidim-core (= 0.7.2)
11
- decidim-meetings (= 0.7.2)
12
- decidim-pages (= 0.7.2)
13
- decidim-participatory_processes (= 0.7.2)
14
- decidim-proposals (= 0.7.2)
15
- decidim-surveys (= 0.7.2)
16
- decidim-system (= 0.7.2)
17
- decidim-accountability (0.7.2)
18
- decidim-comments (= 0.7.2)
19
- decidim-core (= 0.7.2)
4
+ decidim (0.7.3)
5
+ decidim-accountability (= 0.7.3)
6
+ decidim-admin (= 0.7.3)
7
+ decidim-api (= 0.7.3)
8
+ decidim-budgets (= 0.7.3)
9
+ decidim-comments (= 0.7.3)
10
+ decidim-core (= 0.7.3)
11
+ decidim-meetings (= 0.7.3)
12
+ decidim-pages (= 0.7.3)
13
+ decidim-participatory_processes (= 0.7.3)
14
+ decidim-proposals (= 0.7.3)
15
+ decidim-surveys (= 0.7.3)
16
+ decidim-system (= 0.7.3)
17
+ decidim-accountability (0.7.3)
18
+ decidim-comments (= 0.7.3)
19
+ decidim-core (= 0.7.3)
20
20
  kaminari (~> 1.0.1)
21
21
  searchlight (~> 4.1.0)
22
- decidim-admin (0.7.2)
22
+ decidim-admin (0.7.3)
23
23
  active_link_to (~> 1.0.0)
24
- decidim-core (= 0.7.2)
24
+ decidim-core (= 0.7.3)
25
25
  devise (~> 4.2)
26
26
  devise-i18n (~> 1.2.0)
27
27
  devise_invitable (~> 1.7.0)
@@ -29,26 +29,26 @@ PATH
29
29
  jquery-rails (~> 4.3.1)
30
30
  sassc-rails (~> 1.3.0)
31
31
  select2-rails (~> 4.0.3)
32
- decidim-api (0.7.2)
32
+ decidim-api (0.7.3)
33
33
  graphiql-rails (~> 1.4.2, < 1.4.5)
34
34
  graphql (~> 1.6.0)
35
35
  rack-cors (~> 1.0.1)
36
36
  sprockets-es6 (~> 0.9.2)
37
- decidim-budgets (0.7.2)
38
- decidim-comments (= 0.7.2)
39
- decidim-core (= 0.7.2)
37
+ decidim-budgets (0.7.3)
38
+ decidim-comments (= 0.7.3)
39
+ decidim-core (= 0.7.3)
40
40
  kaminari (~> 1.0.1)
41
41
  searchlight (~> 4.1.0)
42
- decidim-comments (0.7.2)
43
- decidim-core (= 0.7.2)
42
+ decidim-comments (0.7.3)
43
+ decidim-core (= 0.7.3)
44
44
  jquery-rails (~> 4.0)
45
- decidim-core (0.7.2)
45
+ decidim-core (0.7.3)
46
46
  active_link_to (~> 1.0.4)
47
47
  autoprefixer-rails (~> 7.1.1)
48
48
  cancancan (~> 2.0.0)
49
49
  carrierwave (~> 1.1.0)
50
50
  date_validator (~> 0.9.0)
51
- decidim-api (= 0.7.2)
51
+ decidim-api (= 0.7.3)
52
52
  devise (~> 4.3)
53
53
  devise-i18n (~> 1.2.0)
54
54
  file_validators (~> 2.1.0)
@@ -76,51 +76,51 @@ PATH
76
76
  sprockets-es6 (~> 0.9.2)
77
77
  truncato (~> 0.7.10)
78
78
  wisper (~> 2.0.0)
79
- decidim-dev (0.7.2)
79
+ decidim-dev (0.7.3)
80
80
  byebug
81
81
  capybara (~> 2.15)
82
82
  capybara-screenshot (~> 1.0)
83
83
  codecov (~> 0.1.9)
84
84
  database_cleaner (~> 1.6)
85
85
  db-query-matchers (~> 0.9.0)
86
- decidim (= 0.7.2)
86
+ decidim (= 0.7.3)
87
87
  factory_girl_rails
88
88
  i18n-tasks (= 0.9.18)
89
89
  listen (~> 3.1)
90
90
  nokogiri (~> 1.8)
91
- poltergeist (~> 1.16)
92
91
  puma (~> 3.10)
93
92
  rails-controller-testing (~> 1.0)
94
93
  rspec-html-matchers (~> 0.9.1)
95
94
  rspec-rails (~> 3.6)
96
95
  rspec-repeat (~> 1.0)
97
- rubocop (~> 0.50.0)
96
+ rubocop (~> 0.51.0)
97
+ selenium-webdriver (~> 3.7)
98
98
  simplecov (~> 0.13)
99
99
  webmock (~> 3.0)
100
100
  wisper-rspec (~> 0.0.3)
101
- decidim-meetings (0.7.2)
101
+ decidim-meetings (0.7.3)
102
102
  date_validator (~> 0.9)
103
- decidim-core (= 0.7.2)
103
+ decidim-core (= 0.7.3)
104
104
  httparty (~> 0.15.0)
105
105
  icalendar (~> 2.4.1)
106
106
  jquery-tmpl-rails (~> 1.1.0)
107
107
  kaminari (~> 1.0.1)
108
108
  searchlight (~> 4.1.0)
109
- decidim-pages (0.7.2)
110
- decidim-core (= 0.7.2)
111
- decidim-participatory_processes (0.7.2)
112
- decidim-core (= 0.7.2)
113
- decidim-proposals (0.7.2)
114
- decidim-comments (= 0.7.2)
115
- decidim-core (= 0.7.2)
109
+ decidim-pages (0.7.3)
110
+ decidim-core (= 0.7.3)
111
+ decidim-participatory_processes (0.7.3)
112
+ decidim-core (= 0.7.3)
113
+ decidim-proposals (0.7.3)
114
+ decidim-comments (= 0.7.3)
115
+ decidim-core (= 0.7.3)
116
116
  kaminari (~> 1.0.1)
117
117
  social-share-button (~> 1.0.0)
118
- decidim-surveys (0.7.2)
119
- decidim-core (= 0.7.2)
118
+ decidim-surveys (0.7.3)
119
+ decidim-core (= 0.7.3)
120
120
  jquery-tmpl-rails (~> 1.1.0)
121
- decidim-system (0.7.2)
121
+ decidim-system (0.7.3)
122
122
  active_link_to (~> 1.0.0)
123
- decidim-core (= 0.7.2)
123
+ decidim-core (= 0.7.3)
124
124
  devise (~> 4.2)
125
125
  devise-i18n (~> 1.2.0)
126
126
  devise_invitable (~> 1.7.1)
@@ -187,26 +187,25 @@ GEM
187
187
  execjs (~> 2.0)
188
188
  bcrypt (3.1.11)
189
189
  bindex (0.5.0)
190
- bootsnap (1.1.3)
191
- msgpack (~> 1.0)
192
190
  builder (3.2.3)
193
191
  byebug (9.1.0)
194
192
  cancancan (2.0.0)
195
- capybara (2.15.4)
193
+ capybara (2.16.0)
196
194
  addressable
197
195
  mini_mime (>= 0.1.3)
198
196
  nokogiri (>= 1.3.3)
199
197
  rack (>= 1.0.0)
200
198
  rack-test (>= 0.5.4)
201
199
  xpath (~> 2.0)
202
- capybara-screenshot (1.0.17)
200
+ capybara-screenshot (1.0.18)
203
201
  capybara (>= 1.0, < 3)
204
202
  launchy
205
203
  carrierwave (1.1.0)
206
204
  activemodel (>= 4.0.0)
207
205
  activesupport (>= 4.0.0)
208
206
  mime-types (>= 1.16)
209
- cliver (0.3.2)
207
+ childprocess (0.8.0)
208
+ ffi (~> 1.0, >= 1.0.11)
210
209
  codecov (0.1.10)
211
210
  json
212
211
  simplecov
@@ -347,10 +346,9 @@ GEM
347
346
  mime-types-data (~> 3.2015)
348
347
  mime-types-data (3.2016.0521)
349
348
  mini_magick (4.8.0)
350
- mini_mime (0.1.4)
349
+ mini_mime (1.0.0)
351
350
  mini_portile2 (2.3.0)
352
351
  minitest (5.10.3)
353
- msgpack (1.1.0)
354
352
  multi_json (1.12.2)
355
353
  multi_xml (0.6.0)
356
354
  multipart-post (2.0.0)
@@ -385,15 +383,11 @@ GEM
385
383
  rack
386
384
  orm_adapter (0.5.0)
387
385
  parallel (1.12.0)
388
- parser (2.4.0.0)
389
- ast (~> 2.2)
386
+ parser (2.4.0.2)
387
+ ast (~> 2.3)
390
388
  pg (0.21.0)
391
- poltergeist (1.16.0)
392
- capybara (~> 2.1)
393
- cliver (~> 0.3.1)
394
- websocket-driver (>= 0.2.0)
395
389
  powerpack (0.1.1)
396
- premailer (1.11.0)
390
+ premailer (1.11.1)
397
391
  addressable
398
392
  css_parser (>= 1.6.0)
399
393
  htmlentities (>= 4.0.0)
@@ -505,6 +499,9 @@ GEM
505
499
  searchlight (4.1.0)
506
500
  select2-rails (4.0.3)
507
501
  thor (~> 0.14)
502
+ selenium-webdriver (3.7.0)
503
+ childprocess (~> 0.5)
504
+ rubyzip (~> 1.0)
508
505
  simplecov (0.15.1)
509
506
  docile (~> 1.1.0)
510
507
  json (>= 1.8, < 3)
@@ -563,7 +560,7 @@ GEM
563
560
  hashdiff
564
561
  websocket-driver (0.6.5)
565
562
  websocket-extensions (>= 0.1.0)
566
- websocket-extensions (0.1.2)
563
+ websocket-extensions (0.1.3)
567
564
  wisper (2.0.0)
568
565
  wisper-rspec (0.0.3)
569
566
  xpath (2.1.0)
@@ -573,7 +570,6 @@ PLATFORMS
573
570
  ruby
574
571
 
575
572
  DEPENDENCIES
576
- bootsnap
577
573
  byebug
578
574
  decidim!
579
575
  decidim-dev!
@@ -590,4 +586,4 @@ RUBY VERSION
590
586
  ruby 2.4.2p198
591
587
 
592
588
  BUNDLED WITH
593
- 1.15.4
589
+ 1.16.0
data/README.md CHANGED
@@ -65,7 +65,11 @@ In order to develop on decidim, you'll need:
65
65
  * **Ruby** 2.4.1
66
66
  * **NodeJS** 8.x.x
67
67
  * **ImageMagick**
68
+ <<<<<<< HEAD
68
69
  * **PhantomJS**
70
+ =======
71
+ * **Chrome** browser and [chromedriver](https://sites.google.com/a/chromium.org/chromedriver/).
72
+ >>>>>>> 898adf74b... Migrate to headless chrome (#2157)
69
73
 
70
74
  The easiest way to work on decidim is to clone decidim's repository and install its dependencies
71
75
 
data/docker-compose.yml CHANGED
@@ -1,10 +1,12 @@
1
1
  version: '2'
2
2
  services:
3
3
  decidim:
4
- build: '.'
5
- working_dir: /code
4
+ image: decidim/decidim:dev-latest
5
+ entrypoint: []
6
+ command: decidim
6
7
  volumes:
7
- - .:/code
8
+ - .:/app
9
+ - bundle:/usr/local/bundle
8
10
  environment:
9
11
  - DATABASE_HOST=pg
10
12
  - DATABASE_USERNAME=postgres
@@ -20,5 +22,6 @@ services:
20
22
  volumes:
21
23
  - redis-data:/data
22
24
  volumes:
25
+ bundle: {}
23
26
  pg-data: {}
24
27
  redis-data: {}
@@ -3,6 +3,6 @@
3
3
  # This holds the decidim version and the faker version it uses.
4
4
  module Decidim
5
5
  def self.version
6
- "0.7.2"
6
+ "0.7.3"
7
7
  end
8
8
  end
@@ -97,10 +97,6 @@ module Decidim
97
97
  run "bundle install"
98
98
  end
99
99
 
100
- def bootsnap
101
- append_file "config/boot.rb", "require 'bootsnap/setup'\n"
102
- end
103
-
104
100
  def add_ignore_uploads
105
101
  unless options["skip_git"]
106
102
  append_file ".gitignore", "\n# Ignore public uploads\npublic/uploads"
@@ -1,26 +1 @@
1
- FROM ruby:<%= RUBY_VERSION %>
2
- MAINTAINER david.morcillo@codegram.com
3
-
4
- ARG rails_env=production
5
- ARG secret_key_base=
6
-
7
- ENV APP_HOME /code
8
- ENV RAILS_ENV $rails_env
9
- ENV SECRET_KEY_BASE $secret_key_base
10
-
11
- RUN apt-get update
12
-
13
- RUN curl -sL https://deb.nodesource.com/setup_8.x | bash && \
14
- apt-get install -y nodejs
15
-
16
- ADD Gemfile /tmp/Gemfile
17
- ADD Gemfile.lock /tmp/Gemfile.lock
18
- RUN cd /tmp && bundle install
19
-
20
- RUN mkdir -p $APP_HOME
21
- WORKDIR $APP_HOME
22
- ADD . $APP_HOME
23
-
24
- RUN bundle exec rake DATABASE_URL=postgresql://user:pass@127.0.0.1/dbname assets:precompile
25
-
26
- CMD ["bundle", "exec", "rails", "s", "-b0.0.0.0"]
1
+ FROM decidim/decidim
@@ -1,20 +1,37 @@
1
1
  version: '2'
2
2
  services:
3
3
  app:
4
- build:
5
- context: .
6
- args:
7
- rails_env: development
4
+ image: decidim/decidim:0.7.2-dev
8
5
  volumes:
9
- - .:/code
6
+ - .:/app
7
+ - bundle:/usr/local/bundle
8
+ - node_modules:/app/node_modules
10
9
  environment:
10
+ - PORT=3000
11
11
  - DATABASE_HOST=pg
12
12
  - DATABASE_USERNAME=postgres
13
+ - RAILS_ENV=development
14
+ - REDIS_URL=redis://redis:6379
13
15
  ports:
14
16
  - 3000:3000
15
17
  links:
16
18
  - pg
17
19
  - redis
20
+ command: bundle exec puma
21
+ worker:
22
+ image: decidim/decidim:latest-dev
23
+ volumes:
24
+ - .:/app
25
+ - bundle:/usr/local/bundle
26
+ environment:
27
+ - DATABASE_HOST=pg
28
+ - DATABASE_USERNAME=postgres
29
+ - RAILS_ENV=development
30
+ - REDIS_URL=redis://redis:6379
31
+ links:
32
+ - pg
33
+ - redis
34
+ command: bundle exec sidekiq
18
35
  pg:
19
36
  image: postgres
20
37
  volumes:
@@ -24,5 +41,7 @@ services:
24
41
  volumes:
25
42
  - redis-data:/data
26
43
  volumes:
44
+ node_modules: {}
45
+ bundle: {}
27
46
  pg-data: {}
28
47
  redis-data: {}