Commit Graph

655 Commits

Author SHA1 Message Date
Tim Bentley 6876bbd531 Clean up Apis and remove duplicate files.
Add new API to help testings
2020-05-16 06:11:21 +00:00
Tomas Groth da373ef1d5 Fix a traceback to wrongful path to string convertion 2020-05-10 22:04:13 +02:00
Tomas Groth 937c6c3e81 New service file format 2020-05-07 05:18:37 +00: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
Daniel 48901cecfc always return a list when searching in the api
It is not a error when no search results are returned, it is to be expected. The api should return a empty list to show that there were no results (status code 200 OK) rather than a 400 (BAD REQUEST).
2020-03-11 13:22:37 +13: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
Tim Bentley fa97550301 Migrate more plugins for settings
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-26 17:12:45 +00:00
Tim Bentley debbced7e3 Update the plugin classes and remove the uneeded code
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-18 21:00:13 +00:00
Tim Bentley 6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Tim Bentley 63f67f6e17 Migrate setting definitions to Core from plugins
Signed-off-by: Tim <tim.bentley@gmail.com>
2019-12-30 08:42:49 +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
Phill dd0d531be3 Fix images 2019-05-23 20:33:46 +01:00
Phill 5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Phill 15f3b0fcca Seperate some fixes out of annother branch 2019-05-04 10:13:29 +01:00
Bastian Germann be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Philip Ridout eb115a0ad4 More pathlib clean ups 2019-03-17 10:01:52 +00:00
Tomas Groth fa4ec96054 Updated to 2019 in copyright headers 2019-02-14 16:09:09 +01:00
Tim Bentley f1c7664125 Merge media trunk and fix up 2019-01-27 14:42:23 +00:00
Tomas Groth e7526f1e59 merge trunk 2018-10-30 20:46:55 +01:00
Tim Bentley 26a9b2430d Head 2018-10-27 07:00:51 +01:00
Raoul Snyman ec479e589b Fix a bunch of linting issues (which should also help resolve other circular dependencies) 2018-10-26 16:15:31 -07:00
Tim Bentley 20dc4f81ed fix plugin loading 2018-10-26 19:30:59 +01:00
Tim Bentley 59c5c7bed7 more cleanups 2018-10-25 17:37:12 +01:00
Philip Ridout a867c54b94 HEAD 2018-10-24 22:02:06 +01:00
Tim Bentley bc7b772ed2 head 2018-10-20 15:43:33 +01:00
Tim Bentley 1d4a414240 more state stuff 2018-10-20 15:41:32 +01:00
Raoul Snyman aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Raoul Snyman 0c8156b4c4 Loading and saving of screens is working; Refractored retranslateUi => retranslate_ui 2018-09-11 22:43:27 -07:00
Kyle Russell c366e58683 Improve usability of image plugin choosegroupform
In order to add an image to an existing group when no group was preselected,
the user must currently choose the existing group name from the comboxbox
and also select the Existing Group radio button.  It should be assumed that
by selecting a group name from the combobox, the user intendeds to add the
image to an existing group, and the accompanying radio button should
automatically be selected.  This reduces the number of required clicks, and
the likelihood of not actually adding the image to the correct group.

Likewise, if a user enters text into the New Group field, the dialog
should assume that the user's intent is to create a new group and auto
select the appropriate radio button.

Also removes some choosegroupdialog specific component logic from mediaitem,
since it's now covered by the choosegroupdialog implementation.  Better
encapsulation, and improves testability. (Testing that the existing group
radio button was selected when choosedialogform was initialized with a
preselected group requires much more effort when the radio button selection
logic spanned two components.)

Adds simple test cases for the scenarios described above.
2018-08-29 23:11:30 -04:00
Simon Hanna aa4a57a2bf Fix typo 2018-08-26 09:28:43 +02:00
Simon Hanna a4c1e306b5 Remote imports from openlp/core/lib/__init__.py and update other files accordingly 2018-08-25 16:08:19 +02:00
Tim Bentley be1d7c687b More icons 2018-06-02 07:37:31 +01:00
Tim Bentley 6f9d662064 Yet more updates 2018-05-08 20:45:34 +01:00
Tim Bentley 44bb70122e more bits 2018-04-22 07:59:35 +01:00
Tim Bentley faee3109e5 more 2018-04-13 19:54:42 +01:00
Tim Bentley 4760343899 fix up location of icons 2018-04-10 20:26:56 +01:00
Tim Bentley d67379c622 More icons and fixes 2018-04-07 20:41:00 +01:00
Tim Bentley 41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley 5495ba8cf3 plugins done and tested 2017-12-28 08:08:12 +00:00
Phill Ridout bd2efc8ec0 PEP8 2017-11-21 07:23:02 +00:00
Phill Ridout 9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
Phill Ridout 66bae6716c chage media replace background context icon, add replace and reset actions to image context menu
Fixes: https://launchpad.net/bugs/1650358
2017-11-14 17:35:37 +00:00
Phill Ridout 4e9fcf2e50 Sort media items by natural order
Fixes: https://launchpad.net/bugs/1625087
2017-11-13 21:40:49 +00:00
Phill Ridout fe5430e157 HEAD 2017-10-27 22:11:29 +01:00
Raoul Snyman d5ab3340eb Move widgets to a widgets module 2017-10-23 15:09:57 -07:00
Philip Ridout 779e95b523 Fix for samuel_m issue and bug #1672229 2017-10-08 18:33:03 +01:00
Raoul Snyman b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Tim Bentley 9d6bd78a70 head 2017-09-26 21:34:47 +01:00