kikito
ae6d70b1c1
Uses Abilities instead of exceptions in the proposals controller
2016-01-13 16:32:10 +01:00
Juanjo Bazán
eb4c352f7d
removes before_action in favor of cancancan
2016-01-13 12:56:27 +01:00
nachogomez
bcfe50b41e
Add Thematic structure and Districts - Iss685 - 12 january 2016
2016-01-13 12:11:33 +01:00
Juanjo Bazán
e5caf84c02
adds show view in admin for spending proposals
2016-01-11 14:25:33 +01:00
Juanjo Bazán
3f05864a16
adds spending proposals to admin
2016-01-11 13:45:10 +01:00
Juanjo Bazán
bc8c14e4a1
adds geozone to spending_proposals
2016-01-11 12:18:23 +01:00
Juanjo Bazán
8aebfecae0
removes tags from spending proposals
2016-01-11 12:18:01 +01:00
Juanjo Bazán
54badef191
users can create spending proposals
2016-01-11 12:17:10 +01:00
Juanjo Bazán
864ef6e73b
adds basic spending proposals index
2016-01-11 12:16:31 +01:00
Juanjo Bazán
2c36ceb10c
adds abilities for SpendingProposals
2016-01-11 12:15:42 +01:00
Julian Herrero
7bbfcd74e2
check if username is available in registration form
2016-01-10 19:17:20 +01:00
Julian Herrero
8ef9e69f71
Update from upstream
2016-01-10 15:26:19 +01:00
Julian Herrero
7c65b8555c
redirect to frendly url for debates and proposals if needed
2016-01-10 13:38:22 +01:00
Juanjo Bazán
307b29736d
Merge branch 'master' into notifications
2016-01-08 15:07:16 +01:00
Juanjo Bazán
704a038795
groups notifications
2016-01-08 14:32:16 +01:00
nachogomez
51d9d186af
Add Thematic structure and Districts - Iss685
2016-01-08 13:49:23 +01:00
Alberto Garcia Cabeza
9db19a3049
Merge branch 'master' into comment-show
2016-01-08 13:41:25 +01:00
Juanjo Bazán
a976e16ef3
redirects notification show to notifiable
2016-01-08 13:06:00 +01:00
Juanjo Bazán
ab74bd58fa
avoids queries when creating a notification
2016-01-08 13:06:00 +01:00
Alberto Garcia Cabeza
de51bb0f79
Merge branch 'master' into notifications
2016-01-08 12:46:28 +01:00
rgarcia
816a95b7b7
adds comment show view
2016-01-07 15:18:28 +01:00
rgarcia
e2f419e625
destroy notifications when marked as read
2016-01-07 12:02:01 +01:00
rgarcia
b5e9113718
merges activities into notifications
2016-01-06 12:33:37 +01:00
kikito
b89f39bfef
Removes unused orders from debates controller
2016-01-05 19:37:56 +01:00
Julian Herrero
9a5f525dc9
marcar notificaciones como leidas despues de ser vistas
2016-01-05 17:43:44 +01:00
Julian Herrero
d9ba3edc2a
mostrar notificaciones a los usuarios cuando alguien comenta en su
...
debate o responde a su comentario
2016-01-05 17:43:44 +01:00
Julian Herrero
ba0ce4e14b
añadir track_activity para mostrar futuras notificaciones a los usuarios
2016-01-05 17:42:10 +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
Julian Herrero
b64dc3a7cb
Merge branch 'master' of https://github.com/consul/consul
2015-12-24 12:58:51 +01:00
Julian Herrero
2049eb0455
rename column name to newsletter
2015-12-24 12:53:03 +01:00
kikito
d194bf0adc
takes the user to the same page he was in after logout
2015-12-22 11:19:06 +01:00
kikito
df7bb4ac95
Merge branch 'master' into devise-location
2015-12-22 10:54:52 +01:00
kikito
866e04f776
makes devise remember the last visited page before login in
2015-12-21 16:44:30 +01:00
Juanjo Bazán
0dcc176098
removes before_filter
...
(deprecated in favor of before_action)
2015-12-19 10:21:53 +01:00
kikito
900f11fd49
ActiveRecord.find already throws a 404 if not existing; there is no find!
2015-12-16 18:44:55 +01:00
kikito
c98360fa87
Return a permissions hash with all the annotations
2015-12-16 18:10:02 +01:00
kikito
3245aa9dd2
Do not accept user_id as parameter when creating annotations
2015-12-16 18:09:10 +01:00
kikito
6335732ce6
Ensure that 404 errors are thrown for inexistent annotations
2015-12-16 18:07:03 +01:00
kikito
22ec287b16
Removes the user param from the client and forces it to be current_user in the controller
2015-12-16 18:06:25 +01:00
Julian Herrero
e7314ac380
add option to subscribe/unsubscribe to website newsletter
2015-12-16 16:14:35 +01:00
kikito
7996f5f816
makes cancan return a json error when asked for json and permissions fail
2015-12-16 14:02:03 +01:00
rgarcia
60d6f1c41b
annotates legislations instead of proposals
2015-12-16 11:45:47 +01:00
rgarcia
996e87cb13
adds legislations
2015-12-16 11:45:46 +01:00
Abigail Sosa
bb5da1af7f
Se agrega usuario autor a cada anotacion
2015-12-16 11:45:46 +01:00
Abigail Sosa
e2f6950dc4
Carga anotaciones de la propuesta
2015-12-16 11:45:46 +01:00
Abigail Sosa
cf8a952b0b
Se pueden eliminar anotaciones
2015-12-16 11:45:46 +01:00
Abigail Sosa
5743068780
Se pueden editar - actualizar anotaciones
2015-12-16 11:45:46 +01:00
Abigail Sosa
189a6426b1
Se agregan anotaciones a propuestas existentes
2015-12-16 11:45:46 +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