Commit Graph

78 Commits

Author SHA1 Message Date
kikito
967bfc5b31 Moves the humanize_document_type helper to a new helper file called user 2015-10-02 18:40:56 +02:00
rgarcia
e9e97daf46 displays failed census calls [#500] 2015-09-24 17:21:08 +02:00
Raimond Garcia
3b68a6a94c Merge pull request #549 from AyuntamientoMadrid/fix-mailers
Fix mailers
2015-09-24 13:05:16 +02:00
Juanjo Bazán
08a1968fd2 adds mailer helper 2015-09-24 12:38:21 +02:00
kikito
adc8275f5a moves the admin api inside of the /admin namespace 2015-09-24 12:11:51 +02:00
kikito
f9101b4970 Implements tag_cloud using the new custom counters 2015-09-17 16:55:16 +02:00
Juanjo Bazán
94ccae91a4 refactors helper method 2015-09-15 14:59:07 +02:00
Juanjo Bazán
26da253a5d moves helper method to votes helper and adds spec 2015-09-15 14:44:12 +02:00
Juanjo Bazán
1c5f77def2 makes percentage votes to sum 100 2015-09-15 14:11:12 +02:00
rgarcia
b5de9830ec fixes specs 2015-09-14 21:25:05 +02:00
rgarcia
eea3b0922e adds already supported proposals 2015-09-14 21:21:34 +02:00
Juanjo Bazán
a472b4acc8 implements percentage in proposal supports 2015-09-14 19:06:07 +02:00
rgarcia
6641c380bc fixing conflicts 2015-09-13 22:00:59 +02:00
rgarcia
ad8880d02c adds proposal votes 2015-09-13 21:56:52 +02:00
Juanjo Bazán
9dee1bc8b2 adds helper to show the right progress bar 2015-09-13 19:00:11 +02:00
Juanjo Bazán
4c4c467b3e adds html auto link helper 2015-09-13 18:02:19 +02:00
Juanjo Bazán
7cf6f0ad15 makes tag_cloud to accept taggable
fixes links in proposals' tag cloud
2015-09-13 14:38:33 +02:00
Juanjo Bazán
0062ea13e9 fixes build 2015-09-13 14:26:09 +02:00
Juanjo Bazán
d11a6a039a refactors method to keep consistency in sync 2015-09-12 14:29:26 +02:00
rgarcia
f2b917d486 adds proposal show 2015-09-12 12:30:20 +02:00
David Gil
ec4119582c accepts no html tags in text_with_links sanitize 2015-09-10 20:42:57 +02:00
David Gil
5ecbe01d47 prevents body comments to accept html a tags, sanitize them out instead as well 2015-09-10 19:05:34 +02:00
David Gil
31cf51f07a adds text_with_links helper and use that in any comment.body in views, adds test to check for malicious injections in comment body 2015-09-10 18:28:10 +02:00
Juanjo Bazán
9166307120 adds cache key for commendable without updated_at 2015-09-09 14:45:19 +02:00
kikito
75c9e87357 Changes views so that administrators can see the debate moderation actions 2015-09-07 15:57:45 +02:00
Juanjo Bazán
bf18da3faa adds cache for authors of debate/comment 2015-09-06 22:03:31 +02:00
rgarcia
0e1678467d adds admins and moderators to cache keys 2015-09-05 22:02:51 +02:00
Enrique García
858adf891f Merge pull request #346 from AyuntamientoMadrid/ancestry
Ancestry
2015-09-03 17:19:08 +02:00
Juanjo Bazán
dfc1ccb108 renames helper method 2015-09-03 17:13:19 +02:00
Juanjo Bazán
358028c3e6 Fixes conflicts. Merge branch 'master' into ancestry 2015-09-03 16:37:28 +02:00
Juanjo Bazán
136c1e73ed uses ancestry to retrieve debate comments 2015-09-03 16:32:54 +02:00
Alberto Garcia Cabeza
3255995ea1 Adds new styles for pages 2015-09-03 14:15:01 +02:00
rgarcia
4897d5df4e makes spaces consistent 2015-09-03 01:29:46 +02:00
Juanjo Bazán
dee2d0196b ancestries
moves to ancestry from acts_as_commentable_with_threading
2015-09-02 19:23:09 +02:00
Juanjo Bazán
eb689d7c7e refactors comment form 2015-09-02 17:22:21 +02:00
Juanjo Bazán
df5ef2dc29 makes helper independent of commentable class 2015-09-02 17:06:11 +02:00
Juanjo Bazán
0c7ce4b6cf includes organizations in the cache key helper 2015-09-02 12:39:31 +02:00
Juanjo Bazán
174bd73b89 removes official_level_0_name setting 2015-09-01 20:00:41 +02:00
Raimond Garcia
3c665153d4 Merge pull request #300 from AyuntamientoMadrid/flag-helper
Flag helper
2015-09-01 15:19:16 +02:00
kikito
99fd0a917d Uses @comment_flags in everything comment-related 2015-09-01 13:10:19 +02:00
kikito
9a071d2ed7 Renames @voted_values to @debate_votes in controllers 2015-09-01 13:07:03 +02:00
kikito
005fd4c09a Replaces can? :flag/:unflag by a helper function 2015-09-01 10:34:46 +02:00
Juanjo Bazán
ef9a386b2b adds cache key helper for locale+user status 2015-08-31 20:39:54 +02:00
rgarcia
4bd0cbe777 adds mask to verified emails and phones 2015-08-30 15:14:23 +02:00
kikito
a7929c607d adds a helper to simplify the way selects and filters are rendered 2015-08-28 20:07:45 +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
rgarcia
3ee68fd5d7 adds translations 2015-08-28 00:03:08 +02:00
Juanjo Bazán
1d997d4929 fixes build, changes i18n ignored keys and specs
ref: #254
2015-08-27 18:08:56 +02:00
Marko Lovic
e8004ca1d3 Add to javascript to handle debates order change 2015-08-27 17:18:07 +02:00