-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #619 from BlueBubblesApp/development
v1.9.5
- Loading branch information
Showing
55 changed files
with
682 additions
and
366 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
macos/database/samples/big-sur/CallHistoryDB/ZCALLDBPROPERTIES.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE ZCALLDBPROPERTIES ( | ||
Z_PK INTEGER PRIMARY KEY, | ||
Z_ENT INTEGER, | ||
Z_OPT INTEGER, | ||
ZTIMER_ALL FLOAT, | ||
ZTIMER_INCOMING FLOAT, | ||
ZTIMER_LAST FLOAT, | ||
ZTIMER_LIFETIME FLOAT, | ||
ZTIMER_OUTGOING FLOAT | ||
) |
27 changes: 27 additions & 0 deletions
27
macos/database/samples/big-sur/CallHistoryDB/ZCALLRECORD.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CREATE TABLE ZCALLRECORD ( | ||
Z_PK INTEGER PRIMARY KEY, | ||
Z_ENT INTEGER, | ||
Z_OPT INTEGER, | ||
ZANSWERED INTEGER, | ||
ZCALL_CATEGORY INTEGER, | ||
ZCALLTYPE INTEGER, | ||
ZDISCONNECTED_CAUSE INTEGER, | ||
ZFACE_TIME_DATA INTEGER, | ||
ZFILTERED_OUT_REASON INTEGER, | ||
ZHANDLE_TYPE INTEGER, | ||
ZJUNKCONFIDENCE INTEGER, | ||
ZNUMBER_AVAILABILITY INTEGER, | ||
ZORIGINATED INTEGER, | ||
ZREAD INTEGER, | ||
ZVERIFICATIONSTATUS INTEGER, | ||
ZDATE TIMESTAMP, | ||
ZDURATION FLOAT, | ||
ZISO_COUNTRY_CODE VARCHAR, | ||
ZLOCATION VARCHAR, | ||
ZNAME VARCHAR, | ||
ZSERVICE_PROVIDER VARCHAR, | ||
ZUNIQUE_ID VARCHAR, | ||
ZLOCALPARTICIPANTUUID BLOB, | ||
ZOUTGOINGLOCALPARTICIPANTUUID BLOB, | ||
ZADDRESS BLOB | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE ZHANDLE ( | ||
Z_PK INTEGER PRIMARY KEY, | ||
Z_ENT INTEGER, | ||
Z_OPT INTEGER, | ||
ZTYPE INTEGER, | ||
ZNORMALIZEDVALUE VARCHAR, | ||
ZVALUE BLOB | ||
) |
8 changes: 8 additions & 0 deletions
8
macos/database/samples/big-sur/CallHistoryDB/Z_2REMOTEPARTICIPANTHANDLES.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE TABLE Z_2REMOTEPARTICIPANTHANDLES ( | ||
Z_2REMOTEPARTICIPANTCALLS INTEGER, | ||
Z_3REMOTEPARTICIPANTHANDLES INTEGER, | ||
PRIMARY KEY ( | ||
Z_2REMOTEPARTICIPANTCALLS, | ||
Z_3REMOTEPARTICIPANTHANDLES | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE Z_METADATA ( | ||
Z_VERSION INTEGER PRIMARY KEY, | ||
Z_UUID VARCHAR(255), | ||
Z_PLIST BLOB | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE TABLE Z_MODELCACHE (Z_CONTENT BLOB) |
6 changes: 6 additions & 0 deletions
6
macos/database/samples/big-sur/CallHistoryDB/Z_PRIMARYKEY.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CREATE TABLE Z_PRIMARYKEY ( | ||
Z_ENT INTEGER PRIMARY KEY, | ||
Z_NAME VARCHAR, | ||
Z_SUPER INTEGER, | ||
Z_MAX INTEGER | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-23.2 KB
(99%)
packages/server/appResources/private-api/macos11/BlueBubblesHelper.dylib
100755 → 100644
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
packages/server/appResources/private-api/macos11/BlueBubblesHelper.dylib.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7c5f6f04d0d178ffbf2a1ce623b65370 | ||
49d31742bc468cb5287413a7c0cf13c7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.18 | ||
0.0.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
packages/server/src/server/api/http/api/v1/routers/findmyRouter.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { Next } from "koa"; | ||
import { RouterContext } from "koa-router"; | ||
import { Success } from "../responses/success"; | ||
import { ServerError } from "../responses/errors"; | ||
import { FindMyInterface } from "@server/api/interfaces/findMyInterface"; | ||
|
||
export class FindMyRouter { | ||
static async refreshDevices(ctx: RouterContext, _: Next) { | ||
try { | ||
await FindMyInterface.refreshDevices(); | ||
return new Success(ctx, { message: "Successfully refreshed Find My device locations!" }).send(); | ||
} catch (ex: any) { | ||
throw new ServerError({ | ||
message: "Failed to refresh Find My device locations!", | ||
error: ex?.message ?? ex.toString() | ||
}); | ||
} | ||
} | ||
|
||
static async refreshFriends(ctx: RouterContext, _: Next) { | ||
try { | ||
const locations = await FindMyInterface.refreshFriends(); | ||
return new Success(ctx, { | ||
message: "Successfully refreshed Find My friends locations!", | ||
data: locations | ||
}).send(); | ||
} catch (ex: any) { | ||
throw new ServerError({ | ||
message: "Failed to refresh Find My friends locations!", | ||
error: ex?.message ?? ex.toString() | ||
}); | ||
} | ||
} | ||
|
||
static async devices(ctx: RouterContext, _: Next) { | ||
try { | ||
const data = await FindMyInterface.getDevices(); | ||
return new Success(ctx, { message: "Successfully fetched Find My device locations!", data }).send(); | ||
} catch (ex: any) { | ||
throw new ServerError({ | ||
message: "Failed to fetch Find My device locations!", | ||
error: ex?.message ?? ex.toString() | ||
}); | ||
} | ||
} | ||
|
||
static async friends(ctx: RouterContext, _: Next) { | ||
try { | ||
const data: any = await FindMyInterface.getFriends(); | ||
return new Success(ctx, { message: "Successfully fetched Find My friends locations!", data }).send(); | ||
} catch (ex: any) { | ||
throw new ServerError({ | ||
message: "Failed to fetch Find My friends locations!", | ||
error: ex?.message ?? ex.toString() | ||
}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.