Commit Graph

6352 Commits

Author SHA1 Message Date
Raimond Garcia
ba5216b725 Merge pull request #1552 from cldha/master
Add French translation
2017-06-17 10:56:09 +02:00
BertoCQ
5b6ef26336 Merge branch 'master' into chore/add_coffeelint_config 2017-06-16 18:28:31 +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
Bertocq
06525cb462 Add coffeelint install & usage instructions on readme files 2017-06-16 17:54:18 +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
Bertocq
2965b31504 Remove unnecesary space on coffeescript file 2017-06-16 00:06:42 +02:00
Bertocq
0379a66c77 Remove unnecesary empty parameter list on coffeescript file 2017-06-16 00:06:26 +02:00
Bertocq
3db13da2b1 Fix indentation on multiple coffeescript files 2017-06-16 00:05:07 +02:00
Bertocq
8f682901ed Fix Operators must be spaced properly rule on multiple coffeescript files 2017-06-16 00:03:34 +02:00
Bertocq
2c4139d4ac Remove trailing whitespace from tracks coffee file 2017-06-16 00:02:06 +02:00
Bertocq
6eb2647c1c Fix CoffeeLint rule 'Line contains a trailing semicolon' across multiple files 2017-06-16 00:01:05 +02:00
Bertocq
2a339e2155 Fix MD026 Trailing punctuation in header on dev test setup markdown files 2017-06-15 23:58:19 +02:00
Bertocq
fbb74a4d05 Fix MD032 Lists should be surrounded by blank lines on readme files 2017-06-15 23:57:46 +02:00
Bertocq
c903f555b3 Fix MD022 Headers should be surrounded by blank lines 2017-06-15 23:57:19 +02:00
Bertocq
a1a2d3dc1f Fix MD031 Fenced code blocks should be surrounded by blank lines across multiple markdown files 2017-06-15 23:56:38 +02:00
Bertocq
5ce3713907 Fix MD018 No space after hash on atx style header on markdown files 2017-06-15 23:55:11 +02:00
Bertocq
42b7fefe17 Fix MD025 Multiple top level headers in the same document on doc Readme document, by adding extra level on other headers 2017-06-15 23:53:56 +02:00
Bertocq
438c462d36 Fix MD009 Trailing spaces on markdown files 2017-06-15 23:51:13 +02:00
Bertocq
4ee3dc4a6d Fix MD014 Dollar signs used before commands without showing output on customize markdown files 2017-06-15 23:50:02 +02:00
Bertocq
889af958be Fix MD012 Multiple consecutive blank lines across multiple markdown files 2017-06-15 23:49:26 +02:00
Bertocq
41a2cf5bf3 Fix MD002 First header should be a top level header issues on Contributing md files 2017-06-15 23:47:25 +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
Bertocq
95f640d3c5 Add coffeelint configuration file 2017-06-14 19:06:40 +02:00
Bertocq
5c8faa2654 Add markdownlinter config file 2017-06-14 18:14:02 +02:00
Bertocq
aa405abf63 Add markdownlinter gem to development group 2017-06-14 18:13:36 +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