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
kikito
480ecd39c4
Replaces locales helper which returns an array by another which returns select options
2015-08-19 21:25:56 +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
Juanjo Bazán
d9d5e24a8b
updates options for admin officials level
2015-08-17 18:27:18 +02:00
Juanjo Bazán
fabcb42328
adds edition/management of officials to admin zone
2015-08-17 17:04:29 +02:00
rgarcia
f31ed2940d
adds moderation to comments and debates [ #136 ]
2015-08-17 13:39:31 +02:00
rgarcia
101477c7da
refactors admin layout
2015-08-14 13:33:30 +02:00
rgarcia
88defaa455
adds admin layout and access links [ #163 ]
2015-08-14 12:37:44 +02:00
David Gil
9a1bdb7aca
move tags helper to view, fix case when less than 5 tags were present, tag list was showing a + link
2015-08-12 16:26:41 +02:00
David Gil
06d8c96d54
Limiting max number of tags shown on debate cards ~ issue#144
2015-08-12 16:26:41 +02:00
rgarcia
4839081ad2
uses simple_captcha instead of recaptcha [ #51 ]
2015-08-10 20:24:56 +02:00
Juanjo Bazán
37199125fa
refactors votes view code to helper
2015-08-07 09:19:02 +02:00
Enrique García
ca575a6f20
Merge pull request #101 from AyuntamientoMadrid/show-0-votes
...
shows "0%" when there's zero votes
2015-08-06 12:00:37 +02:00
Fernando Seror
a89d621d1d
Allow locale to be set through the front-end
...
* Store the last used locale in the session
* Allow home page to be identified in helpers even when containing
parameters
* Create initializer to explicitly set the available locales, the
default and the load_path
2015-08-05 15:43:39 -05:00
Juanjo Bazán
64f5c4e7f1
shows "0%" when there's zero votes
...
Closes #97
2015-08-05 17:56:14 +02:00