git: ugly reset to remove 3000 commits that don't exist

--- relevant commits ---
commit fa63c7ec3596c9afb4f07f75583b2357f4ef6c85 (HEAD -> master, origin/master, origin/HEAD)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:53:00 2020 +0100

    console: don't submit onBlur

commit b653c2edd3be4991dfcd6ed82c76dd3ed2526edb
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:48:24 2020 +0100

    ui: restore left & right panel minWidth

commit 3a1af3f9ec70857548d412ce2971992650fa2899
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 19:45:42 2020 +0100

    console: seamless input

commit ec2d49379431a5a6b54968f4dc15bc28286e3741
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 15:08:22 2020 +0100

    console: css tweaks

commit 5248fbe4241134ddf56697180a62f8f89c5f382c
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 14:58:03 2020 +0100

    console: history tweak

commit 8c49baf8d7f9546ab3ab19f9296e5acbf60a364f
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 14:57:47 2020 +0100

    server: allow console osc out

commit 152c6f7276055492bf4a637d5a7a678164d6513b
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:32:14 2020 +0100

    lint

commit 1158118db89bb3b14fb2972d020371aac3d8f198
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:30:18 2020 +0100

    ipc: set samesite attr on client_id cookie

commit 25fd79474da4ecba8e80e8d00ac63d4dfb62ca66
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 12:24:55 2020 +0100

    console: tweaks

commit 3d39ea9c0a3a28a7344abb023acb76df75f59ba9
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 11:57:45 2020 +0100

    console: add interpreter

commit 961ebe7518
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Thu Nov 12 08:16:22 2020 +0100

    widget: lazy load uiConsole

commit 96f0d3c00f (tag: v1.7.0-beta2)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 22:46:38 2020 +0100

    ios: clone widget not laid out properly in horizontal panels

commit a8e0ac344a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 19:56:35 2020 +0100

    console: unified widget error, with quick edit link from the console

commit 6000d1a67a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:31:33 2020 +0100

    package: beta 2

commit d8b1fc298f
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:30:06 2020 +0100

    ui: overflow hidden on workspaces introduces some overflow scroll with the console panel

commit 35374a7c1c
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:24:22 2020 +0100

    session: compat: increment toolbar() usages (new console item)

commit ff78df42b6
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 17:17:33 2020 +0100

    console: tweaks

commit 33581804ac
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Wed Nov 11 16:28:18 2020 +0100

    ui: move console to full bottom panel

commit dd6b85f6ff
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 16:09:31 2020 +0100

    session: v0 label compat tweak

commit 42c4b0f6cd
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 15:50:56 2020 +0100

    session: v0 label conversion fix on tabs

commit 9431fd722e (tag: v1.7.0-beta1)
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 13:05:06 2020 +0100

    docs, log & restore user rpi build

commit c9e3641332
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 11:13:56 2020 +0100

    python: resolve bin path

commit 8030744325
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 11:13:45 2020 +0100

    docs: add link

commit 4ce960139a
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 10:18:31 2020 +0100

    package: wrong path on osx

commit 2bc507a17b
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:48:14 2020 +0100

    package: 1.7.0 beta 1

commit 16579241ce
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:45:32 2020 +0100

    package: document midi support and install process

commit b8173294aa
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 09:24:54 2020 +0100

    package: reduce number of prebuilt binaries (keep 64bit linux/windows/osx + node)

commit df215612c5
Author: bordun <jean-emmanuel.doucet@groolot.net>
Date:   Tue Nov 10 08:39:27 2020 +0100

    midi: bump version
This commit is contained in:
bordun 2020-11-12 20:01:17 +01:00
parent 43b0ab9fea
commit 82361e2f60
30 changed files with 480 additions and 205 deletions

View file

@ -28,11 +28,11 @@ iOS devices must be of version `10.3` or higher.
## Installation
??? example "Linux"
??? example "Linux 64bit"
**Ubuntu / Debian**
- [Download](/download) `open-stage-control-VERSION-ARCH.deb`
- [Download](/download) `open-stage-control-VERSION-amd64.deb`
- Install it by running this as root in a terminal:
```bash
dpkg -i path/to/open-stage-control-VERSION-ARCH.deb
@ -40,18 +40,25 @@ iOS devices must be of version `10.3` or higher.
**Other linux distributions**
- [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip`
- [Download](/download) `open-stage-control-VERSION-linux-x64.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control` is the app's main executable
??? example "Mac"
??? example "Mac 64bit"
- [Download](/download) `open-stage-control-VERSION-osx.zip`
- Extract it in the location of your choice
- Drag `open-stage-control.app` in your `Application` folder
??? example "Windows"
??? example "Windows 64bit"
- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip`
- [Download](/download) `open-stage-control-VERSION-win32-x64.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control.exe` is the app's main executable
??? example "Other systems"
- Install [Node.js](https://nodejs.org/en/download/package-manager/)
- Download `open-stage-control-VERSION-node.zip`
- Extract it in the location of your choice
- In a terminal, run `node /path/to/open-stage-control-VERSION-node --help`

View file

@ -21,6 +21,13 @@ npm install
npm run build
```
!!! tip "Raspberry systems"
Run this instead of `npm install` if the architecture is `armv7l`
```
npm install --arch=armv7l
```
!!! info "Updating from sources"
```bash
git pull
@ -51,12 +58,9 @@ npm run build-docs
## Package from sources
Follow the "Run from sources" instructions, then:
```bash
git clone https://github.com/jean-emmanuel/open-stage-control
cd open-stage-control/
# uncomment next line if you want the latest release
# instead of the current development version
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
export PLATFORM=TARGET_PLATFORM
@ -64,21 +68,8 @@ export PLATFORM=TARGET_PLATFORM
export ARCH=TARGET_ARCH
npm install
# run this instead if ARCH is armv7l
# npm install --arch=armv7l
npm run build
npm run package
# Do one of the following if you want a deb package for debian/ubuntu
npm run deb32
npm run deb64
npm run debarm
# The node-only package can be built with
npm run package-node
@ -89,3 +80,10 @@ This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
!!! info ""
Building the app for windows from a linux system requires wine to be installed.
## Debian/Ubuntu installer
```
npm run deb64
```

View file

@ -1,46 +1,55 @@
## Installation
Enabling MIDI support in Open Stage Control requires additional softwares to be installed on the server's system:
- [python 3](https://www.python.org/downloads/)
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi)
=== "Linux / Windows / OSX"
??? example "Linux"
Since version `1.7.0`, Open Stage Control comes bundled with built-in MIDI support if you're using the 64bit package for Linux, OSX or Windows.
- Install `python3` and `python3-pip` from your distribution's package repository
- Install `python-rtmidi` from a terminal by executing this command
```bash
python3 -m pip install python-rtmidi --upgrade
```
??? example "Mac"
=== "Other systems"
- Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/)
- Open a terminal
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
Enabling MIDI support on other systems or when building Open Stage Control from sources requires additional softwares to be installed on the server's system:
??? example "Windows"
- [python 3](https://www.python.org/downloads/)
- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi)
- Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/)
- **make sure to check the option** "Add Python 3.x to PATH"
- Open a terminal (++win+r++)
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
??? example "Linux"
- Install `python3` and `python3-pip` from your distribution's package repository
- Install `python-rtmidi` from a terminal by executing this command
```bash
python3 -m pip install python-rtmidi --upgrade
```
??? example "Mac"
- Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/)
- Open a terminal
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
??? example "Windows"
- Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/)
- **make sure to check the option** "Add Python 3.x to PATH"
- Open a terminal (++win+r++)
- Install `pip` (package installer for python) by executing these commands
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
```
- Install `python-rtmidi` by executing this command
```bash
python -m pip install python-rtmidi --upgrade
```
## Configuration
@ -73,17 +82,17 @@ Enable parsing of midi time code messages (disabled by default). These will be r
Send program changes with a `-1` offset to match some software/hardware implementations
**`path=/path/to/python`**
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
**`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port
**`jack`** (*Linux only*): use JACK MIDI instead of ALSA. `python-rtmidi` must be compiled with [jack support](https://spotlightkid.github.io/python-rtmidi/installation.html#linux) for this to work.
**`path=/path/to/python`**
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). *Only use this if you know what you are doing.*
## Widget setup
In order to send MIDI messages, a widget must have at least one `target` formatted as follows: