Commit Graph

589 Commits

Author SHA1 Message Date
Tim Bentley 0e7dfb9fc4 Combine patch from previous tree which I messed up. Here is a summary of the changes.
444. By Tim Bentley 23 hours ago

    Add new event for Theme Loading
443. By Tim Bentley 23 hours ago

    Add Eventing after Themes loaded to tell plugins the themes have changed
442. By Tim Bentley on 2009-04-04

    Store Theme name in list for correct display
441. By Tim Bentley on 2009-04-04

    Add ThemeManagerDialog
    More Rendering improvements
440. By Tim Bentley on 2009-04-04

    Add Themes to Bible Tab and default values
439. By Tim Bentley on 2009-04-04

    Add rendering for Circles and amend XML schema accordingly
438. By Tim Bentley on 2009-04-04

    Renderer now supports linear gradients correctly
    Update XML to include direction
    Add Booleans instead of 0/1 to XML schema
437. By Tim Bentley on 2009-04-03

    More ThemeManager changes
    Fix Rendering and theme handling
    Generate PNG theme on conversion
436. By Tim Bentley on 2009-04-01

    Fix up Theme XML code to work with strings and files.
    Fix Render.py to work with new XML schema
435. By Tim Bentley on 2009-04-01

    Import version 2 xml and build object.
2009-04-06 19:45:45 +01:00
Tim Bentley 95409076d0 Update Render.py to handle footers to slides if required.
Values will eventually come from Theme.
2009-03-29 17:51:42 +01:00
Tim Bentley 4ac2ed4fd6 Update Render to use Qgradient instead of home built code.
Colors hard coded for now.
2009-03-29 15:38:23 +01:00
Tim Bentley 8aa67b5a8b Fix bugs around ThemeManager
Add themexmlhandler to manage xml marshalling for themes
2009-03-28 20:12:22 +00:00
Tim Bentley 68501479d7 Add Theme Preview to ThemeManager 2009-03-28 07:01:00 +00:00
Tim Bentley 1e32183a2a Add Import functionality to Theme Manager 2009-03-28 05:43:30 +00:00
Tim Bentley 381afda908 Fixed duplicate Image plugin loading
Fixed error in Custom Plugin stopping it load
2009-03-25 20:30:48 +00:00
Tim Bentley e2715e0358 More corrections following revert 2009-03-24 06:07:03 +00:00
Tim Bentley ddde031adb Final changes following a revert and removal.
Finish plugin.py
Add getThemes hook to thememanager.py
2009-03-23 20:18:06 +00:00
Tim Bentley 66f13e5ede Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins
Add event Manager code to plugins and define some listners
Revert changes to Alert Form.
2009-03-23 19:17:07 +00:00
Tim Bentley 62f48a33f2 Continue fixing the EventManager usage
Use Mainwindow to trigger the loading of the themes by the ServiceManager
2009-03-22 20:20:45 +00:00
Tim Bentley 6a0eaa2cfe Clean up Plugin Interface to be more Generic
Clean up Mainwindow for adding plugins
Add ThemeManager to Main window and pass to plugins 
Add event Manager code to plugins and define some listners
Update AlertDialog to send message and allow text to be entered
2009-03-22 07:13:34 +00:00
Tim Bentley b8c0ee1d70 Add ThemeManager and EventManager 2009-03-22 07:11:05 +00:00
Tim Bentley be3725a6fe Remove PluginUtils as no longer used all references migrated
bzr-revno: 426
2009-03-19 17:36:06 +00:00
Tim Bentley 1a8ab17bbb Update Presentation Plugin to match rest of the plugins
Fix style errors as discovered

bzr-revno: 425
2009-03-19 17:31:33 +00:00
Tim Bentley ca32157e9c Removal of Plugin utils continues
bzr-revno: 424
2009-03-18 17:19:30 +00:00
Tim Bentley d13b2efc22 Start Custom Service Item
Fix Image config problems

bzr-revno: 423
2009-03-17 05:05:04 +00:00
Tim Bentley 4bbce39f35 Fix up Bible Plugin to new standards.
bzr-revno: 422
2009-03-16 17:33:51 +00:00
Tim Bentley e99239ef12 Big cleanup.
Custom and Video Plugins up to latest standard (MVC)
Config now working with new handles Video and Images.
Moved strings from "" to u'' where found.

bzr-revno: 421
2009-03-15 19:31:33 +00:00
Tim Bentley 0d33ba5668 Add delete option to Custom plugin
bzr-revno: 420
2009-03-15 06:35:07 +00:00
Tim Bentley 55bd3cc772 Fix errors in redisplay of data
Remove cut and paste rubbish

bzr-revno: 419
2009-03-14 08:11:25 +00:00
Tim Bentley f1163003e6 Fix screen refresh returning from Edit dialog.
bzr-revno: 418
2009-03-14 07:09:10 +00:00
Tim Bentley 016380bc41 Clean up UI and add translation code.
bzr-revno: 417
2009-03-14 07:08:40 +00:00
Tim Bentley 268f6361b5 Fix up quote problems in SongXMLHandler
Add MVC to Custom
Add Update to Custom
Remove xml1.py as has served it's purpose

bzr-revno: 416
2009-03-14 07:08:15 +00:00
Raoul Snyman eaa1aa81fd Fixed Tim Bentley's problem with the loading sequence of modules.
Changed some names and quotes in xml1.py.

bzr-revno: 415
2009-03-13 17:49:51 +00:00
Tim Bentley b525734702 Fix Unicode error on database write
Try to add TextItemData again

bzr-revno: 414
2009-03-13 16:00:14 +00:00
Tim Bentley 6224795661 Add Classes for songxml, video tidy up and custom plugins
bzr-revno: 413
2009-03-13 06:13:11 +00:00
Tim Bentley 71a3ac4c78 Start to add data to database
bzr-revno: 412
2009-03-13 06:12:22 +00:00
Martin Thompson 90a91aa788 Updated tests to pass again.
Found some device dependent problems in the tests of the theme
rendering (when monitor resolution changes, so does font size (in
pixels)). This meant that the tests failed (as they are comparisons
with golden-bitmaps). Have updated the tests to do a more "approximate
comparison", with a low tolerance.  This is slow currently, could do
with optimising.

bzr-revno: 411
2009-03-12 20:19:24 +00:00
Martin Thompson 1d9569236d nothing
bzr-revno: 410
2009-03-12 20:18:14 +00:00
Martin Thompson f1a6057b08 Removed some commented out code
bzr-revno: 409
2009-03-12 20:17:31 +00:00
Tim Bentley 21bfa234e8 Add SongXMLHander Class
Tidy up OSIS Bible importer
Start to move Video Plugin to mediaitem and remove PluginUtils

bzr-revno: 408
2009-03-12 19:52:37 +00:00
Tim Bentley cf2067fb61 Fix Custom plugin to add it self to config if not present.
Correct spacing error in code.

bzr-revno: 407
2009-03-11 06:39:11 +00:00
Tim Bentley 5c3136fdbe Fix manager to stop accessing config
bzr-revno: 406
2009-03-11 06:28:48 +00:00
Tim Bentley 8b635e6cb5 Open up database
bzr-revno: 404
2009-03-11 06:27:16 +00:00
Raoul Snyman 051b314da8 Fixed the displayResults method of SongMediaItem to display 1 song + all authors, rather than an instance of a song for each author of that song.
Fixed up the topics management dialog a bit.
Corrected the spacing on the eventreceiver.py file.
Corrected the calling of the receiver to use the static methods without creating an instance of the Receiver class each time.

bzr-revno: 403
2009-03-10 16:46:25 +00:00
Raoul Snyman 86bde695ea Some tweaks to the songs plugin.
bzr-revno: 402
2009-03-09 18:47:37 +00:00
Raoul Snyman 735527d558 Moved code out into SongMediaItem
bzr-revno: 401
2009-03-09 12:49:55 +00:00
Scott Guerrieri 34ace15939 Fixed a down arrow functionality issue on the editcustomform.py
bzr-revno: 400
2009-03-09 02:16:38 +00:00
Raoul Snyman 6306be9eda Added the long lost media item!
bzr-revno: 399
2009-03-08 20:02:50 +00:00
Raoul Snyman f844f696a1 Moved image media manager item out into it's own class.
bzr-revno: 398
2009-03-08 12:41:07 +00:00
Tim Bentley 904212c587 Add slide swapping to dialog
Fixed Context menu

bzr-revno: 397
2009-03-08 06:36:05 +00:00
Raoul Snyman 036dfef2eb Added the verse editing form and modified the song editing form to accommodate verses.
bzr-revno: 396
2009-03-07 21:38:59 +00:00
Tim Bentley bd7577a0f1 Fix field names and more state changes
bzr-revno: 395
2009-03-07 20:36:12 +00:00
Tim Bentley 710b60bc19 Fix Updates to window
bzr-revno: 394
2009-03-07 17:45:11 +00:00
Tim Bentley 233e0c25de Update state machine for buttons.
bzr-revno: 393
2009-03-07 17:13:36 +00:00
Tim Bentley b5550abda9 Add new features and edit validation
Text can be added , cleared and edited.

bzr-revno: 392
2009-03-07 17:13:19 +00:00
Tim Bentley 749590386d Correct classpath errors with images
bzr-revno: 391
2009-03-07 09:21:27 +00:00
Tim Bentley 6304f73b8e Finish adding custom plugin bits
bzr-revno: 390
2009-03-07 09:20:56 +00:00
Tim Bentley 7badfb650f Initial Release of Custom plugin.
All bits present but does not work!

bzr-revno: 389
2009-03-07 09:20:26 +00:00
Tim Bentley b32703e845 More bible fixes after move
Method name standardisation
OSIS bible import clean up
OSIS bible import parser improvements.

bzr-revno: 388
2009-03-07 06:59:08 +00:00
Tim Bentley d559adcbe6 Update copyright
bzr-revno: 387
2009-03-07 06:58:39 +00:00
Raoul Snyman 0e28795da2 Moved some files in the image plugin.
bzr-revno: 386
2009-03-06 23:41:22 +00:00
Raoul Snyman 6c78f9b0fe Moved some files into the relevant module.
bzr-revno: 385
2009-03-06 19:02:18 +00:00
Raoul Snyman f56c36787c Added the lib module in the images plugin.
bzr-revno: 384
2009-03-06 18:58:37 +00:00
Tim Bentley 81a7a142e4 Fix new chapter code in presentation logic
bzr-revno: 383
2009-03-06 18:00:52 +00:00
Tim Bentley 4ad8b74167 Fix up Bible bugs following addition of Tabs and Move code split
bzr-revno: 382
2009-03-06 07:18:30 +00:00
Tim Bentley 980ed505e2 Tidy up Video and Bible tab code.
bzr-revno: 381
2009-03-06 06:05:01 +00:00
Tim Bentley 6af1637550 Config for bibles
bzr-revno: 380
2009-03-05 20:58:34 +00:00
Raoul Snyman c9ef88cfdc Fixed up the settings dialog and the alerts tab a bit.
bzr-revno: 379
2009-03-05 20:31:17 +00:00
Tim Bentley dffcec7ca3 Change Tab load code to base class instead of plugins
Code VideoTab to save and reload value

bzr-revno: 378
2009-03-05 18:16:10 +00:00
Raoul Snyman 8533912cea Fixed the main form splitter problem, set the margins and spacing on some of the layouts in the bible media item.
bzr-revno: 377
2009-03-05 10:52:55 +00:00
Martin Thompson c4c3fb4851 Tidied
bzr-revno: 376
2009-03-04 21:57:18 +00:00
Martin Thompson 3370a7f7c1 Pulled select row helper function out
bzr-revno: 375
2009-03-04 21:56:50 +00:00
Martin Thompson 940eb089e9 Merging multiple items done
bzr-revno: 374
2009-03-04 21:56:27 +00:00
Martin Thompson 5660ef45fd A few more tests
bzr-revno: 373
2009-03-04 21:55:50 +00:00
Martin Thompson 068f963077 First test of service manager works
bzr-revno: 372
2009-03-04 21:55:24 +00:00
Martin Thompson cf364ae208 Removed list with previews again
bzr-revno: 371
2009-03-04 21:54:49 +00:00
Martin Thompson bb95123534 Updating
bzr-revno: 370
2009-03-04 21:54:26 +00:00
Martin Thompson b662b16c6f Still doing controllers, but missed this one
bzr-revno: 369
2009-03-04 21:54:00 +00:00
Martin Thompson f1f235efac Started looking at slide controllers again
bzr-revno: 368
2009-03-04 21:53:31 +00:00
Martin Thompson 2be33e6c66 Pre merge from SVN
bzr-revno: 367
2009-03-04 21:53:09 +00:00
Martin Thompson bef8369e86 Started splitting out the service manager
bzr-revno: 366
2009-03-04 21:52:32 +00:00
Tim Bentley c451048355 Complete Alerts tab state saving , and reloading.
bzr-revno: 365
2009-03-04 19:55:37 +00:00
Tim Bentley 2ce0aafcc9 Update alerttab to save font and color and provide preview.
bzr-revno: 364
2009-03-04 19:25:27 +00:00
Tim Bentley d924329cf0 Add persistance to Alerts Tab and default colors
bzr-revno: 363
2009-03-03 17:21:47 +00:00
Tim Bentley 6ff73a17b8 Tidy up more code and add color to alerts font
bzr-revno: 361
2009-03-02 22:37:03 +00:00
Tim Bentley 598509ff60 Tidy ups after merge
bzr-revno: 360
2009-03-02 22:36:42 +00:00
Tim Bentley 67ec9c9ee5 Correct the Config name.
bzr-revno: 359
2009-03-02 22:36:06 +00:00
Tim Bentley 2faca83bd9 More Fixes and clean ups
bzr-revno: 358
2009-03-02 22:35:32 +00:00
Raoul Snyman 86115ec964 Plugins pass themselves as the parent to MediaManagerItem to facilitate easier communication between each plugin's set of objects.
bzr-revno: 357
2009-03-02 22:12:14 +00:00
Raoul Snyman b2c51566b4 Added the Bible Media Item, moved all the media manager code out to the bible media item.
bzr-revno: 356
2009-03-02 21:57:49 +00:00
Tim Bentley fa1f2a8ec3 More updates and add config to settingstab.
bzr-revno: 355
2009-03-01 20:21:57 +00:00
Raoul Snyman 744234a183 Updated some funky layouts on the settings tabs.
bzr-revno: 354
2009-03-01 14:36:49 +00:00
Tim Bentley 1744d21a82 Settings clean ups and fixes.
Added Video and Bible.
Cleaned up About and Alert dialogs.
Removed old unrequired code

bzr-revno: 353
2009-03-01 09:13:27 +00:00
Raoul Snyman a0d5bb100c Added a songs settings tab.
bzr-revno: 352
2009-02-28 23:31:24 +00:00
Raoul Snyman 1c47f553f3 Rearranged the settings tab system to work the same way as the media manager item system.
bzr-revno: 351
2009-02-28 23:19:45 +00:00
Tim Bentley 3477003106 Rename settingstab to settingstabitem
bzr-revno: 350
2009-02-28 11:18:38 +00:00
Tim Bentley 5e67ab6dc9 Move bible settings to plugin
rename settings to settingsform to keep to the standard naming

bzr-revno: 349
2009-02-28 11:18:04 +00:00
Tim Bentley fce0085b90 Add General Tab and Create Virtual plugin settings
bzr-revno: 348
2009-02-28 08:10:09 +00:00
Tim Bentley c326d35bdb Start of the Settings dialog development.
Add infrastructure to load plugin hooks to settings dialog
Amend Video to add settings tab.

bzr-revno: 347
2009-02-28 07:23:48 +00:00
Tim Bentley 45cd4c181e Final tidy up for bible plugin for now.
bzr-revno: 346
2009-02-24 21:00:00 +00:00
Tim Bentley b05e609a41 Tidy up search code some more.
bzr-revno: 345
2009-02-24 20:24:01 +00:00
Tim Bentley db2dd4cd87 Fix load bugs on 1st time for bible chapter.
bzr-revno: 344
2009-02-23 20:56:54 +00:00
Tim Bentley 814c9ad79a Fix up book search to work with abbreviations
bzr-revno: 343
2009-02-23 19:46:24 +00:00
Tim Bentley 8a01d651c0 Update Advanced Search again!
bzr-revno: 342
2009-02-23 19:03:26 +00:00
Tim Bentley 5fc7e69cb2 Fix up more errors in advanced search code
bzr-revno: 341
2009-02-22 07:48:38 +00:00
Tim Bentley 05009dc82f Fix up copyright year.
Yes I was bored ;-)

bzr-revno: 340
2009-02-22 07:44:08 +00:00
Tim Bentley 78a3b04ffd Update HTTP fetch to get chapter name
Replace chapter name if HTTP fetch.  Add Testaments and abbreveations to database.
More field name tidy ups and comments

bzr-revno: 339
2009-02-21 20:40:38 +00:00
Tim Bentley 468f6cc256 Fix up after merge clash
bzr-revno: 338
2009-02-21 20:02:33 +00:00
Tim Bentley ec6c106009 Change config names
bzr-revno: 337
2009-02-21 19:49:46 +00:00
Martin Thompson 603ac29b90 Moved toolbars out into separate class, as they are used by more than Media Manager items
Move Service Manager into own class so it can do some real work

bzr-revno: 336
2009-02-21 19:23:54 +00:00
Martin Thompson 851c669e8b Got screen to update after adding and removing files
Added tooltip of entire path name

bzr-revno: 335
2009-02-20 21:16:01 +00:00
Martin Thompson f0177bdbda Image plugin previews images!
bzr-revno: 334
2009-02-20 21:15:42 +00:00
Martin Thompson 8a8f5da5a7 Trying to get a nice image selector going
bzr-revno: 333
2009-02-20 21:15:14 +00:00
Martin Thompson 8816b6c2dc About to make some big changes to the imageplugin...
bzr-revno: 332
2009-02-20 21:14:52 +00:00
Martin Thompson ad48e1f4e6 Allowed slide contrllers to be passed to the plugins. It's broken at
the moment though!

bzr-revno: 331
2009-02-20 21:13:04 +00:00
Tim Bentley d1a6cc585b Tidy up code and comments
bzr-revno: 330
2009-02-20 21:03:45 +00:00
Tim Bentley e54f83a228 Fix list box and naming
bzr-revno: 329
2009-02-20 21:03:24 +00:00
Tim Bentley 33ac1c3d30 fix state machine for fields
bzr-revno: 328
2009-02-20 17:11:10 +00:00
Tim Bentley 1f28305ac3 Clean up code and simplify.
bzr-revno: 327
2009-02-20 17:10:53 +00:00
Tim Bentley 336cdd9ae0 Update Screen Layouts
bzr-revno: 326
2009-02-20 17:10:30 +00:00
Raoul Snyman 58606e2563 Updated look and feel of the Edit Song dialog.
Changed the form.show() to form.exec_() for dialogs.
Added the code for the (c) button.

bzr-revno: 325
2009-02-19 22:25:58 +00:00
Tim Bentley fae1490228 Add save and restore for Settings tab in config.
bzr-revno: 324
2009-02-19 18:36:05 +00:00
Tim Bentley 338f573ed1 Fix dialogs to be Qwidget instead of Qdialog
bzr-revno: 323
2009-02-19 18:35:37 +00:00
Tim Bentley ae61afa77d Code tidy ups and start to get ready for Preview
bzr-revno: 321
2009-02-17 21:31:46 +00:00
Raoul Snyman e67c1868e6 Tidied up and fixed up the song editing dialog.
bzr-revno: 320
2009-02-17 21:01:27 +00:00
Tim Bentley 71f72d5068 Fix Combo Box loading errors
Finish Crosswalk Combon Box and add all bibles
Add bibleid to meta data

bzr-revno: 319
2009-02-15 19:11:55 +00:00
Tim Bentley 19395e6880 Update files to provide list of values for bibles
Update code to read from files in code base and not .openlp

bzr-revno: 318
2009-02-15 19:11:27 +00:00
Tim Bentley 649208afe5 Add settings table for bibles
Tidy up layouts for bible tab.

bzr-revno: 317
2009-02-15 19:10:57 +00:00
Tim Bentley fa3a8c1dfc Add Settings to Bible Tab
bzr-revno: 316
2009-02-14 13:52:23 +00:00
Tim Bentley 3421dac10e Fix CVS Import error when finishing
bzr-revno: 315
2009-02-14 13:52:05 +00:00
Tim Bentley 17706c663b Remove fields unused fields from import screen
bzr-revno: 313
2009-02-14 08:33:20 +00:00
Tim Bentley 94c66a12db Fixed File buttons on Bible Import
Fixed Proxy with HTTP bible
Save Proxy details in config

bzr-revno: 312
2009-02-13 20:52:36 +00:00
Tim Bentley 3202f28c1f Fix Bible Search and start OOS selection
bzr-revno: 311
2009-02-13 05:43:10 +00:00
Tim Bentley 5019c7296e git svn test
remove whitespace

bzr-revno: 310
2009-02-12 18:12:09 +00:00
Tim Bentley 60c1729bc1 Tidy up code and change bible search results.
Add option not to clear results to allow same search on different versions.

bzr-revno: 309
2009-02-11 20:52:06 +00:00
Tim Bentley ee93df9b08 OOPS missed it
bzr-revno: 308
2009-02-11 19:08:18 +00:00
Tim Bentley feca659f11 Fix import painting and allow import to Cancel
bzr-revno: 307
2009-02-11 19:07:34 +00:00
Tim Bentley fcc9b37df6 More fixes and UI updates
bzr-revno: 306
2009-02-11 18:33:54 +00:00
Martin Thompson 55059c5d52 Remove extraneous file
bzr-revno: 305
2009-02-10 21:12:51 +00:00
Martin Thompson e4b91d5e5d Oops, file missing in last commit
bzr-revno: 304
2009-02-10 21:10:09 +00:00
Martin Thompson 2c85368ee2 Split slide controllers out - but now they don't size properly...
bzr-revno: 303
2009-02-10 20:47:44 +00:00
Martin Thompson f758850865 Started adding stuff for slide controller
bzr-revno: 302
2009-02-10 20:47:16 +00:00
Martin Thompson 74da30fbf0 Started adding a previe to the bottom
bzr-revno: 301
2009-02-10 20:46:21 +00:00
Tim Bentley 557114fd7f Add distributed event handling
Added display updates when Bibles load
Try to fix the creeping progress bar.

bzr-revno: 299
2009-02-08 15:25:00 +00:00
Tim Bentley 49ed24a69b Move QFileInput to plugins.
bzr-revno: 298
2009-02-05 19:18:43 +00:00
Tim Bentley 11e3d43caf Fix merge problem.
Song search works again
Bible import fixes

bzr-revno: 297
2009-02-05 18:27:51 +00:00
Raoul Snyman 3f0ba7a3ba Added an initial ServiceItem, plus a few minor changes.
bzr-revno: 296
2009-02-04 20:16:56 +00:00
Tim Bentley ffeada555d Add error messaging for missing search parameters
bzr-revno: 295
2009-02-03 19:13:33 +00:00
Tim Bentley fdf66b3bd5 More bible fix ups and added functionality
bzr-revno: 294
2009-02-02 19:54:38 +00:00
Tim Bentley e00e328ac1 fix double load of manager
bzr-revno: 293
2009-02-02 19:20:59 +00:00
Raoul Snyman 6ea70e92a1 Couple of changes to the Songs plugin classes - trying to get SQLAlchemy to work.
bzr-revno: 292
2009-02-01 21:12:18 +00:00
Tim Bentley bd510467d5 More search updates and corrections.
bzr-revno: 291
2009-01-24 19:58:30 +00:00
Tim Bentley 44216e6a6a Update bible register dialog - Register only 1 bible
Register HTTP
Get HTTP verse selection working (part 1)
More Orm migrations.

bzr-revno: 290
2009-01-24 08:06:36 +00:00
Raoul Snyman 4071118398 Trying to get around the problem of metadata not being bound to an engine.
bzr-revno: 289
2009-01-21 08:52:03 +00:00
Martin Thompson 4efdc4e274 Only searches down one directory level for Plugin-subclasses
bzr-revno: 288
2009-01-20 21:20:05 +00:00
Tim Bentley cb5407c9d3 Missed from commit
bzr-revno: 287
2009-01-20 19:51:20 +00:00
Tim Bentley 57fa671538 Big bible cleanup!
bzr-revno: 286
2009-01-20 19:50:37 +00:00
Raoul Snyman b7b594ac49 Removed unnecessary files.
bzr-revno: 285
2009-01-17 14:54:16 +00:00
Raoul Snyman 11bede8fd8 Updating the SongsManager to use SQLAlchemy
bzr-revno: 284
2009-01-17 13:58:16 +00:00
Tim Bentley 7022a05316 Add form validation - start of
bzr-revno: 283
2009-01-12 19:31:29 +00:00
Tim Bentley cc0ca326c3 Clean up files and correct mapper issues
Update Author Delete UI State

bzr-revno: 282
2009-01-11 08:51:43 +00:00
Tim Bentley 7397c42ac4 Upgrade Songs Database to version 2
Change SQL layer to SQLALChemy
Fix the UI to use new layer
More changes to editsong dialog
Force suffix of sqlite

bzr-revno: 280
2009-01-10 08:33:31 +00:00
Raoul Snyman 14a9b67085 Added some SQLAlchemy models.
bzr-revno: 277
2009-01-06 21:48:31 +00:00
Scott Guerrieri 7d76349d3d Changed script to be os independent and pure python sqlite calls
bzr-revno: 276
2009-01-06 20:52:10 +00:00
Carsten Tinggaard 9887764d51 Refactored+update part 1; from UpperCaseWords to lower_case_words
Added attribute songid and changed names

bzr-revno: 275
2009-01-06 20:10:03 +00:00
Tim Bentley 41977dad1c More Tidyups
bzr-revno: 274
2009-01-06 19:57:03 +00:00
Tim Bentley 60afb882a9 not needed
bzr-revno: 273
2009-01-06 19:05:32 +00:00
Tim Bentley 89a886d7b3 bible cleanups
bzr-revno: 272
2009-01-06 19:04:54 +00:00
Tim Bentley a6734c885f more changes
bzr-revno: 271
2009-01-06 18:59:47 +00:00
Tim Bentley 1d2818355f Forgotton on last commit
bzr-revno: 270
2009-01-06 18:58:00 +00:00
Tim Bentley d6462a6ff4 Update UI
Fix database name retrival
Use ORM for get_Authors method.

bzr-revno: 269
2009-01-06 18:36:54 +00:00
Tim Bentley c9c3317483 Add debugging to help with seach results
bzr-revno: 268
2009-01-05 18:18:34 +00:00
Carsten Tinggaard b3fb6aa182 Corrected the way application data folder is retrieved on Windows XP and Vista.
Using LinRegistry on Windows

bzr-revno: 267
2009-01-05 12:33:15 +00:00
Carsten Tinggaard b8fe3369b6 Corrected usage of types module
bzr-revno: 266
2009-01-05 12:31:32 +00:00
Tim Bentley 0e05dc79f8 Add Author Caching to stop excess database hits
Finish 1st cut of Author Maintenance (Add / Update / Delete)

bzr-revno: 265
2009-01-03 14:19:43 +00:00
Tim Bentley 22f308268c add migrate authors code. Updates the first and last names
bzr-revno: 264
2009-01-02 20:30:40 +00:00
Tim Bentley 0385a13773 More updates
bzr-revno: 263
2009-01-02 20:20:33 +00:00
Tim Bentley 329d2d46da Initial version of a migration tool
bzr-revno: 261
2009-01-01 11:18:16 +00:00
Tim Bentley c83207838d Add new dialogs to songs for extra data requirements
bzr-revno: 260
2009-01-01 10:03:09 +00:00
Tim Bentley 38590ff47a Finish storing list data in config files
Add delete_value method
Finish updating Plugins to TreeWidgets, Context Menus and Config saving.

bzr-revno: 258
2008-12-28 08:37:03 +00:00
Tim Bentley ae7e7d47de Revamp Presentations Plugin adding directory search and save. Persist the Presntations
Update the Plugin helper
Tidy up bibles and Songs a bit more.

bzr-revno: 257
2008-12-27 07:54:33 +00:00
Tim Bentley 5123bcdfbb More Fixes
Hacks for Unicode problem.

bzr-revno: 256
2008-12-24 14:07:27 +00:00
Tim Bentley 592d329baf Display song on Edit form having selected form list
bzr-revno: 255
2008-12-24 07:28:25 +00:00
Tim Bentley 1692da442b Remove Print statements.
bzr-revno: 254
2008-12-21 07:50:39 +00:00
Tim Bentley 33c43f8dfe Add Context Menus,
Fix results for Songs.

bzr-revno: 253
2008-12-21 07:49:22 +00:00
Tim Bentley 5d920e8fc6 Add Utilitys class for plugins
bzr-revno: 252
2008-12-21 07:48:30 +00:00
Tim Bentley e1f5e5723a Add Context menu.
bzr-revno: 251
2008-12-20 17:50:08 +00:00
Tim Bentley abb9a6e4c0 More improvements and functional additions
bzr-revno: 250
2008-12-20 16:59:56 +00:00
Tim Bentley 76723fbc92 Update UI a bit to display columns
bzr-revno: 249
2008-12-20 08:43:47 +00:00
Tim Bentley 9e4fa53b0e Add Songs database layer
bzr-revno: 248
2008-12-19 20:27:09 +00:00
Carsten Tinggaard 78d0dc34c2 Test data for xml
bzr-revno: 247
2008-12-19 08:06:53 +00:00
Carsten Tinggaard dbde9ddc5f Test data for OpenLP1 format
bzr-revno: 246
2008-12-19 08:06:29 +00:00
Tim Bentley b664e3362c Add menu hock and start quick search
bzr-revno: 245
2008-12-17 20:27:31 +00:00
Carsten Tinggaard ba5d6f0e48 Module for functionality between UI, song files and songs
bzr-revno: 244
2008-12-17 14:26:05 +00:00
Carsten Tinggaard f266416d3b Module for handling song files version 1 and 2
bzr-revno: 243
2008-12-17 14:25:33 +00:00
Raoul Snyman afa11d913b Removed Bible related cruft from the main window.
bzr-revno: 242
2008-12-17 13:41:06 +00:00
Raoul Snyman e9be0e92e4 Removed some of the song plugin related cruft from the bottom of the main window.
bzr-revno: 241
2008-12-17 13:36:56 +00:00
Raoul Snyman f2a715e124 Moved the Export Bible item to the Bible plugin.
bzr-revno: 240
2008-12-17 13:34:28 +00:00
Raoul Snyman 531ca08bba Moved the Import Bible item to the Bible plugin.
bzr-revno: 239
2008-12-17 13:20:05 +00:00
Raoul Snyman 90c45ac148 Added export songs menu to export menu.
bzr-revno: 238
2008-12-17 12:38:02 +00:00
Raoul Snyman f6cc0ecf94 Added a copy of the openlp.org import for the openlp.org 2 import.
bzr-revno: 237
2008-12-17 12:11:35 +00:00
Carsten Tinggaard fe2037663f Added OpenSong Bridge and Pre-chorus handling
bzr-revno: 236
2008-12-17 11:51:47 +00:00
Carsten Tinggaard 5ba4665ee5 Path check improved - test can be executed in all folders
bzr-revno: 235
2008-12-17 11:51:12 +00:00
Raoul Snyman b198db1b3e Added showing the OpenSong import form on clicking the item in the import menu.
bzr-revno: 234
2008-12-17 11:41:52 +00:00
Raoul Snyman b7008f7b62 Added the song import menu items, and made the openlp.org 1.0 item show an import form.
bzr-revno: 233
2008-12-16 22:00:32 +00:00
Tim Bentley fc4e947be0 More Changes and fix ups
bzr-revno: 232
2008-12-16 21:48:17 +00:00
Tim Bentley 2457713b1d more PEP 8 clean ups
fix advance search across multiple books

bzr-revno: 231
2008-12-16 19:13:31 +00:00
Tim Bentley 70ef8ef2b7 finish PEP 8 changes
bzr-revno: 230
2008-12-16 17:29:39 +00:00
Michael Gorven e53e7e7db4 Add default_suffixes parameter to PluginConfig.get_files(), and fill in various default config values.
bzr-revno: 229
2008-12-15 21:43:29 +00:00
Michael Gorven 2ae661b64b Set non-existing config entries if requested with a default value, and create ~/.openlp when saving config file.
bzr-revno: 228
2008-12-15 21:14:26 +00:00
Michael Gorven 63bb9b3186 Create data directories when path is requested from config
bzr-revno: 227
2008-12-15 20:37:50 +00:00
Tim Bentley 0187da57b9 Update options
bzr-revno: 226
2008-12-15 18:36:19 +00:00
Tim Bentley e8057f4b1a Not needed
bzr-revno: 225
2008-12-15 18:11:54 +00:00
Tim Bentley 45d311f2ce Update to PEP 8 standard
bzr-revno: 224
2008-12-15 18:10:47 +00:00
Raoul Snyman 238b1c4ae3 Making stuff adhere to PEP 8.
bzr-revno: 222
2008-12-14 20:43:44 +00:00
Raoul Snyman 3382d86db9 Fixed new plugins not working, fixed up their images and their captions and things. Renamed a few methods to reflect their plugins correctly.
bzr-revno: 221
2008-12-14 19:50:17 +00:00
Tim Bentley f90cdd27be Add new plugins - shells
Update bibles 
Add CheckPreConditions to plugin manager.
Sort out merge problems 

bzr-revno: 220
2008-12-14 16:19:28 +00:00
Raoul Snyman 508a542d6f Rewrote Plugin methods to match Python standards, fixed a few other things here and there.
bzr-revno: 219
2008-12-14 15:49:54 +00:00
Jonathan Corwin 40e52dd4ff Use the correct windows registry routine
bzr-revno: 218
2008-12-13 22:11:36 +00:00
Tim Bentley a0800e842f Fix OSIS imports and screen refresh issues.
Move Langauge file to Resources.

bzr-revno: 217
2008-12-13 19:42:25 +00:00
Tim Bentley 1b28a4d4c7 Updates and Fixes
bzr-revno: 216
2008-12-13 10:46:07 +00:00
Tim Bentley 412a30f1b5 Add text search to Bibles
Add Initialise method for plugins

bzr-revno: 215
2008-12-13 09:03:39 +00:00
Tim Bentley f042e5e2d8 Update plugins to load from directory and filter by file suffix.
Updated Bibles and Presentations.
Changed Add presentations to Reload from directory
Updated base Config files to reflect changes

bzr-revno: 214
2008-12-12 19:42:51 +00:00
Tim Bentley eb1b1010c0 Updates to UI plugins
bzr-revno: 213
2008-12-11 21:07:12 +00:00
Martin Thompson cb191abd7c Runs under new structure (fails tests mind - that's next to fix!)
bzr-revno: 211
2008-12-10 21:50:05 +00:00
Martin Thompson 822d3d9a0e Moved Theme specific bits from xmlrootclass to theme
bzr-revno: 210
2008-12-10 21:40:19 +00:00
Jonathan Corwin 8d0864b1e9 Moved to plugins
bzr-revno: 207
2008-12-10 20:46:04 +00:00
Jonathan Corwin 410702b890 Various bits of experimental presentation code I've had lying around
bzr-revno: 206
2008-12-10 20:40:18 +00:00
Tim Bentley d90ca07e1c fixed "Advanced Searching" for now.
bzr-revno: 205
2008-12-10 20:36:45 +00:00
Tim Bentley 224bd90303 remove stuff
bzr-revno: 202
2008-12-10 19:20:31 +00:00
Tim Bentley 9abc51729e Wrong place
bzr-revno: 201
2008-12-10 19:19:21 +00:00
Tim Bentley 6dd16ba989 Wrong directory
bzr-revno: 200
2008-12-10 19:17:23 +00:00
Tim Bentley 7736def380 Move test bits
bzr-revno: 199
2008-12-10 19:11:00 +00:00
Raoul Snyman 154eb41397 Deleted this poor, long lost stray.
bzr-revno: 198
2008-12-10 18:06:08 +00:00
Tim Bentley f0f73a16ce Continue fixing up the bible plugin screen interactions.
Data extracted from Database now!
Improve bible plugin logging

bzr-revno: 197
2008-12-07 20:04:07 +00:00
Raoul Snyman aed4a2763b Moved the song xml classes to lib.
bzr-revno: 196
2008-12-07 09:23:37 +00:00
Raoul Snyman 2b0328e011 Added the "lib" module for the Songs plugin.
bzr-revno: 195
2008-12-07 08:09:59 +00:00
Tim Bentley 560f8fe1dc Start to hook up the bible plugin to the actual bibles.
Update the Bible Registration form before Superfly gets at it!!!!

bzr-revno: 194
2008-12-06 19:34:48 +00:00
Tim Bentley 3450e1ac50 Fix up bibles and sort out path issues in code
Load bible names into plugin
Handle no bible names if directory is empty

bzr-revno: 192
2008-12-06 09:33:46 +00:00
Raoul Snyman 908418bb1a Added necessary __init__.py files to make directories into Python modules.
bzr-revno: 191
2008-12-06 09:30:38 +00:00
Raoul Snyman e4efdc7ca0 Moved the __init__.py file to the new Bibles plugin directory.
bzr-revno: 190
2008-12-06 09:24:23 +00:00
Tim Bentley 510ae14791 bzr-revno: 189 2008-12-06 07:50:47 +00:00
Tim Bentley ce9b58cec6 move bibles to new homes
tidy up plugin following changes
add static text to dropdown. 

bzr-revno: 188
2008-12-06 07:47:01 +00:00
Raoul Snyman 843774aa1d Fixed up the Bible plugin's media manager item.
Removed the unnecessarily hardcoded path in the Bible Manager.
Changed the SongFormat file to reflect what's really gonna happen in the song database.
Added the first sentence of the Plugin Developer's Guide.

bzr-revno: 186
2008-12-05 22:03:28 +00:00
Tim Bentley bccd03b4df Tidy up before the big move
bzr-revno: 185
2008-12-05 20:09:47 +00:00
Tim Bentley c949f98ef2 Updates
bzr-revno: 184
2008-12-05 20:06:41 +00:00
Tim Bentley 753eee645c Fix up error handling
bzr-revno: 182
2008-12-05 20:01:31 +00:00
Carsten Tinggaard c471a84766 Fixed path and name for the song class
bzr-revno: 180
2008-12-05 13:18:53 +00:00
Carsten Tinggaard 889b43dc81 Fixed path to xmlrootclass
bzr-revno: 179
2008-12-05 13:17:21 +00:00
Raoul Snyman 8abce6443f Changed erroneous "SimpleConfigParser" to "SafeConfigParser"
bzr-revno: 178
2008-12-05 07:23:32 +00:00
Martin Thompson 1df73a768c Updated to work wit new directory structure and
plugin manager API

bzr-revno: 176
2008-12-04 20:46:07 +00:00
Martin Thompson afce6977c2 Moved to be with rest of core tests
bzr-revno: 175
2008-12-04 20:20:42 +00:00
Martin Thompson 8c58e7a670 Moved to match new place for plugin manager
bzr-revno: 174
2008-12-04 20:19:59 +00:00
Raoul Snyman ea2cafd125 Fixed few import problems
bzr-revno: 173
2008-12-03 19:13:23 +00:00
Raoul Snyman 298729a12c made import OS-independent
bzr-revno: 172
2008-12-03 18:13:27 +00:00
Raoul Snyman 3ad3a14ffb Added setup.py
Added PluginConfig
Updated ConfigHelper
Updated Bible plugin to use plugin config object

bzr-revno: 171
2008-12-03 10:57:34 +00:00
Raoul Snyman e8430a95f9 Updated config file registry object.
bzr-revno: 170
2008-12-03 08:51:35 +00:00
Raoul Snyman 51ede824fc Made a start on the LinRegistry class.
bzr-revno: 169
2008-12-02 20:59:05 +00:00