Commit Graph

6139 Commits

Author SHA1 Message Date
Bertocq
6e1fa53e2c Fix Lint/DefEndAlignment rubocop issues and remove from rubocop_todo list 2017-06-19 10:45:18 +02:00
Bertocq
b104765ddc Rubocop autocorrect Lint/BlockAlignment and remove from rubocop_todo list 2017-06-19 10:45:18 +02:00
Bertocq
21c6d1c4dd Cleanup Lint/AssignmentInCondition rubocop issues on code and remove it from ruboco_todo list 2017-06-19 10:45:18 +02:00
Bertocq
87e73e772c Remove all Lint/AmbiguousRegexpLiteral rubocop issues on code, and from rubocop_todo list 2017-06-19 10:45:18 +02:00
Raimond Garcia
e6afa9473e Merge pull request #1663 from consul/chore/add_crowdin_badge
Add Crowdin badge to Readme files
2017-06-19 10:41:56 +02:00
Bertocq
70feb10619 Add crowdin badge to Readme files that show % of localization in current languages 2017-06-18 00:54:46 +02:00
rgarcia
0323f8ea36 adds en.yml translations for crowdin 2017-06-17 12:03:07 +02:00
rgarcia
6a5354dac4 refactors rails.nl.yml 2017-06-17 11:40:30 +02:00
Raimond Garcia
eb829837dc Merge pull request #1615 from waagsociety/dutch
Dutch
2017-06-17 10:56:31 +02:00
Raimond Garcia
ba5216b725 Merge pull request #1552 from cldha/master
Add French translation
2017-06-17 10:56:09 +02:00
Alberto
bdf7a10441 Merge pull request #1643 from consul/chore/add_scss_lint
[WIP] SCSS Linting tool & Config
2017-06-16 18:22:43 +02:00
Raimond Garcia
e04305f0bc Merge pull request #1662 from consul/fix-draft-spec
fixes draft spec
2017-06-16 16:26:06 +02:00
Juanjo Bazán
d165116b5e fixes draft spec 2017-06-16 15:19:38 +02:00
Juanjo Bazán
89db068a04 Merge pull request #1661 from consul/fix/shared_example_warning
Fix shared example group warning from rspec
2017-06-16 13:43:20 +02:00
decabeza
2e0b17afcf updates specs 2017-06-16 13:23:11 +02:00
decabeza
65fa120929 adds scss-lint to readme files 2017-06-16 12:22:21 +02:00
decabeza
76b7f66fb3 fixes scss lint warnings 2017-06-16 12:09:01 +02:00
Bertocq
450227d5e5 Add base .scss-lint.yml config file based on https://sass-guidelin.es/es/#scss-lint guide 2017-06-16 12:07:37 +02:00
Bertocq
e1573e55b5 Add scss-lint gem for sass linting 2017-06-16 12:07:37 +02:00
Bertocq
d1a050fa4d Fix shared example group rspec warning because of file name ended with _spec 2017-06-16 01:28:43 +02:00
Enrique García
470eccb6aa Merge pull request #1659 from consul/graphql-ui
Enables GraphQL UI in production
2017-06-15 12:44:12 +02:00
rgarcia
3a50cc3a99 Enables GraphQL UI in production 2017-06-15 12:12:41 +02:00
Enrique García
2a095a3b82 Merge pull request #1653 from consul/amiedes-api-dev-PRs-2
Graphql API
2017-06-15 11:27:58 +02:00
Juanjo Bazán
9ab0f9cf8b Merge branch 'master' into amiedes-api-dev-PRs-2 2017-06-14 12:46:58 +02:00
Juanjo Bazán
a6bc109821 Merge pull request #1650 from consul/refactor/dev_seeds_cleanup
Cleanup dev_seeds.rb file
2017-06-14 12:42:24 +02:00
Bertocq
d99a4da246 Some style corrections on dev_seeds, along with abreviations and removal of unused blocks 2017-06-14 12:00:37 +02:00
Raimond Garcia
ae82a563d6 Merge pull request #1651 from consul/fix/direct_message_today_scope
Fix DirectMessage today scope
2017-06-14 11:42:54 +02:00
Raimond Garcia
8bcb50d801 Merge pull request #1652 from consul/feature/1588#legislative_process_active_dates
Legislation Process Date display & Enabling/Disabling
2017-06-14 11:41:18 +02:00
Raimond Garcia
2b797c5ba0 Merge pull request #1649 from consul/refactor/legislative_process_phases_and_publications
Refactor legislative process phases and publications
2017-06-14 11:39:15 +02:00
Juanjo Bazán
aa29905e31 updates graphql 2017-06-14 10:44:33 +02:00
kikito
782a68e9d3 Merge branch 'master' into amiedes-api-dev-PRs-2 2017-06-14 09:58:17 +02:00
Bertocq
8440f6c749 Increase coverage of admin feature spec for legislation process dates enabling 2017-06-14 08:52:11 +02:00
Bertocq
cc0146e372 Use Time in utc on direct message specs when changing created_at directly 2017-06-14 01:17:32 +02:00
Bertocq
129e93dd12 Use Time.current converted to Date by the database DirectMessage today scope
Why:

* Database stores created_at as timestamp with the timezone, so when comparing DATE(created_at) to something we have to convert it to DATE as well with the postresql native function, but using Time.current instead of Date.current to take into account the user timezone
2017-06-14 01:15:26 +02:00
Bertocq
1dac73eb48 Fix debate phase checkbox name on admin legislation process feature spec, as well as expectations 2017-06-14 00:29:15 +02:00
Bertocq
c18d1b6e8f Check new enabled? logic on both Legislation::Process Phase and Publication classes 2017-06-14 00:21:08 +02:00
Bertocq
a279e77c39 Fix typo on legislation process factory 2017-06-14 00:13:56 +02:00
Bertocq
33e825672c Rename label for legislation process active checkbox to enabled on both translations and form 2017-06-13 23:56:31 +02:00
Bertocq
4ea5df4012 Display only the Legislation Process dates for those phase/publication enabled 2017-06-13 23:50:45 +02:00
Bertocq
73ff68815d Update admin legislation process controller and form to allow enabling/disabling phase/publications 2017-06-13 23:50:12 +02:00
Bertocq
a147765273 Add enabled_phases_and_publications_count helper method on legislation process for views 2017-06-13 23:48:31 +02:00
Bertocq
9a97d09cab Add new phase/publication enabled flags on seeds and legislation process factory 2017-06-13 23:47:53 +02:00
Bertocq
cb7358bb97 Send to both Phase and Publication classes the enabled flag and use for enabled? helper method 2017-06-13 23:47:14 +02:00
Bertocq
bae9d105fa Add phase and publications enabled column flags to Legislative Process table 2017-06-13 22:50:38 +02:00
Bertocq
004c128b6c Fix phase name symbol on legislation process key_dates view 2017-06-13 22:04:36 +02:00
Bertocq
2018fc0b7d Fix Legislation Process Controller to correctly set both @phase and @process 2017-06-13 22:04:36 +02:00
Bertocq
990437dc40 Remove no longer used active/show/open _phase helper methods from Legislation Process, and specs 2017-06-13 22:04:36 +02:00
Bertocq
8710d8c0d3 Replace old active_phase? for new phase/publication enabled? for legislation processes 2017-06-13 22:04:36 +02:00
Bertocq
1b260c91f0 Replace old show_phase? for new phase/publication started? for legislation processes 2017-06-13 22:04:36 +02:00
Bertocq
523988a291 Replace old open_phase? method for new phase/publication open? on Legislative Process 2017-06-13 22:04:36 +02:00