Commit Graph

4721 Commits

Author SHA1 Message Date
rgarcia
0939479263 removes custom knapsack configuration 2016-11-20 11:58:31 +01:00
rgarcia
a0a4f3c38e removes time offset warning for parallel builds 2016-11-20 11:56:50 +01:00
rgarcia
8595f60206 adds travis matrix configuration for knapsack 2016-11-20 11:11:48 +01:00
rgarcia
e8fcdff90f adds report on time per spec file 2016-11-20 11:10:02 +01:00
rgarcia
f7ec2ae9c3 upgrade to ruby 2.3.2 2016-11-19 20:27:39 +01:00
rgarcia
f3512a4a6f tries to speed up build with knapsack 2016-11-19 20:13:51 +01:00
Alberto Miedes Garcés
7bb1778124 Finished tests for GraphQL queries for single resources 2016-11-18 19:57:07 +01:00
Alberto Miedes Garcés
8b30aaa6d4 Merge branch 'master' into api-dev 2016-11-18 16:40:33 +01:00
Alberto Miedes Garcés
860704d908 Rewrote tests to tackle more specific stuff 2016-11-18 16:27:15 +01:00
Alberto Miedes Garcés
700fcaab16 Expose proposal/debate comments in the API so I can test :has_many associations 2016-11-18 16:24:41 +01:00
Alberto García Cabeza
b4a39e85ec Merge pull request #1267 from consul/social_share_html
Accessibility for social share
2016-11-18 13:42:35 +01:00
rgarcia
5a664b9246 adds sr-only class and site name to accessibility span 2016-11-17 19:17:46 +01:00
Alberto Miedes Garcés
4e2a003931 Half-made tests for ConsulSchema 2016-11-17 17:54:02 +01:00
Alberto Miedes Garcés
96bfbbf9af Half-made tests for GraphQL::TypeCreator 2016-11-17 17:48:03 +01:00
Alberto Miedes Garcés
90d5034174 Half-made tests for GraphqlController 2016-11-17 17:47:09 +01:00
Alberto Miedes Garcés
fc61d63aff Fixed bug for the Comment element inside the API_TYPE_DEFINITIONS 2016-11-17 17:25:27 +01:00
Alberto Miedes Garcés
6fca1f02fe Added clarifying comments related to GraphQL return types 2016-11-17 17:23:57 +01:00
Alberto Miedes Garcés
36bdad8851 Fixed bug in GraphQL::TypeCreator 2016-11-17 17:23:27 +01:00
rgarcia
e6a10cf1f1 adds accessibility span to social share buttons 2016-11-17 12:23:26 +01:00
Enrique García
03f14e05dd Merge pull request #1262 from consul/flacky-spec
Tries to fix flacky spec 'change my credentials'
2016-11-15 11:43:07 +01:00
Raimond Garcia
14af1a1961 Merge pull request #1259 from consul/accessibility
Accessibility
2016-11-15 11:39:40 +01:00
Enrique García
5a31c3b020 Merge pull request #1263 from consul/contributing
updates contributing
2016-11-15 11:38:53 +01:00
rgarcia
97855a8e43 updates contributing 2016-11-15 11:36:36 +01:00
Enrique García
0efc3f9dbf Merge pull request #1261 from consul/ruby-code-style
adds consistency to ruby code style
2016-11-15 11:35:55 +01:00
rgarcia
4ac5e84044 tries to fix flacky spec 'change my credentials' 2016-11-15 11:24:59 +01:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
Alberto Garcia Cabeza
5e487bb85f fixes specs 2016-11-14 18:06:39 +01:00
Alberto Garcia Cabeza
a66800afb1 fixes styles for spending proposals list and show 2016-11-14 17:46:01 +01:00
Alberto Garcia Cabeza
2249fdbdfa improves outline and structure headings 2016-11-14 17:45:20 +01:00
Alberto Miedes Garcés
b10b701319 Started GraphQL::TypeCreator testing 2016-11-14 16:08:56 +01:00
Alberto Miedes Garcés
195d1c5f69 Fixed bug in GraphQL::TypeCreator 2016-11-14 15:11:41 +01:00
Alberto Miedes Garcés
f6cd7a3456 Disable CSRF protection for GraphQL controller
Related documentation at:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtec
tion/ClassMethods.html
2016-11-13 20:07:09 +01:00
Alberto Miedes Garcés
fc2d4fda5b Fixed bug in TypeCreator and improved field descriptions 2016-11-11 12:52:54 +01:00
Alberto Miedes Garcés
0a23533a02 Refactor creation of the QueryRoot
Also incremented the max_depth for nested queries since the use of
pagination increases the needed depth to retrieve useful data (edges,
nodes, etc.)
2016-11-11 12:51:45 +01:00
Alberto Miedes Garcés
dd4b29898c Ran forgotten migration added by my last pull from consul/master 2016-11-10 22:38:22 +01:00
Alberto Miedes Garcés
c42bfbc9a0 Merge branch 'master' into api-coding-madrid 2016-11-10 22:33:27 +01:00
Alberto Miedes Garcés
59a355df1b First working version of new GraphQL::TypeCreator after major refactoring 2016-11-10 20:53:15 +01:00
Alberto Miedes Garcés
49317e2c11 Added support for associations (WITHOUT PAGINATION) 2016-11-08 22:19:16 +01:00
Alberto Miedes Garcés
277c784234 First simple API version with autogenerated GraphQL types 2016-11-08 17:40:13 +01:00
Alberto Miedes Garcés
e7de5c3a7f Deleted old GraphQL type files 2016-11-08 16:38:51 +01:00
Raimond Garcia
f24ced329f Merge pull request #1254 from consul/password-changed-at
sets default value for password_changed_at
2016-11-02 17:43:56 +01:00
Alberto Garcia Cabeza
e778c49e64 removes orange blocks and improves contrast on proposals 2016-11-02 16:31:38 +01:00
rgarcia
1a8f7e119f sets default value for password_changed_at 2016-11-02 14:51:52 +01:00
Alberto Garcia Cabeza
7594981964 changes text 2% of census to 1% 2016-11-02 14:22:37 +01:00
Alberto Garcia Cabeza
2c4b5315c8 removes blue blocks and improves contrast on debates 2016-11-02 13:07:26 +01:00
Alberto Garcia Cabeza
f8649ad6c2 improves styles on comments votes 2016-11-02 12:17:15 +01:00
Alberto Garcia Cabeza
e9b5a8980e removes redundant link on header 2016-10-31 18:39:57 +01:00
Juanjo Bazán
87ec74b49f Merge pull request #1253 from consul/refactor-styles
Refactor styles
2016-10-31 17:27:52 +01:00
Alberto Garcia Cabeza
6fd5e6a67a unifies styles for participation not allowed 2016-10-31 16:50:13 +01:00
Enrique García
df7fb0360c Merge pull request #1252 from consul/i18n
I18n
2016-10-31 16:09:09 +01:00