Juanjo Bazán
6b0edac6fc
adds responsible_name to organizations
2015-09-12 18:16:14 +02:00
Juanjo Bazán
8bf71e818b
adds verification status methods to user
2015-09-11 14:39:43 +02:00
rgarcia
abc68dc868
refactors lock tries [ #279 ]
2015-09-10 20:26:49 +02:00
Enrique García
c1c213f773
Merge pull request #461 from AyuntamientoMadrid/final_verification-395
...
Final letter verification
2015-09-10 20:22:42 +02:00
rgarcia
3958d2f4c2
fixes spec [ #395 ]
2015-09-10 20:13:30 +02:00
rgarcia
547b7afc6b
stores failed Census API calls [ #277 ]
2015-09-10 18:00:23 +02:00
rgarcia
06a23eaccb
adds specs for letter code verification [ #395 ]
2015-09-10 14:27:37 +02:00
rgarcia
34a792a79d
fixes specs
2015-09-08 15:48:56 +02:00
rgarcia
e49695ba5e
adds confidence_score specs
2015-09-08 14:56:52 +02:00
rgarcia
96ae7575b1
adds confidence_score to debates
2015-09-08 14:40:14 +02:00
rgarcia
8f778ace26
removes focus and fixes specs
2015-09-07 17:44:01 +02:00
rgarcia
6606d776f8
expires debate cache after a new flag
2015-09-07 17:24:53 +02:00
rgarcia
4ce95e2735
adds conflictive debates
2015-09-07 16:58:00 +02:00
rgarcia
17ce1f9d07
adds terms of service to users
2015-09-07 01:00:43 +02:00
Juanjo Bazán
e706aaff2c
adds extra specs for debate's cache
2015-09-06 12:40:13 +02:00
Juanjo Bazán
60089b8986
uses author info in comment/debate cache
...
author is already preloaded and we avoid expensive touching methods
2015-09-06 12:13:39 +02:00
Juanjo Bazán
e3449723b3
Merge pull request #370 from AyuntamientoMadrid/verified_users
...
Verified users
2015-09-06 11:35:56 +02:00
Enrique García
c28c39e052
Merge pull request #371 from AyuntamientoMadrid/residence_verification_tries
...
increases residence verification tries only after a Census call
2015-09-06 00:03:36 +02:00
rgarcia
34218d112b
increases residence verification tries after a Census call
2015-09-05 23:57:47 +02:00
rgarcia
2260de9451
uppercases document number
2015-09-05 23:04:13 +02:00
rgarcia
9515ccc3a8
adds specs
2015-09-05 22:03:33 +02:00
Juanjo Bazán
771f44c22b
adds self.search to Debate
2015-09-05 15:05:56 +02:00
kikito
9bb63e9b32
Makes comments increase the hot_score
2015-09-04 14:04:45 +02:00
kikito
2975c6a38d
Makes votes increase/decrease hot score
...
Debates already call update_attibutes in debates (to update cached
counters), so there is no need to do an “after_voted”: the comment’s
before_save call takes care of it.
2015-09-04 14:04:18 +02:00
kikito
fba4f1fade
Adds initial hot score implementation for debates
2015-09-04 12:34:17 +02:00
kikito
134f38a38f
Removes debates default order
2015-09-04 11:51:21 +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
kikito
e0f8f8d8de
Removes Debate.search & uses Debate.tagged_by when appropriate
...
Using `params` was wrong here because if given an inexistent tag,
@tag_filter was nil but the debates were still filtered by it (so the
listing and what the page title said were different)
2015-09-03 11:17:21 +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
274ddb2589
changes rules for allowing debate votes
...
first 100 votes are allowed for unverified users
2015-09-02 13:40:38 +02:00
Juanjo Bazán
872a23443b
updates anonymous counter in debate when voted
...
refactors to move all related code to Debate model
2015-09-01 17:49:02 +02:00
Juanjo Bazán
9e7722e7ef
adds verification specs for user
...
includes #unverified? method
2015-09-01 17:49:02 +02:00
Juanjo Bazán
bbf96259fc
adds controller check for anonymous votes
2015-09-01 17:49:02 +02:00
Juanjo Bazán
3a15895617
loads seeds for testing
2015-09-01 17:49:01 +02:00
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
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
6902d2851b
Takes already-flagged-content out of Ability's concerns
2015-09-01 10:33:11 +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
0f145da18b
adds specs
2015-08-30 12:51:26 +02:00
Juanjo Bazán
43b333b844
admins can search officials by name or email
2015-08-29 17:02:21 +02:00
Juanjo Bazán
59c2fdb596
adds search method to Organization
2015-08-29 16:29:55 +02:00
Juanjo Bazán
e8463d1372
moves Residence model to Verification namespace
2015-08-29 12:38:07 +02:00
Juanjo Bazán
e6fd62189b
moves Sms model to Verification namespace
2015-08-29 12:17:27 +02:00
Juanjo Bazán
50dcbcdf9b
moves Letter to Verification namespace
2015-08-29 12:07:43 +02:00
kikito
cb99996317
merges master and fix conflicts
2015-08-28 13:23:30 +02:00
rgarcia
9cce254c8d
adds specs
2015-08-28 00:03:16 +02:00
kikito
1770dfd3f6
adds ability to confirm the hiding of comments, debates or users
2015-08-27 13:20:12 +02:00