rgarcia
1dbbe331c9
Assign valuators to groups
2018-04-03 20:55:44 +02:00
rgarcia
cddfdf4b84
Add valuator groups
2018-04-03 20:55:44 +02:00
rgarcia
09c44ee583
Extend notifications to be marked as read and unread
2018-03-23 11:47:06 +01:00
rgarcia
730072e91e
Add max votable headings to groups
2018-03-22 22:24:58 +01:00
Bertocq
a360cf4fbc
Remove deprecated internal_comments column from Investments
2018-03-09 11:45:15 +01:00
Bertocq
4becd0eb35
Change Newsletter's segment_recipient to string
...
Why:
Newsletter attribute `segment_recipient` is an integer to be used as
enum. There's no advantage to store a number instead of an string if the
ammount of elements in the table is not going to be huge, or we can take
advantage of using an enum.
Also maintaining both Newsletters enum paired with UserSegments::SEGMENTS
would be a maintenance burden.
How:
* Migration to change segment_recipient column from integer to string
* Removing enumeration from Newsletter model class
* Using UserSegments::SEGMENTS instead of Newsletter.segment_recipients
or integer values
2018-02-21 11:46:11 +01:00
María Checa
a22faadc1f
Added newsletter migration
2018-02-12 21:22:56 +01:00
Bertocq
c84b2f0704
Add valuation boolean flag to Comment model
...
Why:
Budget Investment's valuators need to be able to comment on investments
without making those comments public. We need a way to clearly make a
distinction to avoid "leaking" internal valuation comments.
How:
Adding a boolean `valuation` attribute defaulted to false to the Comments
table, and index on it with concurrent algorithm as explained at
https://robots.thoughtbot.com/how-to-create-postgres-indexes-concurrently-in
The name `valuation` was chosen instead of `internal` because of the more
specific meaning as well as avoiding a collision with existing internal_comments
attribute on Budget::Investment model (soon to be deprecated & removed)
2018-01-30 19:22:27 +01:00
iagirre
846898f3ec
New phase "Information" added and UI modified to not show the links.
...
Specs to test the functionality added.
2018-01-23 15:42:01 +01:00
Bertocq
82d67258e8
Create Budget Phase table at database
2018-01-16 12:18:13 +01:00
Bertocq
6772f94c14
Add description publishing prices column to budgets table
2018-01-10 01:11:13 +01:00
Bertocq
d0937d7022
Add description_drafting column to budgets table
2018-01-08 22:55:37 +01:00
Bertocq
2688f2a919
Add author user to related content
2017-12-20 02:36:13 +01:00
Bertocq
eac810cc6d
Add hidden at to Related Contents
2017-12-20 02:36:13 +01:00
Bertocq
065b0ed3c8
Create Related Content Scores
2017-12-20 02:36:10 +01:00
Bertocq
7cb20bb084
Remove related content positive/negative columsn from migrations & schema
2017-12-20 01:34:12 +01:00
María Checa
a8ca3ec5f7
Added related content one positive score by default on create
2017-12-19 20:15:29 +01:00
María Checa
e4e9ce9f3e
Added positive and negative score columns to related contents
2017-12-19 13:12:28 +01:00
María Checa
97f74ac531
Renamed related content times_reported column to flags_count
2017-12-18 18:21:46 +01:00
BertoCQ
50b4f50eac
Merge branch 'master' into aperez-dates-for-milestones
2017-12-14 15:42:35 +01:00
Angel Perez
c14f9be567
Add 'publication_date' attribute to Budget::Investment::Milestone
2017-12-13 20:17:42 -04:00
rgarcia
e4b20efd04
adds timestamps to polls
2017-12-13 12:37:17 +01:00
Bertocq
e02f511b3a
Add times_reported integer attribute to RelatedContent
2017-11-29 19:02:14 +01:00
Bertocq
a138cda364
Create RelatedContent model
2017-11-29 19:00:54 +01:00
Bertocq
924dae61b6
Add UTC time zone to default datetime values on schema
2017-11-15 17:43:16 +01:00
María Checa
b5f2f9aa21
Added cached_votes_total and cached_votes_down to Legislation Proposals
2017-10-25 16:42:24 +02:00
decabeza
f0cfe50de4
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-25 11:52:31 +02:00
María Checa
5a9ee4642e
Merge branch 'master' into 1786-poll_results
2017-10-23 13:43:58 +02:00
María Checa
9fc35e9087
Added results_enabled and stats_enabled to Poll
2017-10-20 18:44:56 +02:00
María Checa
b42bacd588
most_voted to false by default
2017-10-20 17:26:32 +02:00
BertoCQ
e886559e9e
Merge branch 'master' into 1786-poll_results
2017-10-20 11:10:39 +02:00
María Checa
6e680c187f
Added new column most_voted to Poll::Question::Answers
2017-10-19 12:17:20 +02:00
Bertocq
b5255afb2d
Remove deprecated Poll::Question valid_answers attribute
2017-10-18 00:17:01 +02:00
BertoCQ
d1c67212b0
Merge pull request #1964 from consul/chore/remove_results
...
Remove deprecated Poll results models
2017-10-17 14:39:42 +02:00
iagirre
2b10b59e2a
Order in the admin page using jquery-ui sortable widget.
2017-10-10 16:38:29 +02:00
Raimond Garcia
2b588753ee
Merge branch 'master' into mlucena-poll-comments
2017-10-09 17:59:12 +02:00
María Checa
841ef2a3a2
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-09 17:19:07 +02:00
BertoCQ
6a0197a61b
Merge branch 'master' into feature/1985#voting_token
2017-10-07 10:46:13 +02:00
María Checa
bcfd1a844a
Poll voter token
2017-10-06 20:44:47 +02:00
María Checa
35148015b9
Added token to poll voters
2017-10-06 18:43:00 +02:00
Bertocq
1806bd3df4
Add token string attribute to Poll Answer
2017-10-06 14:28:57 +02:00
Manuel Lucena
63cbe2f7c1
20171003 - [WIP] Functionality and tests for polls comments
2017-10-06 10:36:26 +02:00
Angel Perez
32f3b643b0
Create 'poll_question_answer_videos' table and model
2017-10-04 17:25:51 -04:00
rgarcia
4aaf681d2d
uses new answer model in user facing interface
2017-10-04 17:45:51 +02:00
Raimond Garcia
44d0c04e38
Merge branch 'master' into aperez-admin-questions-section
2017-10-04 14:13:20 +02:00
María Checa
2020990b05
Merge pull request #1972 from consul/1954-remove_question_show_and_description
...
Removed poll question show view and description attribute
2017-10-04 12:52:46 +02:00
Angel Perez
1d1b861ddf
Create 'poll_question_answers' table
2017-10-03 23:04:50 -04:00
BertoCQ
e32521ebe0
Merge branch 'master' into 1954-remove_question_show_and_description
2017-10-04 01:17:07 +02:00
Bertocq
e928eb38ac
Add Officer relationship to Poll Voter
2017-10-04 00:39:31 +02:00
Bertocq
3a0e709e14
Correct composed index on poll Shift model adding date
2017-10-03 23:34:09 +02:00