Commit Graph

149 Commits

Author SHA1 Message Date
Tim Bentley 170c37d441 Revert "Migrate Media and add Pytest-qt"
This reverts commit 3dcac055be.
2020-02-12 20:28:33 +00:00
Tim Bentley 3dcac055be Migrate Media and add Pytest-qt
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-02-09 20:24:05 +00: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
Tomas Groth 1ebc6737d7 Made the bibel and song import more robust.
Tested the importers by loading a text file, a png file and an xml file.
2020-01-18 21:45:47 +00:00
Tim Bentley 8e9cc53852 Migrate media to new style tests
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-12 21:03:40 +00:00
Tomas Groth a0616ddf0f A few fixes for the alpha. 2020-01-06 21:15:11 +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 ec329eff2f Refactor the theme wizard into separate pages
- Refactor wizard pages into external page components
- Refactor form labels into a central label with the alignment already set
- Fix some tests
- Write more tests
2019-12-11 19:31:48 +00:00
Raoul Snyman d5fc4c5b88 Display more detailed instructions when VLC and pymediainfo are missing
- On Fedora, mention the need for RPMFusion
- on macOS, reference the VLC website
- On other systems, just display a generic message
- Don't try to load the VLC path on macOS
2019-12-07 11:41:30 +00:00
Tim Bentley 9fd6752a83 Try to fix paths in coverage report generation
- Add the local path to coverage config
- Fix the paths before generating an HTML report
2019-12-04 20:01:02 +00:00
Daniel f8ae9cf719 Change theme_list in theme manager to a dictionary containing the theme objects
This prevents the need to read the theme file every time it's data is needed.
2019-12-02 18:07:41 +00:00
Ee Savior 5935bbe850 core-ui-media-__init__: Create test and fix docstring error for format_milliseconds(...). Achieve 100% coverage for __init__.py module 2019-12-02 18:02:13 +00:00
Tim Bentley 8838e671fc Try to fix paths in coverage report generation
- Add the local path to coverage config
- Fix the paths before generating an HTML report
2019-11-26 17:49:41 +00:00
Tim Bentley 35f7190e00 Try to fix paths in coverage report generation
- Add the local path to coverage config
- Fix the paths before generating an HTML report
2019-11-03 21:17:47 +00:00
Daniel 1ac6c052c7 Fix clone theme with missing background source 2019-11-02 07:14:10 +00:00
John Morris ecaa587e44 Initial release of the test for SplashScreen.py 2019-11-01 15:44:53 +00:00
Raoul Snyman dd9701cb50 Fix issue #302 where theme previews were not being generated after the FTW
- Fix the theme preview generation to happen in the right place after the First Run Wizard
- Mock the settings in the DisplayWindow tests to see if that helps the Arch runner
- Add tests for the new form
2019-11-01 12:26:47 +00:00
Raoul Snyman 8cc2e3af9d Fix the tests so that the Arch runner goes back to green 2019-10-31 20:40:18 +00:00
Daniel c0aa199ac3 Add background_source to Theme and use it in the theme wizard
The theme wizard (while editing a theme) now changes both background_source and background_filename then sets filename to the new cache location on apply (also added the filename_source var to Theme). The new var is needed so when the user goes to change the theme again, they see the file they selected, not the cached one. This commit fixes the issue of changing theme backgrounds not deleting the cached file but deleting the original file.
2019-10-23 22:54:29 +00:00
Raoul Snyman 99d2ec7715 Create a Theme Preview dialog, plus some theme background fixes.
- Update .gitignore to ignore virtualenvs and eggs directory
- Create a dialog to generate theme previews/thumbnails
- Use theme preview generation dialog all over
- Create a test for the new method
- Update existing theme manager tests
- Skip Bible HTTP tests when in GitLab CI
- Make theme backgrounds scale and centred
2019-10-18 06:12:09 +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
Tim Bentley 3e5dfdb730 Add initial cleanup files for media fixes.
Signed-off-by: Tim <tim.bentley@gmail.com>
2019-09-21 04:56:43 +00:00
Raoul Snyman 2557eeeaa6 Changed button to say 'Contribute', moved some text around, removed some unnecessary text 2019-08-22 20:21:15 -07:00
Phill dd4d9b9255 Add a singletom Metaclass 2019-07-20 13:27:28 +01:00
Tim Bentley 7143fbb8d1 Fix streaming part1 2019-06-14 18:54:04 +01:00
Tomas Groth 04d3efef9e fix some broken tests 2019-06-07 23:05:02 +02:00
Phill 52eb196e5b PEP8 2019-05-31 21:19:15 +01:00
Phill cdf29876e2 More media clean-up 2019-05-26 21:53:54 +01:00
Phill c2550777c3 VLC extension tidyups 2019-05-26 11:30:37 +01:00
Phill c901ec3d75 Move suffixes from list to set, remove VlcPlayer.is_active as it was never ser 2019-05-24 23:11:11 +01:00
Phill 5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Tim Bentley 9e22ed86e3 remove unneeded test 2019-05-08 14:58:06 +01:00
Phill 0f640368e1 Just to trigger the tests :-)
bzr-revno: 2867
2019-05-07 17:56:21 +01:00
Tim Bentley a7821bdd26 rename additions to arguments 2019-05-04 20:47:06 +01:00
Phill 1d736a58f5 Fix up tests 2019-05-04 13:05:53 +01:00
Phill 7aa7e5c635 Move some changes out of annother branch 2019-05-04 12:49:20 +01:00
Phill 15f3b0fcca Seperate some fixes out of annother branch 2019-05-04 10:13:29 +01:00
Tim Bentley feaee351b2 head 2019-05-03 18:26:37 +01:00
Tim Bentley e607a95b86 Fix tests 2019-04-21 09:53:59 +01:00
Bastian Germann be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Tim Bentley 49384aa672 head 2019-04-09 19:35:10 +01:00
Phill 98f7c28d65 Add proxy settings to ftw. Option to skip sample data
bzr-revno: 2853
2019-03-28 22:03:32 +01:00
Tim Bentley ae2109e509 fix pep8.5 2019-03-27 18:59:03 +00:00
Tim Bentley b7bb59a837 vlc tests pass 2019-03-27 17:46:12 +00:00
Tim Bentley f849b0eeb0 head 2019-03-25 21:24:51 +00:00
Philip Ridout 056b902cf9 PEP8 2019-03-15 20:47:47 +00:00
Philip Ridout 50598e9058 pathlib cleanups 2019-03-10 21:01:39 +00:00
Philip Ridout 0578ab8908 Test fix 2019-03-09 07:06:00 +00:00