]> Some of my projects - localmylist.git/log
localmylist.git
12 years agoAdd setting to hide empty anime.
APTX [Thu, 25 Apr 2013 15:00:10 +0000 (17:00 +0200)]
Add setting to hide empty anime.

These entries come from the MyList export. These entries are wishlist entries.

12 years agoMake the regex for the automagical FileName sanitize configurable.
APTX [Thu, 25 Apr 2013 14:21:29 +0000 (16:21 +0200)]
Make the regex for the automagical FileName sanitize configurable.

The default is designed to give valid file names on all Operating Systems.

12 years agoMake the template version of Settings::get more predictable.
APTX [Thu, 25 Apr 2013 14:18:37 +0000 (16:18 +0200)]
Make the template version of Settings::get more predictable.

12 years agoThe results of getFileLocationBatch should be ordered.
APTX [Thu, 25 Apr 2013 01:55:48 +0000 (03:55 +0200)]
The results of getFileLocationBatch should be ordered.

12 years agoAlways append a newline to the rename script.
APTX [Thu, 25 Apr 2013 01:12:18 +0000 (03:12 +0200)]
Always append a newline to the rename script.

12 years agoNotify rename_data_changed on updates as well as inserts.
APTX [Thu, 25 Apr 2013 00:42:16 +0000 (02:42 +0200)]
Notify rename_data_changed on updates as well as inserts.

12 years agoUse proper enum type instead of 0.
APTX [Wed, 24 Apr 2013 16:17:25 +0000 (18:17 +0200)]
Use proper enum type instead of 0.

12 years agoUse Database::prepare where possible.
APTX [Wed, 24 Apr 2013 16:10:48 +0000 (18:10 +0200)]
Use Database::prepare where possible.

12 years agoUse Database::prepare in RenameHandler
APTX [Wed, 24 Apr 2013 16:04:50 +0000 (18:04 +0200)]
Use Database::prepare in RenameHandler

12 years agoEnable voting for episodes in localmylist-management.
APTX [Tue, 23 Apr 2013 23:49:05 +0000 (01:49 +0200)]
Enable voting for episodes in localmylist-management.

12 years agoVoting for anime is now possible from localmylist-management.
APTX [Tue, 23 Apr 2013 23:33:41 +0000 (01:33 +0200)]
Voting for anime is now possible from localmylist-management.

12 years agovote -> request.vote
APTX [Tue, 23 Apr 2013 23:10:37 +0000 (01:10 +0200)]
vote -> request.vote

12 years agoClear vote date when revoking a vote.
APTX [Tue, 23 Apr 2013 23:08:11 +0000 (01:08 +0200)]
Clear vote date when revoking a vote.

12 years agoMark vote requests as completed when they're completed...
APTX [Tue, 23 Apr 2013 22:46:05 +0000 (00:46 +0200)]
Mark vote requests as completed when they're completed...

12 years agoActually commit the vote changes.
APTX [Tue, 23 Apr 2013 21:50:11 +0000 (23:50 +0200)]
Actually commit the vote changes.

12 years agoDirectoryWatcher should filter files with fileFilters.
APTX [Tue, 23 Apr 2013 21:19:37 +0000 (23:19 +0200)]
DirectoryWatcher should filter files with fileFilters.

12 years agoAniOni now checks watched directories on startup.
APTX [Tue, 23 Apr 2013 21:15:45 +0000 (23:15 +0200)]
AniOni now checks watched directories on startup.

12 years agoBetter debug.
APTX [Tue, 23 Apr 2013 00:43:40 +0000 (02:43 +0200)]
Better debug.

12 years agoActually limit retried by failed_count.
APTX [Tue, 23 Apr 2013 00:38:42 +0000 (02:38 +0200)]
Actually limit retried by failed_count.

12 years agoCorrect row remove count.
APTX [Tue, 23 Apr 2013 00:01:00 +0000 (02:01 +0200)]
Correct row remove count.

12 years agoFix rename_data schema.
APTX [Mon, 22 Apr 2013 22:19:31 +0000 (00:19 +0200)]
Fix rename_data schema.

12 years agoUse the correct id for actions on file location entries.
APTX [Mon, 22 Apr 2013 12:45:47 +0000 (14:45 +0200)]
Use the correct id for actions on file location entries.

12 years agoRemove most of the old read* helper functions.
APTX [Mon, 22 Apr 2013 01:53:50 +0000 (03:53 +0200)]
Remove most of the old read* helper functions.

12 years agoMyListFileNode::updated should use the baseQuery().
APTX [Mon, 22 Apr 2013 01:53:11 +0000 (03:53 +0200)]
MyListFileNode::updated should use the baseQuery().

12 years agoProper handling of file.quality.
APTX [Mon, 22 Apr 2013 01:02:04 +0000 (03:02 +0200)]
Proper handling of file.quality.

This is a significant schema change.
For upgrading see: http://localmylist.aptx.org/w/Upgrade/quality_enum

12 years agoAdd FileLocationCheckTask.
APTX [Sun, 21 Apr 2013 17:58:02 +0000 (19:58 +0200)]
Add FileLocationCheckTask.

FileLocationCheckTask checks all file locations on the current host, removing all locations where the file does not exist on path.

12 years agoPrefer the file with the highest resolution in firstUnwatched* methods.
APTX [Sun, 21 Apr 2013 16:57:54 +0000 (18:57 +0200)]
Prefer the file with the highest resolution in firstUnwatched* methods.

12 years agoAccount for file/ep relations in firstUnwatched* methods.
APTX [Sun, 21 Apr 2013 16:51:41 +0000 (18:51 +0200)]
Account for file/ep relations in firstUnwatched* methods.

12 years agoAdd file_location_delete notification and handling.
APTX [Sun, 21 Apr 2013 15:48:29 +0000 (17:48 +0200)]
Add file_location_delete notification and handling.

This changes the schema slightly.

12 years agoAdd option to delete a file location to localmylist-management.
APTX [Sun, 21 Apr 2013 15:11:51 +0000 (17:11 +0200)]
Add option to delete a file location to localmylist-management.

File locations are internal to LML so they can actually be removed very easily.

12 years agoAdd a firstUnwatchedByExactTitle method.
APTX [Sun, 21 Apr 2013 15:07:31 +0000 (17:07 +0200)]
Add a firstUnwatchedByExactTitle method.

firstUnwatchedByTitle now calls firstUnwatchedByExactTitle to check for an exact title before trying a partial match.

12 years agoExpose SqlQuery in runscript.
APTX [Sat, 20 Apr 2013 12:30:13 +0000 (14:30 +0200)]
Expose SqlQuery in runscript.

12 years agoRename arg variable to args.
APTX [Sat, 20 Apr 2013 11:19:02 +0000 (13:19 +0200)]
Rename arg variable to args.

12 years agoWarn when reading an undefined setting.
APTX [Fri, 19 Apr 2013 13:44:21 +0000 (15:44 +0200)]
Warn when reading an undefined setting.

12 years agoWorkaround for QTBUG-30076.
APTX [Fri, 19 Apr 2013 13:22:37 +0000 (15:22 +0200)]
Workaround for QTBUG-30076.

12 years agoAdd space after period.
APTX [Fri, 19 Apr 2013 13:21:48 +0000 (15:21 +0200)]
Add space after period.

12 years agoUpdate the original script when saving.
APTX [Fri, 19 Apr 2013 12:14:44 +0000 (14:14 +0200)]
Update the original script when saving.

12 years agoAdd removeFileLocation.
APTX [Fri, 19 Apr 2013 12:11:20 +0000 (14:11 +0200)]
Add removeFileLocation.

12 years agoAdd EpType variable to the predefined Rename Script variables.
APTX [Fri, 19 Apr 2013 12:10:58 +0000 (14:10 +0200)]
Add EpType variable to the predefined Rename Script variables.

12 years agoIt's be good enough...
APTX [Thu, 18 Apr 2013 14:55:50 +0000 (16:55 +0200)]
It's be good enough...

12 years agoFix setting name.
APTX [Thu, 18 Apr 2013 12:42:13 +0000 (14:42 +0200)]
Fix setting name.

12 years agoProper database check.
APTX [Thu, 18 Apr 2013 12:41:43 +0000 (14:41 +0200)]
Proper database check.

12 years agoQuick fix for scanning directories.
APTX [Thu, 18 Apr 2013 01:49:21 +0000 (03:49 +0200)]
Quick fix for scanning directories.

12 years agoReturn the right database for the current thread.
APTX [Thu, 18 Apr 2013 01:24:51 +0000 (03:24 +0200)]
Return the right database for the current thread.

12 years agoWhen finding the first unwatched episode, skip unwatched files for episodes which...
APTX [Tue, 16 Apr 2013 16:21:40 +0000 (18:21 +0200)]
When finding the first unwatched episode, skip unwatched files for episodes which already have a file watched.

12 years agoMake anime episode counts more useful.
APTX [Tue, 16 Apr 2013 15:40:28 +0000 (17:40 +0200)]
Make anime episode counts more useful.

Show how many episodes you have for how many episode the anime has.
Show that the total episode number is unknown and a guess is displayed instead.

Watched episodes are now in relation the amount of episodes in mylist, not the total episode count.

12 years agoTreat illegal vote values as revoking a vote.
APTX [Tue, 16 Apr 2013 15:16:38 +0000 (17:16 +0200)]
Treat illegal vote values as revoking a vote.

12 years agoAdd options to mark whole Anime/Episodes to localmylist-management.
APTX [Tue, 16 Apr 2013 14:21:47 +0000 (16:21 +0200)]
Add options to mark whole Anime/Episodes to localmylist-management.

12 years agoAdd missing alias to getPendingMyListUpdateBatch query.
APTX [Tue, 16 Apr 2013 14:15:28 +0000 (16:15 +0200)]
Add missing alias to getPendingMyListUpdateBatch query.

12 years agoRequestHandler can now set/update votes.
APTX [Mon, 15 Apr 2013 20:57:27 +0000 (22:57 +0200)]
RequestHandler can now set/update votes.

12 years agoAdd TODO
APTX [Mon, 15 Apr 2013 19:37:51 +0000 (21:37 +0200)]
Add TODO

12 years agoFix possible crash in Database::exec().
APTX [Mon, 15 Apr 2013 19:25:03 +0000 (21:25 +0200)]
Fix possible crash in Database::exec().

Disconnecting clears all prepared statements so a query passed to exec might would invalid.

12 years agoRevert "Fix possible crash in Database::exec()."
APTX [Mon, 15 Apr 2013 19:23:01 +0000 (21:23 +0200)]
Revert "Fix possible crash in Database::exec()."

This reverts commit 8dbf679930be8c49587ad01131f1ec632c047660.

12 years agoCoding style
APTX [Mon, 15 Apr 2013 14:30:17 +0000 (16:30 +0200)]
Coding style

12 years agoFix possible crash in Database::exec().
APTX [Mon, 15 Apr 2013 14:28:15 +0000 (16:28 +0200)]
Fix possible crash in Database::exec().

Disconnecting clears all prepared statements so a query passed to exec might would invalid.

12 years agoWhen getting a file by path, try mapping the path to a source.
APTX [Sun, 14 Apr 2013 14:54:00 +0000 (16:54 +0200)]
When getting a file by path, try mapping the path to a source.

12 years agoNone of those are used anymore
APTX [Sun, 14 Apr 2013 14:37:05 +0000 (16:37 +0200)]
None of those are used anymore

12 years agoFocus filter line by default
APTX [Sun, 14 Apr 2013 14:36:46 +0000 (16:36 +0200)]
Focus filter line by default

12 years agoMerge branch 'master' of ssh://aptx.org/var/git/localmylist
APTX [Sat, 13 Apr 2013 17:01:40 +0000 (19:01 +0200)]
Merge branch 'master' of ssh://aptx.org/var/git/localmylist

12 years agoPrefix misc tools with "lml-"
APTX [Sat, 13 Apr 2013 17:01:20 +0000 (19:01 +0200)]
Prefix misc tools with "lml-"

12 years agoRename managment-gui to localmylist-management
APTX [Sat, 13 Apr 2013 16:54:29 +0000 (18:54 +0200)]
Rename managment-gui to localmylist-management

12 years agoGCC fixes
APTX [Sat, 13 Apr 2013 16:36:15 +0000 (18:36 +0200)]
GCC fixes

12 years agoFix setFileLocation typo/null values.
APTX [Sat, 13 Apr 2013 15:10:52 +0000 (17:10 +0200)]
Fix setFileLocation typo/null values.

12 years agoPesky newlines
APTX [Sat, 13 Apr 2013 14:54:39 +0000 (16:54 +0200)]
Pesky newlines

12 years agoFix debug line not building with Qt4...
APTX [Sat, 13 Apr 2013 14:19:43 +0000 (16:19 +0200)]
Fix debug line not building with Qt4...

12 years agoIgnore the test-data folder
APTX [Sat, 13 Apr 2013 13:28:51 +0000 (15:28 +0200)]
Ignore the test-data folder

12 years agoAdd ORDER BY to select the first unwatched ep, not just any unwatched ep...
APTX [Sat, 13 Apr 2013 13:27:00 +0000 (15:27 +0200)]
Add ORDER BY to select the first unwatched ep, not just any unwatched ep...

12 years agoUpdate anime titles url
APTX [Sat, 13 Apr 2013 13:09:09 +0000 (15:09 +0200)]
Update anime titles url

12 years agoMake play-next use a local setting for the player it opens.
APTX [Sat, 13 Apr 2013 13:00:09 +0000 (15:00 +0200)]
Make play-next use a local setting for the player it opens.

Gui applications can ask the DE to provide an application to open a file of a given type.
Cli applications need an alternative as they don't link to the DE.

12 years agoMake opening files by title a bit more predictable
APTX [Sat, 13 Apr 2013 12:45:56 +0000 (14:45 +0200)]
Make opening files by title a bit more predictable

12 years agoMake search-gui used a prepared statement for search.
APTX [Fri, 12 Apr 2013 11:41:21 +0000 (13:41 +0200)]
Make search-gui used a prepared statement for search.

12 years agoFix filtering for large models
APTX [Wed, 10 Apr 2013 15:11:03 +0000 (17:11 +0200)]
Fix filtering for large models

12 years agoRequestHandler now handles updates with aid&epno/epmin. Uses lid for updates with...
APTX [Wed, 10 Apr 2013 15:10:39 +0000 (17:10 +0200)]
RequestHandler now handles updates with aid&epno/epmin. Uses lid for updates with fid, if lid is available.

12 years agoAdd check to make sure that either aid or fid is set for a mylist update
APTX [Wed, 10 Apr 2013 14:27:57 +0000 (16:27 +0200)]
Add check to make sure that either aid or fid is set for a mylist update

12 years agoRemove itemData field from MyListNode. Increase batch size
APTX [Wed, 10 Apr 2013 00:42:31 +0000 (02:42 +0200)]
Remove itemData field from MyListNode. Increase batch size

12 years agoRewrite MyListNode to provide its children with their total row count.
APTX [Tue, 9 Apr 2013 17:40:37 +0000 (19:40 +0200)]
Rewrite MyListNode to provide its children with their total row count.

This eliminates totalRowCountSql() queries that were executed for each child once.

12 years agoUpdate views to include deprecated field and use it in renaming
APTX [Tue, 9 Apr 2013 15:59:29 +0000 (17:59 +0200)]
Update views to include deprecated field and use it in renaming

12 years agoRead deprecated file status
APTX [Tue, 9 Apr 2013 15:55:40 +0000 (17:55 +0200)]
Read deprecated file status

12 years agoUpdate addFileLocation/setFileLocation to use the new fields
APTX [Tue, 9 Apr 2013 15:53:27 +0000 (17:53 +0200)]
Update addFileLocation/setFileLocation to use the new fields

12 years agoSave the original file name when adding a file location
APTX [Tue, 9 Apr 2013 15:23:53 +0000 (17:23 +0200)]
Save the original file name when adding a file location

12 years agoFix qtsingleapplication on unix
APTX [Tue, 9 Apr 2013 13:38:00 +0000 (15:38 +0200)]
Fix qtsingleapplication on unix

12 years agoSet lid if available
APTX [Tue, 9 Apr 2013 13:26:58 +0000 (15:26 +0200)]
Set lid if available

12 years agoAdd new fields that were added to the schema to the database classes
APTX [Tue, 9 Apr 2013 12:57:12 +0000 (14:57 +0200)]
Add new fields that were added to the schema to the database classes

12 years agoAdd copy c-tor and assignment operator to node data classes. The intrusive parts...
APTX [Tue, 9 Apr 2013 12:49:01 +0000 (14:49 +0200)]
Add copy c-tor and assignment operator to node data classes. The intrusive parts should not get copied

12 years agoMake rule names more descriptive. Some rules got overridden by accident
APTX [Tue, 9 Apr 2013 12:46:23 +0000 (14:46 +0200)]
Make rule names more descriptive. Some rules got overridden by accident

12 years agoFix INSERT statements to account for new columns
APTX [Sun, 7 Apr 2013 19:21:57 +0000 (21:21 +0200)]
Fix INSERT statements to account for new columns

12 years agoAdd more columns for future features
APTX [Sun, 7 Apr 2013 18:21:28 +0000 (20:21 +0200)]
Add more columns for future features

12 years agoAdd a version dialog to management-gui
APTX [Sat, 6 Apr 2013 21:43:10 +0000 (23:43 +0200)]
Add a version dialog to management-gui

12 years agoAdd a "import titles from web action" to management-gui
APTX [Thu, 4 Apr 2013 14:36:16 +0000 (16:36 +0200)]
Add a "import titles from web action" to management-gui

12 years agoHeader missing from previous commit
APTX [Thu, 4 Apr 2013 14:35:47 +0000 (16:35 +0200)]
Header missing from previous commit

12 years agoActually implement handling file_location inserts by the model
APTX [Thu, 4 Apr 2013 12:02:32 +0000 (14:02 +0200)]
Actually implement handling file_location inserts by the model

12 years agoAdd changes to OpenFileData to script interface
APTX [Thu, 4 Apr 2013 12:02:03 +0000 (14:02 +0200)]
Add changes to OpenFileData to script interface

12 years agoMake id columns not null. Add a lid column for future use
APTX [Thu, 4 Apr 2013 12:01:16 +0000 (14:01 +0200)]
Make id columns not null. Add a lid column for future use

12 years agoUnsubscribe before closing the connection.
APTX [Wed, 3 Apr 2013 16:58:16 +0000 (18:58 +0200)]
Unsubscribe before closing the connection.

12 years agoIf the group is unknown, use "Unknown" as group name instead of not showing a name...
APTX [Wed, 3 Apr 2013 16:57:31 +0000 (18:57 +0200)]
If the group is unknown, use "Unknown" as group name instead of not showing a name at all.

12 years agoFix GCC fix...
APTX [Wed, 3 Apr 2013 01:45:03 +0000 (03:45 +0200)]
Fix GCC fix...

12 years agoGCC fixes
APTX [Wed, 3 Apr 2013 01:42:56 +0000 (03:42 +0200)]
GCC fixes

12 years agoAdd new columns to file_location, for future features
APTX [Wed, 3 Apr 2013 01:33:01 +0000 (03:33 +0200)]
Add new columns to file_location, for future features

12 years agoAdd the path_map table to the schema.
APTX [Tue, 2 Apr 2013 19:45:43 +0000 (21:45 +0200)]
Add the path_map table to the schema.

12 years agoMake LocalMyList compile with Qt4 again.
APTX [Tue, 2 Apr 2013 18:00:48 +0000 (20:00 +0200)]
Make LocalMyList compile with Qt4 again.