summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revamp Comments and MetadataArno2016-11-064-61/+36
| | | | | | | | Make it a QTextEdit (again?) with HTML content: * A table for metadata * A paragraph for the comment(s) Also add a stretch factor to the containing widget giving it more space.
* Add Delete to NewPicsDialogArno2016-10-162-1/+15
| | | | Also fix handling of next picture.
* Add Next> to NewPicsDialogArno2016-10-165-2/+54
| | | | | | Make archiving various pictures easier. When NewPicsDialog is calles with a directory, the Next> button archives the current pic and selects the next.
* Update about data1.3.0Arno2016-10-012-3/+3
|
* Update free space when event occursArno2016-10-013-0/+5
| | | | | Update free space when we get an inotify event that changes disk space, or when refresh is called.
* Use configured Reencode reasons...Arno2016-10-012-1/+22
| | | | ... in new movie wizard...
* Configure reencode reasonsArno2016-10-014-1/+93
| | | | Next: make it available in new movies dialog.
* Fix typo in ProgramConfiguratorArno2016-10-011-1/+1
| | | | Upadate -> Update
* Implement add tree in SlideDlg + othersArno2016-07-212-0/+40
| | | | | | | Yeah! Finalling getting the hang of recursion, I hope! Add a new Button ">>>>" to add a whole subtree. Not really useful when archiving, but very useful when selecting Slide attributes!
* Set sensible defaults for MetadataEditorWidgetArno2016-05-061-0/+2
| | | | Select torrent and set current year on first invocation.
* Add clear button to NewMovieWizardArno2016-05-063-3/+9
| | | | Only show it when called from the wizard.
* Preserve InfoPage dataArno2016-05-062-7/+32
| | | | | Save InfoPage data on reject and accept, fill the fields on next invocation, execpt files.
* Search ORIGIN also in Goto Archive...Arno2016-05-061-0/+8
| | | | Compile tested only, so it may or may not work.
* Reconnect cloned databasesArno2016-04-022-3/+15
| | | | | | Try to reconnect cloned databases on error, mainly SmDirWatcher and ArchiveCollector. ConsistencyCheck doesn't matter, since it's on the stack. It compiles, but no idea if it actually works...
* Reconnect to database after network failureArno2016-04-021-5/+8
| | | | | | | | | | | | It's more difficult than I thought. It seems you need a failed query until libpq notices that the connection is lost. Implement reconnect at the very bottom of the slide time to get it back as soon as possible. I have no idea though what it does to cloned connections. Also, if no slide show is running, it'll never reconnect. It works when I down the database, maybe create a Helper function for this...
* Don't crash if we feed a non-picture to NewPicsDialogArno2016-03-311-0/+3
| | | | | Actually use valid. Return when we get something else than an image. Otherwise we'd crash in ImageMagick::ping.
* Show busy cursor when selecting files for slideArno2016-03-301-0/+2
|
* Remove calculate results from SlideDlgArno2016-03-302-7/+1
| | | | Never did anything, and we'll know soon enough.
* There goes the constness...Arno2016-03-302-10/+13
| | | | At least try to reconnect to the database after resume.
* Show current position when slidingArno2016-03-303-5/+7
| | | | Replace \d files selected with \d/\d files.
* Show archived data in file propertiesArno2016-03-302-1/+37
| | | | | If we stare at a picture that is already in the archive, display the archived data in the file property dialog.
* Remove presets from NewPicsDialogArno2016-03-304-60/+11
| | | | | | | | and replace them with write/readSettings. It was a useless feature anyway, don't even remember what it was good for. Also fix another bug in MappingTreeResultModel: Clear mCurrentData too, when clearData is called.
* Save mappings from slide dialogArno2016-03-304-1/+41
| | | | | Also fix a long standing bug in MappingTreeModel: also remove item from mCurrentData when the removed item is a parent of one of the items.
* Save slide dialog settingsArno2016-03-292-1/+25
| | | | | Well, everything besides the selected selection... That needs some more work.
* Fix display of selected filesArno2016-03-291-1/+1
| | | | Show actual size of selected files.
* Get rid of a lot of unused codeArno2016-03-292-323/+6
| | | | | Well, sanitize the sliding madness. Replace it by a dialog and just one timer. Seems to work so far...
* Make the SlideDialog do somethinArno2016-03-295-5/+125
| | | | Well, implement functionality. Seems to work as intended.
* Design slide dialogArno2016-03-294-3/+153
| | | | Does nothing yet, just the dialog...
* Let std::shuffle do the randomizationArno2016-03-202-3/+13
| | | | | Seems to be more random. Also, this commit introduces c++11, yay!
* Improve new actor dialog for picturesArno2016-03-201-5/+12
| | | | | If the actor already exists, select it and exit, otherwise create and select it.
* Fix queries for InOriginArno2016-03-201-0/+2
| | | | | Long standing, never noticed bug: The queries for files_origin were prepared, but never executed!
* Add missing columns to ArchiveViewArno2016-03-051-1/+1
|
* Disable size filter after copySuccessArno2016-03-051-0/+1
| | | | | | ArchiveBrowser will be empty once the database is updated and the sources are deleted if the size filter is still in effect. So uncheck it once we're done.
* Call setFsFree after CopyWorker is doneArno2016-03-053-0/+3
| | | | Update free space widget after deleting files from CopyWorker.
* Add separator after Move to USBArno2016-03-051-0/+2
| | | | in both the context menu and the view menu.
* Do not connect CopyWorker on every invokationArno2016-03-051-8/+11
| | | | | | | | I connected the CopyWorker SIGNALS to the ArchiveBrowser SLOTS on every copy. Of course that made the success dialogs pop up as many times as there were copy operations. Fix it by moving the connect call into the constructor.
* Play movies from USB if availableArno2016-03-054-5/+38
| | | | | If USB-Storage is mounted and available, search it for already archived movies. If found, play it.
* Now MoveToUSB does something!Arno2016-03-046-38/+158
| | | | | | Make it work. Lessons learned: Don't keep a QProgressDialog around. Use it and delete it later. Otherwise it will show up spontaneously.
* Added configuration option for USBArno2016-03-042-0/+6
| | | | Define USB directory in configuration dialog. Still does nothing...
* Add "Move to USB..." actionArno2016-03-044-0/+11
| | | | Does nothing yet, just the context menu entry. It compiles, though :)
* First version of CopyWorkerArno2016-03-043-2/+128
| | | | | | Preparation for archiving Movies to an USB disk: Implement CopyWorker: a QThread for copying files in the background. It compiles, nothing more, so expect bugs!
* Remove IN_MODIFY from inotify maskArno2016-02-062-4/+1
| | | | | | | | When copying a file to a watched directory, this leads to excessive inotify events. I'm guessing that's the source for the deadlock when encoding files on othalla. Anyway, it's worth a try. Also remove a stray qApp->processEvents()
* Add error messages to newmoviewizard.cppArno2016-01-151-0/+7
| | | | Indicate what went wrong when archiving fails.
* Remember selections between dir changesArno2015-11-274-6/+30
| | | | Select all items previously selected when going back()
* Make convertArchivefileToPng a transactionArno2015-10-241-0/+6
| | | | | Delete the original file if we converted a pic to PNG, but only if the database transaction succeeded.
* Fix convert to PNG messArno2015-10-244-10/+19
| | | | | | | | | | Automatically converting a damaged file to PNG and updating the archive is fine as long as we're *in* the archive, but it totally messes things up if we're browsing the file system. So check if the image is in the archive path, and only then consider auto-converting it. Also show a notice in the InfoItem if the file has been converted.
* Fix crash in PictureViewer2Arno2015-10-121-0/+5
| | | | | | Don't try to access an empty QList<QVariant>. It comes from the constructor. There has to be a better way to fix this, but right now it eludes me...
* Change image size calculationArno2015-10-113-9/+11
| | | | | Use ImageMagick::Image::ping to determine the size of an image, but only if the file size is < 400kb to prevent the impression of a deadlock.
* Slide through recent in PictureViewer2Arno2015-08-294-6/+81
| | | | | For now, recent is hardcoded to pictures added in the last 6 months. Maybe it should be configurable...
* Remove slide indicator from status barArno2015-08-282-23/+0
| | | | | Useless, and didn't work anyway since using the control item in pictureviewer.