]> Some of my projects - localmylist.git/log
localmylist.git
12 years agoRequest FileFlag::MyListViewed for better view date parsing.
APTX [Sat, 15 Jun 2013 22:36:21 +0000 (00:36 +0200)]
Request FileFlag::MyListViewed for better view date parsing.

12 years agoAdd rule to notify new_pending_request on update.
APTX [Sat, 8 Jun 2013 22:21:40 +0000 (00:21 +0200)]
Add rule to notify new_pending_request on update.

This notifies when a failed request can be retried.

12 years agoProper word boundaries around builtin variables.
APTX [Sat, 8 Jun 2013 22:12:56 +0000 (00:12 +0200)]
Proper word boundaries around builtin variables.

12 years agoAdd line numbers to the rename script editor.
APTX [Thu, 6 Jun 2013 15:11:25 +0000 (17:11 +0200)]
Add line numbers to the rename script editor.

This uses code from a Qt example of a code editor.

12 years agoAdd availableSettings method.
APTX [Thu, 6 Jun 2013 14:52:29 +0000 (16:52 +0200)]
Add availableSettings method.

12 years agoAdd a very basic Settings Dialog to edit settings stored in the DB.
APTX [Thu, 6 Jun 2013 14:46:27 +0000 (16:46 +0200)]
Add a very basic Settings Dialog to edit settings stored in the DB.

Currently shows everything in a plain line edit, including the password.

12 years agoFix include. Again...
APTX [Thu, 6 Jun 2013 00:47:30 +0000 (02:47 +0200)]
Fix include. Again...

12 years agoFix include.
APTX [Thu, 6 Jun 2013 00:42:41 +0000 (02:42 +0200)]
Fix include.

12 years agoAdd syntax highlighting for AniAdd scripts.
APTX [Thu, 6 Jun 2013 00:38:18 +0000 (02:38 +0200)]
Add syntax highlighting for AniAdd scripts.

The colors are not final.

12 years agoAdd support for nested database transactions.
APTX [Wed, 5 Jun 2013 12:32:50 +0000 (14:32 +0200)]
Add support for nested database transactions.

12 years agoBetter way of setting monospace fonts.
APTX [Tue, 4 Jun 2013 18:39:28 +0000 (20:39 +0200)]
Better way of setting monospace fonts.

12 years agoFix how requests failed with data errors interacts with failing requests from old...
APTX [Tue, 4 Jun 2013 18:32:15 +0000 (20:32 +0200)]
Fix how requests failed with data errors interacts with failing requests from old clients.

Failing requests from old clients ignores failed requests. Failing a request with a data error sets the client_id to 0.

12 years agoPrefix type with namespace name, for script bindings.
APTX [Tue, 4 Jun 2013 18:30:00 +0000 (20:30 +0200)]
Prefix type with namespace name, for script bindings.

12 years agoUse monospace fonts in the script editor and client log tab.
APTX [Tue, 4 Jun 2013 18:13:46 +0000 (20:13 +0200)]
Use monospace fonts in the script editor and client log tab.

12 years agoFix messagehandler for Qt4.
APTX [Tue, 4 Jun 2013 17:58:55 +0000 (19:58 +0200)]
Fix messagehandler for Qt4.

12 years agoAdd simple client log tab.
APTX [Tue, 4 Jun 2013 17:50:07 +0000 (19:50 +0200)]
Add simple client log tab.

Displays whatever gets printed to (usually) stderr starting from the time the tab was opened.

12 years agoAdd basic log viewer tab.
APTX [Tue, 4 Jun 2013 17:27:56 +0000 (19:27 +0200)]
Add basic log viewer tab.

12 years agoClarify Request Data label in MyList view context menu.
APTX [Tue, 4 Jun 2013 01:45:41 +0000 (03:45 +0200)]
Clarify Request Data label in MyList view context menu.

12 years agoA more complete connection settings dialog.
APTX [Mon, 3 Jun 2013 23:50:27 +0000 (01:50 +0200)]
A more complete connection settings dialog.

The settings aren't set yet.

12 years agoFix clearPendingRequestDataErrors.
APTX [Mon, 3 Jun 2013 13:52:57 +0000 (15:52 +0200)]
Fix clearPendingRequestDataErrors.

clearPendingRequestDataErrors increments data_error_count so it should start with 0, not 1.

12 years agoDisable deletion of pending requests.
APTX [Sun, 2 Jun 2013 23:54:08 +0000 (01:54 +0200)]
Disable deletion of pending requests.

This is actually quite dangerous. Requests for Unknown Files already get deleted when the Unknown File is deleted. Other requests may be vital for LML to be able to rename/display files.

12 years agoRename resetPendingRequestErrorCount => resetPendingRequest
APTX [Sun, 2 Jun 2013 23:49:13 +0000 (01:49 +0200)]
Rename resetPendingRequestErrorCount => resetPendingRequest

12 years agoImplement UnknownFilesTab::reload()
APTX [Sun, 2 Jun 2013 23:48:21 +0000 (01:48 +0200)]
Implement UnknownFilesTab::reload()

12 years agoUse a more useful selection mode.
APTX [Sun, 2 Jun 2013 23:46:52 +0000 (01:46 +0200)]
Use a more useful selection mode.

This selection mode makes it easy to select entries with the keyboard.

12 years agoAdd new tab showing current Pending Requests.
APTX [Sun, 2 Jun 2013 23:44:25 +0000 (01:44 +0200)]
Add new tab showing current Pending Requests.

12 years agoMove Select All/Clear Selection buttons to common actions toolbar.
APTX [Sun, 2 Jun 2013 16:33:21 +0000 (18:33 +0200)]
Move Select All/Clear Selection buttons to common actions toolbar.

12 years agoCompile fixes.
APTX [Thu, 30 May 2013 21:16:42 +0000 (23:16 +0200)]
Compile fixes.

12 years agoCompile fixes.
APTX [Thu, 30 May 2013 21:03:58 +0000 (23:03 +0200)]
Compile fixes.

12 years agoAdd custom message handler installed by MyList.
APTX [Thu, 30 May 2013 21:00:46 +0000 (23:00 +0200)]
Add custom message handler installed by MyList.

To disable set MyList::INSTALL_CUSTOM_ERROR_HANDLER to false.

12 years agoFix spelling recieve => receive.
APTX [Thu, 30 May 2013 14:03:26 +0000 (16:03 +0200)]
Fix spelling recieve => receive.

12 years agoSearch string can be anywhere starting from 3 letters.
APTX [Thu, 30 May 2013 13:55:13 +0000 (15:55 +0200)]
Search string can be anywhere starting from 3 letters.

12 years agoClang analyzer fixes.
APTX [Thu, 30 May 2013 00:17:39 +0000 (02:17 +0200)]
Clang analyzer fixes.

12 years agoSet connection_error_count and data_error_count only in one place.
APTX [Sun, 26 May 2013 21:35:17 +0000 (23:35 +0200)]
Set connection_error_count and data_error_count only in one place.

12 years agoClear Pending Request Data Errors with the other ones.
APTX [Sun, 26 May 2013 21:30:27 +0000 (23:30 +0200)]
Clear Pending Request Data Errors with the other ones.

12 years agoPrint debug message on pending mylist update data error.
APTX [Sun, 26 May 2013 02:26:27 +0000 (04:26 +0200)]
Print debug message on pending mylist update data error.

12 years agoFix typo.
APTX [Sun, 26 May 2013 02:25:50 +0000 (04:25 +0200)]
Fix typo.

This doesn't actually fix anything. Named binds are emulated with positional ones on pg so the result should be the same.

12 years agoIncrease the size of the codec columns.
APTX [Sun, 26 May 2013 01:48:57 +0000 (03:48 +0200)]
Increase the size of the codec columns.

Codecs of all streams are concatenated and some files have a lot of streams.

12 years agoAdd clearPendingRequestDataErrors
APTX [Sun, 26 May 2013 00:20:00 +0000 (02:20 +0200)]
Add clearPendingRequestDataErrors

12 years agoAdd failed column to pending_request marking that a request failed with a data error.
APTX [Sat, 25 May 2013 20:51:46 +0000 (22:51 +0200)]
Add failed column to pending_request marking that a request failed with a data error.

A connection error is no reply in x time, while data errors have to be retried after x time.

12 years agoReport data errors.
APTX [Wed, 15 May 2013 15:11:03 +0000 (17:11 +0200)]
Report data errors.

12 years agoAutomatically fail requests from old clients when starting a new request handler.
APTX [Mon, 13 May 2013 20:06:07 +0000 (22:06 +0200)]
Automatically fail requests from old clients when starting a new request handler.

12 years agoAdd new columns to pending_request.
APTX [Mon, 13 May 2013 20:04:10 +0000 (22:04 +0200)]
Add new columns to pending_request.

12 years agoAdd a sequence numbering udp client instances.
APTX [Mon, 13 May 2013 19:37:16 +0000 (21:37 +0200)]
Add a sequence numbering udp client instances.

12 years agoSet lid when adding a new file to AniDB MyList.
APTX [Mon, 13 May 2013 02:18:10 +0000 (04:18 +0200)]
Set lid when adding a new file to AniDB MyList.

12 years agoSet the fid as well as the lid.
APTX [Mon, 13 May 2013 02:08:19 +0000 (04:08 +0200)]
Set the fid as well as the lid.

The fid is used to update the file entry when a reply is received. MyListAddCommand prefers the lid over fid.

12 years agoPrint the relevant ids in warnings.
APTX [Mon, 13 May 2013 01:49:28 +0000 (03:49 +0200)]
Print the relevant ids in warnings.

12 years agoAdd shortcut for reload action.
APTX [Mon, 13 May 2013 01:18:07 +0000 (03:18 +0200)]
Add shortcut for reload action.

Shortcut: F5.

12 years agoOrder by episode type ordering as well as epno in OpenFiledata methods.
APTX [Sun, 12 May 2013 12:35:06 +0000 (14:35 +0200)]
Order by episode type ordering as well as epno in OpenFiledata methods.

12 years agoAdd "OR REPLACE" to all CREATE RULE/VIEW statements in the schema.
APTX [Tue, 7 May 2013 22:56:59 +0000 (00:56 +0200)]
Add "OR REPLACE" to all CREATE RULE/VIEW statements in the schema.

12 years agoUse provided key, not it.key()
APTX [Tue, 7 May 2013 22:50:05 +0000 (00:50 +0200)]
Use provided key, not it.key()

The iterator is invalid if it can not find the key.

12 years agoactualPath should be the exact path of the new path, not the old path.
APTX [Tue, 7 May 2013 22:46:58 +0000 (00:46 +0200)]
actualPath should be the exact path of the new path, not the old path.

12 years agoImplement requesting renames for file locations.
APTX [Tue, 7 May 2013 22:33:23 +0000 (00:33 +0200)]
Implement requesting renames for file locations.

12 years agoAdd pixel/version sorting to the other OpenFileData returning methods.
APTX [Tue, 7 May 2013 20:44:36 +0000 (22:44 +0200)]
Add pixel/version sorting to the other OpenFileData returning methods.

12 years agoPrefer the file with the highest version (and pixels) in firstUnwatched*
APTX [Tue, 7 May 2013 20:37:29 +0000 (22:37 +0200)]
Prefer the file with the highest version (and pixels) in firstUnwatched*

12 years agoSelect newly added tab automatically.
APTX [Sun, 5 May 2013 23:06:38 +0000 (01:06 +0200)]
Select newly added tab automatically.

12 years agoUpdate fileLocationUpdate handling.
APTX [Sun, 5 May 2013 13:05:19 +0000 (15:05 +0200)]
Update fileLocationUpdate handling.

fid was added to the payload but it wasn't handled in the code. This fixes file location updates in the model (Qt5 only).

12 years agoFix instantiation order warning.
APTX [Sun, 5 May 2013 12:39:33 +0000 (14:39 +0200)]
Fix instantiation order warning.

12 years agoImprove renaming on windows.
APTX [Sun, 5 May 2013 00:53:19 +0000 (02:53 +0200)]
Improve renaming on windows.

Files can now be renamed, even if they differ in case only. Case changes are more difficult to handle on windows, because a case change does not change the path, requiring checking and/or renaming of every path element. The path stored in file location is now the path reported by the system.

12 years agoAdd missing columns to Database::getFileByPath
APTX [Sun, 5 May 2013 00:46:43 +0000 (02:46 +0200)]
Add missing columns to Database::getFileByPath

12 years agoRemove all reload buttons from tabs and replace them with a generic reload action.
APTX [Fri, 3 May 2013 14:44:02 +0000 (16:44 +0200)]
Remove all reload buttons from tabs and replace them with a generic reload action.

12 years agoAdd option to lock Tab Layout.
APTX [Thu, 2 May 2013 23:23:49 +0000 (01:23 +0200)]
Add option to lock Tab Layout.

12 years agoAdd Search tab to localmylist-management and remove search-gui.
APTX [Thu, 2 May 2013 14:53:05 +0000 (16:53 +0200)]
Add Search tab to localmylist-management and remove search-gui.

12 years agoMyListTab keyboard selection of rows from filter line.
APTX [Tue, 30 Apr 2013 23:18:47 +0000 (01:18 +0200)]
MyListTab keyboard selection of rows from filter line.

Pressing return opens first unwatched file.

12 years agoSave currently selected tab.
APTX [Tue, 30 Apr 2013 22:21:57 +0000 (00:21 +0200)]
Save currently selected tab.

12 years agoAdd option to delete selected unknown files.
APTX [Tue, 30 Apr 2013 22:18:04 +0000 (00:18 +0200)]
Add option to delete selected unknown files.

12 years agoExport RaiiTransaction.
APTX [Tue, 30 Apr 2013 22:17:33 +0000 (00:17 +0200)]
Export RaiiTransaction.

12 years agoAdd Unknown FilesTab.
APTX [Tue, 30 Apr 2013 14:43:53 +0000 (16:43 +0200)]
Add Unknown FilesTab.

Currently just shows all unknown files.

12 years agoSome improvements for Tabs and TabWidget.
APTX [Tue, 30 Apr 2013 13:19:32 +0000 (15:19 +0200)]
Some improvements for Tabs and TabWidget.

Have a way of getting the id statically and via virtual call. Not perfect, but works.
Create tabs with a parent set. Avoids creating top-level windows only to be given a parent later.

12 years agoTabs can now be added and removed.
APTX [Mon, 29 Apr 2013 23:08:44 +0000 (01:08 +0200)]
Tabs can now be added and removed.

12 years agoBuild fixes.
APTX [Mon, 29 Apr 2013 14:56:11 +0000 (16:56 +0200)]
Build fixes.

12 years agoSplit tabs into separate classes.
APTX [Mon, 29 Apr 2013 14:48:56 +0000 (16:48 +0200)]
Split tabs into separate classes.

12 years agoAccount for file/ep relations for the total episodes watched in an anime.
APTX [Sun, 28 Apr 2013 12:45:24 +0000 (14:45 +0200)]
Account for file/ep relations for the total episodes watched in an anime.

12 years agoFix State column values for anime entries.
APTX [Sat, 27 Apr 2013 16:28:20 +0000 (18:28 +0200)]
Fix State column values for anime entries.

12 years agoUse the data from the sent command rather than the config.
APTX [Sat, 27 Apr 2013 15:46:36 +0000 (17:46 +0200)]
Use the data from the sent command rather than the config.

The config might change from what has been used with the command.

12 years agoWhen adding a file to AniDB MyList, update file with default my* data.
APTX [Sat, 27 Apr 2013 15:28:22 +0000 (17:28 +0200)]
When adding a file to AniDB MyList, update file with default my* data.

12 years agoAdd State column to MyList model.
APTX [Sat, 27 Apr 2013 15:13:34 +0000 (17:13 +0200)]
Add State column to MyList model.

12 years agoAdd setting to control removal of directories during rename.
APTX [Fri, 26 Apr 2013 20:02:53 +0000 (22:02 +0200)]
Add setting to control removal of directories during rename.

12 years agoDo not remove watched directories.
APTX [Fri, 26 Apr 2013 19:53:48 +0000 (21:53 +0200)]
Do not remove watched directories.

12 years agoSet rename_error.
APTX [Fri, 26 Apr 2013 19:00:31 +0000 (21:00 +0200)]
Set rename_error.

12 years agoCorrect debug message.
APTX [Fri, 26 Apr 2013 18:33:03 +0000 (20:33 +0200)]
Correct debug message.

12 years agoUse QDir::AllDirs to get all directories and and filtered files in one call.
APTX [Fri, 26 Apr 2013 18:30:57 +0000 (20:30 +0200)]
Use QDir::AllDirs to get all directories and and filtered files in one call.

12 years agoClean up empty directories after rename.
APTX [Fri, 26 Apr 2013 18:27:17 +0000 (20:27 +0200)]
Clean up empty directories after rename.

Sometimes, when data in LML changes, files might get moved from a directory created by rename rules. This might leave some empty directories. This change cleans up those directories after renaming.

12 years agoUse single quotes for values in theInput field.
APTX [Fri, 26 Apr 2013 16:03:17 +0000 (18:03 +0200)]
Use single quotes for values in theInput field.

Some titles contain double quotes while single quotes are already replaced by `.
The output field does not really need this change as it is not parsed.

12 years agoAdd Min/MaxRelatedEpNo variables to the rename script env.
APTX [Thu, 25 Apr 2013 17:23:51 +0000 (19:23 +0200)]
Add Min/MaxRelatedEpNo variables to the rename script env.

This allows to add an episode range the file covers, rather than just the first/main episode number.

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.