Commit Graph

290 Commits

Author SHA1 Message Date
rgarcia
076f9251f5 fixes specs [#395] 2015-09-10 14:27:37 +02:00
Enrique García
78f35673b3 Merge pull request #457 from AyuntamientoMadrid/letter_verification_tries-332
Letter verification tries
2015-09-10 13:21:31 +02:00
rgarcia
44a408980b adds spec for letter verification tries [#332] 2015-09-10 11:43:48 +02:00
rgarcia
289389d09e removes spec focus [#399] 2015-09-10 11:13:54 +02:00
rgarcia
e1d708dc1f adds specs for tracking level 2 users 2015-09-10 11:03:59 +02:00
Raimond Garcia
02c101cd97 Merge pull request #453 from AyuntamientoMadrid/ie8
Ie8
2015-09-09 23:51:31 +02:00
rgarcia
88579de5dd fixes specs 2015-09-09 22:55:39 +02:00
rgarcia
6a09e6548d reverts - stats with delayed jobs 2015-09-09 19:17:13 +02:00
Raimond Garcia
bab31b0559 Merge pull request #448 from AyuntamientoMadrid/caches
Cache for comments
2015-09-09 17:01:11 +02:00
Juanjo Bazán
811c329199 changes how comment.created_at is shown
time_ago_in_words is not cache friendly
2015-09-09 14:57:27 +02:00
rgarcia
b2690348db adds specs for stats in queue 2015-09-09 14:43:17 +02:00
Raimond Garcia
b54e4e8649 Merge pull request #437 from AyuntamientoMadrid/debate-moderation-2
Bulk moderation
2015-09-08 20:55:51 +02:00
kikito
48ba9a436d adds select all/none to bulk moderation 2015-09-08 20:46:18 +02:00
kikito
b9ebe8c2c4 Implements basic bulk debates functionality 2015-09-08 19:44:50 +02:00
Enrique García
5e13fe60f7 Merge pull request #436 from AyuntamientoMadrid/organizations-with-hidden-users
show info of hidden users in admin/organizations
2015-09-08 18:40:52 +02:00
Juanjo Bazán
6bf8af3526 show info of hidden users in admin/organizations 2015-09-08 18:06:23 +02:00
rgarcia
339e978237 default order confidence_score for home and debate index 2015-09-08 14:47:58 +02:00
Enrique García
3652de4a8f Merge pull request #412 from AyuntamientoMadrid/moderation-user-block
Moderation user block
2015-09-07 18:27:57 +02:00
Juanjo Bazán
af6cb16e9b adds banned users section to moderation zone 2015-09-07 17:56:53 +02:00
rgarcia
f11220206a displays alert for conflictive debates 2015-09-07 17:17:33 +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
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
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
rgarcia
189f94f1d6 removes spec focus 2015-09-05 23:20:10 +02:00
rgarcia
17a1bedec0 removes document type from verified users query 2015-09-05 22:57:54 +02:00
Juanjo Bazán
b020795d3d adds search to debates index 2015-09-05 15:20:46 +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
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
7c3ca55de1 Adds the default score selector/controller. Refactors debates specs 2015-09-04 11:50:07 +02:00