1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00
Commit Graph

6369 Commits

Author SHA1 Message Date
16de719412
HTML5 permissions: Get supported features from SiteSettings
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
ee61b0accf
Remove html5 permission dialog
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
c90f445368
SiteSettings: Remove unused "SetDefaultPermission"
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
cbd3b9fb96
Preferences: Store default site settings values
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
070e8374b0
SiteSettings: Remove default option for Cookies
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
1bd5bd7846
SiteSettings: Remove some compiler warnings
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
2fed44371b
SiteSettings: Fix typo
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
f2980e325e
Add debug sidebar plugin "SiteSettingsView"
Allows to visualise the current webpage settings.

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
579021f2c7
SiteSettings: Fix crash at exit
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
cac3b3e247
Compiles with Qt6
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
c2e05ec83c
Make visible strings translatable
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-06-12 21:38:24 +02:00
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