Commit Graph

574 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
c051750248 Fixes typos 2015-12-17 21:07:05 +01:00
kikito
5d2c37e71f Displays a message when an unregistered user tries to annotate 2015-12-17 18:25:53 +01:00
kikito
5e067e8447 adds i18n to annotator 2015-12-17 17:32:17 +01:00
kikito
85b26f960d hides the admin checkboxes in annotator 2015-12-17 16:46:46 +01:00
rgarcia
04ab0af8a3 fixes typo 2015-12-16 19:29:03 +01:00
kikito
2c9cbb9ce6 Uses the current user in annotator.js 2015-12-16 18:46:56 +01:00
kikito
0c96b2da8d Removes all remaining traces of setting the user_id in the browser. 2015-12-16 18:44:10 +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
f43248b174 renames & refactors annotations.js into annotable.js 2015-12-16 16:07:23 +01:00
rgarcia
60d6f1c41b annotates legislations instead of proposals 2015-12-16 11:45:47 +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
189a6426b1 Se agregan anotaciones a propuestas existentes 2015-12-16 11:45:46 +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
Jakub
12c28fe32d Fix double-submission prevention not working. 2015-11-26 17:14:14 +01:00
Sergio Arbeo
12ec1fe6f6 Update comments count when commenting on a debate or proposal 2015-10-27 01:02:39 +01:00
Juanjo Bazán
8c99c6a5f0 refactors stats and optimizes js
JS libraries for stats (d3, c3, etc.) only load now when needed (stats/show)
2015-09-23 19:37:24 +02:00
David Gil
e8f1d627b1 binds the ie alert close link to a cookie that will be checked before showing the alert the next time 2015-09-18 01:25:55 +02:00
kikito
468c5c2a72 fixes two issues in prevent_double_submission.js : disabled inputs are not sent on put, and jquery each iterates over "this" 2015-09-13 22:07:45 +02:00
kikito
08dfa982eb Fixes error in double_submission button
It did not take into account that some forms can have more than 1
submit button, which made the code not include the button values in
some puts and posts.
2015-09-13 22:07:44 +02:00
rgarcia
ad8880d02c adds proposal votes 2015-09-13 21:56:52 +02:00
kikito
356f1c29ce Allows moderators to hide proposals from index 2015-09-13 14:39:38 +02:00
rgarcia
f3af263e68 adds crud specs for proposals 2015-09-13 11:47:57 +02:00
Raimond Garcia
725b9f2fe2 Merge pull request #465 from dgilperez/prevent_double_comments
Prevents double submit for form buttons
2015-09-10 20:55:05 +02:00
David Gil
a5f05455c4 prefers :button and :submit selector to css class in selector 2015-09-10 18:42:53 +02:00
David Gil
2f5168a2bf changes default loading text to "..." 2015-09-10 18:35:48 +02:00
David Gil
a742afff9b clean code 2015-09-10 18:00:48 +02:00
David Gil
81b1549d11 prevents double submit for form buttons 2015-09-10 17:58:02 +02:00
David Gil
30ee3b9aef adds Turbolinks progress bar 2015-09-10 13:35:01 +02:00
Alberto Garcia Cabeza
dba3385a6c Adds rem and respond js 2015-09-09 20:32:38 +02:00
kikito
48ba9a436d adds select all/none to bulk moderation 2015-09-08 20:46:18 +02:00
rgarcia
c7129a9218 initialize dropdown after turbolink request 2015-09-05 01:18:09 +02:00
Juanjo Bazán
f9067fe201 Fixes CKeditor & Turbolinks issue
Closes #330
2015-09-04 13:16:25 +02:00
Juanjo Bazán
8915ce7ffd adds interface to disallow organizations votes
on debates
2015-09-02 12:16:55 +02:00
Juanjo Bazán
2ed0486423 toggles layer on votes via js 2015-09-01 17:49:03 +02:00
kikito
088144dcd1 Refactor debates order select using js-location-changer 2015-08-28 17:17:21 +02:00
kikito
934512ad7a made the locale switcher use less js, more ruby & html 2015-08-28 17:02:06 +02:00
Marko Lovic
e8004ca1d3 Add to javascript to handle debates order change 2015-08-27 17:18:07 +02:00
kikito
e68ee3ffae Replaces id by js-class in moderator-debate-actions 2015-08-24 18:45:22 +02:00
kikito
36fb9b60b2 Use a js-class instead of an id for moderator-comment-actions 2015-08-24 18:35:59 +02:00
kikito
710e83fb22 Adds locale switcher js code + feature tests 2015-08-19 21:40:17 +02:00
kikito
961a317c9b Adds (a modified version of) queryParameters.js 2015-08-19 21:26:29 +02:00
Juanjo Bazán
7e1cd2940d Fix conflicts 2015-08-17 21:08:15 +02:00
Eloy Gomez
5b0cd4a8ba Show charts using c3.js 2015-08-17 19:15:17 +02:00
Eloy Gomez
637e428f4c Add c3.js and dependencies 2015-08-17 19:13:38 +02:00
rgarcia
f31ed2940d adds moderation to comments and debates [#136] 2015-08-17 13:39:31 +02:00
rgarcia
a81612b226 improves consistency of error messages [#110] 2015-08-16 15:57:09 +02:00
David Gil
8b89cc5117 adds some js to click-and-add tags to the debate's tag list input 2015-08-15 18:57:27 +02:00