Skip to content

Commit 2da20fd

Browse files
committed
[IMP] wip
1 parent 84e9617 commit 2da20fd

40 files changed

+1587
-593
lines changed

gmail/.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"semi": true,
33
"trailingComma": "all",
44
"singleQuote": false,
5-
"printWidth": 120,
5+
"printWidth": 100,
66
"tabWidth": 4
77
}

gmail/appsscript.json

Lines changed: 66 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,20 @@
1414
"onTriggerFunction": "onGmailMessageOpen"
1515
}
1616
],
17+
"homepageTrigger": {
18+
"runFunction": "onHome",
19+
"enabled": true
20+
},
1721
"primaryColor": "#875A7B",
1822
"secondaryColor": "#00A09D",
1923
"openLinkUrlPrefixes": ["*"]
2024
},
2125
"urlFetchWhitelist": [
2226
"https://*.odoo.com/mail_plugin/get_translations",
27+
"https://*.odoo.com/mail_plugin/activity/get",
28+
"https://*.odoo.com/mail_plugin/activity/done",
29+
"https://*.odoo.com/mail_plugin/activity/cancel",
30+
"https://*.odoo.com/mail_plugin/activity/edit",
2331
"https://*.odoo.com/mail_plugin/partner/get",
2432
"https://*.odoo.com/mail_plugin/log_mail_content",
2533
"https://*.odoo.com/mail_plugin/search_records/res.partner",
@@ -43,6 +51,10 @@
4351
"https://*.odoo.com/mail_plugin/auth",
4452
"https://*.odoo.com/mail_plugin/auth/access_token",
4553
"https://odoo.com/mail_plugin/get_translations",
54+
"https://odoo.com/mail_plugin/activity/get",
55+
"https://odoo.com/mail_plugin/activity/done",
56+
"https://odoo.com/mail_plugin/activity/cancel",
57+
"https://odoo.com/mail_plugin/activity/edit",
4658
"https://odoo.com/mail_plugin/partner/get",
4759
"https://odoo.com/mail_plugin/log_mail_content",
4860
"https://odoo.com/mail_plugin/search_records/res.partner",
@@ -65,52 +77,60 @@
6577
"https://odoo.com/web/login",
6678
"https://odoo.com/mail_plugin/auth",
6779
"https://odoo.com/mail_plugin/auth/access_token",
68-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/get_translations",
69-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/partner/get",
70-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/log_mail_content",
71-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/search_records/res.partner",
72-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/redirect_to_record/res.partner",
73-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/partner/create",
74-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/partner/enrich_and_create_company",
75-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/search_records/crm.lead",
76-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/redirect_to_record/crm.lead",
77-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/partner/enrich_and_update_company",
78-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/search_records/helpdesk.ticket",
79-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/redirect_to_record/helpdesk.ticket",
80-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/lead/create",
81-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/ticket/create",
82-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/search_records/project.task",
83-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/redirect_to_record/project.task",
84-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/search_records/project.project",
85-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/redirect_to_record/project.project",
86-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/project/create",
87-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/task/create",
88-
"https://687ed26ddce1.ngrok-free.app/web/login",
89-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/auth",
90-
"https://687ed26ddce1.ngrok-free.app/mail_plugin/auth/access_token",
91-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/get_translations",
92-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/partner/get",
93-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/log_mail_content",
94-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/search_records/res.partner",
95-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/redirect_to_record/res.partner",
96-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/partner/create",
97-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/partner/enrich_and_create_company",
98-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/search_records/crm.lead",
99-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/redirect_to_record/crm.lead",
100-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/partner/enrich_and_update_company",
101-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/search_records/helpdesk.ticket",
102-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/redirect_to_record/helpdesk.ticket",
103-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/lead/create",
104-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/ticket/create",
105-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/search_records/project.task",
106-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/redirect_to_record/project.task",
107-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/search_records/project.project",
108-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/redirect_to_record/project.project",
109-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/project/create",
110-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/task/create",
111-
"https://88233650-master-all.runbot240.odoo.com/web/login",
112-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/auth",
113-
"https://88233650-master-all.runbot240.odoo.com/mail_plugin/auth/access_token"
80+
"https://db5c147150f5.ngrok-free.app/mail_plugin/get_translations",
81+
"https://db5c147150f5.ngrok-free.app/mail_plugin/activity/get",
82+
"https://db5c147150f5.ngrok-free.app/mail_plugin/activity/done",
83+
"https://db5c147150f5.ngrok-free.app/mail_plugin/activity/cancel",
84+
"https://db5c147150f5.ngrok-free.app/mail_plugin/activity/edit",
85+
"https://db5c147150f5.ngrok-free.app/mail_plugin/partner/get",
86+
"https://db5c147150f5.ngrok-free.app/mail_plugin/log_mail_content",
87+
"https://db5c147150f5.ngrok-free.app/mail_plugin/search_records/res.partner",
88+
"https://db5c147150f5.ngrok-free.app/mail_plugin/redirect_to_record/res.partner",
89+
"https://db5c147150f5.ngrok-free.app/mail_plugin/partner/create",
90+
"https://db5c147150f5.ngrok-free.app/mail_plugin/partner/enrich_and_create_company",
91+
"https://db5c147150f5.ngrok-free.app/mail_plugin/search_records/crm.lead",
92+
"https://db5c147150f5.ngrok-free.app/mail_plugin/redirect_to_record/crm.lead",
93+
"https://db5c147150f5.ngrok-free.app/mail_plugin/partner/enrich_and_update_company",
94+
"https://db5c147150f5.ngrok-free.app/mail_plugin/search_records/helpdesk.ticket",
95+
"https://db5c147150f5.ngrok-free.app/mail_plugin/redirect_to_record/helpdesk.ticket",
96+
"https://db5c147150f5.ngrok-free.app/mail_plugin/lead/create",
97+
"https://db5c147150f5.ngrok-free.app/mail_plugin/ticket/create",
98+
"https://db5c147150f5.ngrok-free.app/mail_plugin/search_records/project.task",
99+
"https://db5c147150f5.ngrok-free.app/mail_plugin/redirect_to_record/project.task",
100+
"https://db5c147150f5.ngrok-free.app/mail_plugin/search_records/project.project",
101+
"https://db5c147150f5.ngrok-free.app/mail_plugin/redirect_to_record/project.project",
102+
"https://db5c147150f5.ngrok-free.app/mail_plugin/project/create",
103+
"https://db5c147150f5.ngrok-free.app/mail_plugin/task/create",
104+
"https://db5c147150f5.ngrok-free.app/web/login",
105+
"https://db5c147150f5.ngrok-free.app/mail_plugin/auth",
106+
"https://db5c147150f5.ngrok-free.app/mail_plugin/auth/access_token",
107+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/get_translations",
108+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/activity/get",
109+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/activity/done",
110+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/activity/cancel",
111+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/activity/edit",
112+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/partner/get",
113+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/log_mail_content",
114+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/search_records/res.partner",
115+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/redirect_to_record/res.partner",
116+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/partner/create",
117+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/partner/enrich_and_create_company",
118+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/search_records/crm.lead",
119+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/redirect_to_record/crm.lead",
120+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/partner/enrich_and_update_company",
121+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/search_records/helpdesk.ticket",
122+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/redirect_to_record/helpdesk.ticket",
123+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/lead/create",
124+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/ticket/create",
125+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/search_records/project.task",
126+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/redirect_to_record/project.task",
127+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/search_records/project.project",
128+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/redirect_to_record/project.project",
129+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/project/create",
130+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/task/create",
131+
"https://90396006-master-all.runbot157.odoo.com/web/login",
132+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/auth",
133+
"https://90396006-master-all.runbot157.odoo.com/mail_plugin/auth/access_token"
114134
],
115135
"runtimeVersion": "V8"
116136
}

0 commit comments

Comments
 (0)