[Git][noosfero/noosfero][master] 32 commits: Add support to all custom_forms fields.

Rodrigo Souto gitlab at mg.gitlab.com
Wed Jan 3 18:46:18 BRST 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
07019dc1 by David Carlos at 2018-01-03T10:49:21-03:00
Add support to all custom_forms fields.

  - Add more tests

- - - - -
072dab30 by David Carlos at 2018-01-03T10:49:21-03:00
Use relative path to javascript files.

- - - - -
4ca26777 by David Carlos at 2018-01-03T10:49:21-03:00
Compute the percentage by answer for a pie chart.

  - Chart.js does not calculate the percentage by default. We could use
  google charts but it does not works offline, and highcharts does not
  have an open license for commercial use.
  - Fix tests.

- - - - -
89710247 by mendesiasmin at 2018-01-03T10:49:21-03:00
CustomFormsPlugin: adds SurveyBlock

- Adds status scopes to forms
- Filter by status and limit in block

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>
Signed-off-by: mendesiasmin <mendesiasmin96 at gmail.com>

- - - - -
d98817c4 by Gabriel Silva at 2018-01-03T10:49:21-03:00
CustomFormsPlugin: adds PollsBlock

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>
Signed-off-by: mendesiasmin <mendesiasmin96 at gmail.com>

- - - - -
9331b040 by Rodrigo Souto at 2018-01-03T10:49:21-03:00
custom-forms: view all profile queries

Includes a new page that displays all profile queries with creation
ordering and filters by kind and status.

Signed-off-by: Pedro de Lyra <pedrodelyra at gmail.com>
Signed-off-by: Rodrigo Souto <rodrigo at colivre.coop.br>

- - - - -
a3e5a4f9 by David Carlos at 2018-01-03T10:49:21-03:00
Add support to all custom_forms fields.

  - Add more tests
  - Use relative path to javascript files.
  - Compute the percentage by answer for a pie chart.
  - Use alias to call similar methods.

- - - - -
7b2683b9 by David Carlos at 2018-01-03T10:49:21-03:00
Add option to delete image from form.

	- Add query thumbnail image.

- - - - -
05f20a1d by pedrodelyra at 2018-01-03T10:49:21-03:00
Improve query presentation

- - - - -
2871b67d by pedrodelyra at 2018-01-03T10:49:21-03:00
Fix field removal on custom form creation/edit page

- - - - -
264a4ddd by Rodrigo Souto at 2018-01-03T10:49:21-03:00
fix fiels js

- - - - -
479533fc by David Carlos at 2018-01-03T10:49:21-03:00
Fix query review

- - - - -
77d14bae by pedrodelyra at 2018-01-03T10:49:21-03:00
Improve query overview presentation

- - - - -
7f1a036b by Rodrigo Souto at 2018-01-03T11:18:08-03:00
custom-forms: update translations

- - - - -
90755066 by Gabriel Silva at 2018-01-03T11:18:42-03:00
CustomFormsPlugin: fixes remove alternative btn

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>

- - - - -
1ad0a216 by mendesiasmin at 2018-01-03T11:18:42-03:00
Find form by profile

- - - - -
2ed6733d by David Carlos at 2018-01-03T11:18:42-03:00
Fix chartkick load.

	- Calculates pie chart percentage with javascript.
	- Check fields without answer.

- - - - -
016039fd by Rodrigo Souto at 2018-01-03T11:18:42-03:00
custom-forms: not cache forms blocks

- - - - -
0e8e489b by Rodrigo Souto at 2018-01-03T11:18:42-03:00
custom-forms: remove obsolete code

- - - - -
ea48e23f by Rodrigo Souto at 2018-01-03T11:18:42-03:00
Fix merge issues

- - - - -
b84a227c by Rodrigo Souto at 2018-01-03T11:18:42-03:00
General adjusts

* Add results link to survey block
* Allow every profile to have Survey and Poll blocks
* Add link to results on queries page
* Forbid access to review action if the user does not have permission to
  see results.
* Typo fixes

- - - - -
007255bc by Rodrigo Souto at 2018-01-03T11:18:42-03:00
custom-forms: refator access to use AccessLevels

- - - - -
a53a8eae by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: add default images and minor refactoring

- - - - -
8567ed9e by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: block view all redirects to block kind filter

- - - - -
5879ccce by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: remove default image src

- - - - -
09fb9f26 by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: form creation refactoring

- - - - -
a1db3b4c by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms-plugin: use var instead of let

- - - - -
aab02731 by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: mark strings for translation

- - - - -
545c52f5 by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-froms: use proper status

- - - - -
435296a5 by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: fix tests

- - - - -
df60e751 by Rodrigo Souto at 2018-01-03T11:18:43-03:00
custom-forms: update tests to new access logic

- - - - -
5c4d42b7 by Rodrigo Souto at 2018-01-03T20:46:06+00:00
Merge branch 'query-plugin' into 'master'

Query plugin

See merge request noosfero/noosfero!1364
- - - - -


30 changed files:

- app/concerns/levels.rb
- app/helpers/forms_helper.rb
- plugins/custom_forms/controllers/custom_forms_plugin_myprofile_controller.rb
- plugins/custom_forms/controllers/custom_forms_plugin_profile_controller.rb
- + plugins/custom_forms/db/migrate/20171114191715_convert_access_to_integer.rb
- plugins/custom_forms/lib/custom_forms_plugin.rb
- plugins/custom_forms/lib/custom_forms_plugin/form.rb
- plugins/custom_forms/lib/custom_forms_plugin/graph.rb
- plugins/custom_forms/lib/custom_forms_plugin/helper.rb
- + plugins/custom_forms/lib/custom_forms_plugin/list_block.rb
- + plugins/custom_forms/lib/custom_forms_plugin/polls_block.rb
- + plugins/custom_forms/lib/custom_forms_plugin/survey_block.rb
- plugins/custom_forms/po/de/custom_forms.po
- plugins/custom_forms/po/eo/custom_forms.po
- plugins/custom_forms/po/es/custom_forms.po
- plugins/custom_forms/po/fr/custom_forms.po
- plugins/custom_forms/po/hy/custom_forms.po
- plugins/custom_forms/po/pt/custom_forms.po
- plugins/custom_forms/po/ru/custom_forms.po
- + plugins/custom_forms/public/images/default-poll.png
- + plugins/custom_forms/public/images/default-survey.png
- plugins/custom_forms/public/javascripts/field.js
- plugins/custom_forms/public/javascripts/graph.js
- plugins/custom_forms/public/javascripts/poll.js
- plugins/custom_forms/public/style.css → plugins/custom_forms/public/style.scss
- + plugins/custom_forms/public/style/form_blocks.scss
- plugins/custom_forms/test/functional/custom_forms_plugin_myprofile_controller_test.rb
- plugins/custom_forms/test/functional/custom_forms_plugin_profile_controller_test.rb
- + plugins/custom_forms/test/integration/custom_forms_plugin/polls_block_profile_test.rb
- + plugins/custom_forms/test/integration/custom_forms_plugin/survey_block_profile_test.rb


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/2b029783f67b08e14b917b17d130dbd13194e55f...5c4d42b78d064ab0647de3043137a879a499081d

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/2b029783f67b08e14b917b17d130dbd13194e55f...5c4d42b78d064ab0647de3043137a879a499081d
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180103/57c55994/attachment-0001.html>


More information about the Noosfero-dev mailing list