Angel Perez
08755524ef
Replace I18n calls with explicit text expectations
2018-09-10 11:44:00 -04:00
Angel Perez
601391954a
Refactor tests to interact directly with the UI rather than with the DOM
2018-09-10 11:41:37 -04:00
Angel Perez
fa9da9d573
Usage of let on emails specs to DRY scenarios
2018-09-10 11:41:25 -04:00
Angel Perez
bdda397bf1
Use new RSpec stub syntax to fix deprecation warnings
2018-09-10 11:41:20 -04:00
Angel Perez
ffe421ae69
Replace .all.each with .find_each on admin specs
2018-09-10 11:40:24 -04:00
Angel Perez
b6fe7ca9a7
Replace .all.each with .find_each when seeding the DB
2018-09-10 11:39:38 -04:00
Angel Perez
303b96553a
Replace .all.each with .find_each when rendering cards
2018-09-10 11:38:32 -04:00
Angel Perez
24adf4bc49
Improve Rake tasks performance replacing .all.each with .find_each
2018-09-10 11:38:19 -04:00
Marko Lovic
96b798865a
Refactor Translatable#translation_params to improve readability
...
Code by Javier Martín
2018-09-10 17:34:28 +02:00
Marko Lovic
9fdc8a8a35
Avoid checking DB records in feature spec
2018-09-10 17:34:02 +02:00
Marko Lovic
54d0068134
Remove unused code
...
This method has never been used as far as I've
been able to tell from the git history.
2018-09-10 17:33:50 +02:00
Marko Lovic
3c4f221e04
Change Translatable interface
2018-09-10 17:32:49 +02:00
Marko Lovic
4603a30f95
Change Translatable impl to keep track of enabled locales
2018-09-10 17:18:01 +02:00
Marko Lovic
cb716e07d7
Extract translation helper from translatable form views
...
So that individual form partials don't depend on the implementation
of how translations are deleted.
2018-09-10 17:17:47 +02:00
Marko Lovic
3aa53449c8
Fix Translatable when field values are changed to blank
...
If we ignore all params that are blank, there is no way to
"remove" an attribute (i.e. change its value to blank)
On the other hand, we don't want to create new translations
where all fields are empty, so the new code keeps only the
blank fields which belong to existing translations.
2018-09-10 17:16:42 +02:00
Raimond Garcia
4f2ed27f8c
Merge pull request #2865 from consul/backport_1585-make_banners_translatable
...
[Backport] Make banners translatable
2018-09-10 16:41:33 +02:00
dependabot[bot]
216672977a
Bump capistrano-rails from 1.3.1 to 1.4.0
...
Bumps [capistrano-rails](https://github.com/capistrano/rails ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/capistrano/rails/releases )
- [Changelog](https://github.com/capistrano/rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/capistrano/rails/compare/v1.3.1...v1.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-10 06:43:02 +00:00
dependabot[bot]
1fff25c713
Bump autoprefixer-rails from 8.2.0 to 9.1.4
...
Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails ) from 8.2.0 to 9.1.4.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases )
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ai/autoprefixer-rails/compare/8.2.0...9.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-10 06:40:11 +00:00
Raimond Garcia
9182e3a4e7
Merge pull request #2818 from wairbut-m2c/rollback-chromedriver-version
...
Rollback chromedriver version in Docker image
2018-09-07 20:59:03 +02:00
Raimond Garcia
059b445601
Merge pull request #2880 from aitbw/style/rubocop-offenses
...
Fix Rubocop warnings for Admin controllers
2018-09-07 20:30:08 +02:00
Angel Perez
9029acd440
Fix Rubocop warnings for Admin controllers [ci skip]
2018-09-07 13:59:07 -04:00
Raimond Garcia
778b10d181
Merge pull request #2835 from wairbut-m2c/backport/fix-proposals-menu
...
Fix navigation menu under Legislation::Proposal show view
2018-09-07 18:44:31 +02:00
Raimond Garcia
94d361a57a
Merge pull request #2837 from PierreMesure/update-coffee-rails-to-4-2-2
...
Upgrade gem coffee-rails to version 4.2.2
2018-09-07 18:42:19 +02:00
Raimond Garcia
367eea19e3
Merge pull request #2844 from PierreMesure/patch-1
...
Fix a misleading comment
2018-09-07 18:38:06 +02:00
Raimond Garcia
c941d0fe67
Merge pull request #2838 from PierreMesure/refactor-factories-in-several-files
...
Split factories
2018-09-07 18:37:10 +02:00
Raimond Garcia
7a0cf19379
Merge pull request #2879 from consul/dependabot/bundler/rubyzip-1.2.2
...
[Security] Bump rubyzip from 1.2.1 to 1.2.2
2018-09-07 18:35:06 +02:00
Raimond Garcia
4ac08e570c
Merge pull request #2878 from consul/dependabot/bundler/nokogiri-1.8.4
...
[Security] Bump nokogiri from 1.8.2 to 1.8.4
2018-09-07 18:34:57 +02:00
Raimond Garcia
af121e326d
Merge pull request #2877 from consul/dependabot/bundler/ffi-1.9.25
...
[Security] Bump ffi from 1.9.23 to 1.9.25
2018-09-07 18:34:40 +02:00
dependabot[bot]
51ab5a335a
[Security] Bump rubyzip from 1.2.1 to 1.2.2
...
Bumps [rubyzip](https://github.com/rubyzip/rubyzip ) from 1.2.1 to 1.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/rubyzip/rubyzip/releases )
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md )
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.1...v1.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-07 14:45:50 +00:00
dependabot[bot]
0282a944fb
[Security] Bump nokogiri from 1.8.2 to 1.8.4
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.8.2 to 1.8.4. **This update includes security fixes.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.8.2...v1.8.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-07 14:45:30 +00:00
dependabot[bot]
d9c7adfa6c
[Security] Bump ffi from 1.9.23 to 1.9.25
...
Bumps [ffi](https://github.com/ffi/ffi ) from 1.9.23 to 1.9.25. **This update includes security fixes.**
- [Release notes](https://github.com/ffi/ffi/releases )
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ffi/ffi/compare/1.9.23...1.9.25 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-09-07 14:45:07 +00:00
Raimond Garcia
7014686b15
Merge pull request #2813 from javierv/2812-fix_admin_menu_not_showing
...
Fix admin menu not showing for high IDs
2018-09-07 15:52:02 +02:00
Raimond Garcia
09482aad09
Merge pull request #2785 from ziyan-junaideen/feature/1-nav-content-blocks
...
Configurable Top Right and Main Navigation Menus
2018-09-05 19:50:59 +02:00
Raimond Garcia
de141a5f88
Merge pull request #2834 from juan-fdz-hawa/2820_translate-accesibility-page
...
Translate static pages
2018-09-05 15:11:03 +02:00
Alberto
21f36e6be5
Merge branch 'master' into feature/1-nav-content-blocks
2018-09-05 12:41:07 +02:00
Tiago P. Zini
416f00aafd
Fixing bug in facebook share link
2018-09-03 23:41:02 -04:00
Marko Lovic
0fa4b60f39
Make Banners translatable
2018-08-30 16:29:29 +02:00
Marko Lovic
bfd9032e9d
Extract translation partial to be shared within admin
...
Refactor: behaviour should be 100% the same
2018-08-27 18:24:24 +02:00
decabeza
bc5741fb16
Adds status icons on polls poll group
2018-08-23 18:46:14 +02:00
Pierre
88d857f50c
Fix a misleading comment
2018-08-13 11:27:49 +02:00
Pierre Mesure
cba6cc029e
Split factories
2018-08-08 07:20:47 +02:00
Pierre Mesure
c9a26c7f89
Bumped coffee-rails to v4.2.2
2018-08-06 18:23:17 +02:00
Angel Perez
3dd525f9b9
Remove Madrid-specific DB attribute from Legislation::Proposal seeds
2018-08-06 10:14:49 -04:00
Angel Perez
43b040162d
fix(frontend): Only one menu element has 'active' CSS selector
2018-08-06 10:13:41 -04:00
Angel Perez
f568f9baab
Add Legislation::Proposal seeds
2018-08-06 09:39:17 -04:00
Juan Fernandez
653d36c9e6
Translate static pages
2018-08-04 15:28:41 -04:00
Raimond Garcia
8eb8bb9a59
Remove unused cleanup section
...
Contributors seem to prefer concrete issues rather that general cleanup guidelines
Removing to make CONTRIBUTING.md more succinct and helpful
2018-07-31 20:10:03 +02:00
Raimond Garcia
deafddae3c
Clarify that specs are needed in almost all PRs
2018-07-31 20:08:36 +02:00
Alberto
909df04c7c
Merge pull request #2822 from consul/devise-layout
...
Fixes logo header on devise layout
2018-07-31 18:41:46 +02:00
decabeza
a2bf8a85f4
Fixes logo header on devise layout
2018-07-31 18:08:09 +02:00