Commit Graph

76 Commits

Author SHA1 Message Date
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
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 4dd5dbb28974b3f0d9cbcc9b502aab2d83b5e6f3, 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
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
Richard Mathot (OpenERP) 867f4ec9de [IMP] Correct prefill for MCQ and matrices
bzr revid: rim@openerp.com-20131224132309-rgv75yye7q7zabu6
2013-12-24 14:23:09 +01:00
Richard Mathot (OpenERP) 83efed9f39 [FIX] Prefill fix + [REF] Moving some code
bzr revid: rim@openerp.com-20131220095845-494qswdk5f8mu88e
2013-12-20 10:58:45 +01:00
Richard Mathot (OpenERP) 5bf9954eb5 [IMP] Prefill for multiple choice questions
bzr revid: rim@openerp.com-20131218071910-lzpvvu7rzeuj30qe
2013-12-18 08:19:10 +01:00
Richard Mathot (OpenERP) 20a35175ab [FIX] Small fixes
bzr revid: rim@openerp.com-20131216160908-yx5deeleg0m57n5s
2013-12-16 17:09:08 +01:00
Richard Mathot (OpenERP) 3989d19205 [IMP] Prefilling and saving for scalar types, views improvements and typos
bzr revid: rim@openerp.com-20131216153244-y8ctabjwipr0infc
2013-12-16 16:32:44 +01:00
Richard Mathot (OpenERP) 2fccf08c32 [IMP] Added modal when AJAX submission fails
.. note:: 
    modal is rendered by QWeb so translation should be OK

bzr revid: rim@openerp.com-20131209130326-4ib589zrzsoz4qlm
2013-12-09 14:03:26 +01:00
Richard Mathot (OpenERP) 32876beec7 [IMP] Code improvements
bzr revid: rim@openerp.com-20131206091744-ry1bnwisj0vwmj9o
2013-12-06 10:17:44 +01:00
Richard Mathot (OpenERP) 290fa3b349 [MERGE] Merge parents
bzr revid: rim@openerp.com-20131204144055-bmc36a63x07vjhlf
2013-12-04 15:40:55 +01:00
Richard Mathot (OpenERP) e04a4fa726 [FIX] typos
bzr revid: rim@openerp.com-20131204140541-qc726o6jf3ffaju5
2013-12-04 15:05:41 +01:00
Richard Mathot (OpenERP) 8e417e860a [IMP] Basic answer storage (to be improved)
bzr revid: rim@openerp.com-20131129161032-d60s8nu1gw79unt1
2013-11-29 17:10:32 +01:00
Richard Mathot (OpenERP) 65c9704954 [IMP] Survey Kanban view
[REM] Unused code in survey.py

[REF] Code cleaning

bzr revid: rim@openerp.com-20131129084914-z76feeg813q38l25
2013-11-29 09:49:14 +01:00
Richard Mathot (OpenERP) ebb6a6c954 [IMP] Controller splitted among "start a survey" and "fill a survey"
[IMP] User input admin view

bzr revid: rim@openerp.com-20131126151726-8en9gh9u9ygcp2uz
2013-11-26 16:17:26 +01:00
Richard Mathot (OpenERP) ff01a81817 - [IMP] Category becomes res_model
- [IMP] Correct display of simple_ and multiple_choice

- [IMP] Admin and display of matrices

- [REF] Some code cleaning

bzr revid: rim@openerp.com-20131126125303-ff1zhgbko30nvlxx
2013-11-26 13:53:03 +01:00
Richard Mathot (OpenERP) fb8f1b4c24 [REM] Unused custom CSS
bzr revid: rim@openerp.com-20131125104839-f99oa2wyngku9ymk
2013-11-25 11:48:39 +01:00