Commit Graph

9515 Commits

Author SHA1 Message Date
Juan Salvador Pérez García
f875ded0be Bugfixing and enhancements
* Fixed common ability: Retired draft proposal can't be published.
* Fixed proposal dashboard view: progress graph is not available for
draft proposals.
2018-09-13 18:22:59 +02:00
Juan Salvador Pérez García
5b5095b37b Bugfixing and several enhancements
* Added missing specs
* Removed models that were refactored previously
* Added simplecov when executing specs locally
* Fixed bug in poll model validation that was causing an 500 error.
2018-08-01 13:26:30 +02:00
Juan Salvador Pérez García
0e20247682 Merge pull request #248 from medialab-prado/issue_231
Issue 231
2018-08-01 09:48:35 +02:00
Juan Salvador Pérez García
983c108272 Second atempt to fix issue with sprockets 2018-07-31 13:02:57 +02:00
Juan Salvador Pérez García
87d92b2553 Fixed issue with sprockets in production 2018-07-31 12:59:02 +02:00
Juan Salvador Pérez García
6cc1ddb9af Fixes #231
Implements a poster feature for the proposals dashboard
2018-07-31 12:50:25 +02:00
Juan Salvador Pérez García
06fbc8bbb4 Merge pull request #247 from medialab-prado/issue_245
Fixes #245
2018-07-30 07:58:17 +02:00
Juan Salvador Pérez García
e7eaf13f64 fixed issue preventing brant from being deployed 2018-07-27 20:15:18 +02:00
Juan Salvador Pérez García
3d5390dfb0 Fixes #245
Poll card now shows the responses to the poll in the public side
2018-07-27 20:11:19 +02:00
Juan Salvador Pérez García
741aae6846 Merge pull request #246 from medialab-prado/issue_243
Fixes #voodoorai2000 comments
2018-07-27 20:09:46 +02:00
Juan Salvador Pérez García
50f73abb0c Fixes #voodoorai2000 comments
Fixes some comments from #voodoorai2000 for the PR to consul
2018-07-27 16:30:03 +02:00
Juan Salvador Pérez García
a41ce7a0bd Merge pull request #242 from medialab-prado/issue_229
Fixes #229
2018-07-26 09:08:40 +02:00
Juan Salvador Pérez García
9eaa990145 Added default image for proposal dashboard mailing 2018-07-25 17:01:30 +02:00
Juan Salvador Pérez García
8876b285ce Fixes #229
Adds email feature for proposals dashboard
2018-07-25 13:28:44 +02:00
Juan Salvador Pérez García
9b83291b16 Merge pull request #241 from medialab-prado/issue_239
Fixed #239
2018-07-25 13:16:24 +02:00
Juan Salvador Pérez García
e5f9cf6710 Fixed #239
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
Juan Salvador Pérez García
0ea0a0031c Merge pull request #240 from medialab-prado/issue_238
Fixes #238
2018-07-24 11:29:14 +02:00
Juan Salvador Pérez García
a64bcc0c75 Attempt to build using 4 nodes
Trying to fix the timeout issues when building with two nodes
2018-07-24 07:06:17 +02:00
Juan Salvador Pérez García
3b37b4b09d Fixes #238
Applies new card design for polls in proposals dashboard.
Fixes warnings during tests.
Adds tests for new card design for polls in proposals dashboard.
2018-07-23 10:31:50 +02:00
Juan Salvador Pérez García
f632fa8b6e Merge pull request #237 from medialab-prado/issue_236
Fixes #236
2018-07-23 10:30:44 +02:00
Juan Salvador Pérez García
01846089d4 Fixes #236
Addressed comments related to CSS and views.
2018-07-23 07:25:22 +02:00
Juan Salvador Pérez García
4e808c7729 Merge pull request #235 from medialab-prado/issue_234
Fixes #234
2018-07-23 07:24:03 +02:00
Juan Salvador Pérez García
4b8cc85c49 Fixes #234
View questions now is View results and redirects to results
in public view.

Fixed flaky spec that was making the tests fail.

Added missing specs for polls feature as well as poll model.
2018-07-19 17:15:05 +02:00
Juan Salvador Pérez García
2823d53121 Merge pull request #233 from medialab-prado/issue_232
Fixes #232
2018-07-19 11:18:54 +02:00
Juan Salvador Pérez García
c68061219d Removed edit poll button from view responses 2018-07-19 10:07:41 +02:00
Juan Salvador Pérez García
4ee0a94241 Fixed last minute bugs
Fixed last minute bugs with polls
2018-07-19 10:00:37 +02:00
Juan Salvador Pérez García
0e8746299d Fixes #232
In proposal's dashboard, inside community section, the latests topics
has been replaced by latest messages.
2018-07-18 16:50:51 +02:00
Juan Salvador Pérez García
ea421980b5 Rebased to upstream/master 2018-07-17 19:34:58 +02:00
Juan Salvador Pérez García
40e6cbc02b Fixes #226
Achievements query returns executed proposed actions.
Progress graph do not shows the achievements.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
7a9faef775 Fixes #224
Resource cards show the request status:

* Green solved by administrator.
* Blue + button: Available
* Blue + help text: Requested
* Red: Locked

A tooltip has been added to the card to improve its readability.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
3ca90634d3 Fixed issue with locales after renaming a view 2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
ba753f3649 Fixes #222
Community view shows the polls for the given proposal.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
7e43206ac0 Fixes #220
Description as well as short description will be optional for proposal
dashboard actions.

Additionally some minor bugfixes have been fixed.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
f439fc7371 Fixes #218
Added check in poll card that allows setting the value of
results_enabled flag.

Access to stats/results now is controlled with abilities.

Polls related to proposals will be accessible to the proposal author
like they were administrators.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
0daaf9e7db Fixes #216
Button group that allows selecting the current grouping now shows
visually the selected grouping.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
c0c23e270b Fixes #214
redesign how proposed actions are shown in progress view inside the
proposal's dashboard
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
e7b3965991 Fixes #212
Vertical lines appear only for executed resources
Labels for daily graph do not include the year in the x-axis.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
256c0d72a5 Fixes issues with successful proposal generation task 2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
0adecfa95e Fixes #208
Changes in feature view.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
e8cd54d621 Adds community to proposals dashboard 2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
26d2a500ef Fixes #204
Send message to the community has been moved outside of dashboard.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
a606324ee7 Implements #202
The link 'Checkout the complete course' in progress view shows not only
the next goal but all the upcoming goals.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
dc4945f1aa Fixed missing seed initialization
Fixed missing setting initialization in seeds.rb
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
a872c5b5df Fixes #200
Adds settings to complete the polls card and feature view.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
762c4faef6 Fixes #141
Adds ideal progress to progress graph
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
6e75f5b494 Fixes #140
Adds a new setting that allows defining what is considered a successful
proposal.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
4c80b89fec Removed unused translations
Removed unused translations after last changes made
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
a4bf5d1710 Fixes #195
Nested links have a cancel/remove link like documents have.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
39599e39ec Fixes #190
Shows next goal information in progress page.
Fixed missing poll feature in features section.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
8bc3b9e67e Fixed y axis
Y axis was showing 0 - 10% of max value
2018-07-17 17:59:11 +02:00