Commit Graph

48 Commits

Author SHA1 Message Date
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) 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) 21b7829c70 [ADD] New stage for surveys
bzr revid: rim@openerp.com-20140320153351-xgj5j164ixmwxaj6
2014-03-20 16:33:51 +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
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
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) 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) 72e33b8cfe - mailing bugs
- radio buttons/checkbox bugs
- cronjob to remove empty user inputs

bzr revid: rim@openerp.com-20131121110457-rbpbltdk1n9es37l
2013-11-21 12:04:57 +01:00
Richard Mathot (OpenERP) 298c631bf4 [IMP] Handling AJAX errors & JS code documentation
bzr revid: rim@openerp.com-20131120150916-bwhpnx6192dt3342
2013-11-20 16:09:16 +01:00
Richard Mathot (OpenERP) 233e5c82dc [IMP] Multichoice questions admin view and display
bzr revid: rim@openerp.com-20131118161259-5ni4jn3t32n28ln6
2013-11-18 17:12:59 +01:00
Richard Mathot (OpenERP) c5ff225a16 [IMP] Server side validation
bzr revid: rim@openerp.com-20131115151435-ht5eg6e6vfiydibe
2013-11-15 16:14:35 +01:00
Richard Mathot (OpenERP) 3f25c92997 partial commit
bzr revid: rim@openerp.com-20131115075150-jyabo0umip4xypks
2013-11-15 08:51:50 +01:00
Richard Mathot (OpenERP) e9a44f52ed [IMP] Form element ids refactoring
bzr revid: rim@openerp.com-20131114074555-ptqc46qxtrh9zb3f
2013-11-14 08:45:55 +01:00
Richard Mathot (OpenERP) 12ff7758a0 [IMP] Mandatory questions
bzr revid: rim@openerp.com-20131113135532-igwkncnhsvr74msj
2013-11-13 14:55:32 +01:00
Richard Mathot (OpenERP) e82a20a545 bzr revid: rim@openerp.com-20131108161414-nd908nzsr44n7u1e 2013-11-08 17:14:14 +01:00
Richard Mathot (OpenERP) b4821b9b8c [IMP] Web view of surveys list
bzr revid: rim@openerp.com-20131105103654-6ru7ue9aqqzttu11
2013-11-05 11:36:54 +01:00
Richard Mathot (OpenERP) 3d1589a227 [IMP] Admin views
bzr revid: rim@openerp.com-20131031140545-eld3dj1daj5etvcb
2013-10-31 15:05:45 +01:00
Richard Mathot (OpenERP) 15d7695189 [IMP] Models refactoring (again)
bzr revid: rim@openerp.com-20131028075121-odgv1f4en47vvtr3
2013-10-28 08:51:21 +01:00
Richard Mathot (OpenERP) 31c582874d [REF] Importing previous work by chm
bzr revid: rim@openerp.com-20131021090319-zbi93frwqpcvxkk9
2013-10-21 11:03:19 +02:00