Skip to content

Commit

Permalink
Merge pull request #657 from BlueBubblesApp/development
Browse files Browse the repository at this point in the history
v1.9.8
  • Loading branch information
zlshames authored Jul 6, 2024
2 parents fc2c0af + 27b2665 commit 8621aa5
Show file tree
Hide file tree
Showing 102 changed files with 28,826 additions and 15,659 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [macOS-13]
python-version: ["pypy3.10", "3.10"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v4
Expand All @@ -20,8 +20,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup Python ${{ matrix.python-version }}
run: python -m pip install setuptools
- name: Setup Node.js 20.11
uses: actions/setup-node@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ node_modules/
dist/
release/
.vscode
.github
.DS_Store
**/*.log
.env
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@ This is the back-end server for the BlueBubbles App. It allows you to forward yo
## Pre-requisites

- NodeJS: https://nodejs.org/en/
- Yarn Package Manager: https://yarnpkg.com/
- Git: https://git-scm.com/

**Warning**: Yarn may not work for this project. You may run into build errors.

## Development

1. Clone the repository
- `git clone [email protected]:BlueBubblesApp/BlueBubbles-Server.git`
2. Navigate into the repository on your local machine
- `cd BlueBubbles-Server`
3. Install the server dependencies
- `yarn`
- `npm install`
4. Run the dev server (this will start both the renderer and server)
- `yarn start`
- `npm run start`

### macOS Warning

If you are using macOS 10.x and are having issues building/running the server, please downgrade the `node-mac-permissions` dependency to `v2.2.0`. The reason it's on a newer version is to fix a production crashing issue on Big Sur+. Please downgrade it manually for testing on macOS v10.x.

```bash
cd packages/server
yarn add [email protected]
npm install [email protected]
```

## Structure / Directory Map
Expand Down
Binary file added icons/macos/dock-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27,603 changes: 27,603 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluebubbles-server",
"version": "1.9.7",
"version": "1.9.8",
"description": "BlueBubbles Server is the app that powers the BlueBubbles app ecosystem",
"private": true,
"workspaces": [
Expand All @@ -9,8 +9,10 @@
"scripts": {
"start": "concurrently \"cd ./packages/ui && npm run start\" \"cd ./packages/server && npm run start\"",
"build-ui": "cd ./packages/ui && npm run build && mkdir -p ../server/dist/static && rm -rf ../server/dist/static && cp -R ./build/** ../server/dist/ && cd ../../",
"build-server": "./node_modules/ngrok/bin/ngrok update && cd ./packages/server && npm run dist && cd ../../",
"build": "npm run build-ui && npm run build-server && rm -rf ./dist && mkdir -p ./dist && cp -R ./packages/server/release/* ./dist/ && rm -rf ./packages/server/release/ && rm -rf ./packages/ui/build/"
"build-server": "cd ./packages/server && npm run dist && cd ../../",
"release-server": "cd ./packages/server && npm run release && cd ../../",
"build": "npm run build-ui && npm run build-server && rm -rf ./dist && mkdir -p ./dist && cp -R ./packages/server/releases/* ./dist/ && rm -rf ./packages/server/releases/ && rm -rf ./packages/ui/build/",
"release": "npm run build-ui && npm run release-server"
},
"repository": "https://www.github.com/BlueBubblesApp/BlueBubbles-Server",
"author": "BlueBubbles Development Team <[email protected]>",
Expand All @@ -20,9 +22,9 @@
},
"homepage": "https://www.bluebubbles.app",
"devEngines": {
"node": "18.x",
"npm": ">=8.x",
"yarn": ">=1.x"
"node": "20.11.x",
"npm": ">=10.x",
"python": ">=3.10.x"
},
"devDependencies": {
"concurrently": "^7.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/server/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APPLEID=
APPLEIDPASS=
TEAMID=
APPLE_ID=
APPLE_APP_SPECIFIC_PASSWORD=
APPLE_TEAM_ID=
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The `.md5` files within this directory contain a single string that is correlate

## Clourflared

This is the official cloudflare daemon, downloaded from: https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-darwin-amd64.tgz
This is the official cloudflare daemon (x86; amd64), downloaded from: https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-darwin-amd64.tgz

The arm64 (Apple Silicon) build is from Homebrew: https://formulae.brew.sh/formula/cloudflared

The dummy `cloudflared-config.yml` file is for the daemon to use as to not interfere with the default system configuration
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bb5b2df38ee82a42ec156ceb0b3744fa
Loading

0 comments on commit 8621aa5

Please sign in to comment.