Commit Graph

20144 Commits

Author SHA1 Message Date
Juanjo Bazán
2e5b5bccb5 adds methods to decide if a user can vote a debate 2015-09-01 17:49:01 +02:00
Juanjo Bazán
916f0bf901 adds spec for Setting 2015-09-01 17:49:01 +02:00
Juanjo Bazán
de71f55103 adds cached_anonymous_votes_total to Debate 2015-09-01 17:49:01 +02:00
Juanjo Bazán
26fa5d5d5e adds setting value for max anonymous votes ratio 2015-09-01 17:49:01 +02:00
rgarcia
0fc51bee60 adds mailer asset host for staging and production envs 2015-09-01 17:31:28 +02:00
rgarcia
9838ba86ad hides social network login 2015-09-01 16:30:12 +02:00
rgarcia
e80fe261c8 removes old assets when deploying 2015-09-01 15:34:27 +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
d0c7c7fe79 Adds User.comment_flags 2015-09-01 13:09:35 +02:00
kikito
c2faf0ef92 Merge Vote.in with Vote.for_debates 2015-09-01 13:08:32 +02:00
kikito
9a071d2ed7 Renames @voted_values to @debate_votes in controllers 2015-09-01 13:07:03 +02:00
Juanjo Bazán
7b946b6e78 Merge pull request #299 from AyuntamientoMadrid/social_networks
hides social network login
2015-09-01 12:59:03 +02:00
Alberto García Cabeza
56aea4e9da Merge pull request #298 from AyuntamientoMadrid/assets-urls
uses assets url helpers
2015-09-01 12:58:59 +02:00
Juanjo Bazán
8037248b73 marks social network login specs as pending
temporary, for the beta testing phase
2015-09-01 12:56:15 +02:00
rgarcia
369fc6aef7 hides social network login 2015-09-01 12:46:02 +02:00
Juanjo Bazán
8ca3ecd36e uses assets url helpers 2015-09-01 12:40:23 +02:00
Juanjo Bazán
650f95ea21 changes default setting value 2015-09-01 11:47:53 +02:00
Juanjo Bazán
c9e688fc72 changes devise's défault email address 2015-09-01 11:45:11 +02:00
kikito
005fd4c09a Replaces can? :flag/:unflag by a helper function 2015-09-01 10:34:46 +02:00
kikito
6902d2851b Takes already-flagged-content out of Ability's concerns 2015-09-01 10:33:11 +02:00
rgarcia
f34bcbc12d adds symbolic link to beta testers after deploy 2015-08-31 22:27:23 +02:00
Juanjo Bazán
5def8ba1e8 Merge pull request #296 from AyuntamientoMadrid/styling_pages
Styling pages
2015-08-31 22:01:36 +02:00
Alberto Garcia Cabeza
b0f7d74c47 Changes site language test, comment unused keys 2015-08-31 21:55:23 +02:00
Alberto Garcia Cabeza
0235231ae6 Add first styles for verification account process 2015-08-31 21:50:41 +02:00
Alberto Garcia Cabeza
093ac67326 Removes duplicated labels on edit user's form 2015-08-31 21:50:17 +02:00
Alberto Garcia Cabeza
6f5707bbfa Changes links on header 2015-08-31 21:49:48 +02:00
Alberto Garcia Cabeza
da0c937983 Adds new texts for admin and moderation pages 2015-08-31 21:49:36 +02:00
Alberto Garcia Cabeza
a74f4ea030 Adds first styles for static pages 2015-08-31 21:48:50 +02:00
Alberto Garcia Cabeza
17d4e242ea Adds icon to locale switcher 2015-08-31 21:36:51 +02:00
Alberto Garcia Cabeza
29ffe6de81 Updates custom icons font 2015-08-31 21:35:41 +02:00
Raimond Garcia
ebcde9aaf5 Merge pull request #295 from AyuntamientoMadrid/cache
Adds cache to debates/index
2015-08-31 20:57:11 +02:00
Juanjo Bazán
8204e51ea2 adds cache to featured debates (welcome/index) 2015-08-31 20:47:11 +02:00
Juanjo Bazán
7246c181d5 adds cache to _debate view 2015-08-31 20:40:48 +02:00
Juanjo Bazán
ef9a386b2b adds cache key helper for locale+user status 2015-08-31 20:39:54 +02:00
Juanjo Bazán
574133a50b updates environments files to use dalli store 2015-08-31 20:38:52 +02:00
Juanjo Bazán
0e68ee21fb adds dalli gem for caching 2015-08-31 20:38:28 +02:00
Juanjo Bazán
a00abc0020 adds touch to debates on tag destroy 2015-08-31 20:26:30 +02:00
kikito
27ece220f6 Transform Flag.flag! & unflag! into non-raising methods
They now return false and do nothing instead
2015-08-31 19:02:50 +02:00
rgarcia
358f8cc392 symlink beta-testers file after a deploy 2015-08-31 14:03:08 +02:00
rgarcia
f6294a6450 hot fixes parsing of beta testers file 2015-08-31 13:32:49 +02:00
Juanjo Bazán
3217d262b4 Merge pull request #292 from AyuntamientoMadrid/mask_user_data
Mask user data
2015-08-30 15:22:25 +02:00
rgarcia
76daee1fb0 removes unmasked emails and phones in forms 2015-08-30 15:16:33 +02:00
rgarcia
932612a207 adds specs for masked emails and phones 2015-08-30 15:15:13 +02:00
rgarcia
4bd0cbe777 adds mask to verified emails and phones 2015-08-30 15:14:23 +02:00
Juanjo Bazán
99790e5fe8 Merge pull request #291 from AyuntamientoMadrid/census_terms
Census terms
2015-08-30 13:37:35 +02:00
rgarcia
01aa0a5a40 refactors specs 2015-08-30 12:51:34 +02:00
rgarcia
0f145da18b adds specs 2015-08-30 12:51:26 +02:00
rgarcia
9abd794133 validates acceptance of census terms of service 2015-08-30 12:50:17 +02:00
rgarcia
92940c9f91 adds census terms of service page 2015-08-30 12:49:47 +02:00