Denis Ledoux
1cfd7ec102
[FIX] google_drive: anyone with the link can now write
...
We used to give write access to the email address of the current user, but if the email is not a google account, there is no way for the current user to write on the data (except if the current email address is also the email which has done the oauth activation in the settings).
bzr revid: dle@openerp.com-20140115093528-ir39ppqrinjqyeta
2014-01-15 10:35:28 +01:00
Denis Ledoux
274b9c9503
[FIX]google_drive: using res.users has_group method to know if the user is admin, instead of reading groups_id of the user (and, also, fixed the read call with a string instead of an array for the fields to read)
...
bzr revid: dle@openerp.com-20131127142049-v9sr5ldc9g4cct98
2013-11-27 15:20:49 +01:00
Denis Ledoux
8bc3ffd234
[FIX]google_drive: permission granted for anyone with the link has been set to readonly, and add write permission to current user (email) only
...
bzr revid: dle@openerp.com-20131017142545-81ab6xbqi5nb6c06
2013-10-17 16:25:45 +02:00
Denis Ledoux
af9b8590b5
[FIX]google_drive: when create a document in drive, add the permission 'writer' to 'anyone with the link'. Hence, anyone that can see the attachement, can edit the document
...
bzr revid: dle@openerp.com-20131017134744-nr9g21rhebtpkq4s
2013-10-17 15:47:44 +02:00
Olivier Dony
d72ccec81a
[FIX] google_drive: base.config.settings must be a TransientModel
...
Making it a real Model causes access right errors,
as it has no ACLs.
+ cleanup other model declarations
bzr revid: odo@openerp.com-20131016164135-uf3gxe0p1i6h3xyq
2013-10-16 18:41:35 +02:00
Olivier Dony
23b209047b
[FIX] google_drive, google_base_account: safer management of auth code, better usability
...
Persist the auth code in the settings to show
that it has already been set, even if it is not
technically used by the system.
Also fixed a variable referenced before assignment.
bzr revid: odo@openerp.com-20131016163908-9d05x85me3n30ala
2013-10-16 18:39:08 +02:00
Denis Ledoux
f3e189698d
[FIX]google_drive, google_spreadsheet: move of get_google_scope in google objects instead of config
...
bzr revid: dle@openerp.com-20130724153754-thj2l0b1t4lw136j
2013-07-24 17:37:54 +02:00
Denis Ledoux
54de4095ae
[FIX]google_drive, google_spreadsheet: go to configuration panel only for group settings, spreadsheet attached to model without res_id
...
bzr revid: dle@openerp.com-20130724130534-axyvc0u0g1um07fg
2013-07-24 15:05:34 +02:00
Denis Ledoux
9ae6b18ded
[FIX]google_spreadsheet: add active field on google drive template and handle when auth_crypt is installed
...
bzr revid: dle@openerp.com-20130723130453-0vns37b89v622kh0
2013-07-23 15:04:53 +02:00
Denis Ledoux
8fe619095b
[ADD]google_spreadsheet: view (ir.attachement) in reporting, formula used in description of attachement
...
bzr revid: dle@openerp.com-20130722164508-1849vgrr6j0j6yhk
2013-07-22 18:45:08 +02:00
Denis Ledoux
5a1b08bfbd
[FIX]google_spreadsheet: write formula once spreadsheet opened
...
bzr revid: dle@openerp.com-20130722143034-4tf8mr71ocf049ma
2013-07-22 16:30:34 +02:00
Denis Ledoux
bf1163c99a
[FIX]google_drive: resource_get func fields, ressource_id can have '_' in id, remove of refresh_token in data(useless), try except for various urllib calls
...
bzr revid: dle@openerp.com-20130627150145-4fruh3ysqoce7bcj
2013-06-27 17:01:45 +02:00
Denis Ledoux
fa228290af
[FIX]google_drive: refresh token from authorization code not anymore in on change method, google base account not inheriting from base setting
...
bzr revid: dle@openerp.com-20130627143713-lgqgi0px7qb18rup
2013-06-27 16:37:13 +02:00
Denis Ledoux
1d85a0648c
[FIX]google_drive,google_base_account: back to httpllib
...
bzr revid: dle@openerp.com-20130626170035-rd4rzil801vbzxro
2013-06-26 19:00:35 +02:00
Denis Ledoux
fab8c0682f
[IMP]google_drive: ressource_id with regex
...
bzr revid: dle@openerp.com-20130626150719-ry3wdngld3wfmdrt
2013-06-26 17:07:19 +02:00
Denis Ledoux
afa6ea8e4f
[IMP]google_drive: cleanup
...
bzr revid: dle@openerp.com-20130626145213-37to2q3q9jh4lnsg
2013-06-26 16:52:13 +02:00
Denis Ledoux
f694c37b83
tmp
...
bzr revid: dle@openerp.com-20130626133552-gtfhzvxsi1oj3pdm
2013-06-26 15:35:52 +02:00
Denis Ledoux
66520d9e8e
[FLAKE8]
...
bzr revid: dle@openerp.com-20130626095736-0ni7i86wckc6coo5
2013-06-26 11:57:36 +02:00
Denis Ledoux
2da193d242
[FIX]base_setup,google_drive: res_config view correction for module google drive
...
bzr revid: dle@openerp.com-20130626095005-wx9x79pmqg8o2de7
2013-06-26 11:50:05 +02:00
Denis Ledoux
c74517990f
[RENAME]google_docs => google_drive
...
bzr revid: dle@openerp.com-20130626093019-krwt5eamagmd5amu
2013-06-26 11:30:19 +02:00