Commit Graph

8099 Commits

Author SHA1 Message Date
María Checa
45a0b73e31 Added translations 2017-12-14 18:26:33 +01:00
Alberto García
e675ceeb0a Merge branch 'master' into aperez-dates-for-milestones 2017-12-14 17:23:51 +01:00
rgarcia
2b52d26d82 refactors notifications into concerns and shared examples 2017-12-14 16:15:30 +01:00
BertoCQ
50b4f50eac Merge branch 'master' into aperez-dates-for-milestones 2017-12-14 15:42:35 +01:00
Bertocq
7399e5fab1 Update unreleased section of Changelog 2017-12-14 15:14:18 +01:00
María Checa
7629fd2499 Added specs for related content form 2017-12-14 14:50:47 +01:00
María Checa
5c7b5eed53 Added RelatedContentsController 2017-12-14 14:50:47 +01:00
María Checa
586b1ae201 Added related content form 2017-12-14 14:50:47 +01:00
Alberto García
45de7efd7a Merge pull request #1904 from consul/community-design
Community design
2017-12-14 14:44:03 +01:00
Bertocq
996199c92e Update Changelog unreleased section 2017-12-14 14:18:18 +01:00
BertoCQ
ec0717b957 Merge pull request #2180 from consul/polls-timestamps
Adds timestamps to polls
2017-12-14 14:14:47 +01:00
iagirre
ff50dc1a00 Add feature specs to test new admin features and documents' show in users view 2017-12-14 13:53:03 +01:00
Bertocq
a71ad644c5 Fix community topics specs 2017-12-14 13:51:10 +01:00
Bertocq
831ca1dd67 Redirect anonymous user to sign in on create topic link 2017-12-14 13:50:42 +01:00
Alberto García
19925de06b Merge pull request #2170 from consul/design
Design improvements
2017-12-14 11:31:31 +01:00
iagirre
01a8c55936 Make Budget::Investment::Milestone class Documentable.
Add fields to the milestone form so that the admin can attach 0, 1 or multiple documents.
Add column to milestone list with a link to documents (if there is any).
Make documents accessible from the milestone view for users.
2017-12-14 10:53:01 +01:00
Angel Perez
1e1028dcb4 Adapt existing milestone-related specs to fit the new requirement 2017-12-13 20:17:54 -04:00
Angel Perez
03ae14c613 End-users will be shown a milestone's publication date if available 2017-12-13 20:17:54 -04:00
Angel Perez
6d57d76071 Admins can add a 'publication date' to milestones 2017-12-13 20:17:54 -04:00
Angel Perez
c14f9be567 Add 'publication_date' attribute to Budget::Investment::Milestone 2017-12-13 20:17:42 -04:00
Raimond Garcia
97f549ac10 Merge pull request #2186 from wairbut-m2c/iagirre-add-images-to-milestones
Add Images to Milestones
2017-12-13 19:56:04 +01:00
rgarcia
56a7c46c12 adds timestamps to polls 2017-12-13 19:46:34 +01:00
Raimond Garcia
819afa1d64 Merge pull request #2182 from consul/legislation-proposals-specs
Adds model validations for legislation proposals
2017-12-13 19:42:29 +01:00
Raimond Garcia
d9890284d7 Merge pull request #2181 from consul/factory-traits
Updates factory traits
2017-12-13 19:42:08 +01:00
rgarcia
a6a71c996a adds rake task to initialise all polls' timestamps 2017-12-13 19:39:54 +01:00
iagirre
b3db7d28f6 Add style class for editing form 2017-12-13 15:58:38 +01:00
Bertocq
8c9585480b Remove no longer needed topics helper module file 2017-12-13 14:40:38 +01:00
Bertocq
34f07bcc82 Add feature allow_images flag to installation specs 2017-12-13 14:30:43 +01:00
Bertocq
8bfaee7267 Fix missing parenthesis on i18n.l method call 2017-12-13 14:21:20 +01:00
Bertocq
f376707b2d Fix style of method with parameters call using parenthesis 2017-12-13 14:11:52 +01:00
Bertocq
1c863d7d84 Use activerecord model name on followable specs 2017-12-13 14:11:22 +01:00
iagirre
59a4b93a00 Add I18n texts for milestone images.
Add specs to test admin image uploader and milestones' show.
Modify the UI to fit the mockups provided in the issue.
2017-12-13 14:03:46 +01:00
María Checa
d6fd83915d Added tests for related contents list 2017-12-13 13:32:18 +01:00
María Checa
4f442792cc Added working related contents list
Also separated related contents into partials.
2017-12-13 13:32:00 +01:00
rgarcia
abaf6ab785 adds model validations for legislation proposals 2017-12-13 12:52:25 +01:00
rgarcia
f4e4121780 updates factories to have the legislation's debate phase open by default 2017-12-13 12:39:00 +01:00
rgarcia
d9e5873795 add residence_veried_at to the user's verified trait 2017-12-13 12:38:05 +01:00
rgarcia
e4b20efd04 adds timestamps to polls 2017-12-13 12:37:17 +01:00
María Checa
ed8e5de094 Added translations 2017-12-13 11:29:12 +01:00
iagirre
5186149b33 Add I18n texts for the link to see the image.
The image is shown in the public investment window if the milestone has one.
2017-12-13 08:59:54 +01:00
iagirre
35986ea6b5 Budget::Investment::Milestone is imageable
Admin form attaches an image
Milestone list has a column "Image", empty or with a link to the image
2017-12-13 08:59:36 +01:00
Raimond Garcia
d49a1dc208 Merge pull request #2172 from consul/notifications
Notifications for hidden resources
2017-12-12 16:26:37 +01:00
Bertocq
26437029a6 Add KNAPSACK_PRO_FIXED_QUEUE_SPLIT env variable to travis config 2017-12-12 15:47:05 +01:00
Raimond Garcia
72cc029f26 Merge pull request #2167 from consul/code-climate
Exclude vendor folder from Code Climate
2017-12-12 13:40:09 +01:00
rgarcia
7465a8ef8e Refactors li element 2017-12-12 13:36:38 +01:00
Bertocq
3139d760ec Remove unuseful comment on imageable concern 2017-12-12 12:38:54 +01:00
rgarcia
c63c734ec2 fixes specs 2017-12-12 11:04:05 +01:00
rgarcia
8c85611ec9 Adds missing specs for notification titles 2017-12-11 13:23:30 +01:00
rgarcia
e3c8dece8f Makes the code aware of notifications for hidden commentables 2017-12-11 13:22:10 +01:00
Raimond Garcia
11e80fbc92 Merge pull request #1903 from wairbut-m2c/aperez-enable-disable-proposals
Add enable/disable option for 'Proposals' feature
2017-12-08 11:41:13 +01:00