Commit Graph
94 Commits
Author SHA1 Message Date
Foram Shah 5f0c66c648 updated the description of 'survey' 2016-05-10 15:24:48 +02:00
Fabien Pinckaers 4c8e908b49 [IMP] Speed up app switcher loading: 645k --> 137k lossless compression for all icons 2016-02-26 11:39:38 +01:00
Géry Debongnie cd71fe6687 [FIX] web,survey: update graphs tooltip to new nvd3
with the update of nvd3/d3, the tooltip api was changed.  This commit
updates the 3 last places where we were using the tooltips.
2015-11-02 10:06:13 +01:00
Christophe Simonis 97073e2a73 [MERGE] forward port of branch saas-6 up to 51040b6 2015-07-28 13:56:16 +02:00
Christophe Simonis 9d6786bc43 [MERGE] forward port of branch 8.0 up to 5e6ec89 2015-07-27 14:56:49 +02:00
Nicolas Lempereur 6e090f5d5b [FIX] survey: improve printing
Don't use select element when printing a non-filled survey, and small
appearances improvements.

opw-645011
2015-07-24 09:35:02 +02:00
Christophe Matthieu 71732dceb6 [IMP] web: module can be asynchronous loaded if it return a deferred
Each module can return a deferred. In that case, the module is marked as loaded
only when the deferred is resolved, and its value is equal to the resolved value.
The module can be rejected (unloaded). This will be logged in the console as info.

Remove if_dom_contains from the website, the modules return a rejected deferred if
the DOM doesn't contains the seleted values.
2015-07-22 12:15:24 +02:00
Simon Lejeune 74d1e43a40 [ADD] many addons: add new icons
This commits adds icons for most applications.  They are
necessary for the home menu in the enterprise edition.
2015-06-18 12:58:18 +02:00
Jaysinh Shukla 6909d0e986 [IMP] survey: tests suite and basic UI tests
(+ a few fixes)
2015-06-11 12:25:21 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Géry Debongnie 4fdf74fe21 [IMP] web+addons: improvement to module system
The module system needs to know the dependencies of a given module
before executing the function.  This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.

But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
2015-03-18 09:23:37 +01:00
Géry Debongnie 88fbbd7362 [REF] survey: update to the new module system 2015-03-18 09:09:23 +01:00
Ajay Patel de4135305c [IMP] survey: usability onboarding
Various views and usability tweaks:
- datetime picker in surveys
- remove technical field res_model for survey
- various relabelling
- better validation of date constraints
- onchange when email validation
- button to the backend in survey frontends
- icons in questions form views
2015-03-09 19:31:14 +01:00
Christophe Simonis 18e22be138 [MERGE] forward port of branch 8.0 up to 0aab81c 2015-01-19 17:15:56 +01:00
Richard Mathot b117fcfbac [FIX] survey: prefill glitch
When user answers to multiple suggestion questions with a comment box,
the comment box was prefilled with the ID's of the suggestion instead of
user-entered data.

This commit fixes #3149 and closes #3171.
2015-01-16 17:24:14 +01:00
Richard Mathot 11f147f2d9 [FIX] survey: prevent pointless AJAX request
Avoid creation of doublon survey_user_input entries when a user loads the landing page of a survey (/survey/start/... route).

Due to some strange spec, jQuery.ajax() function called with "undefined" URL will do an extra call to the URL of the webpage where the script lies (http://api.jquery.com/jQuery.ajax/). Now, we check that URL is not "undefined" to avoid those calls.

By the way, this problem probably happened in every page that had survey.js in its assets... (correct loading of survey.js is fixed in saas-6 at 4dd5dbb289, this fix is complementary.)

This commit fixes #3032 and closes #3337 #3338 #3092.
2015-01-16 17:24:14 +01:00
Nick Booker c53951e0a5 [FIX] survey: typo, quizz to quiz
Fixes #4549
2015-01-08 13:14:06 +01:00
Simon Lejeune 4dd5dbb289 [FIX] survey: only load js scripts when needed
This is done with the help of website.if_dom_contains and 1) js_surveyform
class for survey.js 2) a new fake class js_surveyresult for survey_result.js
This fix also allow to avoid spurious logs on runbot during phantomjs tests.
2014-12-19 17:49:12 +01:00
Richard Mathot 89d7e78aad [FIX] survey: pagination result didn't load properly at page loading 2014-06-11 12:10:26 +02:00
Richard Mathot (OpenERP) 4aed9ce7e7 [IMP] Score for each question
bzr revid: rim@openerp.com-20140416151320-1zsxsss60zi9w11y
2014-04-16 17:13:20 +02:00
Richard Mathot (OpenERP) 229f9d09d8 [REM] annoying print window
bzr revid: rim@openerp.com-20140409152459-upe7py6skbpa0qcz
2014-04-09 17:24:59 +02:00
Richard Mathot (OpenERP) d197bab150 [MERGE][IMP] Reporting system for surveys
bzr revid: rim@openerp.com-20140408135908-0h3qiohc84kx4b2r
2014-04-08 15:59:08 +02:00
Dharmraj Jhala (OpenERP) 8df85fdd56 [IMP] improved condition in survey_result.js
bzr revid: dizzy.zala@gmail.com-20140407084114-yvam08p2cawq2aq9
2014-04-07 14:11:14 +05:30
Dharmraj Jhala (OpenERP) f5a24871cb [IMP] improved js to hide cursor pointer if the same filter is enabled
bzr revid: dizzy.zala@gmail.com-20140404125943-l2sz45dk2u529wyb
2014-04-04 18:29:43 +05:30
Dharmraj Jhala (OpenERP) 364eb7546a [IMP] removed ajax calls and loaded data while rendering the template
bzr revid: dizzy.zala@gmail.com-20140404051913-ecy6jm62fxacs6me
2014-04-04 10:49:13 +05:30
Dharmraj Jhala (OpenERP) a9c6fb3ec9 [IMP] uniform view of filters and some code improvements
bzr revid: dizzy.zala@gmail.com-20140403062552-oa002zg7kdlbxh56
2014-04-03 11:55:52 +05:30
Dharmraj Jhala (OpenERP) ca78346bf3 [IMP] moved business logic to model file from controller and other misc improvements
bzr revid: dizzy.zala@gmail.com-20140328133706-wwsg07sqgzr650pt
2014-03-28 19:07:06 +05:30
Dharmraj Jhala (OpenERP) fb104246a4 [IMP] improved css for printing
bzr revid: dizzy.zala@gmail.com-20140327124948-u2kw13dnn4kx487d
2014-03-27 18:19:48 +05:30
Dharmraj Jhala (OpenERP) 72700a2cf9 [IMP] Added preset All vs Finished Filter
bzr revid: dizzy.zala@gmail.com-20140327064305-tlw358e0u9wu9jnd
2014-03-27 12:13:05 +05:30
Dharmraj Jhala (OpenERP) 6242a749e0 [IMP] code improvement
bzr revid: dizzy.zala@gmail.com-20140326051638-got79xh1azvz77ut
2014-03-26 10:46:38 +05:30
Dharmraj Jhala (OpenERP) 6a0fa7c3ff [IMP] added pie chart for simple questions and table condensed class to tables, and set limit of 10 records for pagination
bzr revid: dizzy.zala@gmail.com-20140324100257-fz8id6eula73x4yx
2014-03-24 15:32:57 +05:30
Richard Mathot (OpenERP) 43b225a166 [REM] Outdated custom CSS
bzr revid: rim@openerp.com-20140321145313-gy4o0l3ecdg32tgl
2014-03-21 15:53:13 +01:00
Richard Mathot (OpenERP) 21b7829c70 [ADD] New stage for surveys
bzr revid: rim@openerp.com-20140320153351-xgj5j164ixmwxaj6
2014-03-20 16:33:51 +01:00
Richard Mathot (OpenERP) 6eca5c113b [IMP] Kanban view tweaking
bzr revid: rim@openerp.com-20140303133641-xa52rj4g2k0gxtxp
2014-03-03 14:36:41 +01:00
Richard Mathot (OpenERP) 2cde1e8b91 [MERGE] Reporting tool for surveys + [REF] Serveral refactorings (code style, missing semicolons in JS, typos...) + [FIX] Security breach using unsafe eval
bzr revid: rim@openerp.com-20140303130544-xoage8hgkhtfhwpg
2014-03-03 14:05:44 +01:00
Dharmraj Jhala (OpenERP) c6917b9c07 [MERGE] with trunk-survey2-rim addons branch
bzr revid: dizzy.zala@gmail.com-20140225053204-mra08nfvumkxyixa
2014-02-25 11:02:04 +05:30
Richard Mathot (OpenERP) 9eb2db4465 [FIX] Typos
bzr revid: rim@openerp.com-20140220120044-syde053xmunoy75z
2014-02-20 13:00:44 +01:00
Parth Gajjar (Open ERP) 3b395dab1a [ADD,IMP] added filters for display, filterd textbox, free_text and date on basis of filter and some exception handling
bzr revid: pga@tinyerp.com-20140207113309-5o91de9jed2670qd
2014-02-07 17:03:09 +05:30
Parth Gajjar (Open ERP) 34f14e357c [ADD] added filter for matrix and choice
bzr revid: pga@tinyerp.com-20140206134053-mjlfe7qdf07bk8me
2014-02-06 19:10:53 +05:30
Parth Gajjar (Open ERP) 51b1eb6fbf [IMP] moved pagination script in separate js file,and solved minor issues
bzr revid: pga@tinyerp.com-20140204095157-0mfdy27l9l73dxf5
2014-02-04 15:21:57 +05:30
Parth Gajjar (Open ERP) e942cb2cd0 [IMP] moved graph JavaScript from template to separate JS file (using AJAX), removed static copy of graph library
bzr revid: pga@tinyerp.com-20140203073439-mj21tfw6a0mg56v1
2014-02-03 13:04:39 +05:30
Dharmraj Jhala (OpenERP) f93465f4a4 [MERGE] with trunk-survey2-rim
bzr revid: dizzy.zala@gmail.com-20140129051248-ysm8qy498oqmazxe
2014-01-29 10:42:48 +05:30
Richard Mathot (OpenERP) 6f82d49562 [FIX] Small UI glitches
bzr revid: rim@openerp.com-20140128150336-orf1kes9ats1tp07
2014-01-28 16:03:36 +01:00
Richard Mathot (OpenERP) 066eb15806 [FIX] Kanban balls
bzr revid: rim@openerp.com-20140128145747-5ksksdhffraqfbil
2014-01-28 15:57:47 +01:00
Richard Mathot (OpenERP) 3e06758513 [IMP] corrections on web client actions (all the links and buttons should work now)
[IMP] views enhancements
[REM] outdated code

bzr revid: rim@openerp.com-20140128124707-qlytna4nceoklw52
2014-01-28 13:47:07 +01:00
Parth Gajjar (Open ERP) 918ee43f9a [MERGE] Merge all work from branch trunk-survey_reporting-pga due to new survey parent branch
bzr revid: pga@tinyerp.com-20140123112107-s1nvv160v3zoevlq
2014-01-23 16:51:07 +05:30
Richard Mathot (OpenERP) bcff9d072b [IMP] New kanban view for surveys (inspired of mass_mailing campaigns)
JS links need to be checked in the next revision :-)

bzr revid: rim@openerp.com-20140121160354-oc4jd8k2z71chvob
2014-01-21 17:03:54 +01:00
Richard Mathot (OpenERP) 2984ef1620 [FIX] Apparence fix
bzr revid: rim@openerp.com-20140106151510-6mts0k854b1x5tp8
2014-01-06 16:15:10 +01:00
Richard Mathot (OpenERP) 9d69b2f702 [FIX] Small fixes
bzr revid: rim@openerp.com-20140106151245-lump4flfquxuv1wu
2014-01-06 16:12:45 +01:00
Richard Mathot (OpenERP) 4394fde33b [IMP] Print view: disable inputs
bzr revid: rim@openerp.com-20131227153736-q8wwc523lg5xvi2y
2013-12-27 16:37:36 +01:00