Commit Graph

172 Commits

Author SHA1 Message Date
Tim 29db2f1fb7
Better late than never 2022-02-01 10:10:57 +00:00
Daniel Martin fce6b47127 Fix a few service bugs 2022-01-16 13:15:09 +00:00
István Máté 58800cf4be Webserver mimetype support 2021-08-25 19:28:15 +00:00
Daniel Martin d34e39524a Fix websocket crash 2021-04-25 06:18:16 +00:00
Daniel aeac690c4e Allow sub directories in custom stages 2021-02-04 09:56:52 +13:00
Daniel Martin d47a14a716 Standardize plugin search options 2021-01-30 22:36:58 +00:00
Daniel Martin da31226029 Fix http poll routes 2021-01-08 15:01:53 +00:00
Tim Bentley aade849aca End of 2020 - Just change the Year! 2020-12-30 21:42:49 +00:00
Fernando Quant ae5c5b204a Fix theme api 2020-10-28 04:06:56 +00:00
Tim Bentley f47a168733 Merge branch 'beta_fixes_4' into 'master'
Fix first run issues

Closes #683 and #682

See merge request openlp/openlp!262
2020-10-20 11:32:48 +00:00
Daniel eb3dc6b221 Fix first run issues 2020-10-20 11:32:48 +00:00
Tim Bentley 1c4ae35c9c Fixes and Updates 2020-10-19 07:18:26 +00:00
Tomas Groth c8b328c4f5 Merge branch 'distutils' into 'master'
Get rid of distutils

See merge request openlp/openlp!247
2020-10-04 20:52:05 +00:00
Tim Bentley 867779da43 Stop videos playing if no VLC.
#633
2020-10-04 19:20:10 +00:00
Daniel bd0308f1b4 Ignore transition speed when no transitions
Also add/fix tests
2020-10-02 04:57:17 +00:00
Bastian Germann dc967baf00 Get rid of distutils 2020-09-29 01:22:28 +02:00
Bastian Germann 5e981be6fe Relicense GPL-2 files
There are still some leftovers or new files that are still GPL-2 licensed.
Relicense them according to the contributors' agreements to change the
license to GPL-3+.
2020-09-27 14:53:27 +02:00
Fernando Quant 0a64cc95ec Themes api get_themes returns the preview image instead of the full background image in the theme_list 2020-08-27 06:19:47 +00:00
Tomas Groth 8fe519cada Merge branch 'bibleversionapi' into 'master'
Bible version api

See merge request openlp/openlp!220
2020-08-01 19:34:08 +00:00
Fernando Quant acb6e892a9 Bible version api 2020-08-01 19:34:08 +00:00
Tomas Groth ec85f1f8b9 Merge branch 'readd_custom_stage_views' into 'master'
Re-add custom stage view support

See merge request openlp/openlp!223
2020-08-01 19:32:29 +00:00
Tomas Groth c6c5f77b03 Merge branch 'add_footer_to_web_api' into 'master'
Add theme data and footer to web api

Closes #537

See merge request openlp/openlp!224
2020-08-01 19:30:49 +00:00
Daniel fc16e0009e Add footer to the object returned in the api
This is about the only thing left preventing us from running the main web view on react in a similar way the primary display is run. (rather than screenshots)
2020-08-01 19:30:49 +00:00
Daniel e7ffa35000 Actually 'unregister' closed websocket connections
The recv method will trigger an Exception when the user disconnects
from the server, which means we can unregister them and break the loop.
2020-08-01 19:28:19 +00:00
Daniel f69887cd8c Re-add custom stage view support
Almost a static server. Lets say your stage files are in `stages/mystage/<files>`,
Provided your main html file is named `stage.html`, you can get to it with:
`<openlp_ip>:<openlp_port>/stage/mystage` (this is the same as openlp 2.4.6)

Although you can use the full url, the `stage.html` will be able to directly
link to it's neighbour files with a relative url. (that means you can use
`javascript.js` rather than `/stage/mystage/javascript.js`)
Again, this should be the same as openlp 2.4.6

I think OpenLP 2.4.6 used some sort of template system to fill in the page
title and perhaps a few other things. This does not use a template system
and you only need a standard html file.
2020-07-25 21:41:28 +12:00
Raoul Snyman 5620a6f57f
Expose the entire ServiceItem in the API
- Move JSON rendering into ServiceItem object
- Provide entire service item object through API
- Fix some potential bugs and write tests
2020-07-23 17:19:49 -07:00
Tim Bentley f8d747e236 Fix Image Backgounds and remove Image Manager
Resolves ##480
2020-06-20 06:06:31 +00:00
Tim e6fa02a75e
Upgrade and cleanup WebSocket code 2020-06-17 14:49:31 +01:00
Tim Bentley a55fdbf0c8 Update API definition
resolves #295
2020-06-10 20:10:56 +00:00
Tim Bentley 6eba3b7a3e Settings cleanup 2020-06-06 16:05:36 +00:00
Mattias Põldaru 0419e80aec No internet traceback 2020-05-30 06:35:09 +00:00
Tim Bentley 67f4a0cc81 Resolve issues with theme changes.
Add new clear api's
2020-05-20 07:40:23 +00:00
Raoul Snyman 181b4fdcc9
Fix various issues and return current theme in API:
- New API method to return current theme
- Use single method to set service items via both position and uuid
- Update tests to match above new features
- Fix issue where chords were not being returned to the API
- Fix the clear/backspace icon (the old one doesn't exist in Debian)
2020-05-15 23:11:55 -07:00
Tim Bentley 6876bbd531 Clean up Apis and remove duplicate files.
Add new API to help testings
2020-05-16 06:11:21 +00:00
Daniel 58b622a196 Change server send correct files for new web-remote 2020-05-08 13:04:38 +12:00
Tim Bentley 2223a56268 Logging and Powerpoint fixes 2020-05-02 18:53:56 +00:00
Tim Bentley da01b2a8f2 Api improvements 2020-04-26 21:37:35 +00:00
Tim Bentley 42e6640339 Cleanups, add missing theme functionality 2020-04-09 21:55:27 +00:00
Raoul Snyman 6bbe01e7c9
Web Remote Version Checking and Downloads; Other Fixes
- Download the web remote as part of the FTW
- Add version checking for the web remote
- Always order the authors when exporting to OpenLyrics
- Write tests for a bunch of things.
2020-04-07 23:36:14 -07:00
Tim Bentley 3f41c852f2 Fix some race conditions, remove calls to ImageManager, fix a crash in the remote API, fix some more test issues. 2020-04-02 18:48:27 +00:00
Fernando Quant 5e4559cdb3 Added basic theme API 2020-04-01 18:26:57 +00:00
Raoul Snyman 73507884fb
Refactor web remote deployment, plus other fixes and enhancements
- Refactor deployment away from the web server thread
- Refactor the web remote settings tab
- Provide a way for threads to show an error message to the user
- Fix an issue where multiple zeroconf services were being run instead of a single instance on multiple addresses
- Refactored the DownloadProcess dialog
- Fix the tests
2020-03-17 19:31:18 -07:00
Tim Bentley 45e38c4959 Migrate API to Settings
Fix missing / incorrect copyright

Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-29 06:50:09 +00:00
Simon Hanna ef2f798f6f Update remote API to use Flask, and be more RESTful 2020-01-27 22:57:58 +00:00
Tim Bentley 5aa2065741 Change Structure of OpenLP and move a test
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-04 21:24:32 +00:00
Tim Bentley 6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Raoul Snyman 1e76868a23 Remove vim lines from files and add a .editorconfig for editors that support it 2019-10-10 15:28:16 +00:00
Bastian Germann 95a056e504 Remove some pylint occurences 2019-09-21 13:14:23 +02:00
Raoul Snyman 11ad9dbb22 Further refactor the code, and fix up the tests 2019-07-02 20:05:01 -07:00
Raoul Snyman f27e4f8821 Extract filtering to make things more testable 2019-07-02 16:00:27 -07:00