Parcourir la source

add Verbose on activity

Marino Faggiana il y a 8 ans
Parent
commit
3d6701b4e4

+ 1 - 0
Libraries external/OCCommunicationLib/OCCommunicationLib/OCActivity.h

@@ -32,6 +32,7 @@
 @property (nonatomic, strong) NSString *message;
 @property (nonatomic, strong) NSString *subject;
 @property (nonatomic, strong) NSString *type;
+@property NSInteger verbose;
 
 @end
 

+ 1 - 0
Libraries external/OCCommunicationLib/OCCommunicationLib/OCActivity.m

@@ -37,6 +37,7 @@
         self.message = @"";
         self.subject = @"";
         self.type = @"";
+        self.verbose = 0;
     }
     
     return self;

+ 1 - 0
iOSClient/FileSystem/CCCoreData.m

@@ -1866,6 +1866,7 @@
         record.link = activity.link;
         record.message = activity.message;
         record.subject = activity.subject;
+        record.verbose = [NSNumber numberWithInteger:activity.verbose];
     }];
 }
 

+ 1 - 0
iOSClient/FileSystem/TableActivity+CoreDataProperties.h

@@ -23,6 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
 @property (nullable, nonatomic, copy) NSString *message;
 @property (nullable, nonatomic, copy) NSString *subject;
 @property (nullable, nonatomic, copy) NSString *type;
+@property (nullable, nonatomic, copy) NSNumber *verbose;
 
 @end
 

+ 1 - 0
iOSClient/FileSystem/TableActivity+CoreDataProperties.m

@@ -22,5 +22,6 @@
 @dynamic message;
 @dynamic subject;
 @dynamic type;
+@dynamic verbose;
 
 @end

+ 2 - 1
iOSClient/cryptocloud.xcdatamodeld/cryptocloud 7.xcdatamodel/contents

@@ -47,6 +47,7 @@
         <attribute name="message" optional="YES" attributeType="String" syncable="YES"/>
         <attribute name="subject" optional="YES" attributeType="String" syncable="YES"/>
         <attribute name="type" optional="YES" attributeType="String" syncable="YES"/>
+        <attribute name="verbose" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
     </entity>
     <entity name="TableAutomaticUpload" representedClassName="TableAutomaticUpload" syncable="YES">
         <attribute name="account" optional="YES" attributeType="String" syncable="YES"/>
@@ -141,7 +142,7 @@
     </entity>
     <elements>
         <element name="TableAccount" positionX="-6597" positionY="111" width="171" height="585"/>
-        <element name="TableActivity" positionX="-6399" positionY="252" width="128" height="165"/>
+        <element name="TableActivity" positionX="-6399" positionY="252" width="128" height="180"/>
         <element name="TableAutomaticUpload" positionX="-6597" positionY="801" width="128" height="180"/>
         <element name="TableCertificates" positionX="-6597" positionY="711" width="128" height="60"/>
         <element name="TableDirectory" positionX="-6372" positionY="111" width="162" height="210"/>