Commit Graph

6051 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
b5a85b2040 Changes tests 2015-09-28 16:17:40 +02:00
Juanjo Bazán
e7c6c88c17 Merge pull request #567 from AyuntamientoMadrid/refactoring
Refactoring models
2015-09-28 16:04:42 +02:00
rgarcia
0801cab461 adds spec for humanize document type helper [#500] 2015-09-28 15:14:50 +02:00
rgarcia
590c0b9242 refactors length validations 2015-09-28 14:48:53 +02:00
kikito
82af488ce3 Splits ability.rb and specs into several smaller files
I'm doing this in preparation for the "Manager" ability, which will
require even more refactors of the abilities (for example,
manager can not modify their own account)
2015-09-28 13:51:42 +02:00
Alberto Garcia Cabeza
3df06ebcb4 Adds accessibility page on footer 2015-09-28 13:46:53 +02:00
rgarcia
adb1dd6f2b fixes conflicts with master [#500] 2015-09-28 12:00:48 +02:00
rgarcia
86dd709c13 fixes conflicts with master [#500] 2015-09-28 11:51:26 +02:00
rgarcia
fbb5db8062 removes unnecessary address from users 2015-09-26 13:45:37 +02:00
rgarcia
2cc02ff41d adds specs 2015-09-26 13:08:38 +02:00
Juanjo Bazán
0dc9224ce6 ignores in moderation the admin restored comments 2015-09-25 13:24:34 +02:00
Juanjo Bazán
13fc4e5a3d ignores in moderation the admin restored debates 2015-09-25 13:24:22 +02:00
Juanjo Bazán
03342e164b ignores in moderation the admin restored proposals 2015-09-25 13:24:12 +02:00
rgarcia
efd5f11dba updates error message [#500] 2015-09-24 17:22:38 +02:00
rgarcia
e9d4acacd7 adds feature specs [#500] 2015-09-24 17:21:10 +02:00
rgarcia
8c56e28cce improves incomplete verification scope [#500] 2015-09-24 17:21:09 +02:00
rgarcia
9ced80fe8c refactors verification specs [#500] 2015-09-24 17:21:09 +02:00
Juanjo Bazán
ba081f73c1 adds spec 2015-09-24 13:58:01 +02:00
Juanjo Bazán
5617f9869e Merge pull request #545 from AyuntamientoMadrid/verification_postal_codes
Verification postal codes
2015-09-24 13:09:14 +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
3f46b27371 Fixes comment notifications mailers
It was not commendable independent so avery email related with a comment on a proposal was not being sent. Removes dependency on debates and makes it commentable independent.
2015-09-24 12:41:11 +02:00
Juanjo Bazán
536b0ce3f5 makes commenting commentable independent 2015-09-24 12:37:39 +02:00
kikito
adc8275f5a moves the admin api inside of the /admin namespace 2015-09-24 12:11:51 +02:00
rgarcia
1dee45337b fixes specs 2015-09-23 21:08:21 +02:00
rgarcia
3098fe3baa adds specs 2015-09-23 20:55:28 +02: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
Enrique García
44f19085a9 Merge pull request #539 from AyuntamientoMadrid/activities
Activities
2015-09-23 12:40:02 +02:00
rgarcia
ea9ea77219 adds consistent indentation 2015-09-23 12:34:00 +02:00
Enrique García
4697cabbd9 Merge pull request #538 from AyuntamientoMadrid/share_proposal
Adds social share for supported proposals
2015-09-22 17:32:45 +02:00
Juanjo Bazán
02b1e30205 logs activity: restore admin actions
on User/Proposal/Debate/Comment
2015-09-22 17:24:13 +02:00
Alberto Garcia Cabeza
5dde8428cf Changes tests for new texts 2015-09-22 17:16:25 +02:00
Juanjo Bazán
6082f77ec2 logs activity: user blocking
from users moderation screen but also from proposals/debates/comments bulk moderation screens
2015-09-22 17:08:02 +02:00
Enrique García
ae166a6836 Merge pull request #505 from dgilperez/debates_max_votes_editable
Adds setting to control max number of votes for a Debate to be editable
2015-09-22 16:52:52 +02:00
Juanjo Bazán
064ff631b2 logs activity: hiding comments 2015-09-22 16:42:24 +02:00
Enrique García
72787b6284 Merge pull request #485 from juandefelix/keep-filter
Conservar orden de búsqueda al hacer click en "Volver"
2015-09-22 16:41:20 +02:00
Enrique García
f3253d02d6 Merge pull request #524 from dgilperez/ie_alert_cookie
Cookie for IE alert
2015-09-22 16:38:31 +02:00
Juanjo Bazán
7ca3f574d8 logs activity: hiding debates 2015-09-22 16:35:38 +02:00
Juanjo Bazán
5aa5fc5b7f logs activity when bulk-hiding proposals 2015-09-22 16:30:44 +02:00
Juanjo Bazán
7741023e6a adds activity page to administration 2015-09-22 16:30:43 +02:00
Juanjo Bazán
05237ca1e2 adds scopes for every actionable class to activity 2015-09-22 16:30:43 +02:00
Juanjo Bazán
9e922ad080 adds activity model 2015-09-22 16:30:43 +02:00
kikito
343025872b changes comment moderation to be similar to proposals moderation 2015-09-22 14:20:37 +02:00
kikito
757205a93e Unifies bulk & debates moderation forms in a single one 2015-09-21 15:41:01 +02:00
Enrique García
8fc2058bd9 Merge pull request #529 from AyuntamientoMadrid/moderation-changes
changes moderation/proposals: only show flagged except in 'All' filter
2015-09-21 11:57:01 +02:00
juandefelix
5e4f134c72 added javascript to the test 2015-09-19 20:06:56 -05:00
juandefelix
311827a83b renamed test 2015-09-19 19:03:05 -05:00
juandefelix
85abd92263 added test for "Back" link in debates/show page 2015-09-19 18:59:41 -05:00
Juanjo Bazán
119e3c3f24 Merge pull request #527 from AyuntamientoMadrid/comments-count-452
Comments count
2015-09-18 14:39:52 +02:00
Juanjo Bazán
37c696bde8 changes moderation/proposals: only show flagged
To view all use the filter "All".
2015-09-18 14:00:29 +02:00
Juanjo Bazán
1d2717a137 improves social cards info for proposals 2015-09-18 12:34:44 +02:00