Bertocq
52df63c2aa
Add legislation proposal feature scenario to check random order is consistent with pagination
2018-10-03 13:46:32 +02:00
Bertocq
89b8e51a93
Add helper function to get legislation proposals list order on feature spec
2018-10-03 13:46:32 +02:00
Bertocq
d36e47c740
Add legislation proposal spec, with random list order scenario
2018-10-03 13:46:00 +02:00
Bertocq
845f0094b5
Add proposal phase values to legislation process factory
2018-10-03 13:40:59 +02:00
Bertocq
349abffb20
Add random order based on seed to legislation process proposals list
2018-10-03 13:40:59 +02:00
Bertocq
599ddf8f41
Create @proposal variable con process controller for proposals list that use random seed
2018-10-03 13:40:59 +02:00
Bertocq
4ab9b8b767
Move onto proposals method the random seed call
2018-10-03 13:40:59 +02:00
Bertocq
0cabede68c
Add random seed on Legislation Proposal controller for index
2018-10-03 13:40:59 +02:00
Javier Martín
132fea9c94
Merge pull request #2913 from papayalabs/2741-updates-translatable-custom-pages-reloaded
...
Updates translatable custom pages
2018-10-03 13:23:13 +02:00
Javier Martín
2775ae2b50
Merge pull request #2924 from consul/backport-1588-make-homepage-content-translatable
...
Make homepage content translatable
2018-10-03 13:20:49 +02:00
Alberto
857f747ab8
Merge pull request #2922 from consul/legislation-proposals-imageable
...
Legislation proposals imageable
2018-10-02 11:22:19 +02:00
decabeza
aa76251d1d
Adds image to legislation proposals views
2018-10-01 16:49:22 +02:00
decabeza
7c194f6042
Adds imageable to legislation proposals
2018-10-01 16:48:46 +02:00
Javier Martín
ea429cb4ac
Merge pull request #2925 from consul/backport-rubocop_whitespace
...
Update rubocop rules
2018-10-01 13:41:10 +02:00
Javier Martín
ad443fa03a
Merge pull request #2933 from consul/help-feature
...
Feature help page
2018-10-01 13:38:38 +02:00
decabeza
dd11a040a6
Adds setting to enable or disable help page
2018-09-28 18:59:28 +02:00
Papaya Labs
3f9dea080b
Check title and slug in spec
2018-09-28 09:43:00 +02:00
Papaya Labs
5a4b9b0810
Remove trailing whitespaces
2018-09-27 14:36:23 +02:00
Papaya Labs
914bfa645e
Updates translatable custom pages
2018-09-27 13:46:17 +02:00
Javi Martín
f9bfa450d6
Add percent literal delimiters to rubocop rules
...
As developers agreed upon.
2018-09-26 17:11:59 +02:00
Javi Martín
ad1e044e0a
Add trailing newline rule to rubocop
...
Just like we're suggesting when we do code reviews and like the rule
we've enabled in SCSS-Lint.
2018-09-26 17:11:59 +02:00
Javi Martín
2545d49aed
Don't allow trailing whitespaces in rubocop
...
Luckily we don't have any trailing whitespaces around, but we might
accidentally introduce some.
2018-09-26 17:11:59 +02:00
Javi Martín
1ffaa680a3
Create correct translation when visiting root page
...
We set `I18n.locale = :en` before each test, and so creating a new card
will automatically create English translations.
So visiting the Spanish page won't show the card, since no Spanish
translation exists for it. If we visit the klingon page after doing so,
the last used locale (Spanish) will still be used, and so the test will
fail.
Specifically creating Spanish translations instead of the English ones
makes the translations visible when visiting the Spanish homepage.
2018-09-26 16:09:09 +02:00
Marko Lovic
832e6178d7
Add Spanish translation to Card seed data
...
Instead of using I18n for the field texts and forcing the
locale (e.g. `I18n.t('seeds...', locale: :es)`), I'm moving
content out of `config/locales/` and into the seed file.
This is because this content is less about reacting to different
locales (the locale would always be forced so we don't actually
use the main i18n functionality), and more about demonstrating
the "translatable fields" feature.
2018-09-26 16:09:09 +02:00
Marko Lovic
86dbe799ba
Remove extra tag element from cards form
2018-09-26 16:09:09 +02:00
Javi Martín
5bb5cfa7fb
Make Widget::Card translatable
2018-09-26 16:09:09 +02:00
Raimond Garcia
2c22ab347d
Merge pull request #2891 from consul/dependabot/bundler/savon-2.12.0
...
Bump savon from 2.11.2 to 2.12.0
2018-09-26 15:48:57 +02:00
Raimond Garcia
03e454585a
Merge pull request #2905 from consul/dependabot/bundler/coveralls-0.8.22
...
Bump coveralls from 0.8.21 to 0.8.22
2018-09-26 15:47:22 +02:00
Raimond Garcia
1e23548e39
Merge pull request #2908 from consul/dependabot/bundler/ancestry-3.0.2
...
Bump ancestry from 3.0.1 to 3.0.2
2018-09-26 15:45:55 +02:00
Raimond Garcia
8adc778aa2
Merge pull request #2909 from consul/dependabot/bundler/paranoia-2.4.1
...
Bump paranoia from 2.4.0 to 2.4.1
2018-09-26 15:45:27 +02:00
Alberto
35ebe79d26
Merge pull request #2921 from consul/custom-js
...
[Backport] Adds custom javascripts folder
2018-09-26 14:24:47 +02:00
Raimond Garcia
4086220ebf
Merge pull request #2914 from microweb10/make_polls_translatable
...
Make polls translatable
2018-09-26 13:19:17 +02:00
decabeza
62490c4640
Adds custom javascripts folder
2018-09-26 12:34:16 +02:00
Raimond Garcia
1fbb428004
Merge pull request #2898 from papayalabs/2889-show-active-tab-in-custom-info-texts
...
Show active tab in custom info texts
2018-09-24 21:11:25 +02:00
Papaya Labs
45da512ce9
Add Spec
2018-09-24 20:38:42 +02:00
Julian Herrero
4344165bce
change translatable form helper for cktext_area
2018-09-24 19:40:51 +02:00
Julian Herrero
1d30909725
remove duplicated method
2018-09-24 19:38:59 +02:00
Javier Martín
ef0192c3ff
Merge pull request #2912 from consul/backport-make-collaborative-legislation-translatable
...
Make collaborative legislation translatable
2018-09-24 17:45:59 +02:00
Javier Martín
758d3f8541
Merge pull request #2911 from consul/backport-fix_time_related_specs
...
Fix time related specs
2018-09-24 17:43:22 +02:00
Julian Herrero
1c6f0be856
remove unused locales
2018-09-21 20:54:11 +02:00
Julian Herrero
46030c72e8
remove unnecessary parameter
2018-09-21 20:53:20 +02:00
Julian Herrero
df9955e0c6
make use of the new spec helper it_behaves_like translatable
2018-09-21 20:52:35 +02:00
Julian Herrero
549c086574
put spec helper in the correct place
2018-09-21 20:51:51 +02:00
Julian Herrero
888ae8e6d6
neutral_locale not needed anymore
2018-09-21 20:51:13 +02:00
Julian Herrero
e6762d6bca
handle non-underscored locale names for cktext_area
2018-09-21 20:50:23 +02:00
Alberto
e0d08a32dd
Merge pull request #2916 from consul/custom-fonts
...
[Backport] Custom fonts
2018-09-21 14:29:50 +02:00
decabeza
a94591fe78
Loads custom fonts before default ones
...
Also includes a .keep file inside fonts/custom folder to track the directory by git
2018-09-21 13:46:50 +02:00
Alberto
6257d546b5
Merge pull request #2915 from consul/comments-processes
...
[Backport] Changes allegations dates label
2018-09-21 12:59:01 +02:00
decabeza
a1bbc82c8d
Changes allegations dates label
2018-09-20 17:33:04 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00