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

4646 Commits

Author SHA1 Message Date
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
60fc262bc0 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-14 01:17:03 +00:00
l10n daemon script
0c0de256d5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-12 01:19:01 +00:00
l10n daemon script
57e867035a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-05-04 01:21:00 +00:00
l10n daemon script
c938385c07 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-04-29 01:18:23 +00:00
Emir SARI
48133ea417 Apply i18n to file size and download speed values 2024-04-02 21:28:25 +00:00
l10n daemon script
3e935e6779 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-28 01:17:46 +00:00
l10n daemon script
d302dab557 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-03-09 01:14:16 +00:00
l10n daemon script
6ca937e668 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-02-05 01:12:58 +00:00
l10n daemon script
518b65037c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-02-03 01:14:13 +00:00
l10n daemon script
56c9abbebc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2024-01-26 01:13:08 +00:00
ea46326c2e SpeedDial: Add option to lock the dials position
BUG: 403684
FIXED-IN: 24.04.0

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-01-13 10:16:04 +00:00
08f7a45021
Accept back and forward mouse button events
QtWebEngine engine seems to has its own binding for these buttons in the
mouse release event while Falkon mostly works with mousePress events.

This causes double action on the same button click.

BUG: 479550

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2024-01-10 00:54:10 +01:00
Daozhong Ma
435962a9ae Fix addressbar dropdown is compressed
BUG: 478748
2023-12-31 06:35:37 +00:00
Yifan Zhu
aba225af72 GIT_SILENT format changed lines 2023-12-22 20:03:08 +00:00
Yifan Zhu
0681dccfcc Fix compilation against Qt 6.7
QUrl::fromEncoded(const QByteArray &url...) is removed in Qt 6.7 in
favor of QUrl::fromEncoded(QByteArrayView input...).
Wrap the corresponding argument in QByteArray() to make the cast explicit.
This is backwards-compatible with old Qt versions.

See qt/qtbase commit aa481854a98b1be0a061257ae4e817adcf1f77fc

BUG: 478857
2023-12-22 20:03:08 +00:00