Commit Graph

1467 Commits

Author SHA1 Message Date
kikito
cf04b48d4e Allow anyone to search and read annotations 2015-12-16 18:10:17 +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
kikito
e6755fa804 Fixes typo in annotable.js.coffee 2015-12-16 18:05:52 +01:00
kikito
fc8a1fc84b allows not-logged-in users to read existing annotations 2015-12-16 16:26:59 +01:00
kikito
f43248b174 renames & refactors annotations.js into annotable.js 2015-12-16 16:07:23 +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
1702426414 adds search and create specs 2015-12-16 11:45:47 +01:00
rgarcia
60d6f1c41b annotates legislations instead of proposals 2015-12-16 11:45:47 +01:00
rgarcia
9c3fda076d adds legislation permissions 2015-12-16 11:45:47 +01:00
rgarcia
996e87cb13 adds legislations 2015-12-16 11:45:46 +01:00
Rod Wilhelmy
dea9110a69 Fix nil error for non-logged users in proposals#show 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
Juanjo Bazán
a643c7c300 removes unused page 2015-12-16 11:28:37 +01:00
Alberto Garcia Cabeza
eb47f3de44 Removes unused static page 2015-12-14 18:20:51 +01:00
Josep Jaume Rey Peroy
a430c3e631 Fix footer links 2015-12-14 16:13:30 +01:00
Juanjo Bazán
328bd767ca adds js file for IE eyes only 2015-12-14 12:56:50 +01:00
Juanjo Bazán
393ff6ddd9 removes IE specific js files from application.js 2015-12-14 12:56:13 +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
Ana
23cbe7ee9f how to use moved to locale files 2015-12-06 22:13:39 +01:00
Ana
0abe9a7fd9 Eliminated explanation comments about redcarpet options 2015-12-06 18:06:01 +01:00
Ana
697fa748a3 More information moved to locale files and translated 2015-12-05 18:20:36 +01:00
Ana
ec25d5f6fa how it works page moved tolocale files using markdown 2015-12-05 16:10:19 +01:00
Alberto Garcia Cabeza
9ad798d26d Fixes conflicts 2015-12-03 20:50:21 +01:00
Alberto Garcia Cabeza
7beff47af6 Removes unused keys 2015-12-03 20:46:36 +01:00
Alberto Garcia Cabeza
1bbd36fd11 Improves header and footer styles 2015-12-03 20:46:36 +01:00
Juanjo Bazán
c47f5e84b6 removes provisional transparency page 2015-12-03 20:46:19 +01:00
Alberto Garcia Cabeza
b59d61af93 Improves styles for proposals and buttons 2015-12-03 20:25:14 +01:00
Alberto Garcia Cabeza
9ef0c3efbc Improves styles for auth pages 2015-12-03 20:06:38 +01:00
Alberto Garcia Cabeza
42487ca703 Unifies styles with transparency portal 2015-12-03 19:47:56 +01:00
Alberto Garcia Cabeza
bf5aac32c0 Improves header and footer styles 2015-12-03 19:30:01 +01:00
Alberto Garcia Cabeza
da25779ec7 Replaces open sans font to source sans and merriweather 2015-12-03 19:29:15 +01:00
Juanjo Bazán
349288b992 removes provisional transparency page 2015-12-03 12:51:51 +01:00
Raimond Garcia
c8c88b6fd6 Merge pull request #740 from xJakub/master
Auto-assign official level to users with official emails
2015-12-01 14:53:00 -08:00
Jakub
e4b31cfe29 Move automatic official_level assignment to the controller. 2015-12-01 23:18:23 +01:00
Jakub
ea9a2b3be6 Better names for the official email methods 2015-11-30 21:52:48 +01:00
Ana
9c8401008e Transparency and open data translations 2015-11-30 21:38:48 +01:00
Jakub
da490a4661 Officials level 1 is auto-assigned on email confirmation. Settings option is now optional. Also working on subdomains 2015-11-30 20:48:12 +01:00
Jakub
b4be4259b7 Level 1 officials are now auto-assigned. Rake user:check_email_domains created. 2015-11-29 00:55:15 +01:00
Alberto Garcia Cabeza
11bdcc90cf Refactors a little of SCSS for header 2015-11-27 18:18:46 +01:00
Jakub
12c28fe32d Fix double-submission prevention not working. 2015-11-26 17:14:14 +01:00
rgarcia
3f68c6726a maintains responsible name when user is erased 2015-11-23 19:12:57 +01:00
rgarcia
44f2b49647 adds consistency between debates and proposals 2015-11-23 13:40:31 +01:00
rgarcia
a44242b82a orders results after search 2015-11-23 13:40:05 +01:00