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
Raimond Garcia
a92de7c0d3
Merge pull request #354 from AyuntamientoMadrid/improve_design
...
Improve design
2015-09-04 15:27:35 +02:00
Alberto Garcia Cabeza
a75cbefe8d
Styles for header,footer,filters, alerts and pages
2015-09-04 15:19:50 +02:00
Juanjo Bazán
44bab6f4b4
adds expect to wait for to capybara
2015-09-04 15:15:20 +02:00
Alberto Garcia Cabeza
e0959f3e28
Improves account checkboxes and edit debate button
2015-09-04 15:07:41 +02:00
Alberto Garcia Cabeza
4e92b5c3ce
Adds back link on verification pages
2015-09-04 15:06:38 +02:00
Alberto Garcia Cabeza
2e8669c4c9
Changes some texts
2015-09-04 15:06:05 +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
kikito
08c31c5985
calls all the sorting scopes the same way
2015-09-04 14:17:59 +02:00
kikito
b6699932d1
uses the hot_score in the welcome screen
2015-09-04 14:16:05 +02:00
Raimond Garcia
be420db68d
Merge pull request #352 from AyuntamientoMadrid/turbolink-ckeditor
...
Fixes CKeditor & Turbolinks issue
2015-09-04 14:11:34 +02:00
kikito
50a8d4c854
adds task for updating the hot_score in debates
2015-09-04 14:11:01 +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
83ebbb14b1
Refactors hot_score calculations
2015-09-04 13:59:30 +02:00
Juanjo Bazán
f9067fe201
Fixes CKeditor & Turbolinks issue
...
Closes #330
2015-09-04 13:16:25 +02:00
kikito
920ba48947
Add random created_at on seeds
2015-09-04 12:45:10 +02:00
kikito
fba4f1fade
Adds initial hot score implementation for debates
2015-09-04 12:34:17 +02:00
Juanjo Bazán
53bf3ac14f
Merge pull request #349 from dbillionlabs/better_asset
...
Smaller, better, no reason for the image being so big
2015-09-04 12:30:44 +02:00
kikito
9f970568ac
Displays debate.created_at in debates#index
2015-09-04 12:16:11 +02:00
kikito
3012f2ffcd
Removes reorder in debate (no default order)
2015-09-04 11:54:19 +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
19e6740ee4
Refactors has_filters.rb
2015-09-04 11:50:29 +02:00
kikito
7c3ca55de1
Adds the default score selector/controller. Refactors debates specs
2015-09-04 11:50:07 +02:00
Raimond Garcia
1c3654d2af
Merge pull request #350 from AyuntamientoMadrid/locales
...
Removes language switcher if only one locale
2015-09-04 00:43:18 +02:00
rgarcia
6e1fa05595
Merge branch 'master' of github.com:AyuntamientoMadrid/participacion
2015-09-04 00:27:29 +02:00
rgarcia
ebddcfa1d0
cleans up delayed_jobs for capistrano
2015-09-04 00:27:14 +02:00
Juanjo Bazán
53781873f6
updates dependencies
2015-09-03 23:53:42 +02:00
Juanjo Bazán
cb6949e918
disables english locale in production
...
(temporary change until texts are ready)
2015-09-03 23:48:25 +02:00
Juanjo Bazán
5af7bc1aee
removes language switcher if only one locale
2015-09-03 23:47:55 +02:00
Juanjo Bazán
356e987145
Merge pull request #348 from AyuntamientoMadrid/delayed_jobs
...
Adds delayed jobs
2015-09-03 23:45:27 +02:00
David Fernández
a0ffd4f718
Smaller, better, no reason for the image being so big?
2015-09-03 23:42:26 +02:00
rgarcia
2461ab3c4a
disables delayed jobs in dev
2015-09-03 23:31:14 +02:00
rgarcia
feaf4465f3
adds capistrano tasks and hooks for delayed_jobs
2015-09-03 23:26:28 +02:00
rgarcia
a5e7b1b166
disables asynchronous sending of devise emails in test env
2015-09-03 23:11:02 +02:00
rgarcia
71aaef3805
sends devise emails with delayed_jobs
2015-09-03 22:59:25 +02:00
rgarcia
d0d33cc517
sends custom emails with delayed jobs
2015-09-03 22:48:29 +02:00
rgarcia
8a950761d3
configures delayed_jobs
2015-09-03 22:47:54 +02:00
rgarcia
908a2aca55
comments out pending server
2015-09-03 22:03:59 +02:00
kikito
b46a3e5452
migration for adding hot_score
2015-09-03 19:16:08 +02:00
Raimond Garcia
b0098e33fb
Merge pull request #347 from AyuntamientoMadrid/orders
...
Orders
2015-09-03 18:58:39 +02:00
Juanjo Bazán
559b60e63f
adds random order to debates' index
2015-09-03 18:50:19 +02:00
Juanjo Bazán
dbfa35c444
adds 'most commented' order to debates
2015-09-03 18:31:16 +02:00