be4efc6ef9
Move code around
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
f51ce1f57d
Add dummy "Browse" button
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
43dfb3fcf5
Remove compiler reorder warning
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
b1f6d929c4
Add dummy GUI for default preferences
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
2a35903865
Use "privacy,svg" icon for preferences
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
df7491b9a4
Remove hasOptionDefault from permission item
...
Unused idea.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
a1baae8d8f
Add more Private mode handlings
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
28d5b4adff
Disable site permission controls when in Private
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
4fa90d3ad2
Don`t store sitesettings in db in private mode
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
513c3dd849
Fix unique index creation during profile migration
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
3b259711f4
Add preliminary Cookie support
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
90ec7bcf99
Only try to save data when they changed
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
9628b4b7c5
Use SiteSettings struct to move the settings data
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
90181a0606
Update loops in getSiteSettings method
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
5e0a779d53
Add preparations for handling Private mode setting
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
653e7aa429
Rewrite permissions in SiteInfo window
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
5032c504fb
Clean the unused code
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
942608b780
Rework attributes
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
d433b2292f
More work and rewrites of ideas
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
8a07a7f724
Remove unneeded method
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
2df74f2f05
Update database column names
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
25261d5402
Clean and set default attributes for falkon pages
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
59e0517683
Always update default value for attribute
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
a2380e0b24
Add a little framework for webAttributes
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
4c9213bc30
A small step to add full nice Attribute support
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
bbad4d86a8
Start working on QWESettings Attributes
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
6f0249f78b
GIT_SILENT SiteSettings: Remove unused method
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
2e3e3749b4
Add implementation for SiteInfo Permissions
...
Done in nasty way which generates a lot of requests to database and
needs to be optimized.
Fixed an error when reading set permission.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
13ab031a5e
Tighten switches, remove empty lines between cases
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
a2eb0ad5ba
Fix typo "ASK" > "Ask"
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
109f8e0d3a
Show Ask for Default permission if set to Default
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
226c1acbd1
Show current default value beside the default option in site info
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
9f6527ce21
Change default permission to ask
...
Default value of default was set to default, silly me.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
9365cdce41
Add mockup permissions UI into SiteInfo window
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
e6a6a64d68
Enable alternateRowColors in Html5PermissionDialog
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
5b473b6866
Remove Q_UNREACHABLE from my new code
...
It is not used anywhere in Falkon code, and it seems to close program
when it is reached (at least the compiled as debug version).
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
ab0ff451c2
Add implementation of default permissions dialog
...
Still work in progress
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
5eff4dc0e5
Asdd UI for default HTML5 permission settings
...
- It is a dummy UI, may change in the future.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
0c462f0a1c
SiteSettings add Ask option for permission
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
b3e5c716dd
Constify things a bit
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
81eaf7c32f
Add data cache in HTML5PermDialog
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
f8da0b0048
Update HTML5 permissions dialog
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
7c28f6e73d
Rewrite HTML5 permissions to use database
...
- The permission dialog in preferences is broken
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
d0b9510b73
Rewrite JS and IMGs to use SiteSettingManager
...
- The set* functions needs a redesign
- There is a chance that the database update will take longer than the
time it takes to start reloading, need to stress test or redesign.
- Might still need to look ar StatusBarIcons plugin for optimizations
and potential changes
- I am still unsure how to store data in the database, so far I use
numbers which is good I believe since I want to have 3 states,
(default, allow, deny)
- Might need to add overloaded functions with bool arguments to make the
rest of the code simpler.
PS: I believe it is fine to have a bit more complicated logic in
backend while the frontend will stay simple.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
b10b310d11
Add numRowsAffected support to SqlQueryJob
...
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:23 +02:00
dc9ff73693
Initial introduction of SiteSettingsManager
...
- New database SQL querry
- Update current database
- Preparation for setting site settings
WIP: This is an initial draft and the design of the database table might
change as the development goes on.
WIP2: Even this commit and commit message will be scraped.
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:22 +02:00
l10n daemon script
34bbe6fa76
GIT_SILENT Sync po/docbooks with svn
2024-06-12 01:26:18 +00:00
l10n daemon script
e43025dcad
GIT_SILENT Sync po/docbooks with svn
2024-06-10 01:34:14 +00:00
Heiko Becker
884a694b41
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit b3538e6d59
)
2024-06-10 00:42:57 +02:00
l10n daemon script
14e8f81cd2
GIT_SILENT Sync po/docbooks with svn
2024-06-05 01:34:57 +00:00