Commit Graph

346 Commits

Author SHA1 Message Date
Thibault Delavallée d0740bedb9 [IMP] gamification: messages posted on user when receiving a badge
now have a subtype, to ease their search.

bzr revid: tde@openerp.com-20140411175730-hq06b7qezurzymj6
2014-04-11 19:57:30 +02:00
Thibault Delavallée f091e9d6e5 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411155723-pqe8ofxh060afiuj
2014-04-11 17:57:23 +02:00
Martin Trigaux 668fb8a542 [MERGE] gamification: add batch mode, improve some views, remove inprogess_update state and "realtime" (using cron) badge to recieve badges without needing to close the challenge
bzr revid: mat@openerp.com-20140411154740-pzw0v7po7pmci42l
2014-04-11 17:47:40 +02:00
Martin Trigaux 236a4d71be [MERGE] sync with trunk
bzr revid: mat@openerp.com-20140411154002-6557tcjfetqwb0kf
2014-04-11 17:40:02 +02:00
Martin Trigaux c67c964d5f [ADD] gamification: realtime badge to recieve badge without closing the challenge
bzr revid: mat@openerp.com-20140411151917-21drebbaa1d36jv4
2014-04-11 17:19:17 +02:00
Thibault Delavallée aa48312b98 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411145955-91iohb1enc50se5l
2014-04-11 16:59:55 +02:00
Martin Trigaux 21022c5472 [REF] gamification: add batch mode, improve some views, remove inprogess_update state (replaced with boolean 'to update')
bzr revid: mat@openerp.com-20140411142257-zpaul4sq3t5j5r64
2014-04-11 16:22:57 +02:00
Thibault Delavallée e4d4c00312 [FIX] gamification: allow having False or 0 values as result of a computation.
bzr revid: tde@openerp.com-20140411141510-c11djv7qlf9qgek2
2014-04-11 16:15:10 +02:00
Thibault Delavallée a8445aac37 [FIX] gamification: avoid discarding False or 0 given as result for
python computation.

bzr revid: tde@openerp.com-20140410141049-luw63buvf0jsvkoh
2014-04-10 16:10:49 +02:00
Thibault Delavallée 1d5beb57ef [MERGE] Sync with upstram: website-forum-tpa
bzr revid: tde@openerp.com-20140409165804-q4wi76e0m0c9ovzw
2014-04-09 18:58:04 +02:00
Thibault Delavallée 70eb634173 [FIX] Fixe dlast commit: badge message is posted on the user
as before. Also updated code in mail/res_users that could big: partner_ids given
to message_post can be a list of commands, or a list of ids.

bzr revid: tde@openerp.com-20140409155003-32ccef4udlzfg5us
2014-04-09 17:50:03 +02:00
Thibault Delavallée 9b922d9858 [REVIEW] [CLEAN] gamification: reverted changes instead of
the fix.

bzr revid: tde@openerp.com-20140409152629-3div4vdfknjrtnb6
2014-04-09 17:26:29 +02:00
Turkesh Patel (Open ERP) 1cb83cbb3b [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140409121219-vls8f4edm6sta49w
2014-04-09 17:42:19 +05:30
Gery Debongnie eb41be40bf [FIX] fixes an incorrect call to read_group (the groupby argument should be a list of groupbys and should not be a list with an empty string (addon gamification)
bzr revid: ged@openerp.com-20140404114216-35wqvkegnpnn7mil
2014-04-04 13:42:16 +02:00
Turkesh Patel (Open ERP) 9bb6139cd2 [IMP] gamification: improved code to send notification message when bedge assigned, website_forum: improved code to show notification when badge assigned to user.
bzr revid: tpa@tinyerp.com-20140319090735-zi01wzh8a8u5cfb7
2014-03-19 14:37:35 +05:30
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