Commit Graph

17301 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
dba3385a6c Adds rem and respond js 2015-09-09 20:32:38 +02:00
Raimond Garcia
9e4fdec28e Merge pull request #444 from AyuntamientoMadrid/deploy-custom-branch-357
Deploy custom branch 357
2015-09-09 19:57:40 +02:00
kikito
f8d6dd4ca7 strings to symbols 2015-09-09 19:49:09 +02:00
kikito
e7e1663b26 makes staging the only variable server. uses ENV and defaults to master 2015-09-09 19:46:26 +02:00
kikito
f93173ef4a fixes typo 2015-09-09 19:37:52 +02:00
kikito
8c9f189d75 merges master and fixes conflicts 2015-09-09 19:36:23 +02:00
rgarcia
6a09e6548d reverts - stats with delayed jobs 2015-09-09 19:17:13 +02:00
kikito
86e1974a58 monkeypatches foundation_rails_helper so it shows an error div after ckeditor 2015-09-09 18:36:03 +02:00
kikito
ada03c8474 Adds max lengths in views 2015-09-09 18:34:26 +02:00
kikito
5e7a5b57de Adds max lengths and validations in models 2015-09-09 18:32:36 +02:00
kikito
c750765bca Modifies the tag sanitizer to truncate tags longer than 40
I could not make a nice ActAsTaggable error message, this is way faster
2015-09-09 18:30:27 +02:00
kikito
0e96c82faa Sets the max length of tags to 40 chars in the db 2015-09-09 17:36:21 +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
cda54b0050 adds time tag to comment 2015-09-09 16:53:17 +02:00
kikito
7157d056af lowers organization.name limit to 60 in order to be coherent with username 2015-09-09 16:33:15 +02:00
kikito
4be475990c limits username length to 60 2015-09-09 16:14:19 +02:00
kikito
a1ede8f9b6 Migrates adding limit to username and removing Comment.title 2015-09-09 15:52:43 +02:00
Juanjo Bazán
30bf5023b3 adds cache to debates/_comments partial
cache does not invalidate on updates of debate other than comments_count
2015-09-09 15:00:18 +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
Juanjo Bazán
e24e9e7be8 cache for _comment partial
not need to invalidates on commentable updates of comment_count because now ancestry touches parent comments so if there is children comment invalidation is automatic
2015-09-09 14:56:15 +02:00
Juanjo Bazán
e4e1c9039f cache for comment/_form
uses info for commentable but without need for invalidation after commentable updates
2015-09-09 14:54:01 +02:00
Juanjo Bazán
a8decd2c05 Merge pull request #447 from AyuntamientoMadrid/ahoy_queue
Ahoy queue
2015-09-09 14:50:26 +02:00
Juanjo Bazán
92bff4b4c3 adds :touch to ancestry
now nested comments caches invalidates automagically
2015-09-09 14:46:09 +02:00
Juanjo Bazán
9166307120 adds cache key for commendable without updated_at 2015-09-09 14:45:19 +02:00
rgarcia
b2690348db adds specs for stats in queue 2015-09-09 14:43:17 +02:00
rgarcia
dca7e1e38f moves stats storing to queue 2015-09-09 14:41:19 +02:00
rgarcia
d7f046bd3b displays total stat count 2015-09-09 14:41:19 +02:00
rgarcia
e555126331 tracks debate visits from the controller 2015-09-09 14:41:19 +02:00
rgarcia
cdc914de0d moves storing of visits to queue 2015-09-09 14:41:19 +02:00
kikito
2f983198d7 default to custom branch in staging and pre 2015-09-09 12:45:09 +02:00
kikito
8fb62a3b35 asks for the branch to deploy instead of immediately deploying master in staging & pre 2015-09-09 12:37:33 +02:00
Juanjo Bazán
55b2f96062 changes sentence 2015-09-09 11:05:48 +02:00
Juanjo Bazán
a51198dab6 Merge pull request #430 from AyuntamientoMadrid/desing_improves
Desing improves
2015-09-09 11:04:35 +02:00
Juanjo Bazán
842041bc60 Merge pull request #440 from AyuntamientoMadrid/favicon
apple touch icon
2015-09-09 10:56:57 +02:00
Alberto Garcia Cabeza
ff4d73025d Improves styles for header mobile version 2015-09-09 10:44:58 +02:00
Alberto Garcia Cabeza
ed0bd904c4 Adds apple touch icon 2015-09-09 10:44:31 +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
kikito
f46b17e19b Introduces User#block method 2015-09-08 19:08:47 +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
Enrique García
7cc54f1f82 Merge pull request #435 from AyuntamientoMadrid/newrelic
configures newrelic
2015-09-08 17:59:52 +02:00
rgarcia
0ba5f9a434 configures newrelic 2015-09-08 17:42:09 +02:00
rgarcia
34a792a79d fixes specs 2015-09-08 15:48:56 +02:00
rgarcia
d313db1d51 Merge branch 'master' of github.com:AyuntamientoMadrid/participacion 2015-09-08 15:44:49 +02:00
rgarcia
d843690586 takes into account precision for confidence score 2015-09-08 15:44:04 +02:00
Alberto García Cabeza
08fc8a4516 Merge pull request #413 from AyuntamientoMadrid/consul_info
Consul
2015-09-08 15:16:37 +02:00
Enrique García
db969b0380 Merge pull request #429 from AyuntamientoMadrid/confidence_score
Confidence score
2015-09-08 15:00:51 +02:00
rgarcia
e49695ba5e adds confidence_score specs 2015-09-08 14:56:52 +02:00