Commit Graph

15065 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
570169af57 Changes icons classes names 2015-08-22 14:46:26 +02:00
Alberto Garcia Cabeza
d1a3ea6fd4 Updates custom icons font 2015-08-22 14:45:43 +02:00
Juanjo Bazán
752c8f6651 updates Gemfile 2015-08-22 12:50:11 +02:00
Raimond Garcia
c473c30792 Merge pull request #222 from AyuntamientoMadrid/mails
Improves emails
2015-08-22 11:48:08 +02:00
kikito
4f0c49f921 Changes moderation/comments to allow for different commentable_types 2015-08-22 09:15:20 +02:00
Juanjo Bazán
c08d2cdf08 improves emails
Adds texts and i18n, ready to add design now.
Advances #221
2015-08-21 23:01:51 +02:00
kikito
00b51bbc23 Adds first version of comment moderation
Missing:
* Ensure removing a flag updates the flagged_at attribute correctly
* Showing the debate when the comment is not a “root”
* Filter (pending / reviewed / all)
* Order
* Same for debates
2015-08-21 22:01:47 +02:00
kikito
b7718a2e5d Adds i18n for comment moderation view 2015-08-21 21:59:11 +02:00
kikito
2c49d30952 Adds review-related methods to comment & debate 2015-08-21 21:58:48 +02:00
kikito
b4bd70436a Adds routes for new methods in comment & debate moderation 2015-08-21 21:57:00 +02:00
kikito
5e32fd2fa4 Adds new abilities for moderators
extends hiding (i.e. you can not hide your own content or yourself) and
adds marking as reviewed
2015-08-21 20:39:40 +02:00
kikito
0fe7740a41 Refactors ability making flagging more efficient 2015-08-21 20:36:04 +02:00
kikito
007ca4afe0 Adds reviewed_at to comments and debates tables 2015-08-21 20:34:56 +02:00
Raimond Garcia
a9a8359bc7 Merge pull request #216 from AyuntamientoMadrid/design_improvements
Design improvements
2015-08-21 20:17:34 +02:00
rgarcia
0e6afa941d removes ssl from staging and production envs 2015-08-21 19:27:50 +02:00
rgarcia
3126200c15 removes tests and revision check before deploy 2015-08-21 19:27:10 +02:00
rgarcia
24d3342af2 uses server_name from secrets 2015-08-21 19:18:30 +02:00
kikito
5328355c3e Add tests for visible admin links and fix bug 2015-08-21 19:09:26 +02:00
Alberto Garcia Cabeza
fbc1817f81 Modifies test for not logged users 2015-08-21 19:03:43 +02:00
Raimond Garcia
db45451d9b Merge pull request #215 from AyuntamientoMadrid/deploy
Deploy
2015-08-21 19:03:01 +02:00
rgarcia
a7dc306a40 Merge branch 'master' into deploy 2015-08-21 19:00:22 +02:00
Alberto Garcia Cabeza
ff6285d114 Improves general styles 2015-08-21 18:57:09 +02:00
rgarcia
8e0c2c27da uses https for staging and production envs 2015-08-21 18:54:03 +02:00
rgarcia
6d14d07e5a adds deploy secrets to staging and production envs 2015-08-21 18:52:52 +02:00
Juanjo Bazán
385da5185a adds keys to deploy-secrets.yml 2015-08-21 17:14:00 +02:00
Raimond Garcia
000b5d1dda Merge pull request #214 from AyuntamientoMadrid/registrations-refactored
Refactor of user's registration
2015-08-21 17:09:56 +02:00
rgarcia
7da272898e deploys to multiple preproduction servers 2015-08-21 17:07:31 +02:00
rgarcia
dbc3a6596e adds mail host for staging and production 2015-08-21 17:06:51 +02:00
rgarcia
c39657cf5c fixes capistrano unicorn restart task 2015-08-21 17:06:35 +02:00
Juanjo Bazán
b396a3b415 refactors user's registration
Simplifies process and fields: 

* In: username
* Out: first_name, last_name, phone, nickname, use_nickname?

Closes #213
2015-08-21 16:41:08 +02:00
Juanjo Bazán
e69688e91f Merge pull request #212 from AyuntamientoMadrid/reorganize_header
Reorganize header
2015-08-21 15:17:32 +02:00
Alberto Garcia Cabeza
3c29ac90c9 Merge branch 'master' into reorganize_header 2015-08-21 13:05:21 +02:00
Alberto Garcia Cabeza
6bd060f536 Reorganizes header links, adds responsive styles 2015-08-21 13:04:41 +02:00
Raimond Garcia
0a4cb357ce Merge pull request #209 from alejanderl/some_doc_missing
Added ghostscript to Readme. Required for captcha
2015-08-21 10:19:24 +02:00
Raimond Garcia
a7cc888a70 Merge pull request #210 from AyuntamientoMadrid/select_language
Adds styles for language select
2015-08-21 10:16:41 +02:00
Raimond Garcia
518d779605 Merge pull request #211 from AyuntamientoMadrid/update_texts
Updates some texts
2015-08-21 10:15:55 +02:00
Alberto Garcia Cabeza
bf727699f3 Updates some texts 2015-08-21 09:02:43 +02:00
Alberto Garcia Cabeza
efd7b688cb Renames language to locale 2015-08-21 08:50:09 +02:00
kikito
01eb89f5f4 DRYes comment views related with flagging as inappropiate 2015-08-20 22:54:05 +02:00
Alberto Garcia Cabeza
2415a0fae2 Adds styles for language select 2015-08-20 21:28:10 +02:00
Alejandro
71b9c84b7f Added ghostscript to Readme. Required for captcha 2015-08-20 21:18:31 +02:00
kikito
12e8cf2056 Allows flagging debates as inappropriate 2015-08-20 19:26:36 +02:00
kikito
ee881230ba merges master and fixes conflicts 2015-08-20 18:50:10 +02:00
kikito
e7effbf77c Allows flagging comments as inappropriate 2015-08-20 18:47:16 +02:00
kikito
e5f893c8d1 Adds i18n texts for flagging content 2015-08-20 18:45:56 +02:00
kikito
246145e4cb adds abilities for regular users 2015-08-20 18:45:32 +02:00
Enrique García
73f5c4e21e Merge pull request #208 from AyuntamientoMadrid/hide-users
Moderate users
2015-08-20 18:00:43 +02:00
Juanjo Bazán
896fe41db0 favors with_hidden 2015-08-20 17:52:59 +02:00
Juanjo Bazán
aff366827d removes unused route 2015-08-20 16:14:22 +02:00
Juanjo Bazán
f0a6926710 adds restore user action for administrators 2015-08-20 16:06:23 +02:00