Commit Graph

6646 Commits

Author SHA1 Message Date
suutari-olli
165d8cd4ba - Merged trunk on 18.5.2016 20:57 2016-05-18 20:56:50 +03:00
Tim Bentley
7c1e922f10 pep8 2016-05-18 18:06:25 +01:00
Tim Bentley
2cb3d6b684 head 2016-05-17 22:35:01 +01:00
Tim Bentley
2f8b12934b fix theme display in servicemanager 2016-05-17 22:28:27 +01:00
306f027b53 Convert strings from python2 to python3 format
- Strings converted except as noted
- Updated projector pjlink test
- Simplify lines with multiple references to single variable

--------------------------------
lp:~alisonken1/openlp/strings-lib (revision 2665)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1559/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1470/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1408/
[SUCCESS] https://ci.openlp.io/job/Branch-04a...

bzr-revno: 2664
2016-05-17 22:22:24 +01:00
Tim Bentley
8cf6b2df3e Service Manager themes are not updated in service items when the settings theme is changed
bzr-revno: 2663
2016-05-17 22:19:20 +01:00
a3df011409 Typo 2016-05-17 06:21:29 -07:00
8cc6f1dbcb Fix duplicate tags in strings 2016-05-17 06:15:53 -07:00
Simon Hanna
2a0868dee3 merge trunk 2016-05-17 10:48:19 +02:00
ian@knightly.xyz
05e9e5dca0 Fixes bug 1080596 where presentations in the preview pane display live view rather than preview of selected slide.
In addition, fixes the aspect ratio & quality of thumbnails by saving them in the correct aspect ratio at a higher resolution, and loading them through the image manager.

New test cases implemented, or existing cases modified to test coverage complete for changes.

lp:~knightrider0xd/openlp/preview-shows-live-fix-1080596 (revision 2652)
[SUCCESS] https://ci.openlp.io/job/Branch-...

bzr-revno: 2661
Fixes: https://launchpad.net/bugs/1080596
2016-05-16 17:26:29 +01:00
403df406df Simplify a line with multiple references in format 2016-05-16 07:02:47 -07:00
1f5f457786 pep8 2016-05-16 06:44:57 -07:00
b4329ff781 Revert a few items plus cleanups 2016-05-16 06:41:26 -07:00
Ian Knight
a7466f1ea7 Check for Div0 and added unit test cases 2016-05-16 22:05:58 +09:30
suutari-olli
45798e67f0 Removed 2nd blank line from end of the uistrings. 2016-05-15 23:41:58 +03:00
suutari-olli
334d16d81c - Noticed this had a conflict, fixed it, improved comments 2016-05-15 22:41:13 +03:00
7c4671b676 Convert strings to python3 in core.common.lib 2016-05-15 10:33:42 -07:00
07468f0093 Fix oops 2016-05-15 10:32:04 -07:00
f51132e876 core/common convert strings to python3 format 2016-05-13 21:24:46 -07:00
tim.bentley@gmail.com
f37722dd73 "Allow themes to have video files so allow for background videos behind text.
move string to python 3 format

lp:~trb143/openlp/background_videos (revision 2692)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1522/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1433/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1371/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Windows_Functional_Tests/1167/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Windows_Interface_Test..."

bzr-revno: 2659
2016-05-12 23:00:54 +02:00
suutari-olli
7e5b49ffdf - Merged trunk on 11.5.16 2016-05-11 18:37:58 +03:00
suutari-olli
524adae71f - Pep8 fixes 2016-05-10 14:13:41 +03:00
suutari-olli
46e7ad4983 - Changes based on comments by TRB143 2016-05-10 14:06:00 +03:00
Tim Bentley
df654d72fb change net to com 2016-05-10 05:36:25 +01:00
suutari-olli
77e9e1ad27 Lowercapped bunch of stuff, splitted expection error 2016-05-10 04:55:26 +03:00
suutari-olli
d7f3e4a9f2 Lowercapped some settings. 2016-05-10 04:11:49 +03:00
suutari-olli
bd9c9a8430 - Merged trunk 2016-05-10 03:58:37 +03:00
suutari-olli
e4bce11a03 Commiting for merging trunk, some new changes. 2016-05-10 03:53:14 +03:00
9ac95cf665 Skip crosswalk.com test while server down 2016-05-05 12:37:48 -07:00
Ian Knight
55002518ef Added Functional Tests, cleaned PEP8 errors 2016-05-06 04:27:32 +09:30
72fc30d600 merge trunk 2016-05-05 08:51:07 -07:00
Ian Knight
bc6253a627 Housekeeping, added check for thumbnails to avoid icon scaling issues 2016-05-05 13:27:04 +09:30
Ian Knight
a2bc59b3d9 Merge from trunk 2016-05-04 21:50:37 +09:30
Ian Knight
f0d7cf7f36 Corrected aspect ratio on slide previews 2016-05-04 21:40:42 +09:30
Tim Bentley
51613fd32d fix strings 2016-05-02 09:12:39 +01:00
Tim Bentley
0efd1931b4 head 2016-05-02 09:05:47 +01:00
suutari-olli
f5e7e932d1 Improved a bunch of comments. 2016-05-02 09:54:15 +03:00
Tim Bentley
6d7039ed41 minor fixes 2016-04-30 18:19:55 +01:00
Tim Bentley
162f1ecbe9 remove old loop 2016-04-30 16:49:06 +01:00
Tim Bentley
c80f45320b video theme creation 2016-04-30 16:40:23 +01:00
Tim Bentley
8094cd051a head 2016-04-30 10:35:54 +01:00
Tim Bentley
6158a0672c background videos 2016-04-30 10:34:37 +01:00
suutari-olli
09a084be18 - Removed un-needed import that was added earlier
- Pep8 fixes
2016-04-30 03:07:36 +03:00
5601e61c0f Convert strings to python3 in mainwindow 2016-04-29 13:25:12 -07:00
suutari-olli
aa2720da40 Merged trunk on 28.4.16, removed broken test. 2016-04-28 23:12:34 +03:00
suutari-olli
31ede5556d Added this to program startup code, should replace_service_manager_item ever crash the program.
Settings().setValue('core/is live item edited and replaced', False)
2016-04-27 23:38:46 +03:00
d3d6e6c620 Missed translate() string format 2016-04-27 05:49:55 -07:00
Tomas Groth
72c435633c fix merge issues 2016-04-26 21:04:22 +02:00
Tomas Groth
58ac52a30e merge trunk 2016-04-26 20:58:03 +02:00
884f060dea Oops and text in projector test 2016-04-24 04:22:04 -07:00
28e14012a8 Remove unneeded print statement 2016-04-24 04:04:32 -07:00
292606ba38 Fix translate() string format and some missed conversions 2016-04-23 14:38:43 -07:00
d5b98b7308 Added projector power test 2016-04-23 12:55:47 -07:00
591ed15ab7 Merge upstream 2016-04-23 12:28:52 -07:00
907e1df129 - Update string format to Python3 style
- Added projector multiple lamp values test
- Updated strings for translation (they should all be ok now)
- Fix merge conflicts (projector_pjlink1 and projector_ui tests)

Convert string format from Python2
     '%s %s' % (value1, value2)
to Python3
     '{key1} {key2}'.format(key1=value1, key2=value2)

Jenkins down - local pep8 and tests (except windows tests) passed.

Previous Jenkins test:
--------------------------------
lp:~alisonken1/openlp/string...

bzr-revno: 2650
2016-04-23 14:48:27 +01:00
Tim Bentley
071a4438e9 Finish moving things around
bzr-revno: 2649
2016-04-23 14:46:59 +01:00
Tim Bentley
fed2466ad6 Add Icon and defense tests for missing mediainfo
bzr-revno: 2648
2016-04-23 14:45:55 +01:00
c1222dc2bb Convert strings to python3 in __init__ files 2016-04-22 17:40:59 -07:00
Tim Bentley
f2784decc7 fix 2016-04-22 20:04:17 +01:00
Tim Bentley
123a7f02a7 yet more files 2016-04-22 19:32:59 +01:00
Tim Bentley
0d755e3354 more files 2016-04-22 19:32:45 +01:00
Tim Bentley
38996c81cc more files 2016-04-22 19:25:57 +01:00
Tim Bentley
20acc90951 Pep8 2016-04-22 17:37:21 +01:00
bec015142b Merge trunk to fix conflicts 2016-04-22 04:41:29 -07:00
suutari.olli@gmail.com
f0d75a29c2 This branch introduces the following fixes/features:
- Fixed bug 1565447 (Unable to save panel visibility if View mode is used)
  (Added a hidden setting for controlling this)
- Locking Panels now also locks “View” menu so view menu can’t
  be set if panels are locked.
- Panels are now locked by default, this prevents users from
  totally messing their UI so easily.
- Added a checkbox for disabling/enabling Projectors during first time wizard
  (By default disabled, added a hidden setting fo...

bzr-revno: 2647
Fixes: https://launchpad.net/bugs/1508582, https://launchpad.net/bugs/1565447
2016-04-21 22:16:24 +01:00
Tim Bentley
59b3c7b053 head 2016-04-21 17:27:04 +01:00
Tim Bentley
bd8ddf7506 fix tests 2016-04-21 17:26:34 +01:00
Tim Bentley
f2537981e4 update 2016-04-20 17:36:37 +01:00
suutari-olli
55061b8fc1 - Added two tests for checking if doubleclicking preview should add item to service or send it to live. 2016-04-20 18:56:10 +03:00
b5c9f96ccf oops fix - typo 2016-04-17 16:57:33 -07:00
b2ed6bb84c Fix split in string formatting 2016-04-17 16:47:44 -07:00
Tim Bentley
1942a8ac14 fix 2016-04-17 21:11:55 +01:00
Tim Bentley
bdeff60a97 updates 2016-04-17 20:32:15 +01:00
Tim Bentley
34f00cda92 dnd and files 2016-04-17 20:09:46 +01:00
Tim Bentley
b2147045b2 colorbutton2 2016-04-17 20:06:17 +01:00
Tim Bentley
6767ba504c colorbutton 2016-04-17 19:57:03 +01:00
f6cb085b0d "- Update string format to Python3 style
- Added projector lamp values test

Convert string format from Python2 
     '%s %s' % (value1, value2)
to Python3
     '{key1} {key2}'.format(key1=value1, key2=value2)

--------------------------------
lp:~alisonken1/openlp/strings_projector_pjlink (revision 2642)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1442/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1359/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1297/
..."

bzr-revno: 2645
2016-04-17 17:33:08 +02:00
suutari-olli
518dde5d2d - Removed _ from end of one setting name.
- Fixed ident on replace_service_manager
2016-04-17 15:40:34 +03:00
278ec2bed2 Update projector UI strings to Python3 format 2016-04-17 02:15:23 -07:00
suutari-olli
c046ba95d9 Made a better fix for fixing bug where display is unblanked on editing current live item.
This now sets a hidden setting to true while processing Live item and then changes it back to false.
Display is thus not unblanked at all during the process. (Old fix showed the edited slide for a small time)

Downside: All the new tests were based on the old method and thus they were removed.
2016-04-17 06:50:54 +03:00
suutari-olli
0563c6372f Made a better fix for fixing bug where display is unblanked on editing current live item.
This now sets a hidden setting to true while processing Live item and then changes it back to false.
Display is thus not unblanked at all during the process. (Old fix showed the edited slide for a small time)

Downside: All the new tests were based on the old method and thus they were removed.
2016-04-17 06:43:25 +03:00
suutari-olli
bf3cad050c Turned the new setting into question. 2016-04-17 04:52:45 +03:00
suutari-olli
5dbb69430f Fixed bug 1462420 (Double click on the preview duplicated the element in the service manger)
- Added a hidden setting for controlling this behaviour. 
 It is reset if any item is sent to preview from library.
 Sending the same item to service multiple times is still possible by using the "Add icon"
2016-04-17 04:36:53 +03:00
suutari-olli
69af91edef - Fixed bug 1462420 - Double clicking Preview adds item to Service countless times
(Added hidden setting for controlling this, it is set to True once double clicking
  has added item to Service and gets reset to False once new item is sent to preview.
2016-04-17 04:13:39 +03:00
37bae16307 String formatting 2016-04-16 14:32:56 -07:00
ian@knightly.xyz
dadff3c4de Allows users to change the automatic scrolling behaviour for when a new slide is selected.
Currently on selecting a new slide, the next slide will be scrolled into view.
The changes provide a combo-box in the advanced settings that allow users to select additional options (see branch description for details).

Additional bounds checking and unit tests have been added to support this.

This latest proposal also contains additional input validation and testing thereof for values from Settings(...

bzr-revno: 2644
Fixes: https://launchpad.net/bugs/1550858
2016-04-16 22:01:22 +01:00
suutari.olli@gmail.com
6df9cbeb47 "In this re-proposal:
Added: self.BackgroundColorColon = translate('OpenLP.Ui', 'Background color:')
to uistrings, background color label now uses this.

This same string will be used several times in this branch:
https://code.launchpad.net/~suutari-olli/openlp/ui-messages-part-1/+merge/291628

--------------------------------------------------------------------------------------------------------------

- Merged to trunk on 13.4.16, tests are now passing.

lp:~suutari-olli/openlp/show-no-log..."

bzr-revno: 2643
Fixes: https://launchpad.net/bugs/1512038
2016-04-16 21:51:35 +02:00
Ian Knight
f8718ee1cb Added extra validation checks and matching tests to __recalculate_layout(), row_resized(), replace_service_item() & change_slide() 2016-04-17 02:05:08 +09:30
Ian Knight
665a35b085 Cleaned up extra brackets 2016-04-17 01:20:58 +09:30
Tim Bentley
40981701e9 fix checks 2016-04-16 15:43:31 +01:00
suutari-olli
49dca3a0f9 - Changed how preset enabled setting is called
- Changed the Projectors desription
- Changed Show .ppt .odp and pdf presentations to files.
2016-04-16 16:58:28 +03:00
Tim Bentley
b8bbb4391c move code from presentations 2016-04-16 14:51:42 +01:00
d92757af97 Convert strings to format() method 2016-04-16 01:08:45 -07:00
Ian Knight
ae6e6baeca Added comments 2016-04-16 16:44:04 +09:30
Ian Knight
c8172d882f Merged from trunk 2016-04-16 16:32:36 +09:30
Ian Knight
26e8dde0ea Implemented feature, cleaned pep8 errors 2016-04-16 16:30:48 +09:30
Ian Knight
17d9bf0adc Implemented auto-scroll-choice 2016-04-16 16:23:01 +09:30
suutari-olli
9f5426abdc Added short descriptions for enabling/disabling plugins, improved the messages. 2016-04-15 21:48:27 +03:00
suutari-olli
4520403387 - Added checkbox for controlling the visibility of Projectors panel in 1st time wiz. 2016-04-15 19:06:14 +03:00
suutari-olli
c9065a286a Added a setting that hides/shows Projectors panel after first time wizard.
This still needs a visual UI (Aka checkbox to wizard)
2016-04-14 10:19:59 +03:00
suutari-olli
2b35156931 - Changed default setting from False to True for 'user interface/lock panel': True
(This has caused countless cases of users messing up their UI and not knowing how to fix it)
2016-04-14 04:17:36 +03:00
suutari-olli
217ecbbfb0 - Removed # Banana and # Cherry comments, which I created to find parts of the code.
(Cherry was replaced with actual comment)
2016-04-14 04:10:59 +03:00
suutari-olli
d51910b6a0 In this commit:
- Fixed bug 1565447 (Unable to save panel visibility if View mode is used)
- Locking panel visibility now makes the Mode menu unavailable.
2016-04-14 03:59:24 +03:00
Tim Bentley
317364ca7e pep8 2016-04-13 20:15:53 +01:00
Tim Bentley
6bac0cee26 pep8 2016-04-13 19:39:39 +01:00
Tim Bentley
19d120de1b Head and review comments 2016-04-13 19:38:49 +01:00
suutari-olli
cc9f89bfdb Splitted mail adress away expection error text, now inserting it with %s 2016-04-13 19:49:30 +03:00
suutari-olli
feb549a8e7 - Capitalized references to plugin/panel names in settings. (Live etc.)
- Added: self.BackgroundColorColon = translate('OpenLP.Ui', 'Background color:') to uistrings.
  This is now used in players tab, alerts tab and images tab.
- Added space before "s" and "pt" units.
2016-04-13 19:14:35 +03:00
suutari-olli
7219ba22e6 Added: self.BackgroundColorColon = translate('OpenLP.Ui', 'Background color:')
to uistrings, background color label now uses this.

This same string will be used several times in this branch:
https://code.launchpad.net/~suutari-olli/openlp/ui-messages-part-1/+merge/291628
2016-04-13 18:50:04 +03:00
suutari-olli
5fa0687762 Changed spelling of live back to Live (Capitalized) on settings. 2016-04-13 17:22:56 +03:00
suutari-olli
2f6870ed8a Merged trunk on 13.4.16 2016-04-13 17:12:28 +03:00
suutari-olli
bb43a6b417 Merged trunk on 13.4.16 2016-04-13 00:12:49 +03:00
suutari-olli
010c7b6fb4 Merge to trunk on 13.4.16 2016-04-13 00:01:58 +03:00
Tim Bentley
65e84a317e fix tests 2016-04-12 22:00:18 +01:00
Tim Bentley
01762951d0 head 2016-04-12 21:26:43 +01:00
Tomas Groth
9628339b4c trunk 2016-04-12 22:05:58 +02:00
suutari-olli
42b72ab3a6 Added back the last missing * 2016-04-12 06:08:47 +03:00
suutari-olli
4af785bf1d - Re-did some of the changes.
- Fixed Powerpoint to PowerPoint in presentation controllers and one error.
2016-04-12 05:29:10 +03:00
suutari-olli
6273cc911d Merged trunk on 11.4.2016 2016-04-11 00:17:03 +03:00
Tomas Groth
2aeb7f9e6f trunk 2016-04-10 22:24:07 +02:00
suutari-olli
cb421a8fd7 In this commit:
- Cleanup of the scripture reference error. (Now using full names, removed one un-needed line)
- Added more comments
- Removed def get_verses_combined, now triggering the error message on mediaitem based on search mode instead.
2016-04-10 21:50:22 +03:00
suutari-olli
dafbc3f054 In this commit:
- Removed version number from main window name
- Removed version number from remote window names
- Reworked the traceback error message (New text, added margin to right)
2016-04-10 02:51:41 +03:00
suutari-olli
c0311ed8c9 Noticed the identification for scripture reference error got messed at some point, fixed it.
Also renamed "Interval" to "gap" to make constructing the message less painful.
2016-04-10 00:08:49 +03:00
suutari-olli
e233631c3d Merge to trunk on 9.4.16 2016-04-09 23:06:10 +03:00
suutari-olli
34231003ce Noticed "No bibles available" was defined 3 times > Moved it to uistrings.
Added "Must have bibles" condition for other error messages in combined search.

To do:

Add a setting for controlling visibility of the no results error, it may be of annoyance.
Tests...
2016-04-09 17:43:02 +03:00
suutari-olli
f57f335b0f Fixed the broken import statements. 2016-04-08 18:03:05 +03:00
suutari-olli
728ffd7205 Merge to trunk on 8.4.16
You will need to 
manually delete the __pycache__ directory inside openlp_core_utils.
run "bzr resolve openlp_core_utils"
then you will be allowed to commit the changes.

also resolved conflict for advancedtab.py
2016-04-08 16:46:45 +03:00
suutari-olli
76aa114ff0 This now moves old settings from advanced tab into the new settings. 2016-04-08 16:40:34 +03:00
Tim Bentley
483c12d779 vlc tests pass 2016-04-07 19:14:10 +01:00
Tim Bentley
a41d86cb7c Head 2016-04-06 06:08:44 +01:00
suutari-olli
54f720e5a2 In this merge:
Splitted scripture reference error into small pieces, built error from them.
This still needs to be moved away from uistrings.py
2016-04-06 07:09:35 +03:00
Tim Bentley
31a2b37a88 pep8 2016-04-05 21:07:57 +01:00
Tim Bentley
6729ea9d19 move file 2016-04-05 19:33:50 +01:00
Tim Bentley
2df1169ea8 fix tests 2016-04-05 19:11:42 +01:00
Tim Bentley
3e8e72be85 move methods and clean up 2016-04-05 18:30:20 +01:00
Tim Bentley
b7da0be71e move method 2016-04-05 18:10:51 +01:00
Tim Bentley
f19280c88d move method 2016-04-05 17:58:29 +01:00
Tim Bentley
5dd4b8e386 Pep8 2016-04-04 21:27:33 +01:00
Tim Bentley
85587ce2f3 uno commands 2016-04-04 21:14:04 +01:00
Tim Bentley
98a021b89f Pep8 2016-04-04 21:03:19 +01:00
Tim Bentley
dffba47b44 move version checker 2016-04-04 20:53:54 +01:00
suutari-olli
447f7a9ead Merging to trunk on 3.4.16 2016-04-03 23:58:06 +03:00
Tim Bentley
a0bfc7d069 move methods 2016-04-03 20:44:09 +01:00
Tim Bentley
6fa0f07e32 head 2016-04-03 20:07:09 +01:00
Tim Bentley
d7e2e0e839 remove import 2016-04-03 20:06:48 +01:00
ian@knightly.xyz
a0e004b68f Adds the ability to choose a maximum height for non-text slides in the list-preview-widget in slide controllers. See branch description for further details. May require sanity check.
Changes since last proposal:
- Fixed copy-paste error in comments
- Shifted common test code into setup function as recommended.
- Testing max height doesn't exceed settings spin-box (as requested) not changed as any positive int is valid & spin-box values are arbitrary. (See reply to diff comments on r2630 for ...

bzr-revno: 2636
Fixes: https://launchpad.net/bugs/891860, https://launchpad.net/bugs/1550856
2016-04-03 16:55:55 +01:00
suutari-olli
1739492520 This branch includes the following UI string changes:
These changes mainly take place on mainwindow.py but few other strings are changed as well.

Media Manager, Projector Manager, Service Manager, Theme Manager, Preview Panel and Live Panel. 
have been renamed to:  ”Library, Projectors, Service, Themes, Preview and Live."
Tooltips/texts for these have been changed.

In "Configurate OpenLP":

- Changed typing for all labels to lowercase 
(Expect for starting videos automatically, that string may needs to be changed once bug related to that is fixed)

- Removed "Manager" from some strings since it's no longer used.

- Added dots to various tooltips / descriptions.

In advanced tab: Number of recent files to display: has been changed to Number of recent Service files to display:
2016-04-03 18:54:39 +03:00
Tim Bentley
7424d6be8b More refactoring
bzr-revno: 2635
2016-04-03 16:54:13 +01:00
suutari-olli
e8e893c842 Changed Live to live (lowercaps) for controlling this setting to match other settings. 2016-04-03 14:26:48 +03:00
6bca1fc455 Fix decode() string error in about text - fix qt try/except error in projector 2016-04-01 20:04:15 -07:00