Commit Graph

89 Commits

Author SHA1 Message Date
Alberto Miedes Garcés
2741dcf03c Temporary remove organizations from API 2016-12-26 20:45:46 +01:00
Alberto Miedes Garcés
10eedebcb2 Refactor GraphQL specs to use public_author instead of author 2016-12-13 14:26:00 +01:00
Alberto Miedes Garcés
fdea4ad6ac Merge branch 'master' into api-dev 2016-12-03 13:53:13 +01:00
Alberto Miedes Garcés
a0f1976c1a Refactor GraphQL::TypeCreator specs 2016-12-02 21:53:36 +01:00
Alberto Miedes Garcés
c973195267 Refactor ConsulSchema specs 2016-12-02 21:30:13 +01:00
Alberto Miedes Garcés
aef20aadf7 Refactor specs for TypeCreator and ConsulSchema 2016-11-30 13:44:31 +01:00
kikito
2a2179d0f3 Merge branch 'master' into budget 2016-11-28 11:41:49 +01:00
kikito
f0b8cfd4a2 Time.now -> Time.current 2016-11-23 19:19:19 +01:00
Alberto Miedes Garcés
027bdf3f16 DRYed specs 2016-11-23 00:16:01 +01:00
Alberto Miedes Garcés
13273f4bc2 DRYed specs 2016-11-22 23:49:05 +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
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
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 Miedes Garcés
b10b701319 Started GraphQL::TypeCreator testing 2016-11-14 16:08:56 +01:00
kikito
b4c7675c31 imports votes 2016-09-07 15:58:39 +02:00
kikito
c1bf89a09e adds more functionality to spending proposal importer 2016-09-07 13:02:26 +02:00
kikito
b8dffc6137 refactor some tests to their own test in importer 2016-09-07 12:01:04 +02:00
kikito
bdfd326907 implements some parts of the spending proposals importer 2016-09-07 11:53:24 +02:00
rgarcia
5bd7fdb263 fixes specs 2016-08-03 20:05:08 +02:00
rgarcia
63274dfe08 marks notifications as emailed after rake 2016-08-03 19:48:43 +02:00
rgarcia
0faff2f01c adds specs 2016-08-03 19:33:43 +02:00
rgarcia
6e800c5120 adds email digest for proposal notifications 2016-06-14 17:53:36 +02:00
kikito
4f724ef3bf Modifies census_api to parse genre and dob 2016-04-12 18:18:25 +02:00
rgarcia
dbc19090ed cleans up 2016-01-26 12:13:29 +01:00
kikito
57e72206d2 makes the census api try several variants before failing a verification 2015-12-21 17:07:48 +01:00
Juanjo Bazán
5203f5c983 adds specs for SOAP calls 2015-10-15 17:05:34 +02:00
Juanjo Bazán
855763267f adds spec for lib/manager_authenticator 2015-10-15 15:59:14 +02:00
kikito
d71a404661 Adds more methods to ActsAsTaggableOn 2015-09-17 16:53:21 +02:00
kikito
fedefa215f Increases/decreases custom counters when taggings are created/destroyed 2015-09-17 12:50:14 +02:00
kikito
95fc7ea949 remove constants / replace by class methods 2015-09-10 18:07:30 +02:00
kikito
c750765bca Modifies the tag sanitizer to truncate tags longer than 40
I could not make a nice ActAsTaggable error message, this is way faster
2015-09-09 18:30:27 +02:00
Juanjo Bazán
a00abc0020 adds touch to debates on tag destroy 2015-08-31 20:26:30 +02:00
kikito
fb9d3097cc Finishes admin interface for debates 2015-08-27 19:05:27 +02:00
Juanjo Bazán
37ef85ed91 adds spec for paranoid added bulk methods 2015-08-20 13:26:51 +02:00
kikito
99c09afb02 Adds TagSanitizer 2015-08-03 19:30:06 +02:00
rgarcia
90720457bd moves wysiwyg sanitizer to lib [#71] 2015-07-31 18:51:20 +02:00