1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 18:22:10 +02:00
Commit Graph

111 Commits

Author SHA1 Message Date
David Rosca
408b2ffad6
TabWidget: Add public webTab method
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
89f3b18df3
AutoFill: Add option to disable auto complete on sites
This is particularly useful with Encrypted backend as it will
only prompt for password when you actually want to fill passwords.
2018-01-28 15:47:57 +01:00
David Rosca
e719a959d4
AutoFill: completePage now returns only list of usernames 2018-01-28 15:47:10 +01:00
David Rosca
2a22f61dec
AutoFill: Make it possible to request only usernames from backend 2018-01-28 12:53:59 +01:00
David Rosca
4bf85ee3cb WebPage: Register QWebChannel on isolated ApplicationWorld
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.

GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
1ea0c570c4 SqlDatabase: Remove exec and execAsync methods 2017-12-23 18:34:46 +01:00
David Rosca
c1c168aae9 Create every QSqlQuery with correct database for current thread
Queries are now always executed on correct database instance.
Databases are also stored in thread local storage instead of in hash
table with mutex.

Closes #2498
2017-12-18 13:06:42 +01:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
fcc3cf1809 Don't show multiple autofill notifications to save/update password
Close the old autofill notification before adding new one.
2017-05-29 19:28:31 +02:00
David Rosca
4d51b4c00c Use WebPage::SaveJsWorld for executing scripts
QWebChannel must still be registered on MainWorld
2016-12-26 16:45:47 +01:00
David Rosca
b8f5a4ccf1 Fix build with Qt 5.6 2016-05-11 11:09:50 +02:00
David Rosca
c004d52db1 Run js code in ApplicationWorld with QtWebEngine 5.7 2016-05-10 10:47:35 +02:00
David Rosca
54f3e78396 Fix grammar "Are you sure to..." -> "Are you sure you want to..." 2016-02-15 09:58:14 +01:00
David Rosca
97ce417798 Fix use of QList::first() 2015-10-23 12:26:27 +02:00
David Rosca
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
David Rosca
dc29f6bde5 QzTools: Add function to obtain url of QWebFrame
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used

The issue with empty frame url caused AutoFill to not complete
such frames.

Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
3360a531f1 AutoFill: Rewrite AutoFill to complete each frame separately
Fixes crash from #1417
2014-09-19 13:16:02 +02:00
David Rosca
a588d209a0 [PasswordManager] Save host also with port
Makes it possible to save different passwords for page.com and page.com:23

Closes #1416
2014-07-08 19:28:20 +02:00
S. Razi Alavizadeh
8bee3d937d Improvement in asking of master-password.
- Closes #1356
2014-05-26 00:24:43 +04:30
nowrep
6e18ee7502 [PageFormCompleter] Try to be extra cautious with QWebFrames
This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage

[ci skip]
2014-04-06 15:13:07 +02:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
fe0b03fdb7 Include QDebug in qzcommon.h
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
688e021fff [DatabaseWriter] Replace with new SqlDatabase class 2014-03-15 01:14:06 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
3650aac9ff [Code] Little cleanups after rename QupZilla -> BrowserWindow 2014-02-26 19:55:49 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Mladen Pejaković
1cafad9ed4 [Autofill] Thematic changes 2014-01-08 16:59:21 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
2276a7f274 PageFormCompleter: Coding style
PageFormCompleter::getAllElementsFromPage doesn't need passing
QWebPage *
2013-11-15 19:35:06 +01:00
nowrep
51a262bc8d [Master Password Dialog] Set minimum width and height for widget
Fixes issue with possible resize to 1x1 px size
2013-07-24 12:33:39 +02:00
nowrep
2554ad9870 Coding style: Uninline public functions 2013-06-30 12:41:01 +02:00
Jonathan Hooverman
eee53c8a42 Fixed some typos in passwordbackends 2013-06-28 13:46:46 +02:00
S. Razi Alavizadeh
f01157d71c EncryptedPasswordBackend: ask password on function call not on each entry
-also fixed converting to plain data
2013-06-26 21:17:43 +04:30
nowrep
f6449b0402 EncryptedPasswordBackend: Make sure only one ask password dialog is visible at time. 2013-06-26 13:59:46 +02:00
nowrep
7a0a4ea31e EncryptedPasswordBackend: Coding style 2013-06-26 13:24:18 +02:00
S. Razi Alavizadeh
3170fccf0e [MasterPasswordDialog] Fixed, clear masterpassword always changes backend.
-Also fixed recursive call to QDialog::exec()
2013-06-21 03:27:58 +04:30
S. Razi Alavizadeh
5ea3572368 [Windows][Tests] Fixed compile issues on Windows. 2013-06-19 02:07:46 +04:30
S. Razi Alavizadeh
05755158f9 [PasswordManager] Added DatabaseEncryptedPasswordBackend.
-It uses AesInterface for all encryption/decryption (AES 256 CBC)
2013-06-19 02:07:43 +04:30
S. Razi Alavizadeh
102d90b77b [PasswordManager] Moved saving selected backend to switchBackend().
-Also added PasswordManager::passwordBackendChanged() signal.
-Also some other options moved to AutoFillManager::currentPasswordBackendChanged()
2013-06-19 02:07:41 +04:30