Skip to content

Commit b989358

Browse files
committed
Updated SDK, Added gallery & Geo pin
1 parent c58eb7c commit b989358

File tree

15 files changed

+109
-53
lines changed

15 files changed

+109
-53
lines changed

eFormAPI/eFormAPI/Controllers/TemplatesController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.IdentityModel.Tokens;
43
using System.IO;
54
using System.Linq;
65
using System.Net;
@@ -41,7 +40,7 @@ public OperationDataResult<List<Template_Dto>> Index()
4140
System.Web.Hosting.HostingEnvironment.MapPath("~/bin/Input.txt"));
4241

4342
string connectionStr = lines.First();
44-
AdminTools adminTool = new AdminTools(connectionStr, false);
43+
AdminTools adminTool = new AdminTools(connectionStr);
4544
adminTool.DbSettingsReloadRemote();
4645
return new OperationDataResult<List<Template_Dto>>(false, "Check connection string");
4746
}

eFormAPI/eFormAPI/Infrastructure/Helpers/EFormCoreHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ public Core GetCore()
6767
_core.HandleCaseDeleted += EventCaseDeleted;
6868
_core.HandleFileDownloaded += EventFileDownloaded;
6969
_core.HandleSiteActivated += EventSiteActivated;
70-
_core.HandleEventLog += EventLog;
71-
_core.HandleEventMessage += EventMessage;
72-
_core.HandleEventWarning += EventWarning;
70+
//_core.HandleEventLog += EventLog;
71+
//_core.HandleEventMessage += EventMessage;
72+
//_core.HandleEventWarning += EventWarning;
7373
_core.HandleEventException += EventException;
7474

7575
running = _core.StartSqlOnly(connectionStr);

eFormAPI/eFormAPI/eFormAPI.Web.csproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,31 @@
6262
<Private>True</Private>
6363
</Reference>
6464
<Reference Include="AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
65-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\AWSSDK.Core.dll</HintPath>
65+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\AWSSDK.Core.dll</HintPath>
6666
</Reference>
6767
<Reference Include="AWSSDK.SQS, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
68-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\AWSSDK.SQS.dll</HintPath>
68+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\AWSSDK.SQS.dll</HintPath>
6969
</Reference>
70-
<Reference Include="eFormCommunicator, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
71-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormCommunicator.dll</HintPath>
70+
<Reference Include="eFormCommunicator, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
71+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormCommunicator.dll</HintPath>
7272
</Reference>
73-
<Reference Include="eFormCore, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
74-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormCore.dll</HintPath>
73+
<Reference Include="eFormCore, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
74+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormCore.dll</HintPath>
7575
</Reference>
76-
<Reference Include="eFormData, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
77-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormData.dll</HintPath>
76+
<Reference Include="eFormData, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
77+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormData.dll</HintPath>
7878
</Reference>
79-
<Reference Include="eFormOffice, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
80-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormOffice.dll</HintPath>
79+
<Reference Include="eFormOffice, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
80+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormOffice.dll</HintPath>
8181
</Reference>
82-
<Reference Include="eFormShared, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
83-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormShared.dll</HintPath>
82+
<Reference Include="eFormShared, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
83+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormShared.dll</HintPath>
8484
</Reference>
85-
<Reference Include="eFormSqlController, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
86-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormSqlController.dll</HintPath>
85+
<Reference Include="eFormSqlController, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
86+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormSqlController.dll</HintPath>
8787
</Reference>
88-
<Reference Include="eFormSubscriber, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
89-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormSubscriber.dll</HintPath>
88+
<Reference Include="eFormSubscriber, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
89+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormSubscriber.dll</HintPath>
9090
</Reference>
9191
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
9292
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>

eFormAPI/eFormAPI/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<package id="Microsoft.Owin.Security.Cookies" version="3.1.0" targetFramework="net46" />
3434
<package id="Microsoft.Owin.Security.OAuth" version="3.1.0" targetFramework="net46" />
3535
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net46" />
36-
<package id="Microting.eForm" version="1.5.5.4" targetFramework="net46" />
36+
<package id="Microting.eForm" version="1.6.1.3" targetFramework="net46" />
3737
<package id="Modernizr" version="2.8.3" targetFramework="net46" />
3838
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net46" />
3939
<package id="NLog" version="4.4.11" targetFramework="net46" />

eFormAPI/eFromAPI.Common/eFromAPI.Common.csproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@
3131
</PropertyGroup>
3232
<ItemGroup>
3333
<Reference Include="AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
34-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\AWSSDK.Core.dll</HintPath>
34+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\AWSSDK.Core.dll</HintPath>
3535
</Reference>
3636
<Reference Include="AWSSDK.SQS, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604, processorArchitecture=MSIL">
37-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\AWSSDK.SQS.dll</HintPath>
37+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\AWSSDK.SQS.dll</HintPath>
3838
</Reference>
39-
<Reference Include="eFormCommunicator, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
40-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormCommunicator.dll</HintPath>
39+
<Reference Include="eFormCommunicator, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
40+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormCommunicator.dll</HintPath>
4141
</Reference>
42-
<Reference Include="eFormCore, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
43-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormCore.dll</HintPath>
42+
<Reference Include="eFormCore, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
43+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormCore.dll</HintPath>
4444
</Reference>
45-
<Reference Include="eFormData, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
46-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormData.dll</HintPath>
45+
<Reference Include="eFormData, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
46+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormData.dll</HintPath>
4747
</Reference>
48-
<Reference Include="eFormOffice, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
49-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormOffice.dll</HintPath>
48+
<Reference Include="eFormOffice, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
49+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormOffice.dll</HintPath>
5050
</Reference>
51-
<Reference Include="eFormShared, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
52-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormShared.dll</HintPath>
51+
<Reference Include="eFormShared, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
52+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormShared.dll</HintPath>
5353
</Reference>
54-
<Reference Include="eFormSqlController, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
55-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormSqlController.dll</HintPath>
54+
<Reference Include="eFormSqlController, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
55+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormSqlController.dll</HintPath>
5656
</Reference>
57-
<Reference Include="eFormSubscriber, Version=1.5.5.4, Culture=neutral, processorArchitecture=MSIL">
58-
<HintPath>..\packages\Microting.eForm.1.5.5.4\lib\eFormSubscriber.dll</HintPath>
57+
<Reference Include="eFormSubscriber, Version=1.6.1.3, Culture=neutral, processorArchitecture=MSIL">
58+
<HintPath>..\packages\Microting.eForm.1.6.1.3\lib\eFormSubscriber.dll</HintPath>
5959
</Reference>
6060
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
6161
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>

eFormAPI/eFromAPI.Common/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<packages>
33
<package id="EntityFramework" version="6.1.3" targetFramework="net46" />
44
<package id="Microsoft.Office.Interop.Excel" version="15.0.4795.1000" targetFramework="net46" />
5-
<package id="Microting.eForm" version="1.5.5.4" targetFramework="net46" />
5+
<package id="Microting.eForm" version="1.6.1.3" targetFramework="net46" />
66
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net46" />
77
</packages>

eform-client/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"private": true,
1818
"dependencies": {
19+
"@agm/core": "^1.0.0-beta.0",
1920
"@angular/animations": "^4.2.4",
2021
"@angular/common": "^4.2.4",
2122
"@angular/compiler": "^4.2.4",
@@ -33,6 +34,7 @@
3334
"http-proxy": "^1.16.2",
3435
"jquery": "^3.1.1",
3536
"moment": "^2.18.1",
37+
"ng-gallery": "^0.7.1",
3638
"ng2-bs3-modal": "^0.10.4",
3739
"ng2-dnd": "^4.2.0",
3840
"ngx-bootstrap": "^1.6.6",

eform-client/src/app/app.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ import {AuthGuard} from 'app/guards/auth.guard';
6464
AdminModule,
6565
BrowserAnimationsModule,
6666
CommonModule,
67-
DndModule.forRoot()
67+
DndModule.forRoot(),
68+
6869
],
6970
providers: [
7071
NotifyService,
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export class GeoObjectModel {
2+
latitude: number;
3+
longitude: number;
4+
}

eform-client/src/app/modules/cases/cases.module.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {FormsModule} from '@angular/forms';
22
import {CasesRoutingModule} from './cases-routing.module';
33
import {NgModule} from '@angular/core';
44
import {CommonModule} from '@angular/common';
5+
import {GalleryModule} from 'ng-gallery';
56
import {CasesComponent} from './components/cases.component';
67
import {CasesTableComponent} from './components/cases-table/cases-table.component';
78
import {CasesEditComponent} from './components/cases-edit/cases-edit.component';
@@ -19,9 +20,12 @@ import {
1920
TrumbowygComponent
2021
} from './components/case-elements';
2122

23+
import {galleryConfig} from 'app/modules/helpers/helpers.module';
24+
2225
@NgModule({
2326
imports: [
2427
CommonModule,
28+
GalleryModule.forRoot(galleryConfig),
2529
FormsModule,
2630
CasesRoutingModule
2731
],

0 commit comments

Comments
 (0)