Juanjo Bazán
af6cb16e9b
adds banned users section to moderation zone
2015-09-07 17:56:53 +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
f11220206a
displays alert for conflictive debates
2015-09-07 17:17:33 +02:00
rgarcia
4ce95e2735
adds conflictive debates
2015-09-07 16:58:00 +02:00
Raimond Garcia
5b671ce623
Merge pull request #387 from AyuntamientoMadrid/improve_design
...
Improve design
2015-09-07 01:08:58 +02:00
rgarcia
30073ca820
fixes spec
2015-09-07 01:04:53 +02:00
rgarcia
2cd997ce46
fixes specs
2015-09-07 01:01:10 +02:00
rgarcia
17ce1f9d07
adds terms of service to users
2015-09-07 01:00:43 +02:00
Alberto Garcia Cabeza
6825409744
Comments unused keys
2015-09-07 00:23:10 +02:00
Juanjo Bazán
ad9e6729a1
fixes spec
2015-09-06 22:22:43 +02:00
Juanjo Bazán
9104242eed
adds pending filter to admin/users
2015-09-06 21:58:34 +02:00
Juanjo Bazán
bc90812d37
adds pending filter to admin/comments
2015-09-06 21:45:41 +02:00
Juanjo Bazán
1a7806150a
adds pending filter to admin/debates
2015-09-06 21:42:22 +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
rgarcia
afea21c2bc
fixes exception when not logged in
2015-09-06 11:26:15 +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
189f94f1d6
removes spec focus
2015-09-05 23:20:10 +02:00
rgarcia
2260de9451
uppercases document number
2015-09-05 23:04:13 +02:00
rgarcia
17a1bedec0
removes document type from verified users query
2015-09-05 22:57:54 +02:00
rgarcia
9515ccc3a8
adds specs
2015-09-05 22:03:33 +02:00
Raimond Garcia
17ebb07daf
Merge pull request #367 from AyuntamientoMadrid/blog
...
adds nicer blog url
2015-09-05 20:26:22 +02:00
Juanjo Bazán
0138847798
fix build
2015-09-05 20:19:53 +02:00
Juanjo Bazán
5d5de36ad1
adds spec for info pages
2015-09-05 20:16:20 +02:00
Juanjo Bazán
b020795d3d
adds search to debates index
2015-09-05 15:20:46 +02:00
Juanjo Bazán
771f44c22b
adds self.search to Debate
2015-09-05 15:05:56 +02:00
rgarcia
37a5e76b7b
adds flagging with turbolinks spec
2015-09-05 01:29:14 +02:00
Raimond Garcia
7ff855dac4
Merge pull request #362 from AyuntamientoMadrid/pending-filter
...
Changes default filter to 'pending' in /admin & /moderation
2015-09-05 00:52:30 +02:00
Juanjo Bazán
3a7a8f13f5
validates uniqueness of username 😭
2015-09-04 23:15:41 +02:00
Juanjo Bazán
63378ba24c
makes 'pending' filter the default in /admin/orgs
2015-09-04 22:39:07 +02:00
Juanjo Bazán
4ef2ed753d
makes 'pending' filter the default in /moderation
2015-09-04 22:39:07 +02:00
kikito
55c48e3719
Fixes randomly-failing travis specs
...
The problem was that after changing page with the selects, capybara
needs to “find something which has changed on the page” in order to
“wait”. The “have_selects” did not wait because they did not change
(you change them, then the page changes, and they stay the same)
2015-09-04 17:44:32 +02:00
kikito
8e451dbf66
adds even more expects to random debate order spec to fix travis
2015-09-04 16:22:07 +02:00
kikito
457b734ca4
adds within clauses to debates specs. This should wait for page refreshes if needed
2015-09-04 15:55:30 +02:00
kikito
b9453a83bb
remove failing line (undefined var)
2015-09-04 15:41:12 +02:00
kikito
8b16ecfcf9
fixes typo and specs
2015-09-04 15:36:54 +02:00
kikito
dd4a2d57cf
makes admin/organization specs more robust
2015-09-04 15:32:15 +02:00
Juanjo Bazán
44bab6f4b4
adds expect to wait for to capybara
2015-09-04 15:15:20 +02:00
Juanjo Bazán
b6e6356172
fixes hot_score spec
2015-09-04 15:00:18 +02:00
Juanjo Bazán
2a4c29c7ca
Merge branch 'master' into hot-score-347
2015-09-04 14:59:51 +02:00
Juanjo Bazán
742eed1925
adds check for CKEditor presence
2015-09-04 14:04:46 +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
de4706ffd4
Refactors votes_spec
...
* Some backgrounds created variables which were never used (@debates).
This made the tests fail when the debate orders changed.
* Some backgrounds visited pages when they didn’t need to
* Pablo and Manuela are now created at the beginning
2015-09-04 11:53:22 +02:00
kikito
134f38a38f
Removes debates default order
2015-09-04 11:51:21 +02:00
kikito
7c3ca55de1
Adds the default score selector/controller. Refactors debates specs
2015-09-04 11:50:07 +02:00