Bertocq
d759aca522
Fix all Rails/TimeZone rubocop issues and remove files from rubocop_todo list
2017-06-25 15:46:46 +02:00
Bertocq
6529e37ae8
Fix all rubocop Rails/PluralizationGrammar issues and remove the file list form rubocop_todo file
2017-06-25 15:46:46 +02:00
kikito
1701111bf5
Merge branch 'api-dev-PRs' of https://github.com/amiedes/consul into amiedes-api-dev-PRs-2
2017-06-13 12:07:28 +02:00
Raimond Garcia
59f42dfa0f
Merge pull request #1579 from bertocq/chore/restore_setting_afterwards_in_specs
...
Cleanup Settings values modified after specs are run
2017-06-08 12:09:24 +02:00
Bertocq
798b646135
Cleanup Settings values modified after specs are run
2017-06-07 20:55:42 +02:00
decabeza
dcffa96d11
removes specs of deleted info pages
2017-06-07 18:53:23 +02:00
decabeza
5e0d5fc8c3
Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation
2017-05-22 18:43:49 +02:00
Alberto Miedes Garcés
cad66ea85a
Update GraphQL and GraphiQL gem
2017-05-11 22:29:21 +02:00
Alberto Miedes Garcés
5d9054d284
Merge branch 'master' into api-dev-PRs
...
Conflicts:
Gemfile.lock
config/routes.rb
db/dev_seeds.rb
db/schema.rb
2017-05-11 21:59:42 +02:00
Alberto Garcia Cabeza
45af9ce5aa
adds budget investments numbers and chart on admin stats
2017-04-25 16:46:20 +02:00
Alberto Garcia Cabeza
533a7492a1
changes more information to more info
2017-04-04 18:01:30 +02:00
Alberto Garcia Cabeza
b9a44297aa
updates pages specs
2017-03-30 13:53:01 +02:00
Amaia Castro
b298fb7316
Show annotation context in annotation page
...
Only works with quotes within the same html node for now
2017-02-10 15:35:42 +01:00
Amaia Castro
3009706b0d
Don’t allow comments on questions for unverified users and when the phase is closed
2017-02-08 18:19:10 +01:00
Alberto Miedes Garcés
70a1dbde94
Fix bug when parsing query variables sent by the GraphiQL desktop client
2017-01-31 13:52:25 +01:00
Alberto Miedes Garcés
5b7cbccd19
Merge branch 'master' into api-dev
2017-01-26 12:39:59 +01:00
Amaia Castro
53d13d8524
Create a new comment instead of a new annotation with the same ranges
2017-01-25 16:04:10 +01:00
Fernando Blat
f1be212eeb
Fix and complete controller specs
2017-01-14 16:56:55 +01:00
Amaia Castro
49e66a431c
Check phase dates and that draft version is not final before creating annotations
2017-01-13 19:11:05 +01:00
Amaia Castro
a2a61341fe
Merge branch 'master' into legislation-module-stable
2017-01-11 22:54:41 +01:00
Amaia Castro
f505d6fec7
Check if debate phase is open to create answers
2016-12-28 22:02:08 +01:00
kikito
84418bd671
Fixes issue in has_orders concern
2016-12-25 22:58:21 +01:00
kikito
03ef20bfde
Merges orders_helper functionality inside has_orders concern
...
Both these objects where using/setting a variable called valid_orders.
As a results, some specs where becoming flacky
(features/budgets/investments_spec.rb, balloting phase). By putting
them together, there is no `valid_orders` variable any more (everything
is @valid_orders) and the flackyness is gone.
2016-12-24 14:42:46 +01:00
Alberto Miedes Garcés
6013f84945
Handle multiple kind of requests in GraphQL controller
...
* Added support for GET requests
* Added support for application/graphql content-type for POST requests
* Handling query string parsing errors in controller
* Wrote specs for all this
2016-12-03 13:36:14 +01:00
Alberto Miedes Garcés
a516262724
Example graphql_controller test
2016-11-30 13:43:50 +01:00
Alberto Miedes Garcés
0eae2fada6
Refactor GraphQL controller specs
2016-11-27 13:50:01 +01:00
Alberto Miedes Garcés
9ed51cf477
Useless commit
2016-11-25 01:02:05 +01:00
Alberto Miedes Garcés
2271f6d634
Renamed GraphQL route, added support for GET requests
2016-11-22 15:22:27 +01:00
Alberto Miedes Garcés
90d5034174
Half-made tests for GraphqlController
2016-11-17 17:47:09 +01:00
rgarcia
93bfd492d4
marks specs as pending
2016-07-27 13:27:37 +02:00
rgarcia
3c55d66591
fixes conflicts with budget
2016-07-27 11:41:46 +02:00
Juanjo Bazán
6b351de6a1
fixes build
2016-07-11 10:43:27 +02:00
Juanjo Bazán
8316d9d895
fixes spec
2016-07-10 23:24:42 +02:00
kikito
9f3b99f0a6
Allows blocks in has_orders concern
2016-06-03 18:30:47 +02:00
Juanjo Bazán
d1e50d70d6
managers can login to /management
2016-05-10 19:10:02 +02:00
Raimond Garcia
712e42ca9d
Merge pull request #1104 from consul/admin-access-to-management
...
Admin access to management
2016-04-28 16:55:10 +02:00
Juanjo Bazán
2eabab657a
allows admin to sign in into management
2016-04-27 17:26:19 +02:00
kikito
dea1a28a69
purges simple_captcha
2016-04-27 16:07:47 +02:00
rgarcia
e4ef5c156b
fixes specs
2016-01-21 18:02:08 +01:00
rgarcia
cade157acd
fixes conflicts with master
2016-01-21 17:27:02 +01:00
Juanjo Bazán
2d4d057b48
returns empty 404 instead of raising exception
...
for the catch-all route
2016-01-20 16:20:43 +01:00
Josep Jaume Rey Peroy
5de3d700e4
Simplify Settings API
2016-01-18 12:43:34 +01:00
Julian Herrero
7bbfcd74e2
check if username is available in registration form
2016-01-10 19:17:20 +01:00
Juanjo Bazán
bbc0f07b74
returns 404 for not found pages
...
(instead of 500 by MissingTemplate)
Fixes #792
2015-12-30 14:27:16 +01:00
Alberto Garcia Cabeza
eb47f3de44
Removes unused static page
2015-12-14 18:20:51 +01:00
Josep Jaume Rey Peroy
80104d100f
Normalize page paths
...
Normalize page paths so they can be accessed by `page_path(:id)`.
The benefit of this is that we can add any arbitrary amount of pages
without affecting the routing layer.
2015-12-12 10:22:27 +01:00
Juanjo Bazán
349288b992
removes provisional transparency page
2015-12-03 12:51:51 +01:00
Juanjo Bazán
97dcd02750
adds spec for management's managed user logout
2015-10-23 13:48:50 +02:00
Juanjo Bazán
f1bc7af462
makes manager logout to remove session user data
2015-10-23 13:37:19 +02:00
Juanjo Bazán
5ee95a7b5b
adds spec for managed_user
2015-10-23 13:17:03 +02:00