Commit Graph

331 Commits

Author SHA1 Message Date
Thibault Delavallée 6709242bb8 [CLEAN] gamification: removed .moved folder, added when forward porting
saas-3 into trunk.

bzr revid: tde@openerp.com-20140221114004-9ee33tn3ilk6rekf
2014-02-21 12:40:04 +01:00
Christophe Simonis 4b72678bc7 [MERGE] forward port of branch saas-2 up to revid 9195 chs@openerp.com-20140220154517-6y531n1mqtnfnsmr
bzr revid: chs@openerp.com-20140220163815-69sza1kclnh5mavs
2014-02-20 17:38:15 +01:00
Martin Trigaux cce60acc15 [FIX] gamification: when auto-subscribing users to challenges, do it as superuser
bzr revid: mat@openerp.com-20140218140403-eamxtm6dvwj3g5d3
2014-02-18 15:04:03 +01:00
Martin Trigaux a90962e56d [IMP] do not change the API and use superuser inside the method instead of in the call
bzr revid: mat@openerp.com-20140218135101-uozhw08pkr04q49z
2014-02-18 14:51:01 +01:00
Martin Trigaux 4a35b2e4b0 [FIX] gamification: skip challenges where every goal is achieved in serialisation
bzr revid: mat@openerp.com-20140218133138-9od9xqr3dv4hl95b
2014-02-18 14:31:38 +01:00
Martin Trigaux 5fbeea64b5 [IMP] remove useless html files
bzr revid: mat@openerp.com-20140218131112-3sd0f8nnv5w6c93s
2014-02-18 14:11:12 +01:00
Martin Trigaux b34108ac73 [FIX] gamification: accpet and discard challenges wizard should work as superuser, the user do no need gamification rights
bzr revid: mat@openerp.com-20140218130800-vth6elmbtrjmdouq
2014-02-18 14:08:00 +01:00
Martin Trigaux a1b6b4f1ac [ADD] gamification: i18n translation files
bzr revid: mat@openerp.com-20140213151208-l452x2lf2g4dyhdj
2014-02-13 16:12:08 +01:00
Martin Trigaux 68128c971b [ADD] gamification: i18n translation files
bzr revid: mat@openerp.com-20140213150613-hgblsyl893bc6ov7
2014-02-13 16:06:13 +01:00
Martin Trigaux 8e97edb976 [IMP] gamification: put challenge list above goals to be more user friendly
bzr revid: mat@openerp.com-20140207105529-4a95snjwpc11he6k
2014-02-07 11:55:29 +01:00
Martin Trigaux 838fe32a98 [IMP] gamification: related field challenge_id is always readonly, add helper
bzr revid: mat@openerp.com-20140207102705-cf5aue57qzo03rlq
2014-02-07 11:27:05 +01:00
Martin Trigaux f988e74828 [FIX] gamification: when serialising data, skip lines and challenges with no goals
bzr revid: mat@openerp.com-20140207093643-vr1on5oxqtzkalj9
2014-02-07 10:36:43 +01:00
Martin Trigaux 691d305ed9 [FIX] gamification: automatically generates goals for users when adding them to a new challenge
bzr revid: mat@openerp.com-20140207092411-yju3pif1ibipcff8
2014-02-07 10:24:11 +01:00
Stephane Wirtel bea411bb98 [IMP] Backport one feature from website: this feature allows to specify a file
path on the field tag fetching the right file instead of using the base64
encoded file in the field.

<field name="image" type="base64" file="base/static/img/main_partner-image.png" />

bzr revid: stw@openerp.com-20140109154550-a04qybctzaaqtrlr
2014-01-09 16:45:50 +01:00
Martin Trigaux 90ebde3676 [FIX] gamification: remove old calls to action_close
bzr revid: mat@openerp.com-20131224152902-i2ozrf41y1ou2vdm
2013-12-24 16:29:02 +01:00
Martin Trigaux 13bfaef3a3 [FIX] gamification: remove old calls to action_start
bzr revid: mat@openerp.com-20131224151543-oofn9wc2w3933gjy
2013-12-24 16:15:43 +01:00
Martin Trigaux 58994713d8 [FIX] gamification: move template block before challenge declaration
bzr revid: mat@openerp.com-20131224150549-uafyr7lyva3u9k8n
2013-12-24 16:05:49 +01:00
Martin Trigaux ff83d9eb4d [FIX] gamification: remove import data, add trackvisibility on challenge instead of sending message
bzr revid: mat@openerp.com-20131224145449-93b3z97lagu12yri
2013-12-24 15:54:49 +01:00
Martin Trigaux be7bc54edc [REF] gamification: use m2o to email.template for report progress, create new field report_template_id, cleaning code
bzr revid: mat@openerp.com-20131224144514-lmbhw88nj7aa3r8i
2013-12-24 15:45:14 +01:00
Martin Trigaux 25117ca97f [REF] gamification: use statusbar instead of action buttons
bzr revid: mat@openerp.com-20131224141140-vc0v5lpm0ivfl6i4
2013-12-24 15:11:40 +01:00
Martin Trigaux 22a291d47a [REF] gamification: use sass files instead of native css
bzr revid: mat@openerp.com-20131224134405-9k4potbzq7ea20p4
2013-12-24 14:44:05 +01:00
Martin Trigaux aefd64e8cf [REF] gamification: compute_code is now similar to ir.actions, cleanup code
bzr revid: mat@openerp.com-20131224130023-e4gc91ell38zdtfj
2013-12-24 14:00:23 +01:00
Martin Trigaux 6f5815f44d [REF] gamification: cahnge some tde remarks, Long live Cthulhu
bzr revid: mat@openerp.com-20131223163214-f6yp2yxf5ja1wq22
2013-12-23 17:32:14 +01:00
Martin Trigaux 7c6a6b26f1 [FIX] gamification: goal.condition -> goal.definition_condition, user_ids not in vals -> not vals.get(user_ids)
bzr revid: mat@openerp.com-20131223161229-lpoevttkt6ezt2ia
2013-12-23 17:12:29 +01:00
Martin Trigaux f4e42879d3 [REF] gamification: rename user_from_id -> sender_id, move constants
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
2013-12-23 17:01:43 +01:00
Martin Trigaux c0eef31160 [REF] gamification: add user_from_id on badge, remove outdated-doc, remove useless message_post call
bzr revid: mat@openerp.com-20131223155404-h4in4ocr8jakq3ff
2013-12-23 16:54:04 +01:00
Martin Trigaux aec8f50b20 [IMP] gamification: use constances
bzr revid: mat@openerp.com-20131220150557-xaomxnrdb4bxcex3
2013-12-20 16:05:57 +01:00
Martin Trigaux f77aefc07a [REF] gamification: cleaning methods and reports
bzr revid: mat@openerp.com-20131220144521-wyu1gx8bcitu6nk4
2013-12-20 15:45:21 +01:00
Martin Trigaux 90dfa5895d [FIX] gamification: send badge on user, fix function field
bzr revid: mat@openerp.com-20131218140333-nipcc21z5snhac1c
2013-12-18 15:03:33 +01:00
Martin Trigaux 938a07a361 [FIX] gamification: check grant badges are now sistematic except for superuser (always possible)
bzr revid: mat@openerp.com-20131218130039-y5vp0wt48ejd3jrh
2013-12-18 14:00:39 +01:00
Martin Trigaux 553e85f369 [FIX] gamification: move manifest order and remove useless browse
bzr revid: mat@openerp.com-20131218121459-zlfumwysdx9qm7d9
2013-12-18 13:14:59 +01:00
Martin Trigaux e7887b8b8f [REF] gamification: python tests and other improvements
bzr revid: mat@openerp.com-20131218111243-npnauv6mxhb4nttg
2013-12-18 12:12:43 +01:00
Martin Trigaux b63950e0dc [REF] gamification: mode to adequate folders
bzr revid: mat@openerp.com-20131218085907-6501sfdif2rk4a0b
2013-12-18 09:59:07 +01:00
Martin Trigaux 4bc29b9ffa [REF] gamification
bzr revid: mat@openerp.com-20131217170232-e0zruxzl1wlycaji
2013-12-17 18:02:32 +01:00
Martin Trigaux c184adab44 [REF] gamification
bzr revid: mat@openerp.com-20131217164619-ewgj8cclza3u44pp
2013-12-17 17:46:19 +01:00
Martin Trigaux 122c15c48d [REF] gamification: pretty much changing half of the code to make tde happy...
bzr revid: mat@openerp.com-20131217161541-oxsgy7gmko2x6qui
2013-12-17 17:15:41 +01:00
Martin Trigaux 3e028490f6 [IMP] gamification: licency stuff
bzr revid: mat@openerp.com-20131217104813-7nh422l1d85s6y51
2013-12-17 11:48:13 +01:00
Martin Trigaux 98625d20ed [IMP] gamification: use DEFAULT_SERVER_DATE_FORMAT instead of %Y-%m-%d
bzr revid: mat@openerp.com-20131216154728-xhmazn36jmjpv6ai
2013-12-16 16:47:28 +01:00
Martin Trigaux ac4a89e8bf [FIX] gamification: replace isoformat -> DEFAULT_SERVER_DATE_FORMAT
bzr revid: mat@openerp.com-20131216154317-8xliud4s23zvj9yu
2013-12-16 16:43:17 +01:00
Martin Trigaux e02f16bd54 [IMP] gamification: update manifest
bzr revid: mat@openerp.com-20131216151457-6vmwb6b6os0e3enn
2013-12-16 16:14:57 +01:00
Martin Trigaux 354190b44e [IMP] gamification: add portal_gamification module to add security rules
bzr revid: mat@openerp.com-20131216150726-su27319fvvxevam6
2013-12-16 16:07:26 +01:00
Martin Trigaux 8c3b6c0a3d [IMP] gamification: remove unused variables, add missing ones
bzr revid: mat@openerp.com-20131216142352-2s6isuvobm6xyxa4
2013-12-16 15:23:52 +01:00
Martin Trigaux ae19a1609d [IMP] gamification: revert partially rev 8929, hidden if form view but lower priority. This is needed for set your avatar hack (done server side in write())
bzr revid: mat@openerp.com-20131216142027-u4adogapahjm9vm0
2013-12-16 15:20:27 +01:00
Martin Trigaux aabf541e33 [FIX] gamification: display computation_mode on widget view
bzr revid: mat@openerp.com-20131216140231-hp4ydc3gs3pvalcp
2013-12-16 15:02:31 +01:00
Martin Trigaux b0997141bc [FIX] gamification: priority to manual goals when getting click action
bzr revid: mat@openerp.com-20131216133236-vbzr4cytqprkkkx5
2013-12-16 14:32:36 +01:00
Martin Trigaux 3b60ce38b7 [FIX] gamification: avoid traceback in goal computation if target == 0 (even if does not make much sense)
bzr revid: mat@openerp.com-20131216132748-i4o71hmxyeyedznx
2013-12-16 14:27:48 +01:00
Martin Trigaux c301558bf9 [FIX] gamification: no, actually make record rule for every user, will handle portal later
bzr revid: mat@openerp.com-20131212115524-u25hz4xjj9l8gatb
2013-12-12 12:55:24 +01:00
Martin Trigaux c797a9071b [FIX] gamification: make record rule global and not for employees only
bzr revid: mat@openerp.com-20131212113639-lg2w2pm1mldbqe7a
2013-12-12 12:36:39 +01:00
Martin Trigaux 8a80688560 [FIX] gamification: move icon to description folder
bzr revid: mat@openerp.com-20131212102624-obfsh2nsclhpv4n9
2013-12-12 11:26:24 +01:00
Martin Trigaux d56c30808d [FIX] gamification: make goal work in multicompany mode
bzr revid: mat@openerp.com-20131002154158-zmhcpkg69jxqzrpk
2013-10-02 17:41:58 +02:00