Commit Graph

32 Commits

Author SHA1 Message Date
wmayer
fb4e8e871b Cloud: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
d7aac0ed60 Mod: [skip ci] add needed headers to fix build failure 2022-03-21 12:04:04 +01:00
Uwe
d6a9a941ac [Cloud] remove some includes and sorting 2022-03-21 00:13:22 +01:00
marioalexis
30cb87a8c5 Cloud: Call PyMem_Free() to free allocated buffer 2022-02-09 16:03:57 +01:00
vejmarie
f5710fb5cf Fix MacOS build with boost 1.73 and updated Homebrew packages 2020-09-19 19:35:39 +02:00
Jean-Marie Verdun
0b1af7c838 Add App::Link support to Cloud module
ONLY enabled if the Cloud Module is compiled into FreeCAD
    ALL files must be saved into a Cloud Based storage
    Add a Signal to the PropertyLink to enable support of external storage
    Put the Assembly Document as active document

Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-07-23 13:47:21 +02:00
wmayer
87c0365add Cloud: [skip ci] add missing closing curly brace 2020-06-18 12:33:27 +02:00
Jean-Marie Verdun
575df24435 Retab 2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
b393cf67df Add Amazon v4 API support as to take into consideration
the end of life of SHA1 signing from OpenSSL which is used by v2 API
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
94bfa8af9c Introduce ComputeDigestAmzS3v4 and BuildHeaderAmzS3v4
into the Cloud code (WIP)
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
cf230c930c Add SHA256 sum function 2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
1883bf560f Add Amazon protocol version as a parameter
as to smooth the transition from SHA-1 to SHA-256 signing
2020-06-17 13:05:01 +02:00
Jean-Marie Verdun
f692494ada Use "simpler" naming convention per user request 2020-04-13 11:39:14 +02:00
Jean-Marie Verdun
5e84d3238b Fix MacOS build with Catalina and latest homebrew
Add support for self signed certificate in the case the end user wants
to use minio or any other self hosted s3 storage
2020-04-06 12:57:44 +02:00
wmayer
261c4a6890 Cloud: fix build failure under Linux caused by 287050be41 2020-03-16 15:22:26 +01:00
MA-LAPTOP\apeltauer
287050be41 merge cloud wb modfications 2020-03-16 12:24:40 +01:00
Jean-Marie Verdun
1aeea67f42 Introduce support of multiple entries bucket directory list
Needed for FreeCAD files which generate thousands of BRep files
(most of the time assemblies or STEP)
2019-11-01 17:46:29 -03:00
Jean-Marie Verdun
820ad876cb Fix bad object allocation which was creating a crash on linux and strangly was working on MacOS 2019-10-22 17:08:36 +02:00
luz.paz
1c981e8f14 Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
Jean-Marie Verdun
f911796046 Fix auth base64 computation when HMAC return string contains \0 character 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
d0e1305ac8 Add Content-MD% into the header as to be able to retrieve it from the ETag answer of the server 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
b39e642aeb Fix mistackes done during refactoring 2019-10-18 10:16:35 +02:00
Jean-Marie Verdun
42717d3b39 Refactor code to prepare Amazon s3 v4 API support
We do support currently only v2 which will be EOL in june 2020
according to Amazon
2019-10-18 10:16:35 +02:00
luz.paz
e7530218e1 FIx typos and grammar 2019-10-05 17:21:13 +02:00
Jean-Marie Verdun
0a7d8d1259 Remove curl verbose mode ... (remove data exchange between europe and us client/server, reduce latency issue) 2019-10-05 17:21:03 +02:00
Jean-Marie Verdun
9e8be2e453 Create bucket in the case it is not yet available within the storage server 2019-10-05 17:20:56 +02:00
luz.paz
a1984aeece Fix typos, grammar, and some whitespace issues
Found via `codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-09-07 11:58:38 -04:00
wmayer
d223e326ce make Cloud module compile on Win32, still needs some porting 2019-09-03 17:21:14 +02:00
Jean-Marie Verdun
c4b0073022 Fix copyright 2019-09-03 17:21:11 +02:00
Jean-Marie Verdun
ee530a4634 Fix some copyright issues reported by luzpaz
Fix some typos reported by kkremitzi
Remove resetTouched which was dead code following update on Document management
2019-09-03 17:21:08 +02:00
Jean-Marie Verdun
ead104fe0f Update licensing part of the code 2019-09-03 17:21:07 +02:00
Jean-Marie Verdun
27e7b9913a Add initial version of the Cloud workbench 2019-09-03 17:21:05 +02:00