Skip to content
Permalink
Browse files

Merge branch 'dev' into live

* dev: (47 commits)
  Docs
  typo
  Ignore new item while drawing boxes. Gah.
  Added display names
  Add displayName for VKB Gladiator
  Abstract the dis-play name
  Extract fn for listing controllers
  Reduce max desc len to 190
  Add reference VKB Gladiator file
  Pass the mode in instead of hardwiring it wrong
  Uses CSS classes in list output
  Adopt `ed.css` in all output HTML
  Add CSS for lists
  Amend VKB Gladiator bindings
  Fix close <ul>
  Change device list URL to `devices`
  Fix Travis config
  remove bad test
  fix
  Fix supported devices
  ...
  • Loading branch information...
richardbuckle committed May 14, 2019
2 parents 01276a7 + 9b12895 commit 36386390adbc7537af30b21721908da5a1f2cbd7
Showing with 1,679 additions and 122 deletions.
  1. +1 −1 .travis.yml
  2. +9 −0 ChangeLog.md
  3. +2 −0 README.md
  4. +1,417 −0 bindings/working/KellyR VKB Gladiator.binds
  5. +31 −0 test_bindings.py
  6. +27 −0 www/ed.css
  7. +5 −2 www/index.html
  8. +125 −80 www/scripts/bindings.py
  9. +62 −39 www/scripts/bindingsData.py
@@ -2,7 +2,7 @@ language: python
python:
- "3.6"
# command to install dependencies
install: "pip install -r requirements.txt"
install: "pip install -r requirements.txt; pip install --upgrade pytest"
# command to run tests
script:
- pytest --cov=. --cov-report term-missing
@@ -1,3 +1,12 @@
## 1.2.4

* Amended the VKB Gladiator bindings: my thanks to KellyR (CMDR Analee Winston) for kicking my behind on this an providing corroborating data.
* Added a new URL `https://edrefcard/devices` listing all supported devices by primary name and linking to:
* New endpoints `https://edrefcard//device/xxx` that show the given device's button names in rectangles shaded in light green and outlined in red, to assist with (a) debugging button mappings and (b) aligning the rectangles pixel-perfect.
* Tweaked CSS styling and column width settings for `/list` and `/devices` to make the table neater. I'll be the first to admit this isn't my strong suit.
* Reduced the maximum input length for the "description" field to 190 characters in light of the above.
* Updated the forum thread URL.

## 1.2.3

* Restored caching of rendered JPEGs to one day now that we have more disk space.
@@ -30,6 +30,8 @@ Currently hosted at [https://edrefcard.info/](https://edrefcard.info/).
RewriteRule ^/list$ /scripts/bindings.py?list=all
RewriteRule ^/binds/(.+)$ /scripts/bindings.py?replay=$1
RewriteRule ^/configs/([a-z][a-z])([^/]+)$ /configs/$1/$1$2
RewriteRule ^/devices$ /scripts/bindings.py?devicelist=all
RewriteRule ^/device/(.+)$ /scripts/bindings.py?blocks=$1
```
* Certain web servers, including Apache 2 on Debian 9, are prone to set brain-dead IO encodings, such as ANSI_X3.4-1968. To fix this, add the following at the end of `/etc/apache2/apache2.conf`:

0 comments on commit 3638639

Please sign in to comment.
You can’t perform that action at this time.