bcc8a4eb5f
Add a TODO
2015-02-17 00:28:58 +01:00
7c61efc3c2
Model for storing Danbooru tags
2015-02-17 00:28:31 +01:00
64464c15fe
Implement proper saving files (still buggy somehow)
2015-02-16 00:12:14 +01:00
da1dd64317
Really fix CMakeLists.txt
2015-02-15 23:52:31 +01:00
1a8401d584
Fix installation
2015-02-15 23:37:54 +01:00
9aa5a7c839
Rename the xmlgui file
2015-02-15 23:36:36 +01:00
77ad8472c5
Use a lambda for a single Q_EMIT rather than a slot
2015-02-15 22:14:40 +01:00
70ccd49d04
Fix a few errors in board URL retrieval
...
Some functions accessed an empty QString (m_boardUrl) because it was not
yet filled at the time, breaking logic elsewhere. This is now fixed.
2015-02-15 22:10:58 +01:00
b951cddee4
Put a TODO for "password salts"
...
The way Danbooru handles passwords is simplistic to stay the least. It's
also impossible to know the "password salt" without visiting the API
page. As such, "salts" need to be put along with the board they
originate from.
The code doesn't handle missing keys, hence this TODO.
2015-02-15 22:05:17 +01:00
dfb9a42a1b
Put blacklist configuration in the build system
2015-02-15 22:04:58 +01:00
169c10288e
Handle blacklists and user-supplied URLs in main window
...
Previously, hardcoded URLs would be supplied to the connect widget: now
the preferences are correctly handled.
2015-02-15 22:03:57 +01:00
64021c47e9
Configuration for blacklists
2015-02-15 22:03:25 +01:00
98577bbcb8
Allow setting URLs in the widget (for config) and fix "salt" generation
2015-02-15 21:40:27 +01:00
8493f036ba
Reorganize code a bit
2015-02-15 19:03:57 +01:00
32dd9bfc1a
Hide the connect widget whether we're auto-downloading or not
2015-02-15 18:52:34 +01:00
d5d0d8ac03
Expose the auto-download functionality in the UI
2015-02-15 18:33:45 +01:00
b72c14dc89
UI file for the search widget - WIP
2015-02-15 18:33:25 +01:00
bc63d4e575
Plug the search widget in the main window (top dock)
...
Move all dock-related initialization to a dedicated function
2015-02-15 18:32:38 +01:00
45016bd3a2
Make the search widget functional
2015-02-15 18:32:13 +01:00
f4842f7eb9
Add an option to allow auto-download after connection
2015-02-15 18:31:29 +01:00
c1d0710db3
Rename to searchwidget
2015-02-15 16:37:47 +01:00
8570cd6d80
Add support for pool retrieval
2015-02-15 16:37:11 +01:00
ca5ee8b192
Set an object name
2015-02-15 16:36:47 +01:00
9e5dd48bc6
Some test code to see if pool download is working
2015-02-15 01:00:37 +01:00
21360fbe2f
Add a poolMode property to QML
...
Pools don't need infinite scrolling, so set a property which will be
handled from C++ to disable the behavior.
TODO: Ensure that pools with items > 100 are handled.
2015-02-15 00:59:25 +01:00
5a4d2afa84
Add a poolAt() convenience function to the model
...
This will allow retrieving pools from the UI.
2015-02-15 00:58:31 +01:00
9b47e26bcb
Uncomment qDebugs for debugging
2015-02-15 00:58:05 +01:00
7afc82127f
Add the pool model to the build system
2015-02-15 00:18:14 +01:00
1af084647f
Add a basic pool widget
...
More work is needed to make it workable:
- Download pools
- Clearing the thumbnail area when things are fetched
- Find a way to get more posts from the same pool
2015-02-15 00:16:33 +01:00
8ed916ef20
Add Q_DECL_OVERRIDE
2015-02-15 00:16:06 +01:00
4f21002603
Fix Qt includes
2015-02-15 00:15:48 +01:00
488efc390b
Model for displaying pools
2015-02-15 00:15:03 +01:00
135b4053b8
Stubs for the fetch widget
2015-02-14 14:49:32 +01:00
5f07fe2ea1
Reset the service when connecting a second time and fetch posts after
...
connected
2015-02-14 14:46:07 +01:00
aaf8adf560
Add a reset() function to reset the service to default settings
2015-02-14 14:45:29 +01:00
1b9c0adaa8
Put setting loading in a slot so it can be used at startup and when
...
preferences change
2015-02-13 07:48:12 +01:00
929a099760
Update to match the current API of DanbooruService
2015-02-13 07:47:43 +01:00
0200965e99
Add the missing method setBlacklist(const QStringList&)
...
On top of that, make nextPostPage() Q_INVOKABLE so it can be used from
QML.
2015-02-13 07:46:57 +01:00
555ed62e1c
Use the configured cache size
2015-02-12 21:33:03 +01:00
f4566d3aca
Large refactoring of DanbooruService
...
The idea is to use a long-lived DanbooruService instance, rather than
recreating it, so move most of the parameters via setters and getters.
Still needs some adjustments for resetting.
2015-02-12 21:31:30 +01:00
e1045e1fa6
Hook maximum allowed rating into the configuration
...
I wonder if max posts should be a setter in DanbooruService...
2015-02-12 00:41:21 +01:00
2f8d935dd6
Add a combo box for maximum allowed rating
2015-02-12 00:40:46 +01:00
0166cb0360
Set the combo box to the actual rating in the configuration
2015-02-12 00:40:28 +01:00
ad933d96dd
Add maximum allowed rating
2015-02-12 00:39:51 +01:00
6db97fbc5d
Hook up the configuration action
2015-02-12 00:19:10 +01:00
1127033e47
Adjust to changes in the UI
2015-02-12 00:18:54 +01:00
7af2981e41
No need to use up/down in the UI, order doesn't matter
2015-02-12 00:18:26 +01:00
b5c96e5035
KConfigXT: use default boards
2015-02-12 00:18:02 +01:00
deb070b907
This is not needed
2015-02-12 00:17:46 +01:00
80e995f0a0
Hook the main page
2015-02-12 00:06:54 +01:00