working on view location details page
@@ -1,7 +1,7 @@
|
|||||||
# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
|
# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
|
||||||
Server:
|
Server:
|
||||||
port: 3500
|
port: 3500
|
||||||
locationFilesDir: "./app/files/locations/"
|
locationFilesDir: "./app/files/"
|
||||||
|
|
||||||
Logger:
|
Logger:
|
||||||
loglevel: "debug" # debug/info/warn/error
|
loglevel: "debug" # debug/info/warn/error
|
||||||
|
Before Width: | Height: | Size: 349 KiB After Width: | Height: | Size: 349 KiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 349 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 349 KiB |
Before Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 349 KiB |
Before Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 378 KiB |
@@ -1,302 +1,236 @@
|
|||||||
|
{"level":"info","time":"2022-04-10T14:25:47-04:00","message":"Configuration loaded successfully..."}
|
||||||
{"level":"debug","time":"2022-04-02T22:20:17-04:00","message":"Seach by term: Location in all items at field: Name"}
|
{"level":"debug","time":"2022-04-10T14:25:47-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
||||||
{"level":"info","time":"2022-04-02T22:20:17-04:00","message":"Searching all items for term: Location"}
|
{"level":"info","time":"2022-04-10T14:25:47-04:00","message":"Database and Config loaded, starting webserver..."}
|
||||||
{"level":"error","time":"2022-04-02T22:20:17-04:00","message":"Unable to search rooms in database with term: Location error: not found "}
|
{"level":"debug","time":"2022-04-10T14:25:52-04:00","message":"Returning Locations: []"}
|
||||||
{"level":"error","time":"2022-04-02T22:20:17-04:00","message":"SearchAllByField failed to return results: not found "}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"19312", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-02T22:21:18-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-10T14:25:59-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
|
||||||
{"level":"debug","time":"2022-04-02T22:21:18-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T14:26:00-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
|
||||||
{"level":"info","time":"2022-04-02T22:21:18-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
||||||
{"level":"info","time":"2022-04-02T22:22:54-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-10T14:26:04-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T22:22:54-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-02T22:22:54-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-02T22:23:04-04:00","message":"Seach by term: Location in all items at field: Name"}
|
{"logtype":"webserver", "pid":"34700", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"info","time":"2022-04-02T22:23:04-04:00","message":"Searching all items for term: Location"}
|
{"level":"info","time":"2022-04-10T14:26:51-04:00","message":"Configuration loaded successfully..."}
|
||||||
{"logtype":"webserver", "pid":"7620", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"level":"debug","time":"2022-04-10T14:26:51-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
||||||
{"level":"debug","time":"2022-04-02T22:23:09-04:00","message":"Seach by term: Location4 in all items at field: Name"}
|
{"level":"info","time":"2022-04-10T14:26:51-04:00","message":"Database and Config loaded, starting webserver..."}
|
||||||
{"level":"info","time":"2022-04-02T22:23:09-04:00","message":"Searching all items for term: Location4"}
|
{"level":"info","time":"2022-04-10T14:26:59-04:00","message":"Configuration loaded successfully..."}
|
||||||
{"logtype":"webserver", "pid":"7620", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"level":"debug","time":"2022-04-10T14:26:59-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
||||||
{"level":"info","time":"2022-04-02T22:29:23-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-10T14:26:59-04:00","message":"Database and Config loaded, starting webserver..."}
|
||||||
{"level":"debug","time":"2022-04-02T22:29:23-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T14:27:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:29:23-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-02T22:29:31-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-02T22:29:31-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"info","time":"2022-04-02T22:29:31-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"debug","time":"2022-04-02T22:29:37-04:00","message":"Seach by term: Location4 in all items at field: Name"}
|
{"level":"error","time":"2022-04-10T14:29:45-04:00","message":"Unable to fetch all rooms at location: not found"}
|
||||||
{"level":"info","time":"2022-04-02T22:29:37-04:00","message":"Searching all items for term: Location4"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/1/rooms"}
|
||||||
{"logtype":"webserver", "pid":"15332", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"level":"debug","time":"2022-04-10T14:29:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:30:28-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T22:30:28-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"error","time":"2022-04-10T14:30:24-04:00","message":"Unable to fetch all rooms at location: not found"}
|
||||||
{"level":"info","time":"2022-04-02T22:30:28-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/1/rooms"}
|
||||||
{"level":"info","time":"2022-04-02T22:30:34-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-10T14:30:30-04:00","message":"Getting all Rooms"}
|
||||||
{"level":"debug","time":"2022-04-02T22:30:34-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
||||||
{"level":"info","time":"2022-04-02T22:30:34-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T14:30:57-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T22:30:36-04:00","message":"Seach by term: Location4 in all items at field: Name"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-02T22:30:36-04:00","message":"Searching all items for term: Location4"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"logtype":"webserver", "pid":"30864", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"level":"info","time":"2022-04-10T14:31:02-04:00","message":"Getting all Rooms"}
|
||||||
{"level":"info","time":"2022-04-02T22:31:16-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
||||||
{"level":"debug","time":"2022-04-02T22:31:16-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T14:31:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:31:16-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T22:31:22-04:00","message":"Seach by term: Location4 in all items at field: Name"}
|
{"level":"debug","time":"2022-04-10T14:34:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:31:22-04:00","message":"Searching all items for term: Location4"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"8468", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"debug","time":"2022-04-02T22:32:41-04:00","message":"Seach by term: Kitchen in all items at field: Name"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-02T22:32:41-04:00","message":"Searching all items for term: Kitchen"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"8468", "requestid":"", "status":"200", "method":"GET", "path":"/api/search/all"}
|
{"level":"debug","time":"2022-04-10T14:45:13-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:33:39-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T22:33:39-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"info","time":"2022-04-02T22:33:39-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T14:45:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:38:47-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T22:38:47-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T14:47:20-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-02T22:38:47-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-02T22:39:03-04:00","message":"Fetching room with id: 1"}
|
{"level":"debug","time":"2022-04-10T14:47:21-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms/1"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-02T22:39:07-04:00","message":"Getting all Rooms"}
|
{"level":"debug","time":"2022-04-10T14:47:23-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"level":"debug","time":"2022-04-10T14:47:25-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T22:48:40-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-02T22:48:46-04:00","message":"Fetching room with id: 1"}
|
{"level":"debug","time":"2022-04-10T14:47:47-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms/1"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"level":"debug","time":"2022-04-10T14:47:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T22:50:41-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"level":"debug","time":"2022-04-10T14:48:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
|
{"level":"debug","time":"2022-04-10T14:49:03-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T23:03:42-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"level":"debug","time":"2022-04-10T14:50:36-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1/rooms"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-02T23:12:31-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-02T23:13:35-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"level":"debug","time":"2022-04-10T14:51:33-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T23:14:02-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-02T23:14:15-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"level":"debug","time":"2022-04-10T14:56:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-02T23:14:39-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11448", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"info","time":"2022-04-03T16:13:11-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-10T15:03:59-04:00","message":"Getting all Rooms"}
|
||||||
{"level":"debug","time":"2022-04-03T16:13:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
||||||
{"level":"info","time":"2022-04-03T16:13:11-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T15:04:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"debug","time":"2022-04-03T16:17:29-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"level":"debug","time":"2022-04-10T15:08:57-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location6/Location6_cover.png"}
|
{"level":"debug","time":"2022-04-10T15:20:15-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location10/Location10_cover.png"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-03T16:17:44-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"5740", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"info","time":"2022-04-03T16:18:06-04:00","message":"Getting all Rooms"}
|
{"level":"info","time":"2022-04-10T15:21:09-04:00","message":"Configuration loaded successfully..."}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
{"level":"debug","time":"2022-04-10T15:21:09-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/Location4/Kitchen/Kitchen_cover.png"}
|
{"level":"info","time":"2022-04-10T15:21:09-04:00","message":"Database and Config loaded, starting webserver..."}
|
||||||
{"level":"debug","time":"2022-04-03T16:18:08-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Rooms:[{ID:0 Name:Kitchen Description: CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Paint: Notes:Notes For My Room! Cabinets:[] Items:[] SquareFeet:0 LocationID:1 LocationName:Location4}] Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:2 Name:Location6 Description: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Rooms:[] Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:} {ID:3 Name:Location10 Description: CoverPhoto:Location10_cover.png Photos:[] Rooms:[] Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue:}]"}
|
{"level":"debug","time":"2022-04-10T15:21:39-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"8168", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-03T20:46:19-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-10T15:25:11-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-03T20:46:19-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-03T20:46:19-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T15:25:13-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-03T20:46:20-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-03T20:46:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T15:25:45-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-03T20:46:20-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"16808", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"level":"debug","time":"2022-04-10T15:25:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-03T20:52:11-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-03T20:52:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T15:25:54-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-03T20:52:11-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"19608", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"level":"debug","time":"2022-04-10T15:26:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"19608", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-03T21:44:35-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"debug","time":"2022-04-03T21:44:35-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T15:26:50-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-03T21:44:35-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"1812", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"level":"debug","time":"2022-04-10T15:27:03-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"1812", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-07T16:25:58-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-10T15:31:42-04:00","message":"Getting all Rooms"}
|
||||||
{"level":"debug","time":"2022-04-07T16:25:58-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
||||||
{"level":"info","time":"2022-04-07T16:25:58-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"logtype":"webserver", "pid":"23364", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"logtype":"webserver", "pid":"23364", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T21:57:11-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-08T21:57:11-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T21:57:11-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-08T22:10:01-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-08T22:10:01-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T22:10:01-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T22:19:45-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-08T22:19:45-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T22:19:45-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T22:22:18-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-08T22:22:18-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-08T22:22:18-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T21:56:34-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-08T22:22:24-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 TESTasdfsdaf test 0 TESTasdfsdaf_cover.png [] [] []})"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-08T22:22:24-04:00","message":"Adding new location: {0 TESTasdfsdaf test 0 TESTasdfsdaf_cover.png [] [] []}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-08T22:22:34-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
{"level":"debug","time":"2022-04-10T21:56:37-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-08T22:22:52-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
{"level":"debug","time":"2022-04-10T21:56:40-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
|
{"level":"debug","time":"2022-04-10T21:56:54-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location4/Location4_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location10/Location10_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Location6/Location6_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
|
||||||
{"level":"debug","time":"2022-04-08T22:26:15-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-08T22:26:18-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
{"level":"debug","time":"2022-04-10T22:20:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-08T22:27:01-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Final Test 0 Final Test_cover.png [] [] []})"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"debug","time":"2022-04-08T22:27:01-04:00","message":"Adding new location: {0 Final Test 0 Final Test_cover.png [] [] []}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
{"level":"debug","time":"2022-04-10T22:25:19-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-08T22:27:11-04:00","message":"Returning Locations: [{ID:1 Name:Location4 Description: Notes:Notes for my location! Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location4_cover.png Photos:[Location4_0.png Location4_1.png] Files:[] Rooms:[{ID:0 Name:Kitchen Description: Paint: Notes:Notes For My Room! SquareFeet:0 CoverPhoto:Location4/Kitchen/Kitchen_cover.png Photos:[Location4/Kitchen/Kitchen_0.png] Cabinets:[] Items:[] LocationID:1 LocationName:Location4}]} {ID:2 Name:Location6 Description: Notes:Notes for my location!6 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location6_cover.png Photos:[Location6_0.png Location6_1.png] Files:[] Rooms:[]} {ID:3 Name:Location10 Description: Notes:Notes for my location!10 Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:4 Name:TESTasdfsdaf Description: Notes:test Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:TESTasdfsdaf_cover.png Photos:[] Files:[] Rooms:[]} {ID:5 Name:Final Test Description: Notes: Address: SquareFeet:0 Latitude: Longitude: DatePurchased: PurchasePrice: CurrentValue: CoverPhoto:Final Test_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"200", "method":"GET", "path":"/photos/locations/Final%20Test/Final%20Test_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"logtype":"webserver", "pid":"11084", "requestid":"", "status":"304", "method":"GET", "path":"/photos/locations/TESTasdfsdaf/TESTasdfsdaf_cover.png"}
|
{"level":"debug","time":"2022-04-10T22:28:46-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-08T22:41:02-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-08T22:41:02-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/photos/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-08T22:41:02-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T22:29:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-08T22:49:49-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-08T22:49:49-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-08T22:49:49-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T22:30:01-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-08T22:49:55-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-08T22:49:55-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-08T22:49:55-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-08T22:50:26-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-10T22:31:27-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-08T22:50:26-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-08T22:50:26-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"debug","time":"2022-04-09T17:12:44-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T22:31:55-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"debug","time":"2022-04-09T17:12:44-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T17:12:44-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-10T22:33:24-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T17:14:28-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-09T17:14:28-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T17:14:28-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T21:21:48-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-10T22:33:49-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-09T21:21:48-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:21:48-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T21:21:49-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:21:49-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-10T22:35:26-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T21:21:49-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:22:27-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-10T22:37:37-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-09T21:22:27-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:22:27-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:26:20-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"debug","time":"2022-04-09T21:26:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:26:20-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:27:06-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:27:06-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:27:06-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:28:54-04:00","message":"Getting all Rooms"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"27100", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"27100", "requestid":"", "status":"404", "method":"GET", "path":"/photos/locations/Location4/Kitchen/Kitchen_cover.png"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:29:20-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:29:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"info","time":"2022-04-09T21:29:20-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:29:25-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:31:16-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"500", "method":"GET", "path":"/api/locations/[object%20Object]"}
|
||||||
{"level":"debug","time":"2022-04-09T21:31:51-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
|
||||||
{"level":"debug","time":"2022-04-09T21:35:18-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
|
||||||
{"level":"info","time":"2022-04-09T21:35:33-04:00","message":"Getting all Rooms"}
|
{"level":"debug","time":"2022-04-10T22:52:25-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-09T21:35:35-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"level":"debug","time":"2022-04-11T22:14:02-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T21:35:39-04:00","message":"Getting all Rooms"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"304", "method":"GET", "path":"/files/locations/Location0/Location0_cover.png"}
|
||||||
{"level":"debug","time":"2022-04-09T21:35:40-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:35:51-04:00","message":"Returning Locations: []"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations/1"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
||||||
{"level":"debug","time":"2022-04-09T21:35:53-04:00","message":"Returning Locations: []"}
|
{"level":"debug","time":"2022-04-11T22:14:27-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"logtype":"webserver", "pid":"26572", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:42:08-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-11T22:14:29-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-09T21:42:08-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"10216", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:42:08-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"info","time":"2022-04-11T22:14:59-04:00","message":"Configuration loaded successfully..."}
|
||||||
{"level":"info","time":"2022-04-09T21:42:16-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-11T22:14:59-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
||||||
{"level":"debug","time":"2022-04-09T21:42:16-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"info","time":"2022-04-11T22:14:59-04:00","message":"Database and Config loaded, starting webserver..."}
|
||||||
{"level":"info","time":"2022-04-09T21:42:16-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-09T21:52:51-04:00","message":"Configuration loaded successfully..."}
|
{"level":"debug","time":"2022-04-11T22:21:22-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"debug","time":"2022-04-09T21:52:51-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:52:51-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"404", "method":"GET", "path":"/files/locations/undefined/undefined"}
|
||||||
{"level":"info","time":"2022-04-09T21:52:56-04:00","message":"Configuration loaded successfully..."}
|
{"level":"info","time":"2022-04-11T22:36:29-04:00","message":"Getting all Rooms"}
|
||||||
{"level":"debug","time":"2022-04-09T21:52:56-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/rooms"}
|
||||||
{"level":"info","time":"2022-04-09T21:52:56-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-11T22:36:31-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-09T21:54:17-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
||||||
{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"level":"debug","time":"2022-04-11T22:36:46-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Configuration loaded successfully..."}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"debug","time":"2022-04-09T21:54:17-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
{"level":"debug","time":"2022-04-11T22:40:10-04:00","message":"Returning Locations: [{ID:1 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
||||||
{"level":"info","time":"2022-04-09T21:54:17-04:00","message":"Database and Config loaded, starting webserver..."}
|
{"logtype":"webserver", "pid":"3324", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
||||||
{"level":"info","time":"2022-04-09T21:56:14-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T21:56:14-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T21:56:14-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:03:09-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:03:09-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:03:09-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:04:01-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:04:01-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:04:01-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:04:06-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location10 This is my test description10 Notes for my location!10 2400 120N 120N 125000 Location10_cover.png [] [] []})"}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:04:06-04:00","message":"Adding new location: {0 Location10 This is my test description10 Notes for my location!10 2400 120N 120N 125000 Location10_cover.png [] [] []}"}
|
|
||||||
{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
|
||||||
{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"404", "method":"GET", "path":"/api/overview"}
|
|
||||||
{"level":"error","time":"2022-04-09T22:04:51-04:00","message":"Failed to get last added location: provided target must be a pointer to slice "}
|
|
||||||
{"logtype":"webserver", "pid":"24776", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:05:20-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:05:20-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:05:20-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:07:38-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:07:38-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:07:38-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"logtype":"webserver", "pid":"30140", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:09:43-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:09:43-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:09:43-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"logtype":"webserver", "pid":"23428", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:12:03-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:12:03-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:12:03-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:12:47-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:12:48-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/config"}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:13:43-04:00","message":"Returning Locations: [{ID:1 Name:Location10 Description:This is my test description10 Notes:Notes for my location!10 Address: SquareFeet:2400 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location10_cover.png Photos:[] Files:[] Rooms:[]} {ID:2 Name:Location0 Description:This is my test description0 Notes:Notes for my location!0 Address: SquareFeet:2500 Latitude:120N Longitude:120N DatePurchased: PurchasePrice:125000 CurrentValue: CoverPhoto:Location0_cover.png Photos:[] Files:[] Rooms:[]}]"}
|
|
||||||
{"logtype":"webserver", "pid":"31068", "requestid":"", "status":"200", "method":"GET", "path":"/api/locations"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:14:04-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:14:04-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:14:04-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:17:33-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:17:33-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:17:33-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:24:48-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:24:48-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:24:48-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"error","time":"2022-04-09T22:24:52-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
|
|
||||||
{"logtype":"webserver", "pid":"22260", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:25:33-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:25:33-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:25:33-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"error","time":"2022-04-09T22:25:38-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
|
|
||||||
{"logtype":"webserver", "pid":"31072", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:25:58-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:25:58-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:25:58-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"level":"info","time":"2022-04-09T22:26:05-04:00","message":"Adding new location to database: %!(EXTRA main.Location={0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []})"}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:26:05-04:00","message":"Adding new location: {0 Location0 This is my test description0 Notes for my location!0 2500 120N 120N 125000 Location0_cover.png [] [] []}"}
|
|
||||||
{"logtype":"webserver", "pid":"9860", "requestid":"", "status":"200", "method":"POST", "path":"/api/locations/new"}
|
|
||||||
{"level":"error","time":"2022-04-09T22:26:09-04:00","message":"Failed to get all cabinets by ID: unknown tag "}
|
|
||||||
{"logtype":"webserver", "pid":"9860", "requestid":"", "status":"500", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:26:38-04:00","message":"Configuration loaded successfully..."}
|
|
||||||
{"level":"debug","time":"2022-04-09T22:26:38-04:00","message":"{Timezone:America/New_York Server:{Port:3500 LocationFilesDir:./app/files/locations/} Logger:{Level:debug LoggingFile:./app/log/goInventorize.log} Authentication:{BasicAuth:false UserName:admin Password:password} Development:false}"}
|
|
||||||
{"level":"info","time":"2022-04-09T22:26:38-04:00","message":"Database and Config loaded, starting webserver..."}
|
|
||||||
{"logtype":"webserver", "pid":"12712", "requestid":"", "status":"200", "method":"GET", "path":"/api/overview/all"}
|
|
||||||
|
@@ -12,7 +12,7 @@ import (
|
|||||||
var defaultConfig = `# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
|
var defaultConfig = `# All values in this config file WILL BE overwritten by ENV variables (GI_SERVER_PORT for example) if they exist.
|
||||||
Server:
|
Server:
|
||||||
port: 3500
|
port: 3500
|
||||||
LocationFilesDir: "./app/photos/locations/"
|
LocationFilesDir: "./app/files/locations/"
|
||||||
|
|
||||||
Logger:
|
Logger:
|
||||||
loglevel: "debug" # debug/info/warn/error
|
loglevel: "debug" # debug/info/warn/error
|
||||||
@@ -31,7 +31,7 @@ type Config struct {
|
|||||||
Timezone string `fig:"tz" default:"America/New_York"`
|
Timezone string `fig:"tz" default:"America/New_York"`
|
||||||
Server struct {
|
Server struct {
|
||||||
Port string `fig:"port" default:"3000"`
|
Port string `fig:"port" default:"3000"`
|
||||||
LocationFilesDir string `fig:"LocationFilesDir" default:"./app/photos/locations/"`
|
LocationFilesDir string `fig:"LocationFilesDir" default:"./app/files/locations/"`
|
||||||
}
|
}
|
||||||
Logger struct {
|
Logger struct {
|
||||||
Level string `fig:"loglevel" default:"info"`
|
Level string `fig:"loglevel" default:"info"`
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import React, {useState, useEffect } from 'react';
|
import React, {useState, useEffect } from 'react';
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
import HomePage from './components/pages/HomePage';
|
import HomePage from './components/pages/HomePage';
|
||||||
import Locations from './components/pages/Locations';
|
import LocationsPage from './components/pages/LocationsPage';
|
||||||
import RoomsPage from './components/pages/RoomsPage';
|
import RoomsPage from './components/pages/RoomsPage';
|
||||||
import LocationForm from './components/forms/LocationForm'
|
import LocationForm from './components/forms/LocationForm'
|
||||||
import { Routes, Route, useNavigate } from "react-router-dom";
|
import { Routes, Route, useNavigate } from "react-router-dom";
|
||||||
@@ -16,6 +16,7 @@ import { serverConfigAtom } from './state/main'
|
|||||||
|
|
||||||
import SideBar from './components/SideBar';
|
import SideBar from './components/SideBar';
|
||||||
import AppHeader from './components/AppHeader';
|
import AppHeader from './components/AppHeader';
|
||||||
|
import LocationDetailsPage from './components/pages/LocationDetailsPage';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -70,10 +71,11 @@ function App() {
|
|||||||
header={<AppHeader />}
|
header={<AppHeader />}
|
||||||
>
|
>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="/" element={<HomePage />} />
|
<Route exact path="/" element={<HomePage />} />
|
||||||
<Route path="locations" element={<Locations />} />
|
<Route exact path="locations" element={<LocationsPage />} />
|
||||||
<Route path="rooms" element={<RoomsPage />} />
|
<Route exact path="location/:id" element={<LocationDetailsPage />} />
|
||||||
<Route path="locations/new" element={<LocationForm />} />
|
<Route exact path="rooms" element={<RoomsPage />} />
|
||||||
|
<Route exact path="locations/new" element={<LocationForm />} />
|
||||||
|
|
||||||
</Routes>
|
</Routes>
|
||||||
</AppShell>
|
</AppShell>
|
||||||
|
@@ -49,7 +49,7 @@ const useStyles = createStyles((theme) => ({
|
|||||||
|
|
||||||
|
|
||||||
const sideBarData = [
|
const sideBarData = [
|
||||||
{ label: 'Dashboard', icon: GoDashboard },
|
{ label: 'Dashboard', icon: GoDashboard, link: {label: 'Dashboard', link: '/'}},
|
||||||
{
|
{
|
||||||
label: 'Locations',
|
label: 'Locations',
|
||||||
icon: GoLocation,
|
icon: GoLocation,
|
||||||
@@ -99,10 +99,10 @@ function SideBar(props) {
|
|||||||
<Code sx={{ fontWeight: 700 }}>v3.1.2</Code>
|
<Code sx={{ fontWeight: 700 }}>v3.1.2</Code>
|
||||||
</Group>
|
</Group>
|
||||||
</Navbar.Section> */}
|
</Navbar.Section> */}
|
||||||
|
|
||||||
<Navbar.Section grow className={classes.links} component={ScrollArea}>
|
<Navbar.Section grow className={classes.links} component={ScrollArea}>
|
||||||
<div className={classes.linksInner}>{links}</div>
|
<div className={classes.linksInner}>{links}</div>
|
||||||
</Navbar.Section>
|
</Navbar.Section>
|
||||||
|
|
||||||
{/* <Navbar.Section className={classes.footer}>
|
{/* <Navbar.Section className={classes.footer}>
|
||||||
<UserButton
|
<UserButton
|
||||||
@@ -111,7 +111,7 @@ function SideBar(props) {
|
|||||||
email="anullpointer@yahoo.com"
|
email="anullpointer@yahoo.com"
|
||||||
/>
|
/>
|
||||||
</Navbar.Section> */}
|
</Navbar.Section> */}
|
||||||
</Navbar>
|
</Navbar>
|
||||||
</MediaQuery>
|
</MediaQuery>
|
||||||
|
|
||||||
</>
|
</>
|
||||||
|
@@ -3,6 +3,7 @@ import { Text, Button, Card, Group, Menu, Image, Badge } from '@mantine/core'
|
|||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { activePageAtom, roomFilterAtom, serverConfigAtom } from '../../state/main';
|
import { activePageAtom, roomFilterAtom, serverConfigAtom } from '../../state/main';
|
||||||
|
import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -34,7 +35,7 @@ function LocationCard(props) {
|
|||||||
return (
|
return (
|
||||||
<Card key={`${idx} - ${location.ID}`} shadow="md" padding="md">
|
<Card key={`${idx} - ${location.ID}`} shadow="md" padding="md">
|
||||||
<Card.Section>
|
<Card.Section>
|
||||||
{location.CoverPhoto ? <Image src={`${serverConfig.baseURL}/photos/locations/${location.Name}/${location.CoverPhoto}`}></Image> : <Text>No Photo</Text>}
|
{location.CoverPhoto ? <Image src={`${serverConfig.baseURL}/files/locations/${location.Name}/${location.CoverPhoto}`}></Image> : <Text>No Photo</Text>}
|
||||||
<Group position='right' style={{position: 'absolute', top: '5px', right: '5px', backgroundColor: 'grey', borderRadius: '25%'}}>
|
<Group position='right' style={{position: 'absolute', top: '5px', right: '5px', backgroundColor: 'grey', borderRadius: '25%'}}>
|
||||||
<Menu>
|
<Menu>
|
||||||
<Menu.Label>Edit</Menu.Label>
|
<Menu.Label>Edit</Menu.Label>
|
||||||
@@ -51,7 +52,7 @@ function LocationCard(props) {
|
|||||||
</Group>
|
</Group>
|
||||||
<Text size="sm">{location.Description}</Text>
|
<Text size="sm">{location.Description}</Text>
|
||||||
<Group>
|
<Group>
|
||||||
<Button onClick={() => navigateToRooms(location.ID, location.Name)}>View Details</Button>
|
<Button component={Link} to={`/location/${location.ID}`} state={{ location: location }}>View Details</Button>
|
||||||
<Button onClick={() => navigateToRooms(location.ID, location.Name)}>View Rooms</Button>
|
<Button onClick={() => navigateToRooms(location.ID, location.Name)}>View Rooms</Button>
|
||||||
</Group>
|
</Group>
|
||||||
</Card>
|
</Card>
|
||||||
|
@@ -34,7 +34,7 @@ function RoomCard(props) {
|
|||||||
return (
|
return (
|
||||||
<Card key={`${idx} - ${room.ID}`} component="a" onClick={(e) => {}} shadow="sm" padding="md">
|
<Card key={`${idx} - ${room.ID}`} component="a" onClick={(e) => {}} shadow="sm" padding="md">
|
||||||
<Card.Section>
|
<Card.Section>
|
||||||
{room.CoverPhoto ? <Image src={`${serverConfig.baseURL}/photos/locations/${room.CoverPhoto}`}></Image> : <Text>No Photo</Text>}
|
{room.CoverPhoto ? <Image src={`${serverConfig.baseURL}/files/locations/${room.CoverPhoto}`}></Image> : <Text>No Photo</Text>}
|
||||||
</Card.Section>
|
</Card.Section>
|
||||||
<Group position="apart">
|
<Group position="apart">
|
||||||
<Text weight={500}>{room.Name}</Text>
|
<Text weight={500}>{room.Name}</Text>
|
||||||
|
@@ -1,19 +1,107 @@
|
|||||||
import React, {useState, useEffect, useContext, createContext} from 'react';
|
import React, {useState, useEffect, useContext, createContext} from 'react';
|
||||||
import { Text } from '@mantine/core'
|
import { Text, Title, ThemeIcon, Group, Container, Space } from '@mantine/core'
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
import { serverConfigAtom } from '../../state/main'
|
import { serverConfigAtom } from '../../state/main'
|
||||||
|
import { GoLocation } from 'react-icons/go'
|
||||||
|
import { BsDoorClosed, BsDiagram2 } from 'react-icons/bs'
|
||||||
|
import { useNotifications } from '@mantine/notifications';
|
||||||
|
import { BiCabinet } from 'react-icons/bi'
|
||||||
|
|
||||||
|
import { backendAPI } from '../../services/backend-api';
|
||||||
|
|
||||||
|
|
||||||
function HomePage() {
|
function HomePage() {
|
||||||
const [opened, setOpened] = useState(false);
|
const [opened, setOpened] = useState(false);
|
||||||
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [serverConfig] = useAtom(serverConfigAtom)
|
const [serverConfig] = useAtom(serverConfigAtom)
|
||||||
|
const [overview, setOverview] = useState({})
|
||||||
|
|
||||||
|
const notifications = useNotifications();
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
console.log("LOADING LOCATIONS PAGE!")
|
||||||
|
setIsLoading(true)
|
||||||
|
async function fetchSettings() {
|
||||||
|
backendAPI.get('/overview/all').then(results => {
|
||||||
|
console.log("CONFIG IN LOCATIONS: ", serverConfig)
|
||||||
|
console.log("Overview ", results.data)
|
||||||
|
setOverview(results.data)
|
||||||
|
|
||||||
|
setIsLoading(false)
|
||||||
|
}).catch(err => {
|
||||||
|
notifications.showNotification({
|
||||||
|
title: 'Backend Notice',
|
||||||
|
message: `Failed to fetch statistics from backend! ${err}`,
|
||||||
|
autoClose: false,
|
||||||
|
color: "red",
|
||||||
|
})
|
||||||
|
setIsLoading(false)
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
fetchSettings();
|
||||||
|
|
||||||
|
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Text>This is the homepage!</Text>
|
<Title order={2}>Your Instance Statistics</Title>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>{overview.NumLocations} Location{overview.NumLocations === 1 ? "": "s"}</Text>
|
||||||
|
{overview.hasOwnProperty('LastAddedLocation') && overview.LastAddedLocation !== null &&
|
||||||
|
<>
|
||||||
|
<Text>Last Added Location: </Text>
|
||||||
|
<Text>{overview.LastAddedLocation.Name}</Text>
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><BsDoorClosed /></ThemeIcon>
|
||||||
|
<Text>{overview.NumRooms} Room{overview.NumRooms === 1 ? "": "s"}</Text>
|
||||||
|
{overview.hasOwnProperty('LastAddedRoom') && overview.LastAddedRoom !== null &&
|
||||||
|
<>
|
||||||
|
<Text>Last Added Room: </Text>
|
||||||
|
<Text>{overview.LastAddedRoom.Name}</Text>
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><BiCabinet /></ThemeIcon>
|
||||||
|
<Text>{overview.NumCabinets} Cabinet{overview.NumCabinets === 1 ? "": "s"}</Text>
|
||||||
|
{overview.hasOwnProperty('LastAddedCabinet') && overview.LastAddedCabinet !== null &&
|
||||||
|
<>
|
||||||
|
<Text>Last Added Cabinet: </Text>
|
||||||
|
<Text>{overview.LastAddedCabinet.Name}</Text>
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><BsDiagram2 /></ThemeIcon>
|
||||||
|
<Text>{overview.NumItems} Item{overview.NumItems === 1 ? "": "s"}</Text>
|
||||||
|
{overview.hasOwnProperty('LastAddedItem') && overview.LastAddedItem !== null &&
|
||||||
|
<>
|
||||||
|
<Text>Last Added Item: </Text>
|
||||||
|
<Text>{overview.LastAddedItem.Name}</Text>
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
|
||||||
</>
|
</>
|
||||||
|
|
||||||
);
|
);
|
||||||
|
148
frontend/src/components/pages/LocationDetailsPage.js
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
import React, {useState, useEffect } from 'react';
|
||||||
|
import { useAtom } from 'jotai'
|
||||||
|
import { serverConfigAtom } from '../../state/main';
|
||||||
|
import { Loader, Center, Title, Group, Button, Space, Container, ThemeIcon, Text, Image } from '@mantine/core'
|
||||||
|
import { useNavigate, useLocation, useParams } from "react-router-dom";
|
||||||
|
import { useNotifications } from '@mantine/notifications';
|
||||||
|
import { GoLocation } from 'react-icons/go'
|
||||||
|
|
||||||
|
import { backendAPI } from '../../services/backend-api';
|
||||||
|
|
||||||
|
function LocationDetailsPage() {
|
||||||
|
const location = useLocation()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// const [opened, setOpened] = useState(false);
|
||||||
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
|
const [serverConfig] = useAtom(serverConfigAtom)
|
||||||
|
const [locationDetails, setLocationDetails] = useState({})
|
||||||
|
|
||||||
|
let navigate = useNavigate();
|
||||||
|
|
||||||
|
const notifications = useNotifications();
|
||||||
|
|
||||||
|
let routeLocationID = useParams()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
let locationDetailsProps = {}
|
||||||
|
if (location.state) {
|
||||||
|
if (location.state.hasOwnProperty('location')) {
|
||||||
|
locationDetailsProps = location.state.location
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Object.keys(locationDetailsProps).length === 0) {
|
||||||
|
console.log("manually fetching location details!")
|
||||||
|
setIsLoading(true)
|
||||||
|
async function fetchSettings() {
|
||||||
|
backendAPI.get(`/locations/${routeLocationID.id}`).then(results => {
|
||||||
|
console.log("CONFIG IN LOCATIONS: ", serverConfig)
|
||||||
|
console.log("LOCATIONS: ", results.data)
|
||||||
|
setLocationDetails(results.data)
|
||||||
|
setIsLoading(false)
|
||||||
|
}).catch(err => {
|
||||||
|
notifications.showNotification({
|
||||||
|
title: 'Backend Notice',
|
||||||
|
message: `Failed to fetch locations from backend! ${err}`,
|
||||||
|
autoClose: false,
|
||||||
|
color: "red",
|
||||||
|
})
|
||||||
|
setIsLoading(false)
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
fetchSettings();
|
||||||
|
} else {
|
||||||
|
console.log("Using passed state!", locationDetailsProps)
|
||||||
|
setLocationDetails(locationDetailsProps)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}, [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Center>{ isLoading && <Loader size="xl" variant="bars" />}</Center>
|
||||||
|
<Center><Title order={1}>{locationDetails.Name}</Title></Center>
|
||||||
|
<Button>Edit Location</Button>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Description: </Text>
|
||||||
|
<Text>{locationDetails.Description}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Notes: </Text>
|
||||||
|
<Text>{locationDetails.Notes}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Address: </Text>
|
||||||
|
<Text>{locationDetails.Address}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Square Feet: </Text>
|
||||||
|
<Text>{locationDetails.SquareFeet}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Lat/Long: </Text>
|
||||||
|
<Text>{locationDetails.Latitude}/{locationDetails.Longitude}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Date Purchased: </Text>
|
||||||
|
<Text>{locationDetails.DatePurchased}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Purchase Price: </Text>
|
||||||
|
<Text>{locationDetails.PurchasePrice}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Group>
|
||||||
|
<ThemeIcon variant="light" size={30}><GoLocation /></ThemeIcon>
|
||||||
|
<Text>Current Value: </Text>
|
||||||
|
<Text>{locationDetails.CurrentValue}</Text>
|
||||||
|
</Group>
|
||||||
|
</Container>
|
||||||
|
<Space h="md" />
|
||||||
|
<Container>
|
||||||
|
<Image src={`${serverConfig.baseURL}/files/locations/${locationDetails.Name}/${locationDetails.CoverPhoto}`} />
|
||||||
|
</Container>
|
||||||
|
</>
|
||||||
|
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default LocationDetailsPage;
|
@@ -1,5 +1,5 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { Group, Box, Collapse, ThemeIcon, Text, UnstyledButton, createStyles } from '@mantine/core';
|
import { Group, Box, Collapse, ThemeIcon, UnstyledButton, createStyles } from '@mantine/core';
|
||||||
import { useMediaQuery } from '@mantine/hooks';
|
import { useMediaQuery } from '@mantine/hooks';
|
||||||
import { BiChevronLeft, BiChevronRight } from 'react-icons/bi';
|
import { BiChevronLeft, BiChevronRight } from 'react-icons/bi';
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
@@ -52,10 +52,11 @@ const useStyles = createStyles((theme) => ({
|
|||||||
|
|
||||||
|
|
||||||
export function LinksGroup(props) {
|
export function LinksGroup(props) {
|
||||||
const { icon: Icon, label, initiallyOpened, links } = props
|
const { icon: Icon, label, initiallyOpened, links, link } = props
|
||||||
|
|
||||||
const isMobile = useMediaQuery('(max-width: 768px)')
|
const isMobile = useMediaQuery('(max-width: 768px)')
|
||||||
const hasLinks = Array.isArray(links);
|
const hasLinks = Array.isArray(links);
|
||||||
|
const hasLink = (typeof link === "object")
|
||||||
const [opened, setOpened] = useState(initiallyOpened || false);
|
const [opened, setOpened] = useState(initiallyOpened || false);
|
||||||
// Navigation State
|
// Navigation State
|
||||||
const [activePage, setActivePage] = useAtom(activePageAtom)
|
const [activePage, setActivePage] = useAtom(activePageAtom)
|
||||||
@@ -67,7 +68,7 @@ export function LinksGroup(props) {
|
|||||||
|
|
||||||
const ChevronIcon = theme.dir === 'ltr' ? BiChevronRight : BiChevronLeft;
|
const ChevronIcon = theme.dir === 'ltr' ? BiChevronRight : BiChevronLeft;
|
||||||
|
|
||||||
const navigate = (event, location) => {
|
const navigate = (location) => {
|
||||||
// event.preventDefault()
|
// event.preventDefault()
|
||||||
if (location === "rooms") {
|
if (location === "rooms") {
|
||||||
setRoomFilter({})
|
setRoomFilter({})
|
||||||
@@ -88,36 +89,65 @@ export function LinksGroup(props) {
|
|||||||
className={activePage === link.label.toLowerCase() ? cx(classes.link, classes.activeLink) : classes.link}
|
className={activePage === link.label.toLowerCase() ? cx(classes.link, classes.activeLink) : classes.link}
|
||||||
to={link.link}
|
to={link.link}
|
||||||
key={link.label}
|
key={link.label}
|
||||||
onClick={(e) => {navigate(e, link.label.toLowerCase())}}
|
onClick={() => {navigate(link.label.toLowerCase())}}
|
||||||
>
|
>
|
||||||
{link.label}
|
{link.label}
|
||||||
</Link>
|
</Link>
|
||||||
</>
|
</>
|
||||||
));
|
));
|
||||||
|
|
||||||
|
const buttonContents = () => {
|
||||||
|
return (
|
||||||
|
<Group position="apart" spacing={0}>
|
||||||
|
<Box sx={{ display: 'flex', alignItems: 'center' }}>
|
||||||
|
<ThemeIcon variant="light" size={30}>
|
||||||
|
<Icon size={18} />
|
||||||
|
</ThemeIcon>
|
||||||
|
<Box ml="md">{label}</Box>
|
||||||
|
</Box>
|
||||||
|
{hasLinks && (
|
||||||
|
<ChevronIcon
|
||||||
|
className={classes.chevron}
|
||||||
|
size={14}
|
||||||
|
style={{
|
||||||
|
transform: opened ? `rotate(${theme.dir === 'rtl' ? -90 : 90}deg)` : 'none',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</Group>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
const myButton = () => {
|
||||||
|
if (hasLink) {
|
||||||
|
return (
|
||||||
|
<UnstyledButton
|
||||||
|
onClick={hasLinks ? () => setOpened((o) => !o) : () => navigate(link.label.toLowerCase())}
|
||||||
|
className={activePage === link.label.toLowerCase() ? cx(classes.control, classes.activeLink) : classes.control}
|
||||||
|
component={Link}
|
||||||
|
to={link.link}
|
||||||
|
key={link.label}
|
||||||
|
>
|
||||||
|
{buttonContents()}
|
||||||
|
</UnstyledButton>
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
return (
|
||||||
|
<UnstyledButton
|
||||||
|
onClick={() => setOpened((o) => !o)}
|
||||||
|
className={classes.control}
|
||||||
|
>
|
||||||
|
{buttonContents()}
|
||||||
|
</UnstyledButton>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<UnstyledButton onClick={() => setOpened((o) => !o)} className={classes.control}>
|
{myButton()}
|
||||||
<Group position="apart" spacing={0}>
|
|
||||||
<Box sx={{ display: 'flex', alignItems: 'center' }}>
|
|
||||||
<ThemeIcon variant="light" size={30}>
|
|
||||||
<Icon size={18} />
|
|
||||||
</ThemeIcon>
|
|
||||||
<Box ml="md">{label}</Box>
|
|
||||||
</Box>
|
|
||||||
{hasLinks && (
|
|
||||||
<ChevronIcon
|
|
||||||
className={classes.chevron}
|
|
||||||
size={14}
|
|
||||||
style={{
|
|
||||||
transform: opened ? `rotate(${theme.dir === 'rtl' ? -90 : 90}deg)` : 'none',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</Group>
|
|
||||||
</UnstyledButton>
|
|
||||||
{hasLinks ? <Collapse in={opened}>{items}</Collapse> : null}
|
{hasLinks ? <Collapse in={opened}>{items}</Collapse> : null}
|
||||||
</>
|
</>
|
||||||
);
|
|
||||||
|
)
|
||||||
}
|
}
|
2
main.go
@@ -78,7 +78,7 @@ func main() {
|
|||||||
}))
|
}))
|
||||||
|
|
||||||
// Serve up our static images
|
// Serve up our static images
|
||||||
server.WebServer.Static("/photos", "./app/photos")
|
server.WebServer.Static("/files", server.Config.Server.LocationFilesDir)
|
||||||
|
|
||||||
// Load in our routes
|
// Load in our routes
|
||||||
server.WebServer.Get("/hello", func(c *fiber.Ctx) error { // Basic Hello Route
|
server.WebServer.Get("/hello", func(c *fiber.Ctx) error { // Basic Hello Route
|
||||||
|