Removal of *DAV for 4.4

40 views
Skip to first unread message

Cédric Krier

unread,
Apr 2, 2017, 5:25:07 PM4/2/17
to Tryton
Hi,

I think there is a good consensus about removing the *DAV stuffs.
We did not have time to implement the two features mentioned in
https://discuss.tryton.org/t/removal-of-dav/304 (attachment sharing and
VCard). But I do not think thos should prevent us from not releasing *DAV
module for 4.4 and deprecate them immediately.
So if there are no valid objection, I will deprecate them for the coming
freeze.
Bonus point, this will make the server part fully Python 3.


PS: I already started to work on the attachment sharing but I do not
want to rush it as there are some security design choice.
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Richard PALO

unread,
Apr 4, 2017, 2:35:04 AM4/4/17
to tryto...@googlegroups.com
Le 02/04/2017 à 23:21, Cédric Krier a écrit :
> Hi,
>
> I think there is a good consensus about removing the *DAV stuffs.
> We did not have time to implement the two features mentioned in
> https://discuss.tryton.org/t/removal-of-dav/304 (attachment sharing and
> VCard). But I do not think thos should prevent us from not releasing *DAV
> module for 4.4 and deprecate them immediately.
> So if there are no valid objection, I will deprecate them for the coming
> freeze.
> Bonus point, this will make the server part fully Python 3.
>
>
> PS: I already started to work on the attachment sharing but I do not
> want to rush it as there are some security design choice.
>

Is there a 'remove' function that could be added to trytond-admin to avoid and
get over errors such as 'IOError: File not found' for modules no longer present?

Especially since it is no longer possible to add the modules back temporarily
via mercurial as that gives "abandon : HTTP Error 404: Not Found"
(using webdav as an example)

cheers
--
Richard PALO

Sergi Almacellas Abellana

unread,
Apr 4, 2017, 3:18:33 AM4/4/17
to tryto...@googlegroups.com
El 04/04/17 a les 07:19, Richard PALO ha escrit:
> Le 02/04/2017 à 23:21, Cédric Krier a écrit :
>> Hi,
>>
>> I think there is a good consensus about removing the *DAV stuffs.
>> We did not have time to implement the two features mentioned in
>> https://discuss.tryton.org/t/removal-of-dav/304 (attachment sharing and
>> VCard). But I do not think thos should prevent us from not releasing *DAV
>> module for 4.4 and deprecate them immediately.
>> So if there are no valid objection, I will deprecate them for the coming
>> freeze.
>> Bonus point, this will make the server part fully Python 3.
>>
>>
>> PS: I already started to work on the attachment sharing but I do not
>> want to rush it as there are some security design choice.
>>
>
> Is there a 'remove' function that could be added to trytond-admin to
> avoid and
> get over errors such as 'IOError: File not found' for modules no longer
> present?
If you don't have the module installed on the database you can clear the
ir.module record by executing the following query:

DELETE FROM ir_module where name = '<module_name>';

If you have the module isntalled, just uninstall it and then execute the
same query.

Hope it helps.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
Reply all
Reply to author
Forward
0 new messages