[office/skrooge] doc: Update documentation

2024-01-21 Thread Stephane MANKOWSKI
Git commit 1a64a9c4e9feccdf33a81d7aaf37d30063f2bd7d by Stephane MANKOWSKI.
Committed on 21/01/2024 at 17:42.
Pushed by smankowski into branch 'master'.

Update documentation

M  +3-1doc/index.docbook

https://invent.kde.org/office/skrooge/-/commit/1a64a9c4e9feccdf33a81d7aaf37d30063f2bd7d

diff --git a/doc/index.docbook b/doc/index.docbook
index 81dd79d4f..3b39e5f89 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -52,6 +52,8 @@
   2020
   2021
   2022
+  2023
+  2024
   Stéphane MANKOWSKI
   Guillaume DE BURE
 
@@ -312,7 +314,7 @@
  
  To create a bookmark, select a page from the page chooser you want to bookmark, and customize 
its content to your liking. When finished, in the Bookmarks dock, bring up the contextual menu, and select 
Bookmark current page.
  
- Each bookmark or bookmark folder can be "autostarted",  it 
will be automatically opened when starting . This way, you can fully 
customize the default  layout.
+ Each bookmark or bookmark folder can be "autostarted",  it 
will be automatically opened when starting  in the order of the 
bookmarks. This way, you can fully customize the default  
layout.
  You can select the text and icon you want for each bookmark or 
bookmark folder.

   


[office/skrooge] /: rename non-idiomatic Skrooge terminology: operation -> transaction and pointed -> marked

2023-12-14 Thread Stephane MANKOWSKI
Git commit e330b9d303aab29edbc13d49d6d82e3d424b0197 by Stephane MANKOWSKI.
Committed on 14/12/2023 at 21:36.
Pushed by smankowski into branch 'master'.

rename non-idiomatic Skrooge terminology: operation -> transaction and pointed 
-> marked
BUG:478385

This is a fist commit.

M  +1-1.devcontainer/Dockerfile
M  +4-4README.md
M  +244  -244  doc/index.docbook
M  +2-2plugins/generic/skg_file/metadata.json
M  +1-1plugins/generic/skg_monthly/skgmonthlyplugin.cpp
M  +2-2plugins/generic/skg_undoredo/metadata.json
M  +2-2plugins/generic/skg_undoredo/skgundoredoplugin.cpp
M  +3-3plugins/import/skrooge_import_afb120/skgimportpluginafb120.cpp
M  +7-7
plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-weboob.desktop
M  +4-4
plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-weboob_coming.desktop
M  +7-7
plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob-ofx.desktop
M  +7-7
plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob.desktop
M  +4-4
plugins/import/skrooge_import_backend/backends/org.kde.skrooge-import-backend-woob_coming.desktop
M  +2-2plugins/import/skrooge_import_backend/skgimportpluginbackend.cpp
M  +16   -16   plugins/import/skrooge_import_csv/skgimportplugincsv.cpp
M  +2-2plugins/import/skrooge_import_csv/skgimportplugincsv.h
M  +8-8plugins/import/skrooge_import_gnc/skgimportplugingnc.cpp
M  +3-3plugins/import/skrooge_import_gsb/skgimportplugingsb.cpp
M  +8-8plugins/import/skrooge_import_iif/skgimportpluginiif.cpp
M  +13   -13   plugins/import/skrooge_import_kmy/skgimportpluginkmy.cpp
M  +14   -14   plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp
M  +2-2plugins/import/skrooge_import_mmb/skgimportpluginmmb.cpp
M  +8-8plugins/import/skrooge_import_mny/skgimportpluginmny.cpp
M  +2-2plugins/import/skrooge_import_mt940/skgimportpluginmt940.cpp
M  +6-6plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
M  +23   -23   plugins/import/skrooge_import_qif/skgimportpluginqif.cpp
M  +4-4plugins/import/skrooge_import_skg/skgimportpluginskg.cpp
M  +3-3plugins/import/skrooge_import_xhb/skgimportpluginxhb.cpp
M  +4-4plugins/krunner/skrooge_add_operation/metadata.json
M  +1-1plugins/krunner/skrooge_add_operation/skgaddoperation.cpp
M  +1-1plugins/skrooge/default/portfolio.html
M  +1-1plugins/skrooge/default/portfolio.qml
M  +1-1plugins/skrooge/default/unit_table.html
M  +1-1plugins/skrooge/detailed.txt
M  +2-2plugins/skrooge/skrooge_bank/skgaccountboardwidget.cpp
M  +4-4plugins/skrooge/skrooge_bank/skgbankplugin.cpp
M  +1-1plugins/skrooge/skrooge_bank/skgbankpluginwidget.cpp
M  +1-1plugins/skrooge/skrooge_budget/skgbudgetplugin.cpp
M  +2-2plugins/skrooge/skrooge_budget/skgbudgetpluginwidget.cpp
M  +4-4plugins/skrooge/skrooge_budget/skgbudgetpluginwidget_base.ui
M  +6-6plugins/skrooge/skrooge_categories/skgcategoriesplugin.cpp
M  +2-2plugins/skrooge/skrooge_importexport/metadata.json
M  +3-3
plugins/skrooge/skrooge_importexport/skgimportexport_settings.kcfg
M  +31   -31   plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
M  +1-1plugins/skrooge/skrooge_importexport/skgimportexportplugin.h
M  +15   -15   
plugins/skrooge/skrooge_importexport/skgimportexportpluginwidget_pref.ui
M  +2-2plugins/skrooge/skrooge_operation/metadata.json
M  +4-4plugins/skrooge/skrooge_operation/skgoperation_settings.kcfg
M  +5-5plugins/skrooge/skrooge_operation/skgoperationboardwidgetqml.cpp
M  +2-2plugins/skrooge/skrooge_operation/skgoperationboardwidgetqml.h
M  +105  -105  plugins/skrooge/skrooge_operation/skgoperationplugin.cpp
M  +3-3plugins/skrooge/skrooge_operation/skgoperationplugin.h
M  +69   -69   plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +2-2plugins/skrooge/skrooge_operation/skgoperationpluginwidget.h
M  +16   -16   
plugins/skrooge/skrooge_operation/skgoperationpluginwidget_base.ui
M  +8-8
plugins/skrooge/skrooge_operation/skgoperationpluginwidget_pref.ui
M  +1-1plugins/skrooge/skrooge_operation/skgsplittabledelegate.cpp
M  +1-1plugins/skrooge/skrooge_operation/skgsplittabledelegate.h
M  +1-1plugins/skrooge/skrooge_operation/skrooge_operation.rc
M  +2-2plugins/skrooge/skrooge_payee/skgpayeeplugin.cpp
M  +2-2plugins/skrooge/skrooge_payee/skgpayeeplugin.h
M  +1-1plugins/skrooge/skrooge_payee/skgpayeepluginwidget.cpp
M  +2-2plugins/skrooge/skrooge_payee/skgpayeepluginwidget.h
M  +1-1plugins/skrooge/skrooge_report/skgreport_settings.kcfg
M  +17   -17   plugins/skrooge/skrooge_report/skgreportplugin.cpp
M  +13   -13   plugins/skrooge/skrooge_

[office/skrooge] /: doc says pointed operations display a half-filled square, but it's 3 horizontal dots

2023-12-11 Thread Stephane MANKOWSKI
Git commit e3ce1da87a91f1a53a5896aa2499250be289c8d2 by Stephane MANKOWSKI.
Committed on 11/12/2023 at 17:44.
Pushed by smankowski into branch 'master'.

doc says pointed operations display a half-filled square, but it's 3 horizontal 
dots
BUG:478389

M  +1-0.gitignore
M  +1-0CHANGELOG
M  +1-1doc/index.docbook

https://invent.kde.org/office/skrooge/-/commit/e3ce1da87a91f1a53a5896aa2499250be289c8d2

diff --git a/.gitignore b/.gitignore
index 9bc7176bc..5660d3ade 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 *.old
 .cache/
 build/
+build2/
 tests/output/
 tests/scripts/libs/
 tests/scripts/init.sh
diff --git a/CHANGELOG b/CHANGELOG
index 016a0e459..461e11983 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 skrooge (2.32.0)
   *Correction bug 475294: Import file dialog show file://
   *Correction bug 475037: Dashboard: the font in "Income & Expenditure" is too 
small and has a bad contrast
+  *Correction bug 478389: doc says pointed operations display a half-filled 
square, but it's 3 horizontal dots
 
 -- Stephane MANKOWSKI   xxx
 
diff --git a/doc/index.docbook b/doc/index.docbook
index 20426fa75..e35d8ea17 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -164,7 +164,7 @@


  Pointed Operation
- During the reconciliation 
process, you point all operations in  that appear in the 
corresponding account position. Such pointed operations display a half-filled 
square in the Status column of an operations view. A pointed operation is not 
Checked until you complete 
reconciliation.
+ During the reconciliation 
process, you point all operations in  that appear in the 
corresponding account position. Such pointed operations display a half-filled 
square (or something else depending on your kde theme) in the Status column of 
an operations view. A pointed operation is not Checked until you complete 
reconciliation.





[office/skrooge] doc: Doc: Add information on assign/unassign schedule

2023-11-26 Thread Stephane Mankowski
Git commit 20742ff3dd09a10f2652bc839d07827254d1f419 by Stephane Mankowski, on 
behalf of Nikita Krupenko.
Committed on 26/11/2023 at 13:40.
Pushed by smankowski into branch 'master'.

Doc: Add information on assign/unassign schedule

A  +---doc/assign_schedule.png
M  +13   -0doc/index.docbook

https://invent.kde.org/office/skrooge/-/commit/20742ff3dd09a10f2652bc839d07827254d1f419

diff --git a/doc/assign_schedule.png b/doc/assign_schedule.png
new file mode 100644
index 0..32b4cef22
Binary files /dev/null and b/doc/assign_schedule.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index d0ee4e949..c16fdab0c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2303,6 +2303,19 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
  If you need to change the monthly value, just edit the 
template, and all future occurrences will have the new value.


+   
+ Assign Schedule
+ 
+ If you scheduled an operation that is being repeated on a 
regular basis, you can link some old operations to this schedule using the 
"Assign schedule" context menu of an operation. This menu also allow to unlink 
an operation from a schedule or link it to a differrent one.
+ 
+ 
+   
+ 
+   
+ 
+   
+ 
+   
   
   
   


[office/skrooge] /: Remove all dashboard to keep only the qml version

2023-03-04 Thread Stephane MANKOWSKI
Git commit 215398f3c89735444ef4b7ed67fa3ce1768bf1e5 by Stephane MANKOWSKI.
Committed on 04/03/2023 at 22:22.
Pushed by smankowski into branch 'master'.

Remove all dashboard to keep only the qml version

M  +2-0.gitignore
M  +1-0CHANGELOG
M  +1-1doc/index.docbook
M  +0-4plugins/generic/skg_dashboard/CMakeLists.txt
M  +0-14   plugins/generic/skg_dashboard/skgdashboardplugin.cpp
M  +0-15   plugins/generic/skg_dashboard/skgdashboardplugin.h
D  +0-43   plugins/generic/skg_dashboard/skgdashboardpluginwidget_pref.ui
A  +61   -0plugins/skrooge/default/account_table_light.qml [License: 
GPL(v3.0+)]
M  +30   -11   plugins/skrooge/skrooge_bank/skgbankplugin.cpp
M  +1-5plugins/skrooge/skrooge_calculator/skgcalculatorplugin.cpp
M  +4-9plugins/skrooge/skrooge_categories/skgcategoriesplugin.cpp
M  +1-2plugins/skrooge/skrooge_operation/CMakeLists.txt
D  +0-377  plugins/skrooge/skrooge_operation/skgoperationboardwidget.cpp
D  +0-83   plugins/skrooge/skrooge_operation/skgoperationboardwidget.h
M  +1-10   plugins/skrooge/skrooge_operation/skgoperationplugin.cpp
D  +0-248  
plugins/skrooge/skrooge_operation/skgoperationpluginwidget_board.ui
M  +1-6plugins/skrooge/skrooge_report/skgreportplugin.cpp
M  +1-2plugins/skrooge/skrooge_scheduled/skgscheduledboardwidget.cpp
M  +1-2plugins/skrooge/skrooge_search/CMakeLists.txt
D  +0-186  plugins/skrooge/skrooge_search/skgalarmboardwidget.cpp
D  +0-64   plugins/skrooge/skrooge_search/skgalarmboardwidget.h
M  +4-12   plugins/skrooge/skrooge_search/skgsearchplugin.cpp
M  +1-1plugins/skrooge/skrooge_unit/skgunitplugin.cpp

https://invent.kde.org/office/skrooge/commit/215398f3c89735444ef4b7ed67fa3ce1768bf1e5

diff --git a/.gitignore b/.gitignore
index c34f3da68..0f4ff3fe2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,5 @@ mxe
 *~
 *.txt.user
 *.wrk
+.vscode/c_cpp_properties.json
+.vscode/tasks.json
diff --git a/CHANGELOG b/CHANGELOG
index 3acb2da1c..690d73553 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,6 @@
 skrooge (2.30.0)
   *Correction bug 435762: Income widget don't match with 
Income report
+  *Correction: Remove all dashboard to keep only the qml version
   
 -- Stephane MANKOWSKI   xxx
 
diff --git a/doc/index.docbook b/doc/index.docbook
index 7ceec494b..d0ee4e949 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -918,7 +918,7 @@
  Next: Change the content 
of the current page with the content of the next one. (like in a web 
browser) 
  Open highlights...: Open 
highlighted operations
  Open last modified...: 
Open operations modified by the last action done
- Open potential 
duplicates...: Open operations opens a page with operations that 
have the same amounts and same dates   
+ Open potential 
duplicates...: Open a page with operations that have the same 
amounts and same dates
  Open sub operations...: 
Open sub operations of the selected operation. Similar to a double 
click
  Open report...: Open a 
report based on the selection. This is really useful. For example: if you 
select two accounts and launch this action then the report page will be opened but only for operations of 
those accounts   
  Open imported operations not yet 
validated...: nothing to add
diff --git a/plugins/generic/skg_dashboard/CMakeLists.txt 
b/plugins/generic/skg_dashboard/CMakeLists.txt
index 3f3e30d7b..6e8004448 100644
--- a/plugins/generic/skg_dashboard/CMakeLists.txt
+++ b/plugins/generic/skg_dashboard/CMakeLists.txt
@@ -15,12 +15,8 @@ SET(skg_dashboard_SRCS
 skgdashboardwidget.cpp
 skgdashboardboardwidget.cpp)
 
-ki18n_wrap_ui(skg_dashboard_SRCS skgdashboardpluginwidget_pref.ui)
-kconfig_add_kcfg_files(skg_dashboard_SRCS skgdashboard_settings.kcfgc )
-
 KCOREADDONS_ADD_PLUGIN(skg_dashboard SOURCES ${skg_dashboard_SRCS} 
INSTALL_NAMESPACE "skg_gui" JSON "metadata.json")
 TARGET_LINK_LIBRARIES(skg_dashboard Qt5::Gui KF5::Parts skgbasemodeler 
skgbasegui)
 
 ### install files ###
 INSTALL(FILES ${PROJECT_SOURCE_DIR}/skg_dashboard.rc  DESTINATION  
${KDE_INSTALL_KXMLGUI5DIR}/skg_dashboard )
-INSTALL(FILES ${PROJECT_SOURCE_DIR}/skgdashboard_settings.kcfg  DESTINATION  
${KDE_INSTALL_KCFGDIR} )
diff --git a/plugins/generic/skg_dashboard/skgdashboardplugin.cpp 
b/plugins/generic/skg_dashboard/skgdashboardplugin.cpp
index c8d5ecf80..6840932a3 100644
--- a/plugins/generic/skg_dashboard/skgdashboardplugin.cpp
+++ b/plugins/generic/skg_dashboard/skgdashboardplugin.cpp
@@ -15,7 +15,6 @@
 #include 
 #include 
 
-#include "skgdashboard_settings.h"
 #include "skgdashboardboardwidget.h"
 #include "skgdashboardpluginwidget.h"
 #include "skgmainpanel.h"
@@ -76,19 +75,6 @@ SKGTabPage* SKGDashboardPlugin::getWidget()
 return new SKGDashboardPluginWidget(SKGM

[office/skrooge] doc: Documentation proofreading

2022-09-14 Thread Stephane Mankowski
Git commit 3f1e34b2b6b07143d956b84fa5e99027d21041f9 by Stephane Mankowski, on 
behalf of Vlad Rakhmanin.
Committed on 14/09/2022 at 16:12.
Pushed by smankowski into branch 'master'.

Documentation proofreading
Minor tweaks to documentation made at the request of Yuri Chornoivan.
Only changes made are to grammar, punctuation, spelling and phrasing.
No changes to content have been made.

M  +162  -162  doc/index.docbook

https://invent.kde.org/office/skrooge/commit/3f1e34b2b6b07143d956b84fa5e99027d21041f9

diff --git a/doc/index.docbook b/doc/index.docbook
index 3984eab71..7ceec494b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -84,7 +84,7 @@
   
   
   
-is an application for managing your personal finances. It can 
keep track of your incomes and expenses across several accounts, in several 
currencies. It has all the features you should expect from such a tool, such as 
categories, scheduled operations, graphical reporting, stocks management... It 
also has some less common features, like fast operation editing, search as you 
type, refund trackers, customizable attributes...
+is an application for managing your personal finances. It can 
keep track of your incomes and expenses across several accounts, in several 
currencies. It has all the features you should expect from such a tool, such as 
categories, scheduled operations, graphical reporting and stocks management. It 
also has some less common features, such as fast operation editing, search as 
you type, refund trackers and customizable attributes.
   
   
   
@@ -111,7 +111,7 @@
What  Is Not


-  is not a professional tool. It doesn't have functions 
expected from a software you would use to run a small business. It doesn't 
manage taxes, doesn't use double-entry system, or any advanced financial 
function.
+  is not a professional tool. It doesn't have functions 
expected from a software you would use to run a small business. It doesn't 
manage taxes, doesn't use double-entry system, or any advanced financial 
functions.

If you were looking for such a tool, you may want to look at 
Kmymoney or Kraft instead.

@@ -130,7 +130,7 @@
   
   
Account
-   A  account is similar to your bank account. For example, 
if you own one account for you, one for your wife, and one in common, you can 
create these three accounts in . Every time you spend or earn some 
money, you register an operation, 
and indicate the account this operation was made on.
+   A  account is similar to your bank account. For example, 
if you own one personal account, your wife has a personal account, and you both 
have a joint account, you can create these three accounts in . Every 
time you spend or earn some money, you register an operation, and indicate the account this 
operation was made on.

   
   
@@ -140,7 +140,7 @@


  Standard Operation
- A standard operation is the basic operation in . For 
example, "Today, spent 20€ in credit card for groceries".
+ A standard operation is the basic operation in . For 
example, "Today, spent 20€ from credit card for groceries".
  


@@ -151,20 +151,20 @@


  Transfer
- A transfer in  records moving a quantity of money from 
one of your  accounts to another.
+ A transfer in  records the movement of a quantity of 
money from one of your  accounts to another.
  This must not be confused with the payment mode chosen: if you 
made a transfer, for example using your bank's website, to someone else's 
account, this is not a transfer operation, because  doesn't know about 
that other person's account. It is a standard operation with 
transfer as its payment mode.
- Read the transfer section if 
things are still unclear
+ Read the transfer section if 
things are still unclear.



  Validated Operation
- When you import operations from 
your financial institution into , they are not considered valid right 
away and appear in blue. You need to manually validate them. Such validated 
operations no longer appear blue.
+ When you import operations from 
your financial institution into , they are not considered valid right 
away and appear in blue. You need to manually validate them. Such validated 
operations will no longer appear blue.
  Note that it is possible to automatically validate operations 
on import, by turning on the corresponding option in the settings.



  Pointed Operation
- During the reconciliation 
process, you point in  all operations that appear in the 
corresponding account position. Such pointed operations display a half-filled 
square in the Status column of an operations view. A pointed operation is not 
Checked until you comp

[office/skrooge] /: Skrooge field tip and handbook should mention loan Initial balance should be negative

2022-05-12 Thread Stephane MANKOWSKI
Git commit 0a935a59abc59f15013ceea68bd67aca26eb8a39 by Stephane MANKOWSKI.
Committed on 12/05/2022 at 20:20.
Pushed by smankowski into branch 'master'.

Skrooge field tip and handbook should mention loan Initial balance should be 
negative
BUG:451548

M  +1-1doc/index.docbook
M  +1-1plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui

https://invent.kde.org/office/skrooge/commit/0a935a59abc59f15013ceea68bd67aca26eb8a39

diff --git a/doc/index.docbook b/doc/index.docbook
index 6acd64dca..46c8aad68 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1268,7 +1268,7 @@


  Initial balance
- The initial amount of the 
account
+ The initial amount of the account. For a loan 
account, the amount shoud a negative amount corresponding to the 
loan.
   

  Minimum limit
diff --git a/plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui 
b/plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui
index c153a236f..5a5bbea45 100644
--- a/plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui
+++ b/plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui
@@ -103,7 +103,7 @@ p, li { white-space: pre-wrap; }
 p style= margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;You can enter 
expressions here, such as span style= 
font-style:italic;3+4*2/span, skrooge will compute the result 
(span style= 
font-style:italic;11/span)/p/body/html
   
   
-   Initial balance of the account
+   Initial balance of the account (A negative value for a loan 
account)
   
  
 


Re: A few elements in skrooge contain French text

2022-01-22 Thread Stephane MANKOWSKI

Hi Luigi,

My answers are in your email.

Le 22/01/2022 à 14:57, Luigi Toscano a écrit :

Freek de Kruijf ha scritto:

I wonder if the French text in Skrooge should be replaced by English text.
The element are:
Variation sur un mois=%1\n
Variation sur six mois=%1\n
Variation sur un an=%1\n


As this is an original message and not related to the documentation, I think
it's better addressed by skrooge people (now in CC).

Stephane, please note the commit which introduced the new non-English string
was also the commit which bumped the version to 2.27 for the new release. In
other words, even if the strings were meant to be in English, there wouldn't
be any way for translators to translate them in time for the release.
Please make sure you provide some time for translators before the release.

http://commits.kde.org/skrooge/267d63a56b32cd4de9740d1262f948e3caad22ce


Oups ! My fault ! I was not enough focussed :-)
I committed a fix.
You should be able to translate those strings now.




While looking for a point of contact for the whole project I've also noticed
that the skrooge.org is not managed by the kde.org infrastructure, or at least
it's content isn't there. There are several outdated information (the link to
the doc, the IRC channel not on libera, etc).


You are right, I'm managing the content of Skrooge.org.
What is the right link for the documentation ?
What is wrong with IRC (even if I don't use it) ?

Regards.



Ciao

[office/skrooge] /: SPDX

2022-01-08 Thread Stephane MANKOWSKI
Git commit 23bdab979067f4d392921ab56dc94fd16bcf5126 by Stephane MANKOWSKI.
Committed on 08/01/2022 at 22:09.
Pushed by smankowski into branch 'master'.

SPDX

M  +2-2CMakeLists.txt
M  +2-2CTestConfig.cmake
M  +2-2CTestCustom.cmake
M  +2-2cmake/modules/FindLibOfx.cmake
M  +2-2cmake/modules/FindSqlite.cmake
M  +2-2doc/CMakeLists.txt
M  +5-0doc/index.docbook
M  +2-2images/CMakeLists.txt
M  +2-2images/logos/CMakeLists.txt
M  +2-2plugins/CMakeLists.txt
M  +2-2plugins/generic/CMakeLists.txt
M  +2-2plugins/generic/skg_advice/CMakeLists.txt
M  +3-0plugins/generic/skg_advice/org.kde.skg-plugin-advice.desktop
M  +2-2plugins/generic/skg_advice/skgadviceboardwidget.cpp
M  +2-2plugins/generic/skg_advice/skgadviceboardwidget.h
M  +2-2plugins/generic/skg_advice/skgadviceplugin.cpp
M  +2-2plugins/generic/skg_advice/skgadviceplugin.h
M  +2-2plugins/generic/skg_advice/skgtipofdayboardwidget.cpp
M  +2-2plugins/generic/skg_advice/skgtipofdayboardwidget.h
M  +2-2plugins/generic/skg_advice/skgtipofdayboardwidget.ui
M  +2-2plugins/generic/skg_bookmark/CMakeLists.txt
M  +3-0plugins/generic/skg_bookmark/org.kde.skg-plugin-bookmark.desktop
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugin.cpp
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugin.h
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugindockwidget.cpp
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugindockwidget.h
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugindockwidget_base.ui
M  +2-2plugins/generic/skg_bookmark/skgbookmarkpluginwidget_pref.ui
M  +2-2plugins/generic/skg_dashboard/CMakeLists.txt
M  +3-0
plugins/generic/skg_dashboard/org.kde.skg-plugin-dashboard.desktop
M  +2-2plugins/generic/skg_dashboard/skgdashboardboardwidget.cpp
M  +2-2plugins/generic/skg_dashboard/skgdashboardboardwidget.h
M  +2-2plugins/generic/skg_dashboard/skgdashboardplugin.cpp
M  +2-2plugins/generic/skg_dashboard/skgdashboardplugin.h
M  +2-2plugins/generic/skg_dashboard/skgdashboardpluginwidget.cpp
M  +2-2plugins/generic/skg_dashboard/skgdashboardpluginwidget.h
M  +2-2plugins/generic/skg_dashboard/skgdashboardpluginwidget_pref.ui
M  +2-2plugins/generic/skg_dashboard/skgdashboardwidget.cpp
M  +2-2plugins/generic/skg_dashboard/skgdashboardwidget.h
M  +2-2plugins/generic/skg_debug/CMakeLists.txt
M  +3-0plugins/generic/skg_debug/org.kde.skg-plugin-debug.desktop
M  +2-2plugins/generic/skg_debug/skgdebugplugin.cpp
M  +2-2plugins/generic/skg_debug/skgdebugplugin.h
M  +2-2plugins/generic/skg_debug/skgdebugpluginwidget.cpp
M  +2-2plugins/generic/skg_debug/skgdebugpluginwidget.h
M  +2-2plugins/generic/skg_debug/skgdebugpluginwidget_base.ui
M  +2-2plugins/generic/skg_debug/tests/CMakeLists.txt
M  +2-2plugins/generic/skg_debug/tests/skgtestdebugplugin.cpp
M  +2-2plugins/generic/skg_debug/tests/skgtestdebugplugin.h
M  +2-2plugins/generic/skg_delete/CMakeLists.txt
M  +3-0plugins/generic/skg_delete/org.kde.skg-plugin-delete.desktop
M  +2-2plugins/generic/skg_delete/skgdeleteplugin.cpp
M  +2-2plugins/generic/skg_delete/skgdeleteplugin.h
M  +2-2plugins/generic/skg_file/CMakeLists.txt
M  +3-0plugins/generic/skg_file/org.kde.skg-plugin-file.desktop
M  +2-2plugins/generic/skg_file/skgfileplugin.cpp
M  +2-2plugins/generic/skg_file/skgfileplugin.h
M  +2-2plugins/generic/skg_file/skgfilepluginwidget_pref.ui
M  +2-2plugins/generic/skg_file/tests/CMakeLists.txt
M  +2-2plugins/generic/skg_file/tests/skgtestfileplugin.cpp
M  +2-2plugins/generic/skg_file/tests/skgtestfileplugin.h
M  +2-2plugins/generic/skg_highlight/CMakeLists.txt
M  +3-0
plugins/generic/skg_highlight/org.kde.skg-plugin-highlight.desktop
M  +2-2plugins/generic/skg_highlight/skghighlightplugin.cpp
M  +2-2plugins/generic/skg_highlight/skghighlightplugin.h
M  +2-2plugins/generic/skg_monthly/CMakeLists.txt
M  +2-2plugins/generic/skg_monthly/grantlee_filters/CMakeLists.txt
M  +2-2
plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp
M  +2-2plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.h
M  +2-2
plugins/generic/skg_monthly/grantlee_filters/skggrantleefilters.cpp
M  +2-2plugins/generic/skg_monthly/grantlee_filters/skggrantleefilters.h
M  +2-2plugins/generic/skg_monthly/grantlee_filters/skgobjectfilter.cpp
M  +2-2plugins/generic/skg_monthly/grantlee_filters/skgobjectfilter.h
M  +3-0plugins/generic/skg_monthly/org.kde.skg-plugin-monthly.desktop
M  +2-2plugins/generic/skg_monthly/skgmonthlyplugin.cpp
M  +2-2plugins/generic

[office/skrooge] /: The ability to create aliases for accounts to assist with import

2020-11-28 Thread Stephane MANKOWSKI
Git commit 640086d9bad0ea20118fa2d9fe63b72f069d9031 by Stephane MANKOWSKI.
Committed on 28/11/2020 at 17:09.
Pushed by smankowski into branch 'master'.

The ability to create aliases for accounts to assist with import
BUG:421302

M  +1-0CHANGELOG
M  +1-0doc/index.docbook
M  +1-1doc/kde_docbook
M  +2-1plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
M  +2-0skgbankmodeler/skgimportexportmanager.cpp
A  +11   -0tests/input/skgtestimportcsv/485.csv
A  +92   -0tests/input/skgtestimportofx/485.ofx
M  +30   -0tests/skgbankmodelertest/skgtestimportcsv.cpp
M  +24   -0tests/skgbankmodelertest/skgtestimportofx.cpp

https://invent.kde.org/office/skrooge/commit/640086d9bad0ea20118fa2d9fe63b72f069d9031

diff --git a/CHANGELOG b/CHANGELOG
index d232b67bb..651adb481 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 skrooge (2.24.0)  
   *Correction bug 424728: Skrooge reconciliation should play happy sounds when 
delta is 0 and when you validate pointed operations   
   *Correction bug 425208: Import of .gnucash failed
+  *Correction bug 421302: The ability to create aliases for accounts to assist 
with import
   *Correction: Ledger-cli export doesn't export negative values in the correct 
format
   *Feature: DBUS is now optional (useful for MacOS)
   *Feature: In monthly reports, the templates are now able to filter on the 
selected period
diff --git a/doc/index.docbook b/doc/index.docbook
index fbd3b2a01..f4eb03407 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -726,6 +726,7 @@
  Account
  One thing that might surprise you is that you won't be asked in 
which account the operations should be imported. That is because  will 
read the account number in the file, and will associate imported operations to 
that account.
  If no account exists with this account number, or if the file 
does not contain this information,  will use the file name as the 
account number.
+  If you create a property named alias on the 
account,  will try to match the value of the property too to find the 
most appropriated account.
  If there is still no account with that number,  will 
create a new account having the filename as the account number, and import all 
operations in that account. You will then be free to either rename the account, 
perform a mass update, or use Search  Process to associate imported 
operations to an existing account.


diff --git a/doc/kde_docbook b/doc/kde_docbook
index e0ca0f2d5..c63e11d3b 100755
--- a/doc/kde_docbook
+++ b/doc/kde_docbook
@@ -5,7 +5,7 @@ export 
XML_CATALOG_FILES="/usr/share/kf5/kdoctools/customization/catalog.xml"
 
 # Check if docbook is well formed
 echo "Running checkXML... ";
-checkXML $1;
+checkXML5 $1;
 if [ $? -gt 0 ]; then
   echo " -> checkXML failed !";
   exit 1;
diff --git a/plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp 
b/plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
index b2da44a7d..5451494eb 100644
--- a/plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
+++ b/plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
@@ -176,7 +176,8 @@ SKGError SKGImportPluginOfx::getAccount(OfxAccountData* 
iAccountData, SKGDocumen
 oAccount = m_accounts[name];
 } else {
 SKGTRACEL(3) << "NOT found in index" << Qt::endl;
-err = iDoc->getObject(QStringLiteral("v_account"), "t_number='" % 
SKGServices::stringToSqlString(name) % '\'', oAccount);
+QString wc = "t_number='" % SKGServices::stringToSqlString(name) % 
"' OR EXISTS(SELECT 1 FROM parameters WHERE 
t_uuid_parent=v_account.id||'-account' AND t_name='alias' AND t_value= '" % 
SKGServices::stringToSqlString(name) % "')";
+err = iDoc->getObject(QStringLiteral("v_account"), wc, oAccount);
 }
 }
 
diff --git a/skgbankmodeler/skgimportexportmanager.cpp 
b/skgbankmodeler/skgimportexportmanager.cpp
index f2634d480..8dd2e3212 100644
--- a/skgbankmodeler/skgimportexportmanager.cpp
+++ b/skgbankmodeler/skgimportexportmanager.cpp
@@ -161,6 +161,8 @@ SKGError 
SKGImportExportManager::getDefaultAccount(SKGAccountObject& oAccount)
 whereClause += " OR t_BANK_NUMBER||t_agency_number||t_number='" % 
SKGServices::stringToSqlString(number) % "'";
 whereClause += " OR (t_number!='' AND '" % 
SKGServices::stringToSqlString(number) % "' LIKE 
t_BANK_NUMBER||t_agency_number||t_number||'__')";
 }
+whereClause += " OR EXISTS(SELECT 1 FROM parameters WHERE 
t_uuid_parent=v_account.id||'-account' AND t_name='alias' AND t_value= '" % 
SKGServices::stringToSqlString(name) % "')";
+
 const auto words = nameComplete.split(' ');
 for (const auto& val : words) {
 whereCla

[skrooge] /: documentation references obsolete "Merge operations" menu item

2020-04-17 Thread Stephane MANKOWSKI
Git commit fdcc5384075fdca26e4883925f60953c7c8d364c by Stephane MANKOWSKI.
Committed on 17/04/2020 at 20:53.
Pushed by smankowski into branch 'master'.

documentation references obsolete "Merge operations" menu item
BUG:412262

M  +1-0CHANGELOG
M  +1-1doc/index.docbook

https://commits.kde.org/skrooge/fdcc5384075fdca26e4883925f60953c7c8d364c

diff --git a/CHANGELOG b/CHANGELOG
index 3ca12c77c..55d4edf9e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,5 @@
 skrooge (2.23.0)  
+  *Correction bug 412262: documentation references obsolete "Merge operations" 
menu item
   *Correction: cryptocompare fails if too many values are requested (>2000)
   *Correction: Change icon for trackers by a "crosshairs"
   *Correction: Source ratesapi doesn't work in appimage  
diff --git a/doc/index.docbook b/doc/index.docbook
index e740bc040..55b016190 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -750,7 +750,7 @@
   
Merge operations after import
There are some cases where you have manually entered an 
operation, but also imported it from your bank. In such cases, the operation 
will appear twice in the list.
-   You may merge these two operations by selecting them, and select 
Merge imported operations in the contextual menu. 
This will add all information you manually entered to the imported operation, 
and will delete the manually entered operation.
+   You may merge these two operations by selecting them, and select 
Merge imported operations in the contextual menu or 
the edit menu. This will add all information you manually entered to the 
imported operation, and will delete the manually entered operation.
   
 
 


[skrooge] doc: Small corrections in documentation

2020-04-17 Thread Stephane MANKOWSKI
Git commit c7e8b59ba9552f0661120b2b8f399ec0b6b08370 by Stephane MANKOWSKI.
Committed on 17/04/2020 at 12:43.
Pushed by smankowski into branch 'master'.

Small corrections in documentation

M  +1-2doc/index.docbook

https://commits.kde.org/skrooge/c7e8b59ba9552f0661120b2b8f399ec0b6b08370

diff --git a/doc/index.docbook b/doc/index.docbook
index dc4d32061..e740bc040 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,7 +1,6 @@
 
 Skrooge'> 
-
 
 
 https://www.kde.org/applications/office/skrooge/;>
@@ -697,7 +696,7 @@
Backend:  can also import operations by 
using a backend. For the moment, the three following backends can be used:

   http://weboob.org/;>weboob: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install http://weboob.org/;>weboob and activate the corresponding backend 
from settings.
-  http://weboob.org/;>weboob_coming: By using this backend you can 
import all coming operations from all your banks in only one click. This can be 
used for card with deferred debit. For that, you just have to install http://weboob.org/;>activate and activate the corresponding 
backend from settings.
   
+  http://weboob.org/;>weboob_coming: By using this backend you can 
import all coming operations from all your banks in only one click. This can be 
used for card with deferred debit. For that, you just have to install http://weboob.org/;>weboob and activate the corresponding backend 
from settings.   
   https://www.aquamaniac.de/sites/aqbanking/overview.php;>aqbanking: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install and configure https://www.aquamaniac.de/sites/aqbanking/cli.php;>aqbanking-cli.




[skrooge] /: Add "Settings" description in documentation

2020-04-14 Thread Stephane MANKOWSKI
Git commit 07f5f95dbf3b63e1497645276d9a8accae3259f0 by Stephane MANKOWSKI.
Committed on 14/04/2020 at 16:28.
Pushed by smankowski into branch 'master'.

Add "Settings" description in documentation

M  +1-0CHANGELOG
M  +211  -18   doc/index.docbook
M  +1-1doc/kde_docbook
M  +---doc/menu_settings.png
A  +---doc/settings_bookmarks.png
A  +---doc/settings_dashboard.png
A  +---doc/settings_file.png
A  +---doc/settings_general.png
A  +---doc/settings_history.png
A  +---doc/settings_import_1.png
A  +---doc/settings_import_2.png
A  +---doc/settings_import_3.png
A  +---doc/settings_import_4.png
A  +---doc/settings_operations.png
A  +---doc/settings_report.png
A  +---doc/settings_scheduled.png
A  +---doc/settings_search.png
A  +---doc/settings_units.png

https://commits.kde.org/skrooge/07f5f95dbf3b63e1497645276d9a8accae3259f0

diff --git a/CHANGELOG b/CHANGELOG
index 388ace535..3ca12c77c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@ skrooge (2.23.0)
   *Correction: cryptocompare fails if too many values are requested (>2000)
   *Correction: Change icon for trackers by a "crosshairs"
   *Correction: Source ratesapi doesn't work in appimage  
+  *Correction: Add "Settings" description in documentation  
   *Feature: Add new source "exchangeratesapi.io"
   
 -- Stephane MANKOWSKI   NotPlannedYet
diff --git a/doc/index.docbook b/doc/index.docbook
index aa8edea0a..075e00337 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -155,7 +155,7 @@

  Validated Operation
  When you import operations from 
your financial institution into , they are not considered valid right 
away and appear in blue. You need to manually validate them. Such validated 
operations no longer appear blue.
- Note that it is possible to automatically validate operations 
on import, by turning on the corresponding option in the settings.
+ Note that it is possible to automatically validate operations 
on import, by turning on the corresponding option in the settings.



@@ -315,10 +315,10 @@
   
Undo / Redo

-  manages undo/redo in a rather classic fashion, except that 
you can undo or redo any action, even if it was made several days ago. As per 
default settings, the history is not cleared upon closing  (you can 
change this behaviour in the  settings), which 
means you could undo virtually everything up to the document creation.
+  manages undo/redo in a rather classic fashion, except that 
you can undo or redo any action, even if it was made several days ago. As per 
default settings, the history is not cleared 
upon closing  (you can change this behaviour in the settings), which means you could undo virtually 
everything up to the document creation.


- In order to limit the impact on filesize,  is configured by 
default to keep a history of 50 entries. You can change this value in the  settings.
+ In order to limit the impact on filesize,  is configured by 
default to keep a history of 50 entries. You can change this value in the settings.


   has a dock that lists all 
undoable actions.
@@ -696,8 +696,8 @@
 : This allows to create the operation from a 
 invoice. The invoice is also associated to the operation as a property. 
Read the How to if you want to know how 
to extract information from an invoice not supported yet.
Backend:  can also import operations by 
using a backend. For the moment, the three following backends can be used:

-  http://weboob.org/;>weboob: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install http://weboob.org/;>weboob and activate the corresponding backend 
from settings.
-  http://weboob.org/;>weboob_coming: By using this backend you can 
import all coming operations from all your banks in only one click. This can be 
used for card with deferred debit. For that, you just have to install http://weboob.org/;>activate and activate the corresponding 
backend from settings.   
+  http://weboob.org/;>weboob: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install http://weboob.org/;>weboob and activate the corresponding backend 
from settings.
+  http://weboob.org/;>weboob_coming: By using this backend you can 
import all coming operations from all your banks in only one click. This can be 
used for card with deferred debit. For that, you just have to install http://weboob.org/;>activate and activate the corresponding 
backend from settings.
   
   https://www.aquamaniac.de/sites/aqbanking

[skrooge] doc: Update documentation

2020-04-12 Thread Stephane MANKOWSKI
Git commit e76739a21f15a127b84023e46f716aa86302d8fc by Stephane MANKOWSKI.
Committed on 12/04/2020 at 10:02.
Pushed by smankowski into branch 'master'.

Update documentation

M  +6-3doc/index.docbook

https://commits.kde.org/skrooge/e76739a21f15a127b84023e46f716aa86302d8fc

diff --git a/doc/index.docbook b/doc/index.docbook
index bf213722a..aa8edea0a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -44,15 +44,18 @@
   2014
   2015
   2016  
-  2017   
+  2017
+  2018
+  2019
+  2020
   Stéphane MANKOWSKI
   Guillaume DE BURE
 
 
 
 
-2017-08-30
- 2.9.0
+2020-04-11
+ 2.22.1
 
 
   


[skrooge] doc: Correction in doc

2019-11-20 Thread Stephane Mankowski
Git commit 8a0ae1c3388d82b54bcc00a86851bcfb68da9e9f by Stephane Mankowski.
Committed on 20/11/2019 at 19:21.
Pushed by smankowski into branch 'master'.

Correction in doc

M  +5-5doc/index.docbook

https://commits.kde.org/skrooge/8a0ae1c3388d82b54bcc00a86851bcfb68da9e9f

diff --git a/doc/index.docbook b/doc/index.docbook
index 1f32e5faa..bf213722a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -539,7 +539,7 @@
  
  
Export
-   Export the 
table as a stand-alone file. Supported formats are pdf, csv, html, 
, odt or txt.
+   Export the 
table as a stand-alone file. Supported formats are pdf, csv, html, SVG, 
odt or txt.
  


@@ -758,17 +758,17 @@
   
   
Export all your data in one file
-   Using the menu File 
Export, a CSV, QIF, , Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing 
all operations in the current document. This is the option to choose if you 
need to export your data to another application.
+   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing 
all operations in the current document. This is the option to choose if you 
need to export your data to another application.
   
   
   
Export partially your data in one file
-   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, , Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing the 
selected accounts (with their operations) or the selected operation. This is 
the option to choose if you need to export your data to another 
application.
+   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing the 
selected accounts (with their operations) or the selected operation. This is 
the option to choose if you need to export your data to another 
application.
   
   
   
Export a specific table
-   All tables in  can be 
exported, either in CSV, , ODT, ,  or TXT format. 
+   All tables in  can be 
exported, either in CSV, , ODT, , SVG or TXT format. 


  
@@ -781,7 +781,7 @@
   
   
Export Graph
-allows you exporting a graph, either in ,  or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.
+allows you exporting a graph, either in , SVG or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.


  


D25085: improve Reconciliation doc

2019-11-17 Thread Stephane Mankowski
smankowski closed this revision.

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D25085

To: spage, #skrooge, yurchor, smankowski
Cc: smankowski, yurchor, kde-doc-english, gennad, jdb314, fbampaloukas, 
skadinna, scheirle


D25085: improve Reconciliation doc

2019-11-17 Thread Stephane Mankowski
smankowski accepted this revision.
smankowski added a comment.


  I did the commit. Thank you for your contribution.

REPOSITORY
  R469 Skrooge

BRANCH
  arcpatch-D25085

REVISION DETAIL
  https://phabricator.kde.org/D25085

To: spage, #skrooge, yurchor, smankowski
Cc: smankowski, yurchor, kde-doc-english, gennad, jdb314, fbampaloukas, 
skadinna, scheirle


[skrooge] doc: improve Reconciliation doc

2019-11-17 Thread Stephane MANKOWSKI
Git commit f525111c20c8f30b4e7e7f7dbdc33d12d62f1026 by Stephane MANKOWSKI.
Committed on 17/11/2019 at 17:56.
Pushed by smankowski into branch 'master'.

improve Reconciliation doc
BUG:D25085

M  +11   -11   doc/index.docbook

https://commits.kde.org/skrooge/f525111c20c8f30b4e7e7f7dbdc33d12d62f1026

diff --git a/doc/index.docbook b/doc/index.docbook
index e81b98b15..1f32e5faa 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -713,7 +713,7 @@
   
CSV Specificities
Since CSV has no strictly defined format, there is no way for 
 to know where it is supposed to find dates, categories, values... To 
do so,  expects your CSV file to contain some headers indicating what 
is the column for. The file must contain at least columns "Date" and 
"Amount".
-   You may manually define how the file is set up ( ignoring the headers in 
the file) by setting them in the application settings 
(Settings Configure 
), in the Import / 
Export section.
+   You may manually define how the file is set up ( ignoring the headers in 
the file) by setting them in the application's settings (Settings Configure 
), in the Import / 
Export section.
   
   
   
@@ -1519,8 +1519,8 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
   
   
Reconciliation
-   Reconciliation is the process by which you ensure that all 
operations are aligned with your account's position from the bank point of 
view. It will involve you, your account's position, and a pen. Reconciliation 
can happen only for an account at one point in time.
-   In the operation view, select the account you wish to 
reconciliate from the drop down box. Switch into reconciliation mode using the 
Switch Information button  below the 
operations table.
+   Reconciliation is the process by which you ensure that all 
operations in an account match the bank's view of that account. It will involve 
you, your account's position, and a pen. Reconciliation can happen only for an 
account at one point in time.
+   First, enter all the operations for the account up to that point 
in time; if you can, download transactions from the bank and import them into  to minimize data entry. 
Then, in the Operations view, select the account you wish to reconcile from the 
drop-down box; or in the Accounts view, double-click the account name or bring 
up the contextual menu and choose Open 
operations Switch into reconciliation mode using the 
Switch Information button  below the 
operations table.


  
@@ -1529,22 +1529,22 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
  


-   Enter the position of your account as provided by your bank in 
the dedicated field. Now, you can proceed to checking in  every 
operation that appears on the account recordings. For the moment, the check box 
for this operation will appear half greyed, until you really validate the 
reconciliation.
+   Enter the position of your account as provided by your bank in 
the dedicated field. Now, you can proceed to pointing in  every 
operation that appears in the bank's statement: you can either click on its 
checkbox in the status column or bring up the contextual menu and choose 
Point. The check box for this operation will appear 
part filled, until you complete reconciliation.

-   As you check operations, you will see  display in the 
information zone:
+   As you point operations, you will see  display in the 
information zone:

- Delta: the difference between the previously entered 
account position and the sum of all checked operations
- Expenditure:the total amount of 
expenses
- Income: the total amount of incomes
+ Delta: the difference between the previously entered 
account position and the sum of all checked 
operations
+ Expenditure:the total amount of Pointed 
debits
+ Income: the total amount of Pointed 
credits


-   This may be useful when trying to spot operations you may have 
forgot to enter in . When all relevant operations have been checked, 
Delta is equal to 0, and the Validate checked operations button 
 is activated. Click on this 
button to validate the reconciliation: all checked operations are now 
validated.
+   These running totals help you spot operations you may have 
forgotten to enter in . Many bank statements provide similar totals 
such as "Withdrawals" or "Deposits and Credits", although they may have 
separate totals for "Interest", "Fees". When the Delta is equal to 0, you 
may have pointed all operations matching the bank's 
record. For example, you may have mistakenly pointed a debit of 8€ and a credit 
of 2€, and overlooked a bank debit of 6€; the net is the same, minus 6€. When 
the Delta is 0, the Validat

[skrooge] /: Code and doc quality

2019-11-09 Thread Stephane MANKOWSKI
Git commit 133dd40a1dab19ddd38c6c3acde0f069b742b94a by Stephane MANKOWSKI.
Committed on 09/11/2019 at 10:07.
Pushed by smankowski into branch 'master'.

Code and doc quality

M  +10   -10   doc/index.docbook
M  +2-2plugins/import/skrooge_import_csv/skgimportplugincsv.cpp
M  +1-1plugins/import/skrooge_import_ofx/skgimportpluginofx.cpp
M  +3-3skgbasemodeler/skgdocument.h
M  +1-1skgbasemodeler/skgdocumentprivate.h
M  +2-2tests/skgbankmodelertest/skgtestimportcsv.cpp
M  +0-1tests/skgbankmodelertest/skgtestimportgnucash.cpp
M  +1-1tests/skgbankmodelertest/skgtestimportqif1.cpp

https://commits.kde.org/skrooge/133dd40a1dab19ddd38c6c3acde0f069b742b94a

diff --git a/doc/index.docbook b/doc/index.docbook
index 1751980a7..e81b98b15 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -52,7 +52,7 @@
 
 
 2017-08-30
-Skrooge 2.9.0
+ 2.9.0
 
 
   
@@ -539,7 +539,7 @@
  
  
Export
-   Export the 
table as a stand-alone file. Supported formats are pdf, csv, html, svg, 
odt or txt.
+   Export the 
table as a stand-alone file. Supported formats are pdf, csv, html, 
, odt or txt.
  


@@ -758,17 +758,17 @@
   
   
Export all your data in one file
-   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or XML file will be created, containing all 
operations in the current document. This is the option to choose if you need to 
export your data to another application.
+   Using the menu File 
Export, a CSV, QIF, , Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing 
all operations in the current document. This is the option to choose if you 
need to export your data to another application.
   
   
   
Export partially your data in one file
-   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or XML file will be created, containing the 
selected accounts (with their operations) or the selected operation. This is 
the option to choose if you need to export your data to another 
application.
+   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, , Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or  file will be created, containing the 
selected accounts (with their operations) or the selected operation. This is 
the option to choose if you need to export your data to another 
application.
   
   
   
Export a specific table
-   All tables in  can be 
exported, either in CSV, , ODT, , SVG or TXT format. 
+   All tables in  can be 
exported, either in CSV, , ODT, ,  or TXT format. 


  
@@ -781,7 +781,7 @@
   
   
Export Graph
-allows you exporting a graph, either in , SVG or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.
+allows you exporting a graph, either in ,  or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.


  
@@ -1550,7 +1550,7 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
   
   
Template Operations
-allows you creating template operations,  
operations that can be reused whenever you need it. For example, imagine are 
used to renting a DVD to watch at home. The operation is always the same 
:
+allows you creating template operations,  
operations that can be reused whenever you need it. For example, imagine are 
used to renting a  to watch at home. The operation is always the same 
:


  Amount: -4.99
@@ -1559,7 +1559,7 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
  Category: Leisure > Video
  
  
- However, you cannot make it a recurrent operation, because you 
rent a DVD when you feel like it, not every week. The idea behind template 
operations is that it gives you a basic skeleton that can be quickly inserted 
in your operations list.
+ However, you cannot make it a recurrent operation, because you 
rent a  when you feel like it, not every week. The idea behind template 
operations is that it gives you a basic skeleton that can be quickly inserted 
in your operations list.
  
  Since Template operations are just another kind of operations, 
you can access them through the operations tab, using the dedicated option in 
Show menu:
  
@@ -1952,7 +1952,7 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
   
  
  You can choose the template you want. You c

D24973: Improve Operation terminology explanations

2019-10-30 Thread Stephane Mankowski
smankowski closed this revision.
smankowski added a comment.


  I did the commit

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D24973

To: spage, smankowski
Cc: kde-doc-english, gennad, fbampaloukas, skadinna, scheirle, smankowski


[skrooge] doc: BUG:D24973

2019-10-30 Thread Stephane MANKOWSKI
Git commit 328499c354a8992935343b4e5d825584f0422a45 by Stephane MANKOWSKI.
Committed on 30/10/2019 at 19:43.
Pushed by smankowski into branch 'master'.

BUG:D24973

M  +9-12   doc/index.docbook

https://commits.kde.org/skrooge/328499c354a8992935343b4e5d825584f0422a45

diff --git a/doc/index.docbook b/doc/index.docbook
index d8e1d2fc7..48daff581 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -129,45 +129,42 @@
   
   
Operation
-   An operation is either a credit or a debt on one of your 
accounts. By affecting a category 
to an operation, you are able to analyze how you spend your money.
-   
+   An operation is either a credit or debit to one of your accounts. 
 If you assign a category or tracker to operations, you can analyze how you spend 
your money.


  Standard Operation
- A standard operation is the basic operation in . Like 
"Today, spent 20€ in credit card for groceries".
+ A standard operation is the basic operation in . For 
example, "Today, spent 20€ in credit card for groceries".
  



  Split Operation
- A split operation is an operation for which the total amount is 
split over several categories, 
dates and/or trackers.
- For example, "Yesterday, spent 100€ at the supermarket, of 
which 60€ were for food, and 40€ for clothes".
+ A split operation is an operation for which the total amount is 
split over several categories, 
dates and/or trackers. For example, "Yesterday, 
spent 100€ at the supermarket, of which 60€ were for food, and 40€ for 
clothes".



  Transfer
- A transfer in  is equivalent to moving a quantity of 
money from one of your  accounts to another of your  
accounts.
- This must not be confused with the payment mode chosen: if you 
made a transfer, for example using your bank's website, to someone else's 
account, this is not a transfer operation, because  doesn't know about 
that other person's account. It is a standard operation made with 
transfer as a payment mode.
- Read the dedicated chapter if 
things are still unclear
+ A transfer in  records moving a quantity of money from 
one of your  accounts to another.
+ This must not be confused with the payment mode chosen: if you 
made a transfer, for example using your bank's website, to someone else's 
account, this is not a transfer operation, because  doesn't know about 
that other person's account. It is a standard operation with 
transfer as its payment mode.
+ Read the transfer section if 
things are still unclear



  Validated Operation
- When Importing operations, they 
are not considered valid right away. You need first to manually validate them 
before. A validated operation is this, an imported operation that has been 
validated.
+ When you import operations from 
your financial instution into , they are not considered valid right 
away and appear in blue. You need to manually validate them. Such validated 
operations no longer appear blue.
  Note that it is possible to automatically validate operations 
on import, by turning on the corresponding option in the settings.



  Pointed Operation
- During the reconciliation 
process, you point in  all operations that appear in the 
corresponding account position. A pointed operation is one of these operations. 
It is not Checked until 
the reconciliation is completed.
+ During the reconciliation 
process, you point in  all operations that appear in the 
corresponding account position. Such pointed operations display a half-filled 
square in the Status column of an operations view. A pointed operation is not 
Checked until you complete 
reconciliation.



  Checked Operation
- When all operations on your account's position have been 
pointed in , you can complete the reconciliation process. All Pointed operation are then 
turned into Checked Operations.
+ When all operations on your account's position have been 
pointed in , you can complete the reconciliation process.  
then turns all Pointed 
operations into Checked Operations, which display a filled square in the Status 
column of an operations view.


-   
   
   
   


D24977: Improve explanation of table filter/search

2019-10-30 Thread Stephane Mankowski
smankowski added a comment.


  I did the commit

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D24977

To: spage, smankowski
Cc: yurchor, smankowski, kde-doc-english, gennad, fbampaloukas, skadinna, 
scheirle


D24977: Improve explanation of table filter/search

2019-10-30 Thread Stephane Mankowski
smankowski closed this revision.

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D24977

To: spage, smankowski
Cc: yurchor, smankowski, kde-doc-english, gennad, fbampaloukas, skadinna, 
scheirle


[skrooge] doc: BUG:D24977

2019-10-30 Thread Stephane MANKOWSKI
Git commit 03d9815e657006c86879ebbf3c1e8dbe8f22bd37 by Stephane MANKOWSKI.
Committed on 30/10/2019 at 19:40.
Pushed by smankowski into branch 'master'.

BUG:D24977

M  +8-8doc/index.docbook

https://commits.kde.org/skrooge/03d9815e657006c86879ebbf3c1e8dbe8f22bd37

diff --git a/doc/index.docbook b/doc/index.docbook
index be9a2e336..d8e1d2fc7 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -556,7 +556,7 @@
  Show table menu

 
- In all  views, you will find a "Show" menu allowing 
you to filter the view.
+ In all  views, you will find a "Show" drop down menu 
allowing you to limit what the table displays.
  


@@ -569,9 +569,9 @@

 
  
-   In all  views, you will find a "filter" field allowing you 
to search as you type in the view:
+   In all  views, you will find a search field that filters 
the table to only display linex matching what you type:

- In an operation view, it will filter the 
operations containing the text entered, whatever the column (date, payee, 
category, comment...)
+ In an operations view, it will filter the 
operations containing the text entered, whatever the column (date, payee, 
category, comment...)
  In an accounts view, it will filter the accounts 
containing the text entered, whatever the column (bank, account name, 
number...)
  In a report view, it will redraw the graph based 
on this filter
  In a... well, you get the idea, 
right?
@@ -583,16 +583,16 @@
  

Searching is case-insensitive. So table, Table 
and TABLE are all the same.
-   If you just put a word or series of words in 
the search box, the application will filter the table to keep all lines having 
these words (logical operator AND).
+   If you enter a word or series of words in the 
search box, the application will filter the table to only display lines having 
these words (logical operator AND).
If you want to add (logical operator OR) some 
lines, you must prefix your word by "+".
If you want to remove (logical operator NOT) 
some lines, you must prefix your word by "-".
-   If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.
-   If you want to use the character ":" in value, 
you must specify the column name like this: col1:value:rest.
+   If you want to search only on one column, you 
must prefix your word by the column name, like: col1:word.
+   If you want to use the character ":" in value, 
you must specify the column name, like: col1:value:rest.
If you want to search for a phrase or something 
that contains spaces, you must put it in quotes, like: "yes, this is a 
phrase".
You can also use operator "" and 
"".

  
-   Some examples are better to explain:
+   Some examples may help explain:
  

  +val1 +val2 = Keep lines containing val1 OR 
val2
@@ -751,7 +751,7 @@
   
Merge operations after import
There are some cases where you have manually entered an 
operation, but also imported it from your bank. In such cases, the operation 
will appear twice in the list.
-   You may merge these two operations by selecting them, and select 
Merge operations in the contextual menu. This will 
add all information you manually entered to the imported operation, and will 
delete the manually entered operation.
+   You may merge these two operations by selecting them, and select 
Merge imported operations in the contextual menu. 
This will add all information you manually entered to the imported operation, 
and will delete the manually entered operation.
   
 
 


D24977: Improve explanation of table filter/search

2019-10-27 Thread Stephane Mankowski
smankowski accepted this revision.
smankowski added a comment.
This revision is now accepted and ready to land.


  You can commit it

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D24977

To: spage, smankowski
Cc: smankowski, kde-doc-english, gennad, fbampaloukas, skadinna, scheirle


D24973: Improve Operation terminology explanations

2019-10-26 Thread Stephane Mankowski
smankowski accepted this revision.
This revision is now accepted and ready to land.

REPOSITORY
  R469 Skrooge

REVISION DETAIL
  https://phabricator.kde.org/D24973

To: spage, smankowski
Cc: kde-doc-english, gennad, fbampaloukas, skadinna, scheirle, smankowski


[skrooge] doc: appname declared in documentation

2019-06-22 Thread Stephane MANKOWSKI
Git commit e043ca9a5d36d531e4d63c336d10f9160a8b7f7a by Stephane MANKOWSKI.
Committed on 22/06/2019 at 10:54.
Pushed by smankowski into branch 'master'.

appname declared in documentation

M  +1-0doc/index.docbook

https://commits.kde.org/skrooge/e043ca9a5d36d531e4d63c336d10f9160a8b7f7a

diff --git a/doc/index.docbook b/doc/index.docbook
index b846c389f..be9a2e336 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,6 +1,7 @@
 
 Skrooge'> 
+
 
 
 https://www.kde.org/applications/office/skrooge/;>



[skrooge] doc: Correction in documentation

2019-06-01 Thread Stephane MANKOWSKI
Git commit 63103711cac1cce5f2ebc1e1f6f74df1a1c9765c by Stephane MANKOWSKI.
Committed on 01/06/2019 at 08:16.
Pushed by smankowski into branch 'master'.

Correction in documentation

M  +132  -132  doc/index.docbook

https://commits.kde.org/skrooge/63103711cac1cce5f2ebc1e1f6f74df1a1c9765c

diff --git a/doc/index.docbook b/doc/index.docbook
index 568823f66..216ce76ef 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -7,7 +7,7 @@
 ]>
 
 
-  The  Handbook
+  The  Handbook
   
   
 
@@ -55,7 +55,7 @@
 
 
   
-   This document is a handbook for using , a personal finances 
manager application.
+   This document is a handbook for using , a personal finances 
manager application.
   
 
 
@@ -73,37 +73,37 @@
 Introduction
 
 
-  
+  
   
   
-is an application for managing your personal finances. It can 
keep track of your incomes and expenses across several accounts, in several 
currencies. It has all the features you should expect from such a tool, such as 
categories, scheduled operations, graphical reporting, stocks management... It 
also has some less common features, like fast operation edition, search as you 
type, refund trackers, customizable attributes...
+is an application for managing your personal finances. It can 
keep track of your incomes and expenses across several accounts, in several 
currencies. It has all the features you should expect from such a tool, such as 
categories, scheduled operations, graphical reporting, stocks management... It 
also has some less common features, like fast operation edition, search as you 
type, refund trackers, customizable attributes...
   
   
   
-displaying pie charts of expenses per 
category
+displaying pie charts of expenses per 
category

  

  
-  displaying pie charts of expenses per 
category
+  displaying pie charts of expenses per 
category

   
   
   
   
-   What  Is
+   What  Is


-  is an Open Source personal finances manager built on  
frameworks. It is intended to be used by individuals who want to keep track of 
their incomes, expenses and investments.
+  is an Open Source personal finances manager built on  
frameworks. It is intended to be used by individuals who want to keep track of 
their incomes, expenses and investments.


   
   
   
-   What  Is Not
+   What  Is Not


-  is not a professional tool. It doesn't have functions 
expected from a software you would use to run a small business. It doesn't 
manage taxes, doesn't use double-entry system, or any advanced financial 
function.
+  is not a professional tool. It doesn't have functions 
expected from a software you would use to run a small business. It doesn't 
manage taxes, doesn't use double-entry system, or any advanced financial 
function.

If you were looking for such a tool, you may want to look at 
Kmymoney or Kraft instead.

@@ -116,13 +116,13 @@
   
Document

- A document is a  file (extension .skg). It can contain an 
indefinite number of accounts. You 
can use one document to manage all your accounts at once.
+ A document is a  file (extension .skg). It can contain an 
indefinite number of accounts. You 
can use one document to manage all your accounts at once.

   
   
   
Account
-   A  account is similar to your bank account. For example, 
if you own one account for you, one for your wife, and one in common, you can 
create these three accounts in . Every time you spend or earn some 
money, you register an operation, 
and indicate the account this operation was made on.
+   A  account is similar to your bank account. For example, 
if you own one account for you, one for your wife, and one in common, you can 
create these three accounts in . Every time you spend or earn some 
money, you register an operation, 
and indicate the account this operation was made on.

   
   
@@ -133,7 +133,7 @@


  Standard Operation
- A standard operation is the basic operation in . Like 
"Today, spent 20€ in credit card for groceries".
+ A standard operation is the basic operation in . Like 
"Today, spent 20€ in credit card for groceries".
  


@@ -145,8 +145,8 @@


  Transfer
- A transfer in  is equivalent to moving a quantity of 
money from one of your  accounts to another of your  
accounts.
- This must not be confused with the payment mode chosen: if you 
made a transfer, for example using your bank's website, to someone else's 
account, this is not a transfer operation, because  doesn't know about 
that other person's account. It is a standard operat

[skrooge] doc: Update of documentation

2019-04-13 Thread Stephane MANKOWSKI
Git commit b457df854091ffd1f5164f11605e8942f698d82f by Stephane MANKOWSKI.
Committed on 13/04/2019 at 21:12.
Pushed by smankowski into branch 'master'.

Update of documentation

M  +1-1doc/index.docbook

https://commits.kde.org/skrooge/b457df854091ffd1f5164f11605e8942f698d82f

diff --git a/doc/index.docbook b/doc/index.docbook
index 9d16d00a3..568823f66 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -912,7 +912,7 @@
  Next: Change the content 
of the current page with the content of the next one. Like in a web 
browser   
  Open highlights...: Open 
highlighted operations
  Open last modified...: 
Open operations modified by the last action done
- Open potential 
duplicates...: Open operations potentially 
duplicated   
+ Open potential 
duplicates...: Open operations opens a page with operations 
having same amounts and same dates  
  Open sub operations...: 
Open sub operations of the selected operation. Similar to a double 
click
  Open report...: Open a 
report based on the selection. This is really useful. For example: if you 
select 2 accounts and launch this action then the report page will be opened but only for operations of 
those accounts 
  Open imported operations not yet 
validated...: nothing to add



[skrooge] /: Ledger export

2017-10-17 Thread Stephane Mankowski
Git commit 5cb879bb2701732ef01626de1a92862b7b42d6cf by Stephane Mankowski.
Committed on 17/10/2017 at 19:44.
Pushed by smankowski into branch 'master'.

Ledger export

M  +2-2doc/index.docbook
M  +34   -1plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp

https://commits.kde.org/skrooge/5cb879bb2701732ef01626de1a92862b7b42d6cf

diff --git a/doc/index.docbook b/doc/index.docbook
index 91eb8181..9d16d00a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -760,12 +760,12 @@
   
   
Export all your data in one file
-   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
IIF, Sqlite, Sqlcipher or XML file will be created, containing all operations 
in the current document. This is the option to choose if you need to export 
your data to another application.
+   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or XML file will be created, containing all 
operations in the current document. This is the option to choose if you need to 
export your data to another application.
   
   
   
Export partially your data in one file
-   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
IIF, Sqlite, Sqlcipher or XML file will be created, containing the selected 
accounts (with their operations) or the selected operation. This is the option 
to choose if you need to export your data to another application.
+   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Ledger, IIF, Sqlite, Sqlcipher or XML file will be created, containing the 
selected accounts (with their operations) or the selected operation. This is 
the option to choose if you need to export your data to another 
application.
   
   
   
diff --git a/plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp 
b/plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp
index 9bbd8842..01b00fb2 100644
--- a/plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp
+++ b/plugins/import/skrooge_import_ledger/skgimportpluginledger.cpp
@@ -59,6 +59,29 @@ SKGError SKGImportPluginLedger::exportFile()
 if (!file.open(QIODevice::WriteOnly)) {
 err.setReturnCode(ERR_INVALIDARG).setMessage(i18nc("Error message",  
"Save file '%1' failed", m_importer->getFileName().toDisplayString()));
 } else {
+auto listUUIDs = 
SKGServices::splitCSVLine(m_exportParameters.value(QStringLiteral("uuid_of_selected_accounts_or_operations")));
+
+QString wc;
+for (const auto& uuid : listUUIDs) {
+auto items = SKGServices::splitCSVLine(uuid, '-');
+if (items.at(1) == QStringLiteral("operation")) {
+if (!wc.isEmpty()) {
+wc += QLatin1String(" AND ");
+}
+wc += " i_OPID=" + items.at(0);
+} else if (items.at(1) == QStringLiteral("account")) {
+if (!wc.isEmpty()) {
+wc += QLatin1String(" AND ");
+}
+wc += " rd_account_id=" + items.at(0);
+}
+}
+if (wc.isEmpty()) {
+wc = QStringLiteral("1=1");
+}  else {
+IFOKDO(err, m_importer->getDocument()->sendMessage(i18nc("An 
information message",  "Only selected accounts and operations have been 
exported")))
+}
+
 QLocale en(QStringLiteral("en_EN"));
 
 QTextStream stream();
@@ -95,7 +118,7 @@ SKGError SKGImportPluginLedger::exportFile()
 
 IFOK(err) {
 SKGObjectBase::SKGListSKGObjectBase operations;
-err = 
m_importer->getDocument()->getObjects(QStringLiteral("v_operation"), 
QStringLiteral("t_template='N' ORDER BY d_date"), operations);
+err = 
m_importer->getDocument()->getObjects(QStringLiteral("v_operation"), wc % 
QStringLiteral(" AND t_template='N' ORDER BY d_date"), operations);
 int nb = operations.count();
 IFOK(err) {
 err = m_importer->getDocument()->beginTransaction("#INTERNAL#" 
% i18nc("Export step", "Export operations"), nb);
@@ -136,6 +159,11 @@ SKGError SKGImportPluginLedger::exportFile()
<< (number != 0 ? QStringLiteral(" (") % 
SKGServices::intToString(number) % ")" : QStringLiteral(""))
<< QStringLiteral(" ") << payeeString
<< endl;
+stream << "  ; Skrooge ID: " << op.getID() << endl;
+stream << "  ; Import ID: " << op.getImpo

[skrooge] doc: Doc update

2017-09-28 Thread Stephane Mankowski
Git commit c5dd29d8a6ac4e6905bf1c03267a4e4e57f12070 by Stephane Mankowski.
Committed on 27/09/2017 at 12:07.
Pushed by smankowski into branch 'master'.

Doc update

M  +6-1doc/index.docbook
M  +---doc/payees.png

https://commits.kde.org/skrooge/c5dd29d8a6ac4e6905bf1c03267a4e4e57f12070

diff --git a/doc/index.docbook b/doc/index.docbook
index d0543406..5efe1f04 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1412,6 +1412,7 @@
   
Create an operation
To create a standard operation, you may use the Clear 
button to clear all fields and start a new operation from scratch. 
You can then fill its attributes (manually or using fast edition), and click on 
Add.
+If the appropriate setting is enabled, then the category will be 
set automatically when the payee is set.
You may also select a similar operation from the existing 
operations, modify what needs to be changed, and then click on 
Add.
   
   
@@ -1599,7 +1600,11 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
  
Address
The address of this payee.
-  
+ 
+ 
+   Category
+   The default category for this payee. This category 
is used to automatically the category when the payee is set in operations page. You can set the category. If you 
don't set it then the default category is computed with the existing 
operations.
+   
  
Amount
The sum of all operations in this 
payee.
diff --git a/doc/payees.png b/doc/payees.png
index bb2dcf93..2f8109bb 100644
Binary files a/doc/payees.png and b/doc/payees.png differ


[skrooge] doc: Documentation update

2017-08-30 Thread Stephane Mankowski
Git commit e7964c45b81bfbacea77dc5b7340657d44e3e137 by Stephane Mankowski.
Committed on 30/08/2017 at 19:38.
Pushed by smankowski into branch 'master'.

Documentation update

A  +---doc/dashboard_pfs.png
M  +23   -7doc/index.docbook

https://commits.kde.org/skrooge/e7964c45b81bfbacea77dc5b7340657d44e3e137

diff --git a/doc/dashboard_pfs.png b/doc/dashboard_pfs.png
new file mode 100644
index ..58c4376f
Binary files /dev/null and b/doc/dashboard_pfs.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index 24966779..75b58c4c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -50,8 +50,8 @@
 
 
 
-2016-06-15
-Skrooge 2.5.0
+2017-08-30
+Skrooge 2.9.0
 
 
   
@@ -693,7 +693,12 @@
IIF: Intuit Interchange 
Format is used by QuickBooks.
SKG: This is useful to merge 2  
documents
 PDF: This allows to create the operation from a 
PDF invoice. The invoice is also associated to the operation as a property. 
Read the How to if you want to know how 
to extract information from an invoice not supported yet.
-   Backend:  can also import operations by 
using a backend. The only one supported is http://weboob.org/;>WEBOOB. By using this backend you can import 
all operations from all your banks in only one click. For that, you just have 
to install http://weboob.org/;>WEBOOB and activate the 
corresponding backend from settings.
+   Backend:  can also import operations by 
using a backend. For the moment, the three following backends can be used:
+   
+  http://weboob.org/;>weboob: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install http://weboob.org/;>activate and activate the corresponding 
backend from settings.
+  http://weboob.org/;>weboob_coming: By using this backend you can 
import all coming operations from all your banks in only one click. This can be 
used for card with deferred debit. For that, you just have to install http://weboob.org/;>activate and activate the corresponding 
backend from settings.   
+  https://www.aquamaniac.de/sites/aqbanking/overview.php;>aqbanking: 
By using this backend you can import all operations from all your banks in only 
one click. For that, you just have to install and configure https://www.aquamaniac.de/sites/aqbanking/cli.php;>aqbanking-cli.
+   

 If you do not want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:

@@ -1163,7 +1168,18 @@


Display the estimation of interest for each account. You have to 
use the simulation page to define the rate 
of each account.
-   
+  
+  
+  
+   Personal financial score
+   
+ 
+   
+ 
+   
+   
+   Display your personal financial score.
+  
 
 
 
@@ -1965,7 +1981,7 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
  Type: see Unit 
Types.
  Reference Unit: the (other) unit used to 
compute value of the (current) unit. For example, if you have EADS shares, and 
want to see their value in euros, you should select € as reference unit in EADS 
unit.
  Country
- Download source: The source to download 
quotes. The recommended one is "Yahoo".
+  Download source: The source to download 
quotes. The recommended one is "Yahoo". By clicking on the arrow on the right 
of the "Download" field, you can directly download new sources from https://store.kde.org/browse/cat/339/ord/latest/;> 
store.kde.org
  Internet Code: The Internet code for this 
unit. If given this code,  is able to download the unit values from 
selected source.

  
@@ -2544,11 +2560,11 @@ file is opened. It is also recommended to create a 
different account ( "ETF"

   
   
-   Program copyright 2001-2014 Stéphane Mankowski
+   Program copyright 2001-2017 Stéphane Mankowski
steph...@mankowski.fr
   
   
-   Documentation copyright 2001-2014 Guillaume DE BURE
+   Documentation copyright 2001-2017 Guillaume DE BURE
gdeb...@yahoo.com
   
   



[skrooge] doc: Update documention for the export on selection

2017-05-04 Thread Stephane Mankowski
Git commit 08ae898bb30614f82de96a3bdbdd6b75eed6e09c by Stephane Mankowski.
Committed on 04/05/2017 at 20:13.
Pushed by smankowski into branch 'master'.

Update documention for the export on selection

M  +6-1doc/index.docbook

https://commits.kde.org/skrooge/08ae898bb30614f82de96a3bdbdd6b75eed6e09c

diff --git a/doc/index.docbook b/doc/index.docbook
index 7e410a29..24966779 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -755,7 +755,12 @@
   
   
Export all your data in one file
-   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
Sqlite or WML file will be created, containing all operations in the current 
document. This is the option to choose if you need to export your data to 
another application.
+   Using the menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
IIF, Sqlite, Sqlcipher or XML file will be created, containing all operations 
in the current document. This is the option to choose if you need to export 
your data to another application.
+  
+  
+  
+   Export partially your data in one file
+   If you select some accounts or some operations before using the 
menu File 
Export, a CSV, QIF, JSON, Kmymoney, 
IIF, Sqlite, Sqlcipher or XML file will be created, containing the selected 
accounts (with their operations) or the selected operation. This is the option 
to choose if you need to export your data to another application.
   
   
   



[skrooge] /: New screen captures for docs

2017-02-19 Thread Stephane Mankowski
Git commit 28a2f36ef897aeff69040e5713e2e667b7919954 by Stephane Mankowski.
Committed on 19/02/2017 at 20:08.
Pushed by smankowski into branch 'master'.

New screen captures for docs

M  +---doc/after_mass_update.png
M  +---doc/alarm.png
M  +---doc/analysis_build_report.png
M  +---doc/analysis_operations_view.png
M  +---doc/analysis_trackers_view.png
M  +---doc/apply_process.png
A  +---doc/apply_template.png
M  +---doc/back_forward.png
M  +---doc/bookmarks_browser.png
M  +---doc/categories.png
M  +---doc/context_chooser.png
M  +---doc/dashboard.png
M  +---doc/dashboard_accounts_full.png
M  +---doc/dashboard_accounts_light.png
M  +---doc/dashboard_advice.png
M  +---doc/dashboard_banks_full.png
M  +---doc/dashboard_banks_light.png
M  +---doc/dashboard_budget.png
M  +---doc/dashboard_categories.png
M  +---doc/dashboard_highlighted.png
M  +---doc/dashboard_income.png
M  +---doc/dashboard_interest.png
M  +---doc/dashboard_portfolio.png
M  +---doc/dashboard_quotes.png
M  +---doc/dashboard_report.png
M  +---doc/dashboard_scheduled.png
M  +---doc/dashboard_tip.png
M  +---doc/dashboard_variations.png
M  +---doc/define_processing.png
M  +---doc/define_search.png
M  +---doc/docks_detached.png
M  +---doc/docks_left_right.png
M  +---doc/docks_stacked.png
M  +---doc/document-save.png
M  +---doc/edit-redo.png
M  +---doc/edit-undo.png
M  +---doc/edition_panel_buttons.png
M  +---doc/export_graph_menu.png
M  +---doc/export_table_menu.png
M  +---doc/fast_edition.png
M  +2-1doc/index.docbook
M  +---doc/monthly.png
M  +---doc/operations.png
M  +---doc/payees.png
M  +---doc/property_editor.png
M  +---doc/reconciliation_information.png
M  +---doc/refund_tracker.png
M  +---doc/scheduled.png
M  +---doc/show.png
M  +---doc/simulations.png
M  +---doc/split_operation.png
M  +---doc/table_menu.png
M  +---doc/template_button.png
M  +---doc/trackers.png
M  +---doc/transfer_operation.png
M  +---doc/units.png
M  +1-1skrooge.creator.user

https://commits.kde.org/skrooge/28a2f36ef897aeff69040e5713e2e667b7919954

diff --git a/doc/after_mass_update.png b/doc/after_mass_update.png
index bc0715a5..9b94bf49 100644
Binary files a/doc/after_mass_update.png and b/doc/after_mass_update.png differ
diff --git a/doc/alarm.png b/doc/alarm.png
index 04a13065..20fa13ec 100644
Binary files a/doc/alarm.png and b/doc/alarm.png differ
diff --git a/doc/analysis_build_report.png b/doc/analysis_build_report.png
index c7ef0b83..8d748126 100644
Binary files a/doc/analysis_build_report.png and 
b/doc/analysis_build_report.png differ
diff --git a/doc/analysis_operations_view.png b/doc/analysis_operations_view.png
index b39b2c44..edcc6428 100644
Binary files a/doc/analysis_operations_view.png and 
b/doc/analysis_operations_view.png differ
diff --git a/doc/analysis_trackers_view.png b/doc/analysis_trackers_view.png
index 3d614068..3b7073d5 100644
Binary files a/doc/analysis_trackers_view.png and 
b/doc/analysis_trackers_view.png differ
diff --git a/doc/apply_process.png b/doc/apply_process.png
index ff3e806f..8b7f7531 100644
Binary files a/doc/apply_process.png and b/doc/apply_process.png differ
diff --git a/doc/apply_template.png b/doc/apply_template.png
new file mode 100644
index ..ff0a2508
Binary files /dev/null and b/doc/apply_template.png differ
diff --git a/doc/back_forward.png b/doc/back_forward.png
index 8b07af55..836c0540 100644
Binary files a/doc/back_forward.png and b/doc/back_forward.png differ
diff --git a/doc/bookmarks_browser.png b/doc/bookmarks_browser.png
index 8961e9c4..8dca6f78 100644
Binary files a/doc/bookmarks_browser.png and b/doc/bookmarks_browser.png differ
diff --git a/doc/categories.png b/doc/categories.png
index e0e41641..ba9b14f7 100644
Binary files a/doc/categories.png and b/doc/categories.png differ
diff --git a/doc/context_chooser.png b/doc/context_chooser.png
index bcc22fff..7c411a5f 100644
Binary files a/doc/context_chooser.png and b/doc/context_chooser.png differ
diff --git a/doc/dashboard.png b/doc/dashboard.png
index 0e8f3680..e4ea7365 100644
Binary files a/doc/dashboard.png and b/doc/dashboard.png differ
diff --git a/doc/dashboard_accounts_full.png b/doc/dashboard_accounts_full.png
index 7d3ad528..ee67e094 100644
Binary files a/doc/dashboard_accounts_full.png and 
b/doc/dashboard_accounts_full.png differ
diff --git a/doc/dashboard_accounts_light.png b/doc/dashboard_accounts_light.png
index c969a739..f59d 100644
Binary files a/doc/dashboard_accounts_light.png and 
b/doc/dashboard_accounts_light.png differ
diff --git a/doc/dashboard_advice.png b/doc/dashboard_advice.png

[skrooge] doc: Remove undefine

2017-01-22 Thread Stephane Mankowski
Git commit f6bf2531e18ffc2bca5131ff175b0f23fd715ac4 by Stephane Mankowski.
Committed on 22/01/2017 at 18:30.
Pushed by smankowski into branch 'master'.

Remove undefine 

M  +1-1doc/index.docbook

https://commits.kde.org/skrooge/f6bf2531e18ffc2bca5131ff175b0f23fd715ac4

diff --git a/doc/index.docbook b/doc/index.docbook
index 0d1d7771..f740a152 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -772,7 +772,7 @@
   
   
Export Graph
-allows you exporting a graph, either in PDF, SVG or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.
+allows you exporting a graph, either in PDF, SVG or just any image format 
supported by Qt (PNG, JPG, , TIFF...). You can do so by right-clicking on 
the graph, and choosing the Export option.


  


[skrooge] doc: Remove undefined tag in doc

2016-12-26 Thread Stephane Mankowski
Git commit 6736b54218a1136e6ed854d6ddd377726a4671ca by Stephane Mankowski.
Committed on 26/12/2016 at 19:53.
Pushed by smankowski into branch 'master'.

Remove undefined  tag in doc

M  +6-6doc/index.docbook

https://commits.kde.org/skrooge/6736b54218a1136e6ed854d6ddd377726a4671ca

diff --git a/doc/index.docbook b/doc/index.docbook
index 80d74fad..0d1d7771 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -691,7 +691,7 @@
QIF: Quicken Import File. 
Maybe the most common financial file format. However, it has some rather 
annoying limitations, like not giving the unit for operation, or no strict date 
formatting.
IIF: Intuit Interchange 
Format is used by QuickBooks.
SKG: This is useful to merge 2  
documents
-PDF: This allows to create the operation from a 
 invoice. The invoice is also associated to the operation as a property. 
Read the How to if you want to know how 
to extract information from an invoice not supported yet.
+PDF: This allows to create the operation from a 
PDF invoice. The invoice is also associated to the operation as a property. 
Read the How to if you want to know how 
to extract information from an invoice not supported yet.
Backend:  can also import operations by 
using a backend. The only one supported is http://weboob.org/;>WEBOOB. By using this backend you can import 
all operations from all your banks in only one click. For that, you just have 
to install http://weboob.org/;>WEBOOB and activate the 
corresponding backend from settings.

 If you do not want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:
@@ -759,7 +759,7 @@
   
   
Export a specific table
-   All tables in  can be 
exported, either in CSV, , ODT, , SVG or TXT format. 
+   All tables in  can be 
exported, either in CSV, , ODT, PDF, SVG or TXT format. 


  
@@ -772,7 +772,7 @@
   
   
Export Graph
-allows you exporting a graph, either in , SVG or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.
+allows you exporting a graph, either in PDF, SVG or just any image format 
supported by  (PNG, JPG, , TIFF...). You can do so by right-clicking 
on the graph, and choosing the Export option.


  
@@ -2499,10 +2499,10 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
How to define a new invoice extractor?


-uses pdftotext to extract all strings of a . After 
that, it uses a text file describing how to find key values. If you want to 
define a new invoice extractor, you have to do that:
+uses pdftotext to extract all strings of a PDF. After 
that, it uses a text file describing how to find key values. If you want to 
define a new invoice extractor, you have to do that:

-   Launch pdftotext on your  
file
-   Open the text file generated and the corresponding 
 file
+   Launch pdftotext on your PDF 
file
+   Open the text file generated and the corresponding PDF 
file
Create a new text with an extension .extractor. Example: 
google.extractor
Your file must be like this:



Re: Review Request 129620: adapt skrooge docbook to kf5

2016-12-06 Thread Stephane Mankowski

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129620/#review101318
---


Ship it!




Ship It!

- Stephane Mankowski


On Dec. 6, 2016, 8:59 a.m., Burkhard Lück wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129620/
> ---
> 
> (Updated Dec. 6, 2016, 8:59 a.m.)
> 
> 
> Review request for Documentation and Skrooge.
> 
> 
> Repository: skrooge
> 
> 
> Description
> ---
> 
> remove entities tbw + kappname, no longer used
> replace  with 
> fix date + releaseinfo format
> remove Settings + Help menu, the docbook already has a link to fundamentals 
> menus
> convert chapter How to in FAQ markup
> fix wrong links (homepage, store)
> remove obsolete appendix installation
> 
> 
> Diffs
> -
> 
>   doc/index.docbook bbcafad 
> 
> Diff: https://git.reviewboard.kde.org/r/129620/diff/
> 
> 
> Testing
> ---
> 
> checkXML5 index.docbook
> 
> 
> Thanks,
> 
> Burkhard Lück
> 
>



[skrooge] /: Show amount sign on lost focus

2016-09-08 Thread Stephane Mankowski
Git commit fd654830493963b2c8cc5ac114ec971e4cbdb8bb by Stephane Mankowski.
Committed on 08/09/2016 at 19:40.
Pushed by smankowski into branch 'master'.

Show amount sign on lost focus
BUG:368356
Update documentation

M  +1-0CHANGELOG
M  +1-0doc/index.docbook

http://commits.kde.org/skrooge/fd654830493963b2c8cc5ac114ec971e4cbdb8bb

diff --git a/CHANGELOG b/CHANGELOG
index 41a0d37..40eef7b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@ skrooge (2.5.0)
   *Correction bug 364407: Doesn't build with Qt 5.7
   *Correction bug 366025: Skrooge perpetually asks me to save updated tab 
state 
   *Correction bug 368196: Delete sub-operations in edit delete selected 
operation in list 
+  *Correction bug 368356: Show amount sign on lost focus
   *Correction bug 368195: No lock on target account for a transfer
   *Correction: Migration connect from ui file to cpp file
   *Correction: Better colors of amounts in tooltips of advices  
diff --git a/doc/index.docbook b/doc/index.docbook
index ad64040..5e89e0a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1338,6 +1338,7 @@

  The amount is how much you spent or earned with this 
operation.  requires you enter this in two separate fields: Quantity, 
and Unit.
  The quantity is negative for an expense (-30, for example), 
and positive for an income (+250, or simply 250). This field acts as a 
calculator,  entering an expression such as 10 + 3.23*2 will result in the 
field containing 16.46.
+  If the sign of the quantity is not specified, then 
 will use the category to find the most appropriate one.
   requires you to enter the unit because an operation is not necessarily made in 
your main currency. For example, when you buy or purchase shares, the unit of 
the operation is the share unit.

  


[kde-doc-english] [skrooge] /: Import of PDF invoice

2016-06-16 Thread Stephane Mankowski
Git commit 3d40b969b2b5de92e7f8ccec07e26f40c47b327c by Stephane Mankowski.
Committed on 16/06/2016 at 20:29.
Pushed by smankowski into branch 'master'.

Import of PDF invoice

M  +1-0CHANGELOG
M  +2-0CMakeLists.txt
M  +42   -5doc/index.docbook
M  +1-1doc/kde_docbook
M  +1-0plugins/import/CMakeLists.txt
C  +20   -21   plugins/import/skrooge_import_pdf/CMakeLists.txt [from: 
plugins/import/CMakeLists.txt - 059% similarity]
A  +7-0plugins/import/skrooge_import_pdf/allopneus.extractor
A  +7-0plugins/import/skrooge_import_pdf/biofan.extractor
A  +7-0plugins/import/skrooge_import_pdf/easycartouche.extractor
A  +7-0plugins/import/skrooge_import_pdf/engie.extractor
A  +8-0plugins/import/skrooge_import_pdf/free.extractor
A  +24   -0plugins/import/skrooge_import_pdf/freemobile.extractor
A  +7-0plugins/import/skrooge_import_pdf/ldlc.extractor
A  +18   -0
plugins/import/skrooge_import_pdf/org.kde.skrooge-import-pdf.desktop
A  +7-0plugins/import/skrooge_import_pdf/oscaro.extractor
A  +7-0plugins/import/skrooge_import_pdf/oxybul.extractor
A  +7-0plugins/import/skrooge_import_pdf/pixmania.extractor
A  +253  -0plugins/import/skrooge_import_pdf/skgimportpluginpdf.cpp 
[License: GPL (v2+)]
A  +71   -0plugins/import/skrooge_import_pdf/skgimportpluginpdf.h 
[License: GPL (v2+)]
A  +7-0plugins/import/skrooge_import_pdf/spartoo.extractor
A  +7-0plugins/import/skrooge_import_pdf/topachat.extractor

http://commits.kde.org/skrooge/3d40b969b2b5de92e7f8ccec07e26f40c47b327c

diff --git a/CHANGELOG b/CHANGELOG
index a56810a..8b020d9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@ skrooge (2.5.0)
   *Correction: The 31 of the month, in budget page, "Previous month" does not 
work  
   *New feature: Capability to set/change order of budget rules
   *New feature: Tooltip on modified amount of budget to explain the reasons of 
modifications
+  *New feature: Import of PDF invoice  
   
  -- Stephane MANKOWSKI <steph...@mankowski.fr>  xxx
  
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e4202c..d382923 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,6 +191,8 @@ IF(SKG_BUILD_TEST AND NOT WIN32)
 ADD_SUBDIRECTORY(tests)
 ENDIF(SKG_BUILD_TEST AND NOT WIN32)
 
+ADD_SUBDIRECTORY(doc)
+
 #Main application
 ADD_SUBDIRECTORY(skrooge)
 ADD_SUBDIRECTORY(skroogeconvert)
diff --git a/doc/index.docbook b/doc/index.docbook
index cb07435..e603f0b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -44,15 +44,15 @@
   2013
   2014
   2015
+  2016  
   Stéphane MANKOWSKI
   Guillaume DE BURE
 
 
 
 
-15/06/2015
-2.0.0
-
+15/06/2016
+2.5.0
 
 
   
@@ -693,8 +693,10 @@
QIF: Quicken Import File. 
Maybe the most common financial file format. However, it has some rather 
annoying limitations, like not giving the unit for operation, or no strict date 
formatting.
IIF: Intuit Interchange 
Format is used by QuickBooks.
SKG: This is useful to merge 2  
documents
+PDF: This allows to create the operation from a 
PDF invoice. The invoice is also associated to the operation as a property. 
Read the How to if you want ot know how 
to extract information from an invoice not supported yet.
Backend:  can also import operations by 
using a backend. The only one supported is http://weboob.org/;>WEBOOB. By using this backend you can import 
all operations from all your banks in only one click. For that, you just have 
to install http://weboob.org/;>WEBOOB and activate the 
corresponding backend from settings.
-   If you do not want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:
+   
+If you do not want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:


   Add passwords for each bank by doing 
kwallet-query -f Weboob kdewallet -w 
m_bank_name
@@ -2499,7 +2501,42 @@ file is opened. It is also recommended to create a 
different account ( "ETF"
The size of your document can be very important. If you delete 
some old transactions, the size will increase. 
  This is normal because  keeps the history of all 
modifications for the undo/redo mechanism. 
  So if you want to reduce the size of your document, you just have to 
clear the history.
- 
+   
+  
+  
+   How to define a new invoice extractor?
+uses pdftotext to extract all strings of a PDF. After 
that, it uses an text file describing how to find key values. If you want to 
define a new invoice extractor, you have to do that:
+   
+Launch pdftotext on your 
PDF file
+ Open the text file generated and the 
corresponding PDF file
+  Cre

[kde-doc-english] [skrooge] doc: Correction in documentation

2015-10-18 Thread Stephane Mankowski
Git commit a8e4aedb0edfd796d6e79dd4830a062864fea291 by Stephane Mankowski.
Committed on 18/10/2015 at 15:16.
Pushed by smankowski into branch 'master'.

Correction in documentation

M  +0-3doc/index.docbook

http://commits.kde.org/skrooge/a8e4aedb0edfd796d6e79dd4830a062864fea291

diff --git a/doc/index.docbook b/doc/index.docbook
index 25cbe42..64ae7eb 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1454,9 +1454,6 @@
You will find a "To Account" list where you should select the 
account receiving the money.

Since a transfer means "Take some money from account A and put it 
account B", if you put a sign in the quantity field (+ or -), it will be 
ignored. The operation for account A will always be negative, positive for 
account B.
-   
-   At the moment, once the operations are created they bear no 
relationship with each other: any modification on one of them will not be 
reflected on the other one.
-   
   
   
   
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [skrooge] doc: Documentation update

2015-07-11 Thread Stephane Mankowski
Git commit 2fe596ef8d6e43ad86ebdc2535ea9bcb4320a116 by Stephane Mankowski.
Committed on 11/07/2015 at 14:41.
Pushed by smankowski into branch 'master'.

Documentation update

M  +6-11   doc/index.docbook
M  +---doc/menu_edit.png
M  +---doc/menu_file.png
M  +---doc/menu_go1.png
M  +---doc/menu_go2.png
M  +---doc/menu_help.png
M  +---doc/menu_import.png
M  +---doc/menu_settings.png
M  +---doc/menu_tools.png
M  +---doc/menu_view.png
D  +---doc/merge_operations_menu.png
M  +---doc/tab_state_management.png

http://commits.kde.org/skrooge/2fe596ef8d6e43ad86ebdc2535ea9bcb4320a116

diff --git a/doc/index.docbook b/doc/index.docbook
index eb9615c..234788a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -746,15 +746,7 @@
titleMerge operations after import/title
paraThere are some cases where you have manually entered an 
operation, but also imported it from your bank. In such cases, the operation 
will appear twice in the list./para
paraYou may merge these two operations by selecting them, and select 
guimenuitemMerge operations/guimenuitem in the contextual menu. This will 
add all information you manually entered to the imported operation, and will 
delete the manually entered operation./para
-   
-   screenshot
- mediaobject
-   imageobjectimagedata 
fileref=merge_operations_menu.png//imageobject
- /mediaobject
-   /screenshot
-   
   /sect2
-  
 /sect1
 
 sect1 id=export
@@ -830,7 +822,8 @@
  listitemparaguimenuitemImport categories/guimenuitem: To 
import a set of predefined categories. This option depends of your 
country/para/listitem
  listitemparaguimenuitemImport/guimenuitem: To link 
linkend=importimport/link operation from files/para/listitem
  listitemparaguimenuitemImport with backend/guimenuitem: To 
link linkend=importimport/link operation with a backend/para/listitem
- listitemparaguimenuitemImport currency values.../guimenuitem: 
To import currency values from files/para/listitem
+ listitemparaguimenuitemImport currency values.../guimenuitem: 
To import currency values from files. Of couse, the csv file must have the 
three columns (unit, date and amount)./para/listitem
+ listitemparaguimenuitemImport rules.../guimenuitem: To import 
link linkend=search_and_processSearch and process/link rules to associate 
a category to a payee. Of couse, the csv file must have the two columns (payee 
and category)./para/listitem  
  /itemizedlist /para/listitem
listitemparaguimenuitemExport.../guimenuitem: To link 
linkend=export_fileexport/link operations into a file/para/listitem
/itemizedlist
@@ -848,21 +841,23 @@
   itemizedlist
  listitemparaguimenuitemUndo/guimenuitem: Cancel the previous 
modification done/para/listitem
  listitemparaguimenuitemRedo/guimenuitem: Reapply the previous 
modification canceled/para/listitem
- listitemparaguimenuitemUndo/guimenuitem: Cancel the previous 
modifications done up to the last save/para/listitem
+ listitemparaguimenuitemRevert document/guimenuitem: Cancel 
the previous modifications done up to the last save/para/listitem
  listitemparaguimenuitemDelete/guimenuitem: Delete the 
selected objects (operations, accounts, categories, ...)/para/listitem
  listitemparaguimenuitemAdd property/guimenuitem: Add a 
property regularly used on the selected objects/para/listitem
  listitemparaguimenuitemSelect all/guimenuitem: Select all 
lines of the link linkend=tablestable/link of the current 
page/para/listitem
  listitemparaguimenuitemFast edit:/guimenuitem: Facilitation 
the creation of new link linkend=operationsoperations/link by filling 
fields automatically based on previous operations created/para/listitem
  listitemparaguimenuitemFind.../guimenuitem: Open the link 
linkend=search_and_processSearch and process/link page with a predefined 
filter corresponding to the selected objects/para/listitem
  listitemparaguimenuitemSwitch highlight/guimenuitem: Switch 
the highlight state of objects/para/listitem
+ listitemparaguimenuitemSwitch close/guimenuitem: Switch the 
close state of objects/para/listitem  
  listitemparaguimenuitemReconcile.../guimenuitem: Open the 
link linkend=operationsOperations/link page in link 
linkend=reconciliationreconciliation/link mode/para/listitem
  listitemparaguimenuitemPoint/guimenuitem: Point the selected 
operations/para/listitem
  listitemparaguimenuitemGroup operations/guimenuitem: Group 
the selected operations/para/listitem
  listitemparaguimenuitemUngroup operations/guimenuitem: 
Ungroup the selected operations/para/listitem
  listitemparaguimenuitemDuplicate/guimenuitem: Duplicate the 
selected operation to create a new one from

[kde-doc-english] [skrooge] /: KF porting: About with translators

2015-06-15 Thread Stephane Mankowski
Git commit 413deb50625126dd377a3a623fc9fe3d9c390791 by Stephane Mankowski.
Committed on 15/06/2015 at 13:24.
Pushed by smankowski into branch 'master'.

KF porting: About with translators

M  +2-2doc/index.docbook
M  +1-5skgbasegui/skgmainpanel.cpp
M  +2-0skrooge/main.cpp
M  +1-0skroogeconvert/main.cpp

http://commits.kde.org/skrooge/413deb50625126dd377a3a623fc9fe3d9c390791

diff --git a/doc/index.docbook b/doc/index.docbook
index 61313f2..eb9615c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -50,8 +50,8 @@
 
 legalnoticeFDLNotice;/legalnotice
 
-date08/06/2014/date
-releaseinfo1.10.0/releaseinfo
+date15/06/2015/date
+releaseinfo2.0.0/releaseinfo
 
 
 abstract
diff --git a/skgbasegui/skgmainpanel.cpp b/skgbasegui/skgmainpanel.cpp
index 1b8651e..af63521 100644
--- a/skgbasegui/skgmainpanel.cpp
+++ b/skgbasegui/skgmainpanel.cpp
@@ -389,11 +389,7 @@ SKGMainPanel::SKGMainPanel(QSplashScreen* iSplashScreen, 
SKGDocument* iDocument,
 // Add credits
 nb = listAuthors.count();
 for (int i = 0; i  nb; ++i) {
-KAboutData::applicationData().addCredit(i18n(%1, 
listAuthors.at(i).toLatin1().data()),
-i18n(%1, 
listTasks.at(i).toLatin1().data()),
-listEmails.at(i).toLatin1(),
-
-, listOscs.at(i).toLatin1());
+KAboutData::applicationData().addCredit(listAuthors.at(i), 
listTasks.at(i), listEmails.at(i),  , listOscs.at(i));
 }
 
 // accept dnd
diff --git a/skrooge/main.cpp b/skrooge/main.cpp
index f1fc9da..1bfe6ad 100644
--- a/skrooge/main.cpp
+++ b/skrooge/main.cpp
@@ -104,6 +104,8 @@ int main(int argc, char** argv)
 , h4xordood
);
 about.setOtherText(i18nc(The description of the application, The 
application name is inspired by Charles Dicken's tale iA Christmas Carol/i, 
where the main character, Ebenezer Scrooge, a grumpy old narrow man, gets 
visited by three ghosts who change the way he sees the world, in a good way.));
+about.setTranslator(i18nc(NAME OF TRANSLATORS, Your names), 
i18nc(EMAIL OF TRANSLATORS, Your emails));
+
 KAboutData::setApplicationData(about);
 
 app.setApplicationName(about.componentName());
diff --git a/skroogeconvert/main.cpp b/skroogeconvert/main.cpp
index 7f0b2e6..73078d7 100644
--- a/skroogeconvert/main.cpp
+++ b/skroogeconvert/main.cpp
@@ -75,6 +75,7 @@ int main(int argc, char** argv)
 , willy9
);
 about.setOtherText(i18nc(The description of the application, The 
application name is inspired by Charles Dicken's tale iA Christmas Carol/i, 
where the main character, Ebenezer Scrooge, a grumpy old narrow man, gets 
visited by three ghosts who change the way he sees the world, in a good way.));
+about.setTranslator(i18nc(NAME OF TRANSLATORS, Your names), 
i18nc(EMAIL OF TRANSLATORS, Your emails));
 KAboutData::setApplicationData(about);
 
 QCoreApplication app(argc, argv);


[kde-doc-english] [skrooge/kf5] /: Merge branch 'master' of kde:skrooge into kf5

2015-04-24 Thread Stephane Mankowski
Git commit aab11a487224fd7c89a57f18b1d6a935cdb359b5 by Stephane Mankowski.
Committed on 24/04/2015 at 19:58.
Pushed by smankowski into branch 'kf5'.

Merge branch 'master' of kde:skrooge into kf5

Conflicts:
skrooge/CMakeLists.txt

M  +5-0CHANGELOG
M  +1-1doc/index.docbook
M  +1-1plugins/generic/skg_advice/skgadviceboardwidget.cpp
M  +17   -1plugins/generic/skg_bookmark/skgbookmarkplugindockwidget.cpp
M  +1-1plugins/generic/skg_debug/skgdebugpluginwidget.cpp
M  +4-0plugins/generic/skg_highlight/skghighlightplugin.cpp
M  +3-0plugins/skrooge/skrooge_bank/skgbankplugin.cpp
M  +6-0plugins/skrooge/skrooge_bank/skgbankpluginwidget.cpp
M  +23   -5plugins/skrooge/skrooge_budget/skgbudgetpluginwidget.cpp
M  +6-0plugins/skrooge/skrooge_calculator/skgcalculatorpluginwidget.cpp
M  +12   -1plugins/skrooge/skrooge_categories/skgcategoriespluginwidget.cpp
M  +3-0plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
M  +19   -0plugins/skrooge/skrooge_operation/skgoperationplugin.cpp
M  +58   -2plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +10   -0plugins/skrooge/skrooge_payee/skgpayeepluginwidget.cpp
M  +14   -1plugins/skrooge/skrooge_scheduled/skgscheduledplugin.cpp
M  +3-0plugins/skrooge/skrooge_scheduled/skgscheduledpluginwidget.cpp
M  +22   -0plugins/skrooge/skrooge_search/skgsearchpluginwidget.cpp
M  +7-0plugins/skrooge/skrooge_tracker/skgtrackerpluginwidget.cpp
M  +13   -3plugins/skrooge/skrooge_unit/skgunitplugin.cpp
M  +11   -1plugins/skrooge/skrooge_unit/skgunitpluginwidget.cpp
M  +37   -10   skgbankgui/skgobjectmodel.cpp
M  +122  -91   skgbankgui/skgquerycreator.cpp
M  +1-1skgbankmodeler/skgaccountobject.cpp
M  +2-2skgbankmodeler/skgcategoryobject.cpp
M  +1-1skgbankmodeler/skgoperationobject.cpp
M  +1-1skgbankmodeler/skgpayeeobject.cpp
M  +129  -125  skgbankmodeler/skgruleobject.cpp
M  +1-1skgbankmodeler/skgtrackerobject.cpp
M  +1-1skgbankmodeler/skgunitobject.cpp
M  +1-1skgbasegui/skgmainpanel.cpp
M  +6-2skgbasegui/skgobjectmodelbase.cpp
M  +1-8skgbasegui/skgtreeview.cpp
M  +12   -2skgbasemodeler/skgobjectbase.cpp
M  +82   -0skgbasemodeler/skgservices.cpp
M  +10   -0skgbasemodeler/skgservices.h
M  +1-0skrooge/CMakeLists.txt

http://commits.kde.org/skrooge/aab11a487224fd7c89a57f18b1d6a935cdb359b5

diff --cc CHANGELOG
index 2e1c636,3ab39c0..3e7656b
--- a/CHANGELOG
+++ b/CHANGELOG
@@@ -1,8 -1,10 +1,13 @@@
 +skrooge (2.0.0)  
 +  *Correction: Porting on KF5 / QT5
 +  
  skrooge (1.12.0)  
*Correction bug 345974: Skrooge alarms keep firing up regardless of 
specified alert amount
+   *Correction bug 346151: Fast edition don't fill operation sign
+   *Correction bug 345998: Add tooltip for all history actions
+   *Correction bug 345799: Moved then hiden column displayed 
+   *New feature: Automatic point operations created during reconciliation  
+   *New feature: Simple mode in Search and process page 
*Performances: Better performances on selection change in operation page
  
   -- Stephane MANKOWSKI stephane at mankowski.fr  xxx
diff --cc skgbankgui/skgquerycreator.cpp
index 7e305b0,0a20d1a..36db965
--- a/skgbankgui/skgquerycreator.cpp
+++ b/skgbankgui/skgquerycreator.cpp
@@@ -35,14 -35,13 +35,13 @@@ SKGQueryCreator::SKGQueryCreator(QWidge
  {
  ui.setupUi(this);
  
 -ui.kList-horizontalHeader()-setResizeMode(QHeaderView::Interactive);
 -ui.kList-verticalHeader()-setResizeMode(QHeaderView::Fixed);
 +
ui.kList-horizontalHeader()-setSectionResizeMode(QHeaderView::Interactive);
 +ui.kList-verticalHeader()-setSectionResizeMode(QHeaderView::Fixed);
  ui.kList-setWordWrap(false);
 -ui.kList-horizontalHeader()-setMovable(true);
 +ui.kList-horizontalHeader()-setSectionsMovable(true);
  
 -connect(ui.kList, SIGNAL(removeLine(int)), this, SLOT(removeLine(int)));
 +connect(ui.kList, SKGTableWidget::removeLine, this, 
SKGQueryCreator::removeLine);
  
- 
  addNewLine();
  }
  
diff --cc skgbasemodeler/skgobjectbase.cpp
index ec2e06f,c12e501..8ea8d59
--- a/skgbasemodeler/skgobjectbase.cpp
+++ b/skgbasemodeler/skgobjectbase.cpp
@@@ -507,8 -511,13 +512,13 @@@ SKGError SKGObjectBase::setProperty(con
  
  SKGError SKGObjectBase::setProperty(const QString iName, const QString 
iValue, const QVariant iBlob, SKGPropertyObject* oObjectCreated) const
  {
- return Q_UNLIKELY(!getDocument()) ? SKGError() :  
getDocument()-setParameter(iName, iValue, iBlob, getUniqueID(), 
oObjectCreated);
+ SKGError err = Q_UNLIKELY(!getDocument()) ? SKGError() :  
getDocument()-setParameter(iName, iValue, iBlob, getUniqueID(), 
oObjectCreated);
+ 
+ // Send message
+ IFOKDO(err, getDocument()-sendMessage(i18nc(An information to the 
user, The property '%1=%2' has been added on '%3', iName, iValue, 
getDisplayName()), SKGDocument

[kde-doc-english] [skrooge] /: feature: Automatic point operations created during reconciliation

2015-04-18 Thread Stephane Mankowski
Git commit 99717c79347de7954cabf617e182256984e7e684 by Stephane Mankowski.
Committed on 16/04/2015 at 20:28.
Pushed by smankowski into branch 'master'.

feature: Automatic point operations created during reconciliation

M  +1-0CHANGELOG
M  +1-1doc/index.docbook

http://commits.kde.org/skrooge/99717c79347de7954cabf617e182256984e7e684

diff --git a/CHANGELOG b/CHANGELOG
index bdc01e8..85376db 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@ skrooge (1.12.0)
   *Correction bug 345974: Skrooge alarms keep firing up regardless of 
specified alert amount
   *Correction bug 346151: Fast edition don't fill operation sign
   *Correction bug 345998: Add tooltip for all history actions
+  *New feature: Automatic point operations created during reconciliation  
   *Performances: Better performances on selection change in operation page
 
  -- Stephane MANKOWSKI stephane at mankowski.fr  xxx
diff --git a/doc/index.docbook b/doc/index.docbook
index e07b256..4634ed2 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1551,7 +1551,7 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)

paraIf the option guibuttonHide checked operations/guibutton is 
selected, all these operations will now be hidden./para

-   paraIf the reconciliation is not possible for any reason, a fake can 
be automatically created to allow the reconciliation. The default attributes of 
the fake operation can be defined from settings./para
+   paraIf the reconciliation is not possible for any reason, a fake can 
be automatically created to allow the reconciliation. The default attributes of 
the fake operation can be defined from settings. During reconcilition, if the 
appropriate setting is enable, all created operations are automatically 
pointed./para

   /sect2
   



[kde-doc-english] [skrooge/kf5] /: Merge branch 'master' of kde:skrooge into kf5

2015-04-05 Thread Stephane Mankowski
Git commit e4c7dc270218160e2d57cb4330d36d6c0c4ff0c7 by Stephane Mankowski.
Committed on 02/04/2015 at 21:06.
Pushed by smankowski into branch 'kf5'.

Merge branch 'master' of kde:skrooge into kf5

Conflicts:
skgbasegui/skgcalculatoredit.cpp
skgbasemodeler/skgservices.cpp

M  +5-0CHANGELOG
M  +22   -5doc/index.docbook
M  +5-2plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +37   -6skgbankmodeler/skgdocumentbank.cpp
M  +6-7skgbasegui/skgcalculatoredit.cpp
M  +1-2skgbasegui/skgcalculatoredit.h
M  +3-0skgbasegui/skgsortfilterproxymodel.h
M  +11   -0skgbasegui/skgtreeview.cpp
M  +1-0skgbasegui/skgtreeview.h
M  +4-21   skgbasemodeler/skgservices.cpp
M  +24   -7tests/skgbaseguitest/skgtestcalculatoredit.cpp

http://commits.kde.org/skrooge/e4c7dc270218160e2d57cb4330d36d6c0c4ff0c7

diff --cc skgbasegui/skgcalculatoredit.cpp
index 30b6001,09254e7..fcf6e60
--- a/skgbasegui/skgcalculatoredit.cpp
+++ b/skgbasegui/skgcalculatoredit.cpp
@@@ -33,7 -33,7 +33,7 @@@
  #include skgtraces.h
  
  SKGCalculatorEdit::SKGCalculatorEdit(QWidget* iParent)
- : QLineEdit(iParent), m_lastValue(0), m_lastOperator(0), 
m_currentMode(CALCULATOR), m_valid(true)
 -: KLineEdit(iParent), m_lastValue(0), m_lastOperator(0), 
m_currentMode(CALCULATOR)
++: QLineEdit(iParent), m_lastValue(0), m_lastOperator(0), 
m_currentMode(CALCULATOR)
  {
  setMode(CALCULATOR);
  m_fontColor = palette().color(QPalette::Text);
@@@ -88,10 -88,9 +88,9 @@@ void SKGCalculatorEdit::setText(const Q
  QPalette field_palette = palette();
  field_palette.setColor(QPalette::Text, m_fontColor);
  setPalette(field_palette);
- m_valid = true;
  
  // Set text (to be sure than keyPressEvent is able to get it)
 -KLineEdit::setText(iText);
 +QLineEdit::setText(iText);
  
  // Simulate a validation
  if (mode() == EXPRESSION) {
@@@ -101,8 -100,8 +100,8 @@@
  }
  
  // Set text (to display the input value)
- if (m_valid) {
+ if (valid()) {
 -KLineEdit::setText(iText);
 +QLineEdit::setText(iText);
  }
  }
  
@@@ -197,8 -194,7 +198,7 @@@ void SKGCalculatorEdit::keyPressEvent(i
  double v = getEvaluatedValue(test);
  if (test) {
  QString t = text();
 -KLineEdit::setText((!t.isEmpty()  t[0] == '+'  v  0 ? 
+ : ) % SKGServices::doubleToString(v));
 +QLineEdit::setText((!t.isEmpty()  t[0] == '+'  v  0 ? 
+ : ) % SKGServices::doubleToString(v));
- m_valid = true;
  } else {
  QPalette field_palette = palette();
  field_palette.setColor(QPalette::Text, 
KColorScheme(QPalette::Normal).foreground(KColorScheme::NegativeText).color());
diff --cc skgbasemodeler/skgservices.cpp
index 405fa3f,ade344f..e9c4568
--- a/skgbasemodeler/skgservices.cpp
+++ b/skgbasemodeler/skgservices.cpp
@@@ -55,27 -53,9 +55,10 @@@ QList SKGServices::SKGSearchCriteria 
  {
  QList SKGServices::SKGSearchCriteria  output;
  
- QStringList words = SKGServices::splitCSVLine(iString, ' ', false);
- 
- // Treatment for quote support abc def
- bool inQuote=false;
- for (int i = 0; i  words.count(); ++i) {
-   QString v=words[i];
-   if(inQuote) {
- if(v.endsWith(QLatin1Literal(''))) {
-   words[i-1] += v;
-   words.removeAt(i);
-   --i;
-   inQuote = false;
- }
-   } else {
- if(v.count('')%2 ==1) {
-   inQuote = true;
- }
-   }
- }
+ QStringList words = SKGServices::splitCSVLine(iString, ' ', true);
+ 
+ int nbwords = words.count();
 +
- int nbwords = words.count();
  SKGServices::SKGSearchCriteria criteria;
  criteria.mode = '+';
  bool atLeastOnePlus = false;



[kde-doc-english] [skrooge/kf5] /: Merge branch 'master' of kde:skrooge into kf5

2015-04-05 Thread Stephane Mankowski
Git commit d6435927f318ffd3078ada6da75d587794aaebaf by Stephane Mankowski.
Committed on 05/04/2015 at 20:48.
Pushed by smankowski into branch 'kf5'.

Merge branch 'master' of kde:skrooge into kf5

Conflicts:
CMakeLists.txt
images/splash.png
skgbankgui/skgquerycreator.cpp

M  +4-1CHANGELOG
M  +3-2doc/index.docbook
R  +1-0plugins/applet/account/org.kde.accountskroogoid.desktop
M  +1-1plugins/generic/skg_properties/skgpropertiesplugin.cpp
M  +25   -16   plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +1-1skgbankgui/skgquerycreator.cpp
M  +1-1skgbankmodeler/skgdocumentbank.cpp
M  +1-1skgbasegui/skgcalculatoredit.cpp
M  +1-1skgbasemodeler/skgservices.cpp

http://commits.kde.org/skrooge/d6435927f318ffd3078ada6da75d587794aaebaf

diff --cc skgbankgui/skgquerycreator.cpp
index 2bb5cfd,cd2e11f..7e305b0
--- a/skgbankgui/skgquerycreator.cpp
+++ b/skgbankgui/skgquerycreator.cpp
@@@ -64,7 -64,7 +64,7 @@@ void SKGQueryCreator::setParameters(SKG
  // Build list of attributes
  if (m_document) {
  SKGQueryDelegate* delegate = new SKGQueryDelegate(ui.kList, 
m_document, m_updateMode, iListAttribute);
- connect(delegate, SKGQueryDelegate::closeEditor, this, 
SKGQueryCreator::onCloseEditor);
 -connect(delegate, SIGNAL(commitData(QWidget*)), this, 
SLOT(onCloseEditor()), Qt::QueuedConnection);
++connect(delegate, SKGQueryDelegate::commitData, this, 
SKGQueryCreator::onCloseEditor, Qt::QueuedConnection);
  
  ui.kList-setItemDelegate(delegate);
  


[kde-doc-english] [skrooge] /: BUG:345719

2015-04-03 Thread Stephane Mankowski
Git commit 62e5a687dd6b4555824f786add4e1a1d941f3c49 by Stephane Mankowski.
Committed on 03/04/2015 at 18:19.
Pushed by smankowski into branch 'master'.

BUG:345719
Enhance fast search/filter on lists

M  +1-0doc/index.docbook
M  +1-1skgbasegui/skgfilteredtableview.ui
M  +1-1skgbasemodeler/skgservices.cpp
M  +2-2tests/skgbasemodelertest/skgtestbase.cpp

http://commits.kde.org/skrooge/62e5a687dd6b4555824f786add4e1a1d941f3c49

diff --git a/doc/index.docbook b/doc/index.docbook
index c5e10ba..1de31c9 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -597,6 +597,7 @@
  listitempara+val1 +val2 =gt; Keep lines containing val1 OR 
val2/para/listitem
  listitempara+val1 -val2 =gt; Keep lines containing val1 but 
NOT val2/para/listitem
  listitemparaabc def =gt; Keep lines containing the 
sentence abc def/para/listitem
+ listitempara-att:abc def =gt; Remove lines having a column 
name starting by abc and containing abc def/para/listitem
  listitemparaabc:def =gt; Keep lines having a column name 
starting by abc and containing def/para/listitem
  listitempara:abc:def =gt; Keep lines containing 
abc:def/para/listitem
  listitemparaDategt;2015-03-01 =gt; Keep lines where Date 
attribute is greater than 2015-03-01/para/listitem
diff --git a/skgbasegui/skgfilteredtableview.ui 
b/skgbasegui/skgfilteredtableview.ui
index f332315..35371fa 100644
--- a/skgbasegui/skgfilteredtableview.ui
+++ b/skgbasegui/skgfilteredtableview.ui
@@ -101,7 +101,7 @@
 enumQt::WheelFocus/enum
/property
property name=toolTip
-stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you want 
to use the character amp;quot;:amp;quot; in value, you must specify the 
column name like this: col1:value:rest.lt;br/gt;If you want to search for a 
phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;You can also use 
operator amp;quot;amp;lt;amp;quot; and 
amp;quot;amp;gt;amp;quot;.lt;/pgt;lt;pgt;lt;span style=quot; 
font-weight:600; text-decoration: 
underline;quot;gt;Examples:lt;/spangt;lt;br/gt;+val1 +val2 =amp;gt; Keep 
lines containing val1 OR val2lt;br/gt;+val1 -val2 =amp;gt; Keep lines 
containing val1 but NOT val2lt;br/gt;amp;quot;abc defamp;quot; =amp;gt; 
Keep lines containing the sentence amp;quot;abc defamp;quot; 
lt;br/gt;abc:def =amp;gt; Keep lines having a column name starting by abc 
and containing deflt;br/gt;:abc:def =amp;gt; Keep lines containing 
amp;quot;abc:defamp;quot;lt;br/gt;Dateamp;gt;2015-03-01 =amp;gt; Keep 
lines where Date attribute is greater than 
2015-03-01lt;br/gt;Amountamp;lt;10 =amp;gt;Keep lines where Amount 
attribute is less than 10lt;/pgt;lt;/bodygt;lt;/htmlgt;/string
+stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you want 
to use the character amp;quot;:amp;quot; in value, you must specify the 
column name like this: col1:value:rest.lt;br/gt;If you want to search for a 
phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;You can also use 
operator amp;quot;amp;lt;amp;quot; and 
amp;quot;amp;gt;amp;quot;.lt;/pgt;lt;pgt;lt;span style=quot; 
font-weight:600; text-decoration: 
underline;quot;gt;Examples:lt;/spangt;lt;br/gt;+val1 +val2 =amp;gt; Keep 
lines containing val1 OR val2lt;br/gt;+val1 -val2 =amp;gt; Keep lines 
containing val1 but NOT val2lt;br/gt;amp;quot;abc defamp;quot; =amp;gt; 
Keep lines containing the sentence amp;quot;abc defamp;quot; 
lt;br/gt;amp;quot;-att:abc defamp;quot; =amp;gt; Remove lines having a 
column name starting by abc and containing amp;quot;abc defamp;quot; 
lt;br/gt;abc:def =amp;gt; Keep lines having a column

[kde-doc-english] [skrooge] /: Syntax error

2015-04-03 Thread Stephane Mankowski
Git commit ae93413d8a1b304661f41f107f19023c5f02ba21 by Stephane Mankowski.
Committed on 03/04/2015 at 22:10.
Pushed by smankowski into branch 'master'.

Syntax error

M  +2-2doc/index.docbook
M  +1-1skgbasegui/skgfilteredtableview.ui

http://commits.kde.org/skrooge/ae93413d8a1b304661f41f107f19023c5f02ba21

diff --git a/doc/index.docbook b/doc/index.docbook
index 1de31c9..e07b256 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -583,8 +583,8 @@
itemizedlist
listitemparaSearching is case-insensitive. So table, Table, 
and TABLE are all the same./para/listitem
listitemparaIf you just put a word or series of words in 
the search box, the application will filter the table to keep all lines having 
these words (logical operator AND)./para/listitem
-   listitemparaIf you want to add (logical operator OR) some 
line, you must prefix your word by +./para/listitem
-   listitemparaIf you want to remove (logical operator NOT) 
some line, you must prefix your word by -./para/listitem
+   listitemparaIf you want to add (logical operator OR) some 
lines, you must prefix your word by +./para/listitem
+   listitemparaIf you want to remove (logical operator NOT) 
some lines, you must prefix your word by -./para/listitem
listitemparaIf you want to search only on one column, you 
must prefix your word by the column name like: col1:word./para/listitem
listitemparaIf you want to use the character : in value, 
you must specify the column name like this: col1:value:rest./para/listitem
listitemparaIf you want to search for a phrase or something 
that contains spaces, you must put it in quotes, like: yes, this is a 
phrase./para/listitem
diff --git a/skgbasegui/skgfilteredtableview.ui 
b/skgbasegui/skgfilteredtableview.ui
index 35371fa..596c3df 100644
--- a/skgbasegui/skgfilteredtableview.ui
+++ b/skgbasegui/skgfilteredtableview.ui
@@ -101,7 +101,7 @@
 enumQt::WheelFocus/enum
/property
property name=toolTip
-stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you want 
to use the character amp;quot;:amp;quot; in value, you must specify the 
column name like this: col1:value:rest.lt;br/gt;If you want to search for a 
phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;You can also use 
operator amp;quot;amp;lt;amp;quot; and 
amp;quot;amp;gt;amp;quot;.lt;/pgt;lt;pgt;lt;span style=quot; 
font-weight:600; text-decoration: 
underline;quot;gt;Examples:lt;/spangt;lt;br/gt;+val1 +val2 =amp;gt; Keep 
lines containing val1 OR val2lt;br/gt;+val1 -val2 =amp;gt; Keep lines 
containing val1 but NOT val2lt;br/gt;amp;quot;abc defamp;quot; =amp;gt; 
Keep lines containing the sentence amp;quot;abc defamp;quot; 
lt;br/gt;amp;quot;-att:abc defamp;quot; =amp;gt; Remove lines having a 
column name starting by abc and containing amp;quot;abc defamp;quot; 
lt;br/gt;abc:def =amp;gt; Keep lines having a column name starting by abc 
and containing deflt;br/gt;:abc:def =amp;gt; Keep lines containing 
amp;quot;abc:defamp;quot;lt;br/gt;Dateamp;gt;2015-03-01 =amp;gt; Keep 
lines where Date attribute is greater than 
2015-03-01lt;br/gt;Amountamp;lt;10 =amp;gt;Keep lines where Amount 
attribute is less than 10lt;/pgt;lt;/bodygt;lt;/htmlgt;/string
+stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some lines, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some lines, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you want 
to use the character amp;quot;:amp;quot; in value, you must specify the 
column name like this: col1:value:rest.lt;br/gt;If you want to search for a 
phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;You can also use 
operator amp;quot

[kde-doc-english] [skrooge] /: BUG:345719

2015-04-02 Thread Stephane Mankowski
Git commit 2fd99d7ddd8a0e0b77db1886b843e79fb2c8 by Stephane Mankowski.
Committed on 02/04/2015 at 20:42.
Pushed by smankowski into branch 'master'.

BUG:345719
Enhance fast search/filter on lists

M  +8-5doc/index.docbook
M  +1-1skgbasegui/skgfilteredtableview.ui
M  +94   -34   skgbasegui/skgsortfilterproxymodel.cpp
M  +3-0skgbasegui/skgsortfilterproxymodel.h

http://commits.kde.org/skrooge/2fd99d7ddd8a0e0b77db1886b843e79fb2c8

diff --git a/doc/index.docbook b/doc/index.docbook
index 20d3c88..96eec8b 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -588,16 +588,19 @@
listitemparaIf you want to search only on one column, you 
must prefix your word by the column name like: col1:word./para/listitem
listitemparaIf you want to use the character : in value, 
you must specify the column name like this: col1:value:rest./para/listitem
listitemparaIf you want to search for a phrase or something 
that contains spaces, you must put it in quotes, like: yes, this is a 
phrase./para/listitem
+   listitemparaYou can also use operator lt; and 
gt;./para/listitem
/itemizedlist
  para
Some examples are better to explain:
  /para
itemizedlist
- listitempara+val1 +val2 = Keep lines containing val1 OR 
val2/para/listitem
- listitempara+val1 -val2 = Keep lines containing val1 but NOT 
val2/para/listitem
- listitemparaabc def = Keep lines containing the sentense 
abc def/para/listitem
- listitemparaabc:def = Keep lines having a column name 
starting by abc and containing def/para/listitem
- listitempara:abc:def = Keep lines containing 
abc:def/para/listitem
+ listitempara+val1 +val2 =gt; Keep lines containing val1 OR 
val2/para/listitem
+ listitempara+val1 -val2 =gt; Keep lines containing val1 but 
NOT val2/para/listitem
+ listitemparaabc def =gt; Keep lines containing the 
sentense abc def/para/listitem
+ listitemparaabc:def =gt; Keep lines having a column name 
starting by abc and containing def/para/listitem
+ listitempara:abc:def =gt; Keep lines containing 
abc:def/para/listitem
+ listitemparaDategt;2015-03-01 =gt; Keep lines where Date 
attribute is greater than 2015-03-01/para/listitem
+ listitemparaAmountlt;10 =gt;Keep lines where Amount 
attribute is less than 10/para/listitem
/itemizedlist
/tip
/sect3
diff --git a/skgbasegui/skgfilteredtableview.ui 
b/skgbasegui/skgfilteredtableview.ui
index c225272..a3670ed 100644
--- a/skgbasegui/skgfilteredtableview.ui
+++ b/skgbasegui/skgfilteredtableview.ui
@@ -101,7 +101,7 @@
 enumQt::WheelFocus/enum
/property
property name=toolTip
-stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;/pgt;lt;pgt;If 
you want to use the character amp;quot;:amp;quot; in value, you must specify 
the column name like this: col1:value:rest.lt;br/gt;If you want to search for 
a phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;lt;span 
style=quot; font-weight:600; text-decoration: 
underline;quot;gt;Examples:lt;/spangt;lt;br/gt;+val1 +val2 =amp;gt; Keep 
lines containing val1 OR val2lt;br/gt;+val1 -val2 =amp;gt; Keep lines 
containing val1 but NOT val2lt;br/gt;amp;quot;abc defamp;quot; =amp;gt; 
Keep lines containing the sentense amp;quot;abc defamp;quot; 
lt;br/gt;abc:def =amp;gt; Keep lines having a column name starting by abc 
and containing deflt;br/gt;:abc:def =amp;gt; Keep lines containing 
amp;quot;abc:defamp;quot;lt;/pgt;lt;/bodygt;lt;/htmlgt;/string
+stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you

[kde-doc-english] [skrooge] /: Merge branch 'master' of kde:skrooge

2015-04-02 Thread Stephane Mankowski
Git commit 7bebee2c500616f30cef5ee3cf21491b11d7c021 by Stephane Mankowski.
Committed on 02/04/2015 at 20:46.
Pushed by smankowski into branch 'master'.

Merge branch 'master' of kde:skrooge

Conflicts:
doc/index.docbook
skgbasegui/skgfilteredtableview.ui

M  +1-1doc/index.docbook
M  +1-1skgbasegui/skgfilteredtableview.ui

http://commits.kde.org/skrooge/7bebee2c500616f30cef5ee3cf21491b11d7c021

diff --cc doc/index.docbook
index 96eec8b,afa5c29..c5e10ba
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@@ -594,13 -593,11 +594,13 @@@
Some examples are better to explain:
  /para
itemizedlist
 -listitempara+val1 +val2 = Keep lines containing val1 OR 
val2/para/listitem
 -listitempara+val1 -val2 = Keep lines containing val1 but NOT 
val2/para/listitem
 -listitemparaabc def = Keep lines containing the sentence 
abc def/para/listitem
 -listitemparaabc:def = Keep lines having a column name 
starting by abc and containing def/para/listitem
 -listitempara:abc:def = Keep lines containing 
abc:def/para/listitem
 +listitempara+val1 +val2 =gt; Keep lines containing val1 OR 
val2/para/listitem
 +listitempara+val1 -val2 =gt; Keep lines containing val1 but 
NOT val2/para/listitem
- listitemparaabc def =gt; Keep lines containing the 
sentense abc def/para/listitem
++listitemparaabc def =gt; Keep lines containing the 
sentence abc def/para/listitem
 +listitemparaabc:def =gt; Keep lines having a column name 
starting by abc and containing def/para/listitem
 +listitempara:abc:def =gt; Keep lines containing 
abc:def/para/listitem
 +listitemparaDategt;2015-03-01 =gt; Keep lines where Date 
attribute is greater than 2015-03-01/para/listitem
 +listitemparaAmountlt;10 =gt;Keep lines where Amount 
attribute is less than 10/para/listitem
/itemizedlist
/tip
/sect3
diff --cc skgbasegui/skgfilteredtableview.ui
index a3670ed,ef8cfc2..f332315
--- a/skgbasegui/skgfilteredtableview.ui
+++ b/skgbasegui/skgfilteredtableview.ui
@@@ -101,7 -101,7 +101,7 @@@
  enumQt::WheelFocus/enum
 /property
 property name=toolTip
- stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;br/gt;If you want 
to use the character amp;quot;:amp;quot; in value, you must specify the 
column name like this: col1:value:rest.lt;br/gt;If you want to search for a 
phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt;pgt;You can also use 
operator amp;quot;amp;lt;amp;quot; and 
amp;quot;amp;gt;amp;quot;.lt;/pgt;lt;pgt;lt;span style=quot; 
font-weight:600; text-decoration: 
underline;quot;gt;Examples:lt;/spangt;lt;br/gt;+val1 +val2 =amp;gt; Keep 
lines containing val1 OR val2lt;br/gt;+val1 -val2 =amp;gt; Keep lines 
containing val1 but NOT val2lt;br/gt;amp;quot;abc defamp;quot; =amp;gt; 
Keep lines containing the sentense amp;quot;abc defamp;quot; 
lt;br/gt;abc:def =amp;gt; Keep lines having a column name starting by abc 
and containing deflt;br/gt;:abc:def =amp;gt; Keep lines containing 
amp;quot;abc:defamp;quot;lt;br/gt;Dateamp;gt;2015-03-01 =amp;gt; Keep 
lines where Date attribute is greater than 
2015-03-01lt;br/gt;Amountamp;lt;10 =amp;gt;Keep lines where Amount 
attribute is less than 10lt;/pgt;lt;/bodygt;lt;/htmlgt;/string
 -stringlt;htmlgt;lt;head/gt;lt;bodygt;lt;pgt;Searching is 
case-insensitive. So table, Table, and TABLE are all the same.lt;br/gt;If you 
just put a word or series of words in the search box, the application will 
filter the table to keep all lines having these words (logical operator AND). 
lt;br/gt;If you want to add (logical operator OR) some line, you must prefix 
your word by amp;quot;+amp;quot;.lt;br/gt;If you want to remove (logical 
operator NOT) some line, you must prefix your word by 
amp;quot;-amp;quot;.lt;br/gt;If you want to search only on one column, you 
must prefix your word by the column name like: col1:word.lt;/pgt;lt;pgt;If 
you want to use the character amp;quot;:amp;quot; in value, you must specify 
the column name like this: col1:value:rest.lt;br/gt;If you want to search for 
a phrase or something that contains spaces, you must put it in quotes, like: 
amp;quot;yes, this is a phraseamp;quot;.lt;/pgt;lt

[kde-doc-english] [skrooge] doc: Update documentation

2015-02-15 Thread Stephane Mankowski
Git commit 0a202d828912754f2795e80d5f35549981f2b42a by Stephane Mankowski.
Committed on 14/02/2015 at 16:09.
Pushed by smankowski into branch 'master'.

Update documentation

M  +27   -4doc/index.docbook
M  +1-1doc/kde_docbook
A  +---doc/messages.png
M  +---doc/reports.png

http://commits.kde.org/skrooge/0a202d828912754f2795e80d5f35549981f2b42a

diff --git a/doc/index.docbook b/doc/index.docbook
index effbe8a..8fa5a62 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -5,9 +5,7 @@
 !ENTITY tbw TO BE WRITTEN
 !ENTITY % addindex IGNORE
 !ENTITY % English INCLUDE!-- change language only here --
-
 !ENTITY homepage http://extragear.kde.org/apps/skrooge/;
-
 ]
 
 book id=skrooge lang=language;
@@ -274,6 +272,7 @@
listitemparalink linkend=bookmarksThe bookmark 
list/link/para/listitem
listitemparalink linkend=undo_redoThe undo / redo 
browser/link/para/listitem
listitemparalink linkend=property_editorThe property 
editor/link/para/listitem
+   listitemparalink linkend=message_listThe Message 
list/link/para/listitem
  /itemizedlist
/para
   /sect2
@@ -423,7 +422,22 @@
  Added properties can be displayed as a column on link 
linkend=tablestables/link
/para 
   /sect2
-   
+
+  sect2 id=message_list
+   titleMessage list/title
+   para
+ This dock allows you to see all message displayed./para
+   
+   screenshot
+ mediaobject
+   imageobjectimagedata fileref=messages.png 
format=PNG//imageobject
+   textobjectphraseThe message list/phrase/textobject
+ /mediaobject
+   /screenshot
+   
+   paraEach context will be described in a specific chapter in this 
handbook./para
+  /sect2
+  
   sect2 id=multi-tabs
titleMultiple Tabs/title

@@ -658,6 +672,7 @@
listitemparaOFX: Open Financial eXchange. It is a well defined 
amp; documented format, that appname; imports using a third party library 
(libofx). This is the recommended format for imports./para/listitem
listitemparaQFX: QFX is a customization of OFX from the 
commercial software trademarkQuicken/trademark./para/listitem
listitemparaQIF: trademarkQuicken/trademark Import File. 
Maybe the most common financial file format. However, it has some rather 
annoying limitations, like not giving the unit for operation, or no strict date 
formatting./para/listitem
+   listitemparaIIF: trademarkIntuit/trademark Interchange 
Format is used by trademarkQuickBooks/trademark./para/listitem
listitemparaSKG: This is useful to merge 2 appname; 
documents/para/listitem
listitemparaBackend: appname; can also import operations by 
using a backend. The only one supported is ulink 
url=http://weboob.org/;WEBOOB/ulink. By using this backend you can import 
all operations from all your banks in only one click. For that, you just have 
to install ulink url=http://weboob.org/;WEBOOB/ulink and activate the 
corresponding backend from settings./para
tipparaIf you don't want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:
@@ -1518,6 +1533,8 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)

paraIf the option guibuttonHide checked operations/guibutton is 
selected, all these operations will now be hidden./para

+   paraIf the reconciliation is not possible for any reason, a fake can 
be automatically created to allow the reconcilation. The default attributes of 
the fake operation can be defined from settings./para
+   
   /sect2
   
   sect2 id=templates
@@ -1732,6 +1749,11 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
paraSelect the type of operations you want to include in your 
report. For example, if you want to draw a graph showing your expenses 
distribution per category, you probably do not want to include Incomes to 
your report./para
  /sect3
  
+ sect3 id=report_other_filters
+   titleOther filters/title
+   paraFrom this section, you can select some other filters defined 
by selection done in other pages. If you want a report only for the categories 
Food and Gift, you just have to open the page of link 
linkend=categoriescategories/link, select the 2 categories and come back 
to the report to active the corresponding filter./para
+ /sect3
+ 
/sect2

sect2 id=graph_types
@@ -2375,7 +2397,8 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
/mediaobject
  /screenshot
  
- paraTo define an alarm, define first the search criteria giving the 
set of operations on which you need alert. For example, all operations in 
current month and in category Clothes. Then, define the amount

[kde-doc-english] [skrooge/kf5] /: Merge branch 'master' of kde:skrooge into kf5

2014-11-12 Thread Stephane Mankowski
Git commit fed369758675436b093a020584b750bdb9f6632d by Stephane Mankowski.
Committed on 12/11/2014 at 13:49.
Pushed by smankowski into branch 'kf5'.

Merge branch 'master' of kde:skrooge into kf5

Conflicts:
CHANGELOG
CMakeLists.txt
images/splash.png
skgbasegui/skgmainpanel.cpp
skgbasegui/skgmainpanel_base.ui
skgbasegui/skgobjectmodelbase.cpp

M  +11   -2CHANGELOG
M  +11   -1doc/index.docbook
M  +7-7plugins/generic/skg_dashboard/skgdashboardpluginwidget.cpp
M  +4-2plugins/import/skrooge_import_backend/skgimportpluginbackend.cpp
M  +7-7plugins/import/skrooge_import_csv/skgimportplugincsv.cpp
M  +7-7plugins/import/skrooge_import_qif/skgimportpluginqif.cpp
M  +2-2plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
M  +6-6plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp
M  +58   -1plugins/skrooge/skrooge_scheduled/skgscheduledplugin.cpp
M  +3-3plugins/skrooge/skrooge_search/skgsearchpluginwidget_base.ui
M  +2-2plugins/skrooge/skrooge_unit/skgunitplugin.cpp
M  +1-1plugins/skrooge/skrooge_unit/skgunitpluginwidget.cpp
M  +9-5skgbankgui/skgobjectmodel.cpp
M  +7-0skgbankgui/skgobjectmodel.h
M  +36   -35   skgbankmodeler/skgdocumentbank.cpp
M  +6-3skgbankmodeler/skgimportexportmanager.h
M  +14   -7skgbankmodeler/skgimportplugin.h
M  +1-0skgbankmodeler/skgrecurrentoperationobject.cpp
M  +4-21   skgbankmodeler/skgruleobject.cpp
M  +6-3skgbasegui/kdatepickerpopup.cpp
M  +2-1skgbasegui/kdatepickerpopup.h
M  +61   -17   skgbasegui/skgmainpanel.cpp
M  +2-0skgbasegui/skgmainpanel.h
M  +76   -11   skgbasegui/skgmainpanel_base.ui
M  +27   -5skgbasegui/skgobjectmodelbase.cpp
M  +7-0skgbasegui/skgobjectmodelbase.h
M  +2-1tests/skgbankmodelertest/skgtestimportmny2.cpp
M  +2-1tests/skgbasemodelertest/skgtestmacro.h

http://commits.kde.org/skrooge/fed369758675436b093a020584b750bdb9f6632d

diff --cc CHANGELOG
index 652f683,76c7d3c..58b47a2
--- a/CHANGELOG
+++ b/CHANGELOG
@@@ -1,8 -1,11 +1,16 @@@
 +skrooge (2.0.0)  
 +  *Correction: Porting on KF5 / QT5
 +  
 + -- Stephane MANKOWSKI stephane at mankowski.fr  xxx
 + 
+ skrooge (1.11.0)  
+   *New feature: New dock to be able to see all messages displayed
+   *New feature: Alarm messages can be have parameters for the total amount 
(%1), alarm amount (%2) and difference (%3)
+   *New feature: Show sum of spendings in tables when operations are grouped 
+   *New feature: New advice detecting scheduled operations having date not 
aligned with the last inserted operation  
+   
+  -- Stephane MANKOWSKI stephane at mankowski.fr  x
+  
  skrooge (1.10.0)  
*Correction bug 334626: When doing a transfer, my specification of + or - 
is ignored
*Correction bug 335943: Please add column number of operations to 
categories view
diff --cc plugins/skrooge/skrooge_search/skgsearchpluginwidget_base.ui
index f902a23,2e645f6..2562ce1
--- a/plugins/skrooge/skrooge_search/skgsearchpluginwidget_base.ui
+++ b/plugins/skrooge/skrooge_search/skgsearchpluginwidget_base.ui
@@@ -163,12 -163,12 +163,12 @@@
 /widget
/item
item row=3 column=1 colspan=3
 -   widget class=KLineEdit name=kAlarmMessage
 +   widget class=QLineEdit name=kAlarmMessage
  property name=toolTip
-  stringMessage to display when alarm is triggered/string
+  stringMessage to display when alarm is triggered (%1 is the total 
amount, %2 is the alarm amount, %3 the difference)/string
  /property
  property name=statusTip
-  stringMessage to display when alarm is triggered/string
+  stringMessage to display when alarm is triggered (%1 is the total 
amount, %2 is the alarm amount, %3 the difference)/string
  /property
 /widget
/item
diff --cc skgbankgui/skgobjectmodel.cpp
index 5d445d0,fac1bb0..21cc921
--- a/skgbankgui/skgobjectmodel.cpp
+++ b/skgbankgui/skgobjectmodel.cpp
@@@ -1125,6 -1124,10 +1125,10 @@@ void SKGObjectModel::dataModified(cons
  }
  }
  
+ QString SKGObjectModel::formatMoney(double iValue) const
+ {
+ return getDocument()-formatMoney(iValue, 
static_castSKGDocumentBank*(getDocument())-getPrimaryUnit(), false);
+ }
  
 -#include skgobjectmodel.moc
 +
  
diff --cc skgbasegui/skgmainpanel.cpp
index d8d51ab,2650ee2..3bc6ec8
--- a/skgbasegui/skgmainpanel.cpp
+++ b/skgbasegui/skgmainpanel.cpp
@@@ -195,11 -196,13 +196,13 @@@ public
  return (SKGMainPanelPrivate::m_currentActionCanceled ? 1 : 0);
  }
  
- static bool naturalLessThan(const QString s1, const QString s2) {
+ static bool naturalLessThan(const QString s1, const QString s2)
+ {
 -return (KStringHandler::naturalCompare(s1, s2, Qt::CaseInsensitive)  
0);
 +return (QCollator().compare(s1, s2)  0);
  }
  
- static bool adviceLessThan(const SKGAdvice s1, const

[kde-doc-english] [skrooge] /: feature: Add in documentation how to use kdewallet with weboob backend

2014-10-22 Thread Stephane Mankowski
Git commit 5387a4d8fb7de7c31a5c93318b313dd8b0fec8a5 by Stephane Mankowski.
Committed on 22/10/2014 at 12:14.
Pushed by smankowski into branch 'master'.

feature: Add in documentation how to use kdewallet with weboob backend

M  +1-0CHANGELOG
M  +11   -1doc/index.docbook

http://commits.kde.org/skrooge/5387a4d8fb7de7c31a5c93318b313dd8b0fec8a5

diff --git a/CHANGELOG b/CHANGELOG
index 22f9471..c3ad459 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -29,6 +29,7 @@ skrooge (1.10.0)
   *New feature: 2 options in graphs, one for limits visibility, one for 
average visibility  
   *New feature: New advice to detect similar payees
   *New feature: New advice to detect similar categories
+  *New feature: Add in documentation how to use kdewallet with weboob backend  
   *Performances: Better performances in Possible schedule  
   *Performances: Better performances in dashboard  
   
diff --git a/doc/index.docbook b/doc/index.docbook
index 114c359..effbe8a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -659,7 +659,17 @@
listitemparaQFX: QFX is a customization of OFX from the 
commercial software trademarkQuicken/trademark./para/listitem
listitemparaQIF: trademarkQuicken/trademark Import File. 
Maybe the most common financial file format. However, it has some rather 
annoying limitations, like not giving the unit for operation, or no strict date 
formatting./para/listitem
listitemparaSKG: This is useful to merge 2 appname; 
documents/para/listitem
-   listitemparaBackend: appname; can also import operations by 
using a backend. The only one supported is WEBOOB. By using this backend you 
can import all operations from all your banks in only one click. For that, you 
just have to install WEBOOB and activate the corresponding backend from 
settings./para/listitem  
+   listitemparaBackend: appname; can also import operations by 
using a backend. The only one supported is ulink 
url=http://weboob.org/;WEBOOB/ulink. By using this backend you can import 
all operations from all your banks in only one click. For that, you just have 
to install ulink url=http://weboob.org/;WEBOOB/ulink and activate the 
corresponding backend from settings./para
+   tipparaIf you don't want to store your bank passwords in the 
configuration file of WEBOOB, you can do that:
+   
+   itemizedlist
+  listitemparaInstall kwalletcli/para/listitem
+  listitemparaAdd passwords for each bank by doing 
quotekwalletcli -f Weboob -e m_bank_name -p 
my_password/quote/para/listitem
+  listitemparaEdit the file 
quote~/.config/weboob/backends/quote in your favorite text 
editor/para/listitem
+  listitemparaReplace in the config file quotepassword = 
my_password/quote by quotepassword = `kwalletcli -f Weboob -e 
m_bank_name`/quote/para/listitem
+   /itemizedlist 
+   /para/tip
+ /listitem 
/itemizedlist
   /sect2
   


[kde-doc-english] [skrooge/kf5] /: kf5 migration

2014-08-16 Thread Stephane Mankowski
Git commit 3b7d04f70b3fe6059ed22a711858ec76aa3eea56 by Stephane Mankowski.
Committed on 06/08/2014 at 14:25.
Pushed by smankowski into branch 'kf5'.

kf5 migration

M  +51   -17   CMakeLists.txt
M  +1-1doc/CMakeLists.txt
M  +1-1doc/index.docbook
M  +1-1plugins/CMakeLists.txt
M  +1-1plugins/applet/account-qml/CMakeLists.txt
M  +4-6plugins/applet/account/CMakeLists.txt
M  +1-2plugins/applet/account/accountskroogoid.cpp
M  +1-1plugins/applet/advice-qml/CMakeLists.txt
M  +4-6plugins/applet/advice/CMakeLists.txt
M  +3-4plugins/applet/advice/adviceskroogoid.cpp
M  +4-6plugins/applet/bank/CMakeLists.txt
M  +1-2plugins/applet/bank/bankskroogoid.cpp
M  +4-6plugins/applet/highlightedoperation/CMakeLists.txt
M  +2-2
plugins/applet/highlightedoperation/highlightedoperationskroogoid.cpp
M  +4-6plugins/applet/incomeexpenditure/CMakeLists.txt
M  +0-1plugins/applet/incomeexpenditure/incomeexpenditurewidget.cpp
M  +3-7plugins/applet/report/CMakeLists.txt
M  +4-6plugins/applet/scheduledoperation/CMakeLists.txt
M  +2-2plugins/applet/scheduledoperation/scheduledoperationskroogoid.cpp
M  +4-6plugins/applet/simulation/CMakeLists.txt
M  +4-6plugins/applet/tipsoftheday/CMakeLists.txt
M  +3-3plugins/applet/tipsoftheday/tipsofthedayapplet.cpp
M  +4-5plugins/applet/unit/CMakeLists.txt
M  +0-1plugins/applet/unit/unitskroogoid.cpp
M  +4-11   plugins/generic/skg_advice/CMakeLists.txt
M  +11   -9plugins/generic/skg_advice/skgadviceboardwidget.cpp
M  +2-2plugins/generic/skg_advice/skgadviceboardwidget.h
M  +3-7plugins/generic/skg_advice/skgadviceplugin.cpp
M  +2-1plugins/generic/skg_advice/skgtipofdayboardwidget.cpp
M  +4-10   plugins/generic/skg_bookmark/CMakeLists.txt
M  +16   -21   plugins/generic/skg_bookmark/skgbookmarkplugin.cpp
M  +4-4plugins/generic/skg_bookmark/skgbookmarkplugin.h
M  +13   -13   plugins/generic/skg_bookmark/skgbookmarkplugindockwidget.cpp
M  +2-2plugins/generic/skg_bookmark/skgbookmarkplugindockwidget.h
M  +4-9plugins/generic/skg_dashboard/CMakeLists.txt
M  +3-7plugins/generic/skg_dashboard/skgdashboardplugin.cpp
M  +8-8plugins/generic/skg_dashboard/skgdashboardpluginwidget.cpp
M  +2-2plugins/generic/skg_dashboard/skgdashboardpluginwidget.h
M  +3-9plugins/generic/skg_debug/CMakeLists.txt
M  +5-9plugins/generic/skg_debug/skgdebugplugin.cpp
M  +8-8plugins/generic/skg_debug/skgdebugpluginwidget.cpp
M  +2-8plugins/generic/skg_delete/CMakeLists.txt
M  +6-9plugins/generic/skg_delete/skgdeleteplugin.cpp
M  +2-2plugins/generic/skg_delete/skgdeleteplugin.h
M  +4-10   plugins/generic/skg_file/CMakeLists.txt
M  +28   -31   plugins/generic/skg_file/skgfileplugin.cpp
M  +7-7plugins/generic/skg_file/skgfileplugin.h
M  +2-7plugins/generic/skg_highlight/CMakeLists.txt
M  +5-8plugins/generic/skg_highlight/skghighlightplugin.cpp
M  +2-2plugins/generic/skg_highlight/skghighlightplugin.h
M  +4-7plugins/generic/skg_monthly/CMakeLists.txt
M  +0-4plugins/generic/skg_monthly/grantlee_filters/CMakeLists.txt
M  +9-12   plugins/generic/skg_monthly/skgmonthlyplugin.cpp
M  +22   -22   plugins/generic/skg_monthly/skgmonthlypluginwidget.cpp
M  +1-1plugins/generic/skg_monthly/skgmonthlypluginwidget.h
M  +4-12   plugins/generic/skg_print/CMakeLists.txt
M  +5-9plugins/generic/skg_print/skgprintplugin.cpp
M  +4-3plugins/generic/skg_print/skgprintplugin.h
M  +3-11   plugins/generic/skg_properties/CMakeLists.txt
M  +9-13   plugins/generic/skg_properties/skgpropertiesplugin.cpp
M  +2-2plugins/generic/skg_properties/skgpropertiesplugin.h
M  +11   -11   plugins/generic/skg_properties/skgpropertiesplugindockwidget.cpp
M  +2-9plugins/generic/skg_selectall/CMakeLists.txt
M  +4-7plugins/generic/skg_selectall/skgselectallplugin.cpp
M  +1-1plugins/generic/skg_selectall/skgselectallplugin.h
M  +2-11   plugins/generic/skg_statistic/CMakeLists.txt
M  +17   -21   plugins/generic/skg_statistic/skgstatisticplugin.cpp
M  +4-10   plugins/generic/skg_undoredo/CMakeLists.txt
M  +13   -17   plugins/generic/skg_undoredo/skgundoredoplugin.cpp
M  +5-5plugins/generic/skg_undoredo/skgundoredoplugin.h
M  +2-8plugins/import/skrooge_import_afb120/CMakeLists.txt
M  +6-10   plugins/import/skrooge_import_afb120/skgimportpluginafb120.cpp
M  +2-8plugins/import/skrooge_import_backend/CMakeLists.txt
M  +7-11   plugins/import/skrooge_import_backend/skgimportpluginbackend.cpp
M  +2-8plugins/import/skrooge_import_csv/CMakeLists.txt
M  +18   -23   plugins/import/skrooge_import_csv/skgimportplugincsv.cpp
M  +2-8plugins/import/skrooge_import_gnc/CMakeLists.txt
M  +5-12   plugins/import

[kde-doc-english] [skrooge] doc: Doc update

2014-06-21 Thread Stephane Mankowski
Git commit ef4d4976aaa80b97e7c177740a152b1632277656 by Stephane Mankowski.
Committed on 21/06/2014 at 10:33.
Pushed by smankowski into branch 'master'.

Doc update

M  +31   -18   doc/index.docbook

http://commits.kde.org/skrooge/ef4d4976aaa80b97e7c177740a152b1632277656

diff --git a/doc/index.docbook b/doc/index.docbook
index 22f5333..e95eed4 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1903,6 +1903,9 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
  /imageobject
/mediaobject
  /screenshot 
+ 
+ paraYou can choose the template you want. You can even create your 
own template by entering the name of the template you would like to create. 
Your default text editor will be launched with a sample for your template. You 
just have to follow the comments in this sample./para
+ paraDo not hesitate to distribute your templates in the category 
Skrooge report template of OpenDesktop./para
   /sect1
   
   sect1 id=units
@@ -2249,6 +2252,16 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
paraThis, of course, works also the other way round: if someone lends 
you some money, you are able to monitor how much you still have to 
reimburse./para
paraDouble clicking on a tracker in the track view will open a new 
tab containing all operations attached to this tracker./para

+   tipparaSometimes, you would like to track the refund of a payement 
done before you started to use skrooge. How to do that because it's not 
possible to set an initial amount on a tracker?/para
+
+   paraYou can create a split operation with:
+   itemizedlist
+ listitemparaamount=0 to avoid impact on 
reports./para/listitem
+ listitemparaa split with the expected amount associated to 
the tracker./para/listitem
+ listitemparathe other split with the opposite amount not 
associated to a tracker./para/listitem
+   /itemizedlist   
+   /para/tip
+   
sect2 id=close_tracker
  titleClose Tracker/title
  
@@ -2421,24 +2434,6 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
   
 /chapter
 
-chapter id=credits
-  titleCredits and License/title
-  para
-   appname;
-  /para
-  para
-   Program copyright 2001-2014 St?phane Mankowski
-   emailstephane at mankowski.fr/email
-  /para
-  para
-   Documentation copyright 2001-2014 Guillaume DE BURE
-   emailgdebure at yahoo.com/email
-  /para
-  !-- TRANS:CREDIT_FOR_TRANSLATORS --
-  underFDL;
-  underGPL;
-/chapter
-
 chapter id=howto
   titleHow to.../title
   sect1 id=howto_language
@@ -2464,6 +2459,24 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
   /sect1   
 /chapter
 
+chapter id=credits
+  titleCredits and License/title
+  para
+   appname;
+  /para
+  para
+   Program copyright 2001-2014 St?phane Mankowski
+   emailstephane at mankowski.fr/email
+  /para
+  para
+   Documentation copyright 2001-2014 Guillaume DE BURE
+   emailgdebure at yahoo.com/email
+  /para
+  !-- TRANS:CREDIT_FOR_TRANSLATORS --
+  underFDL;
+  underGPL;
+/chapter
+
 appendix id=installation
   titleInstallation/title
   


[kde-doc-english] [skrooge] doc: Doc: add some how to

2014-06-20 Thread Stephane Mankowski
Git commit 6018bac67e34cca92c1214234703411388e2eec4 by Stephane Mankowski.
Committed on 20/06/2014 at 20:53.
Pushed by smankowski into branch 'master'.

Doc: add some how to

M  +26   -2doc/index.docbook

http://commits.kde.org/skrooge/6018bac67e34cca92c1214234703411388e2eec4

diff --git a/doc/index.docbook b/doc/index.docbook
index a51549d..99dcc78 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2439,6 +2439,31 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
   underGPL;
 /chapter
 
+chapter id=howto
+  titleHow to.../title
+  sect1 id=howto_language
+   titleHow to have skrooge in my language?/title
+   paraFirst, check if Skrooge is well translated for your language: 
http://l10n.kde.org/stats/gui/trunk-kde4/po/skrooge.po//para
+   paraSecond, don't forget to install packages for your language. 
Example for french (fr): language-pack-kde-fr and kde-l10n-fr./para
+  /sect1 
+  
+  sect1 id=howto_currency
+   titleHow to set default currency and date format?/title
+   paraDefault currency and date format are retrieve from KDE's system 
settings. Some distributions do not ship it with base KDE packages, that should 
have been installed along Skrooge. In such case you should install it through 
your distribution's package manager./para
+
+  paraYou can then start it in a console: systemsettings/para
+
+  paraAnd select your preferred seettings, in the locale section./para
+  /sect1
+  
+  sect1 id=howto_size
+   titleHow to reduce the size of my document?/title
+   paraThe size of your document can be very important. If you delete 
same old transactions, the size will increase. 
+ This is normal because skrooge keeps the history of all modifications 
for the undo/redo mechanism. 
+ So, if you want to reducte the size of your document, you just have 
to clear the history./para
+  /sect1   
+/chapter
+
 appendix id=installation
   titleInstallation/title
   
@@ -2496,8 +2521,7 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
   /sect1
   
 /appendix
-
-
+  
 appendix id=search_process_real_case
   titleSearch amp; Process real case study/title
   



[kde-doc-english] [skrooge] doc: Merge branch 'master' of kde:skrooge

2014-06-20 Thread Stephane Mankowski
Git commit e427b75c1178c5facd7891cbfa92ec57ea81031c by Stephane Mankowski.
Committed on 20/06/2014 at 20:54.
Pushed by smankowski into branch 'master'.

Merge branch 'master' of kde:skrooge

M  +19   -19   doc/index.docbook

http://commits.kde.org/skrooge/e427b75c1178c5facd7891cbfa92ec57ea81031c


[kde-doc-english] [skrooge] doc: Doc update

2014-06-19 Thread Stephane Mankowski
Git commit 24120e7586d4bf31217e04ed2a5533616d580063 by Stephane Mankowski.
Committed on 19/06/2014 at 20:17.
Pushed by smankowski into branch 'master'.

Doc update

M  +37   -4doc/index.docbook

http://commits.kde.org/skrooge/24120e7586d4bf31217e04ed2a5533616d580063

diff --git a/doc/index.docbook b/doc/index.docbook
index 1c9e081..a51549d 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2360,7 +2360,7 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
   
   sect1 id=budgets
titleBudgets/title
-   para!-- TODO --/para
+   paraThis plugin allows you to define and manage your budget./para

screenshot
  mediaobject
@@ -2369,12 +2369,45 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
/imageobject
  /mediaobject
/screenshot
-   para!-- TODO --/para
+   paraLike in all other financial software, appname; allows you to 
define a budget. You can do it manually or automatically./para
+   sect2 id=budget_definition
+ titleBudget definition/title  
+ paraIn manual mode, you can:
+   itemizedlist
+ listitemparaDefine a budget amount for a category for a 
year./para/listitem 
+ listitemparaDefine a budget amount for a category for all 
months of a year./para/listitem   
+ listitemparaDefine a budget amount for a category for a 
specific month of a year./para/listitem 
+ listitemparaDefine if income or expenditure of sub categories 
must be taken into account in the define budget (example: if the option is 
selected then a budget for the category Car will take into acoount the 
category Car  Fuel)./para/listitem 
+   /itemizedlist
+   tipparaYou can define a budget capturing all income or 
expenditure not defined in an other budget by leting the category empty. This 
is really useful to be sure that you don't miss an expenditure./para/tip
+   /para
+   
+ paraIn automatic mode, you can:
+   itemizedlist
+ listitemparaDefine a budget for a year based on the 
operations of the previous year./para/listitem  
+ listitemparaDefine missing budget items to balance each month 
and/or the year. Even on manually defined budget./para/listitem   
+   /itemizedlist
+   /para 
+   /sect2
+   
+   sect2 id=budget_rules
+ titleBudget rules/title   
+ paraTo go futher in budgeting we will take as example the following 
balanced budget:
+   itemizedlist
+ listitempara-500 ? / month for Food./para/listitem  
  
+ listitempara+500 ? / month for all other categories of 
expenditure and income./para/listitem  
+   /itemizedlist 
+   /para
+   
+   paraImagine now, that you spent 600 ? for Food the previous 
month! appname; informed you that you are over the defined budget but you can 
not stop to eat.So, you spent more than expected! How to do with that?/para
+   paraBudget rules will allow you to define how you want to do with 
the delta (positive or negative). For example, you can choose to transfer the 
delta of one month to the next month. In, this case, your new budget for Food 
for the current month is -400 ? (-500+100). So, you have to take care to 
recover the situation./para  
+   paraBudget rules can also help you for your project. For example: 
you can define a rule like this: All positive delta (saving) on Food are 
transfered in Holidays. By this way, when you have the expected amount in 
Holidays budget then you know that you can go./para  
+   /sect2
   /sect1 
   
   sect1 id=simulations
titleSimulations/title
-   para!-- TODO --/para
+   paraThis plugin allows you to do simulations/para

screenshot
  mediaobject
@@ -2383,7 +2416,7 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
/imageobject
  /mediaobject
/screenshot
-   para!-- TODO --/para
+   paraYou can define for each account the rates and estimate the annual 
interest. You can also generate an amortization table./para
   /sect1   
   
 /chapter


[kde-doc-english] [skrooge] /: Documentation update (description of each dashboard graphical item)

2014-06-18 Thread Stephane Mankowski
Git commit aec4ea4b53c4824fa492d346764f3845a243bf3e by Stephane Mankowski.
Committed on 18/06/2014 at 13:46.
Pushed by smankowski into branch 'master'.

Documentation update (description of each dashboard graphical item)

A  +---doc/dashboard_accounts_full.png
A  +---doc/dashboard_accounts_light.png
A  +---doc/dashboard_advice.png
A  +---doc/dashboard_banks_full.png
A  +---doc/dashboard_banks_light.png
A  +---doc/dashboard_budget.png
A  +---doc/dashboard_categories.png
A  +---doc/dashboard_highlighted.png
A  +---doc/dashboard_income.png
A  +---doc/dashboard_interest.png
A  +---doc/dashboard_portfolio.png
A  +---doc/dashboard_quotes.png
A  +---doc/dashboard_report.png
A  +---doc/dashboard_scheduled.png
A  +---doc/dashboard_tip.png
A  +---doc/dashboard_variations.png
M  +212  -3doc/index.docbook
M  +---doc/simulations.png
M  +---examples/demo.skg

http://commits.kde.org/skrooge/aec4ea4b53c4824fa492d346764f3845a243bf3e

diff --git a/doc/dashboard_accounts_full.png b/doc/dashboard_accounts_full.png
new file mode 100644
index 000..7d3ad52
Binary files /dev/null and b/doc/dashboard_accounts_full.png differ
diff --git a/doc/dashboard_accounts_light.png b/doc/dashboard_accounts_light.png
new file mode 100644
index 000..c969a73
Binary files /dev/null and b/doc/dashboard_accounts_light.png differ
diff --git a/doc/dashboard_advice.png b/doc/dashboard_advice.png
new file mode 100644
index 000..ea4746f
Binary files /dev/null and b/doc/dashboard_advice.png differ
diff --git a/doc/dashboard_banks_full.png b/doc/dashboard_banks_full.png
new file mode 100644
index 000..e518639
Binary files /dev/null and b/doc/dashboard_banks_full.png differ
diff --git a/doc/dashboard_banks_light.png b/doc/dashboard_banks_light.png
new file mode 100644
index 000..341f9e2
Binary files /dev/null and b/doc/dashboard_banks_light.png differ
diff --git a/doc/dashboard_budget.png b/doc/dashboard_budget.png
new file mode 100644
index 000..957d854
Binary files /dev/null and b/doc/dashboard_budget.png differ
diff --git a/doc/dashboard_categories.png b/doc/dashboard_categories.png
new file mode 100644
index 000..4356c55
Binary files /dev/null and b/doc/dashboard_categories.png differ
diff --git a/doc/dashboard_highlighted.png b/doc/dashboard_highlighted.png
new file mode 100644
index 000..2b0d14e
Binary files /dev/null and b/doc/dashboard_highlighted.png differ
diff --git a/doc/dashboard_income.png b/doc/dashboard_income.png
new file mode 100644
index 000..a20b5e0
Binary files /dev/null and b/doc/dashboard_income.png differ
diff --git a/doc/dashboard_interest.png b/doc/dashboard_interest.png
new file mode 100644
index 000..a3c173e
Binary files /dev/null and b/doc/dashboard_interest.png differ
diff --git a/doc/dashboard_portfolio.png b/doc/dashboard_portfolio.png
new file mode 100644
index 000..79079fe
Binary files /dev/null and b/doc/dashboard_portfolio.png differ
diff --git a/doc/dashboard_quotes.png b/doc/dashboard_quotes.png
new file mode 100644
index 000..6cd7a7c
Binary files /dev/null and b/doc/dashboard_quotes.png differ
diff --git a/doc/dashboard_report.png b/doc/dashboard_report.png
new file mode 100644
index 000..728f40e
Binary files /dev/null and b/doc/dashboard_report.png differ
diff --git a/doc/dashboard_scheduled.png b/doc/dashboard_scheduled.png
new file mode 100644
index 000..9f8ae9b
Binary files /dev/null and b/doc/dashboard_scheduled.png differ
diff --git a/doc/dashboard_tip.png b/doc/dashboard_tip.png
new file mode 100644
index 000..4702e57
Binary files /dev/null and b/doc/dashboard_tip.png differ
diff --git a/doc/dashboard_variations.png b/doc/dashboard_variations.png
new file mode 100644
index 000..71cc032
Binary files /dev/null and b/doc/dashboard_variations.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index d8feb1b..51f5641 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -943,9 +943,204 @@
/mediaobject
   /screenshot
   
-  paraYou can add new graphical items using button on the top right 
corner. You can configure each graphical item by clicking on the icon on it. 
Combined with link linkend=bookmarksbookmarks/link, this is a good way to 
have quick different views of your financial status.
-  /para
-  !-- TODO: Describe each graphical items--
+  paraYou can add new graphical items using button on the top right 
corner. You can configure each graphical item by clicking on the icon on it. 
You can organize the graphical items on the dashboard by using the drag and 
drop./para
+  tipparaCombined with link linkend=bookmarksbookmarks/link, 
this is a good way to have quick different views of your financial 
status./para/tip
+  
+  sect2 id=dashboard_advice
+   titleAdvice/title
+   screenshot
+ mediaobject
+   imageobjectimagedata

[kde-doc-english] [skrooge] doc: Doc update

2014-06-18 Thread Stephane Mankowski
Git commit 4f6b72468bd9cf366f474ca810969a5d15336f5a by Stephane Mankowski.
Committed on 18/06/2014 at 20:43.
Pushed by smankowski into branch 'master'.

Doc update

M  +72   -25   doc/index.docbook
A  +---doc/monthly.png
M  +---doc/reconciliation_information.png
M  +---doc/report_table.png
M  +---doc/split_operation.png
M  +---doc/template_button.png
M  +---doc/transfer_operation.png

http://commits.kde.org/skrooge/4f6b72468bd9cf366f474ca810969a5d15336f5a

diff --git a/doc/index.docbook b/doc/index.docbook
index 51f5641..045cb7a 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1378,7 +1378,7 @@
   
   sect2 id=split_operation
titleSplit Operation/title
-   paraA split operation is an operation that has several categories, 
comments or trackers. You switch to the split operation edition mode using the 
guibuttonSplit Button/guibutton at the bottom of appname; window. When 
switching into the split operation edition mode, the fields Category, Comment 
and Tracker are replaced by a table./para
+   paraA split operation is an operation that has several dates, 
categories, comments or trackers. You switch to the split operation edition 
mode using the guibuttonSplit Button/guibutton at the bottom of appname; 
window. When switching into the split operation edition mode, the fields 
Category, Comment and Tracker are replaced by a table./para

screenshot
  mediaobject
@@ -1394,14 +1394,13 @@
paraThe fields here have the same behaviour as in the standard 
operation edition mode:/para

itemizedlist
+ listitemparaThe split by Date is useful for example when you paid 
your sport training for 3 months. In this case, you can split the payement on 3 
months, this will have an impact on reports./para/listitem
  listitemparaThe Category is a drop down box of existing 
categories. You can add a new category structure, appname; will create it when 
creating the operation./para/listitem
  listitemparaThe Amount link linkend=quantity_fieldacts as a 
calculator/link./para/listitem
  listitemparaThe Tracker is a drop down box of existing trackers. 
You can add a new tracker, appname; will create it when creating the 
operation./para/listitem
/itemizedlist
-   
   /sect2
   
-  
   sect2 id=transfer
titleTransfer/title
paraA transfer operation is effectively a dual operation: when 
creating a transfer, appname; will create two operations of opposite amounts 
(one positive, the other negative), on two different accounts. The attributes 
to provide here are slightly different from a standard operation:/para
@@ -1413,7 +1412,7 @@
  /mediaobject
/screenshot

-   paraInstead of a Payee field, you will find a To Account list where 
you should select the account receiving the money./para
+   paraYou will find a To Account list where you should select the 
account receiving the money./para

paraSince a transfer means Take some money from account A and put it 
account B, if you put a sign in the quantity field (+ or -), it will be 
ignored. The operation for account A will always be negative, positive for 
account B./para

@@ -1505,6 +1504,8 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)

paraThis may be useful when trying to spot operations you may have 
forgot to enter in appname;. When all relevant operations have been checked, 
Delta is equal to 0, and the guibuttonValidate checked operations button 
inlinemediaobjectimageobjectimagedata fileref=validate.png format=PNG 
//imageobject/inlinemediaobject/guibutton is activated. Click on this 
button to validate the reconciliation: all checked operations are now 
validated./para

+   tipparainlinemediaobjectimageobjectimagedata 
fileref=fast_edition.png format=PNG //imageobject/inlinemediaobject 
can automatically point all imported operations for you./para/tip
+   
paraIf the option guibuttonHide checked operations/guibutton is 
selected, all these operations will now be hidden./para

   /sect2
@@ -1522,7 +1523,7 @@ file is opened. It's also recommended to create a 
different account (eg; ETF)
  
  paraHowever, you cannot make it a recurrent operation, because you 
rent a DVD when you feel like it, not every week. The idea behind template 
operations is that it gives you a basic skeleton that can be quickly inserted 
in your operations list./para
  
- paraSince Template operations are just another kind of operations, 
you can access them through the operations tab, using the button above the 
edition panel:/para
+ paraSince Template operations are just another kind of operations, 
you can access them through the operations tab, using the dedicated option in 
Show menu:/para

[kde-doc-english] [skrooge] doc: Merge branch 'master' of kde:skrooge

2014-06-18 Thread Stephane Mankowski
Git commit 4310e59f759bcb807fdf7dc0498a7305439b1d35 by Stephane Mankowski.
Committed on 18/06/2014 at 20:45.
Pushed by smankowski into branch 'master'.

Merge branch 'master' of kde:skrooge

M  +4-4doc/index.docbook

http://commits.kde.org/skrooge/4310e59f759bcb807fdf7dc0498a7305439b1d35


[kde-doc-english] [skrooge] /: Documentation update

2014-06-13 Thread Stephane Mankowski
Git commit dc5774c798c32ecd293ad227ce27f48e437a25a2 by Stephane Mankowski.
Committed on 13/06/2014 at 19:51.
Pushed by smankowski into branch 'master'.

Documentation update

M  +---doc/alarm.png
A  +---doc/budgets.png
M  +---doc/define_processing.png
M  +---doc/define_search.png
M  +43   -27   doc/index.docbook
M  +---doc/menu_view.png
M  +---doc/scheduled.png
A  +---doc/search.png
D  +---doc/search_and_process.png
A  +---doc/show.png
M  +---doc/trackers.png
M  +1-3skgbasegui/skgmainpanel.rc

http://commits.kde.org/skrooge/dc5774c798c32ecd293ad227ce27f48e437a25a2

diff --git a/doc/alarm.png b/doc/alarm.png
index c40b30b..04a1306 100644
Binary files a/doc/alarm.png and b/doc/alarm.png differ
diff --git a/doc/budgets.png b/doc/budgets.png
new file mode 100644
index 000..86032bc
Binary files /dev/null and b/doc/budgets.png differ
diff --git a/doc/define_processing.png b/doc/define_processing.png
index 5185be7..e50a8ee 100644
Binary files a/doc/define_processing.png and b/doc/define_processing.png differ
diff --git a/doc/define_search.png b/doc/define_search.png
index 902318f..1c1f9e8 100644
Binary files a/doc/define_search.png and b/doc/define_search.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index 8def03d..9f42505 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -533,8 +533,26 @@

paraYou may also click on a header to choose the sorting column, or 
reorder columns by dragging them left or right./para

+   sect3 id=show
+ titleFilter the table/title
+ screenshot
+   mediaobject
+ imageobjectimagedata fileref=show.png 
format=PNG//imageobject
+ textobjectphraseShow table menu/phrase/textobject
+   /mediaobject
+ /screenshot   
+ paraIn all appname; views, you will find a Show menu allowing 
you to filter the view.
+ /para
+   /sect3
+   
sect3 id=search
  titleSearch as you type/title
+ screenshot
+   mediaobject
+ imageobjectimagedata fileref=search.png 
format=PNG//imageobject
+ textobjectphraseSearch field/phrase/textobject
+   /mediaobject
+ /screenshot   
  para
In all appname; views, you will find a filter field allowing you 
to search as you type in the view:
itemizedlist
@@ -826,8 +844,7 @@
  listitemparaguimenuitemPin this page/guimenuitem: Set the 
current page pinned. This will avoid replacement by another one or 
closure/para/listitem  
  listitemparaguimenuitemReset page state/guimenuitem: Reset 
the status of the current page/para/listitem 
  listitemparaguimenuitemSave page state/guimenuitem: Save the 
status of the current page/para/listitem   
- listitemparaguimenuitemOverwrite bookmar state/guimenuitem: 
Save the status of the current bookmarked page. The bookmark is updated with 
the new state/para/listitem
- listitemparaguimenuitemFull Screen Mode/guimenuitem: Set 
appname; in full screen/para/listitem 
+ listitemparaguimenuitemOverwrite bookmar state/guimenuitem: 
Save the status of the current bookmarked page. The bookmark is updated with 
the new state/para/listitem  
   /itemizedlist
   /sect2  
   
@@ -882,18 +899,14 @@
  listitemparaguimenuitemFind and group transfers/guimenuitem: 
Create potential transferts/para/listitem
  listitemparaguimenuitemClean bank's import/guimenuitem: Clean 
operations after imports/para/listitem
  listitemparaguimenuitemAnonymize/guimenuitem: Anonymize your 
document to help debugging of appname; /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
- listitemparaguimenuitem/guimenuitem: /para/listitem
+ listitemparaguimenuitemAlign comment of 
suboperations/guimenuitem: Correct single operations having comments not 
aligned/para/listitem
+ listitemparaguimenuitemAlign date of 
suboperations/guimenuitem: Correct single operations having dates not 
aligned/para/listitem
+ listitemparaguimenuitemRemove groups with only one 
operation/guimenuitem: Correct alone in a group/para/listitem
+ listitemparaguimenuitemDelete unsued payees

[kde-doc-english] [skrooge] doc: Merge branch 'master' of kde:skrooge

2014-06-13 Thread Stephane Mankowski
Git commit c151bf4870f41869f18fce24842987ca9d9f3378 by Stephane Mankowski.
Committed on 13/06/2014 at 19:53.
Pushed by smankowski into branch 'master'.

Merge branch 'master' of kde:skrooge

Conflicts:
doc/index.docbook

M  +5-5doc/index.docbook

http://commits.kde.org/skrooge/c151bf4870f41869f18fce24842987ca9d9f3378

diff --cc doc/index.docbook
index 9f42505,d5322d5..9fa03dc
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@@ -844,7 -826,8 +844,7 @@@
  listitemparaguimenuitemPin this page/guimenuitem: Set the 
current page pinned. This will avoid replacement by another one or 
closure/para/listitem  
  listitemparaguimenuitemReset page state/guimenuitem: Reset 
the status of the current page/para/listitem 
  listitemparaguimenuitemSave page state/guimenuitem: Save the 
status of the current page/para/listitem   
- listitemparaguimenuitemOverwrite bookmar state/guimenuitem: 
Save the status of the current bookmarked page. The bookmark is updated with 
the new state/para/listitem  
+ listitemparaguimenuitemOverwrite bookmark state/guimenuitem: 
Save the status of the current bookmarked page. The bookmark is updated with 
the new state/para/listitem   
 -listitemparaguimenuitemFull Screen Mode/guimenuitem: Set 
appname; in full screen/para/listitem 
/itemizedlist
/sect2 

@@@ -896,17 -879,21 +896,17 @@@
/screenshot

itemizedlist
- listitemparaguimenuitemFind and group transfers/guimenuitem: 
Create potential transferts/para/listitem
+ listitemparaguimenuitemFind and group transfers/guimenuitem: 
Create potential transfers/para/listitem
  listitemparaguimenuitemClean bank's import/guimenuitem: Clean 
operations after imports/para/listitem
  listitemparaguimenuitemAnonymize/guimenuitem: Anonymize your 
document to help debugging of appname; /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 -listitemparaguimenuitem/guimenuitem: /para/listitem
 +listitemparaguimenuitemAlign comment of 
suboperations/guimenuitem: Correct single operations having comments not 
aligned/para/listitem
 +listitemparaguimenuitemAlign date of 
suboperations/guimenuitem: Correct single operations having dates not 
aligned/para/listitem
 +listitemparaguimenuitemRemove groups with only one 
operation/guimenuitem: Correct alone in a group/para/listitem
 +listitemparaguimenuitemDelete unsued payees/guimenuitem: 
nothing to add/para/listitem
 +listitemparaguimenuitemDelete unsued categories/guimenuitem: 
nothing to add/para/listitem
 +listitemparaguimenuitemDelete unsued units/guimenuitem: 
nothing to add/para/listitem
 +listitemparaguimenuitemValidate operations that do not require 
further action/guimenuitem: Validate imported operations /para/listitem
 +listitemparaguimenuitemProcess budget rules/guimenuitem: 
Recompute the link linkend=budgetsbudgets/link based on defined 
rules/para/listitem
/itemizedlist
/sect2 



[kde-doc-english] [skrooge] doc: Documentation update

2014-06-12 Thread Stephane Mankowski
Git commit e3c38a97e959a834365f42e817ac83ec4728a370 by Stephane Mankowski.
Committed on 11/06/2014 at 20:30.
Pushed by smankowski into branch 'master'.

Documentation update

M  +---doc/categories.png
M  +60   -4doc/index.docbook
A  +---doc/payees.png
M  +---doc/reports.png
M  +---doc/units.png

http://commits.kde.org/skrooge/e3c38a97e959a834365f42e817ac83ec4728a370

diff --git a/doc/categories.png b/doc/categories.png
index 22911f1..e0e4164 100644
Binary files a/doc/categories.png and b/doc/categories.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index 50ec271..203d1af 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -746,6 +746,7 @@
   /para
   sect2 id=menu-file
titleThe file menu/title
+  paraYou can find in this menu all functions relative to the appname; 
document/para
screenshot
  mediaobject
imageobjectimagedata fileref=menu_file.png//imageobject
@@ -775,6 +776,7 @@
   
   sect2 id=menu-edit
titleThe edit menu/title
+  paraYou can find in this menu all functions modifing selected 
objects/para
screenshot
  mediaobject
imageobjectimagedata fileref=menu_edit.png//imageobject
@@ -782,12 +784,32 @@
/screenshot

   itemizedlist
-   listitempara/para/listitem
+ listitemparaguimenuitemUndo/guimenuitem: Cancel the previous 
modification done/para/listitem
+ listitemparaguimenuitemRedo/guimenuitem: Reapply the previous 
modification cancelled/para/listitem
+ listitemparaguimenuitemUndo/guimenuitem: Cancel the previous 
modifications done up to the last save/para/listitem
+ listitemparaguimenuitemDelete/guimenuitem: Delete the 
selected objects (operations, accounts, categories, ...)/para/listitem
+ listitemparaguimenuitemAdd property/guimenuitem: Add a 
property regularly used on the selected objects/para/listitem
+ listitemparaguimenuitemSelect all/guimenuitem: Select all 
lines of the link linkend=tablestable/link of the current 
page/para/listitem
+ listitemparaguimenuitemFast edit:/guimenuitem: Facilitation 
the creation of new link linkend=operationsoperations/link by filling 
fields automatically based on previous operations created/para/listitem
+ listitemparaguimenuitemFind.../guimenuitem: Open the link 
linkend=search_and_processSearch and process/link page with a predefined 
filter corresponding to the selected objects/para/listitem
+ listitemparaguimenuitemSwitch highlight/guimenuitem: Switch 
the highlight state of objects/para/listitem
+ listitemparaguimenuitemReconcile.../guimenuitem: Open the 
link linkend=operationsOperations/link page in link 
linkend=reconciliationreconciliation/link mode/para/listitem
+ listitemparaguimenuitemPoint/guimenuitem: Point the selected 
operations/para/listitem
+ listitemparaguimenuitemGroup operations/guimenuitem: Group 
the selected operations/para/listitem
+ listitemparaguimenuitemUngroup operations/guimenuitem: 
Ungroup the selected operations/para/listitem
+ listitemparaguimenuitemDuplicate/guimenuitem: Duplicate the 
selected operation to create a new one from a previous one/para/listitem
+ listitemparaguimenuitemCreate template/guimenuitem: Create a 
link linkend=templatestemplate/link from a selected 
operation/para/listitem
+ listitemparaguimenuitemMerge sub operations/guimenuitem: 
Merge selected operations in one split operation/para/listitem
+ listitemparaguimenuitemSchedule/guimenuitem: 
/para/listitem
+ listitemparaguimenuitemValidate imported 
operations/guimenuitem: Validate all selected imported 
operations/para/listitem
+ listitemparaguimenuitemMerge imported operations/guimenuitem: 
Merge one imported operation with an other operation entered manually. If 
amounts are different then a confirmation is requested/para/listitem
+ listitemparaguimenuitemSplit shares/guimenuitem: Split 
selected link linkend=unitsshares/link/para/listitem   
   /itemizedlist
   /sect2 
   
   sect2 id=menu-view
titleThe view menu/title
+   paraYou can find in this menu all functions relative to link 
linkend=multi-tabspages/link/para
screenshot
  mediaobject
imageobjectimagedata fileref=menu_view.png//imageobject
@@ -795,12 +817,13 @@
/screenshot

   itemizedlist
-   listitempara/para/listitem
+ listitemparaguimenuitem/guimenuitem: /para/listitem   
  
   /itemizedlist
   /sect2  
   
   sect2 id=menu-do
titleThe go menu/title
+   paraYou can find in this menu all functions relative to link 
linkend=multi-tabspages/link/para
screenshot
  mediaobject
imageobjectimagedata fileref=menu_go1.png//imageobject
@@ -900,7 +923,7 @@
  listitemparaThe account type can

[kde-doc-english] [skrooge] doc: Update documentation

2014-06-12 Thread Stephane Mankowski
Git commit fcdbe64e3b628c63ada46d837f3523470671b2e5 by Stephane Mankowski.
Committed on 12/06/2014 at 20:04.
Pushed by smankowski into branch 'master'.

Update documentation

M  +48   -3doc/index.docbook

http://commits.kde.org/skrooge/fcdbe64e3b628c63ada46d837f3523470671b2e5

diff --git a/doc/index.docbook b/doc/index.docbook
index 203d1af..8def03d 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -817,7 +817,17 @@
/screenshot

   itemizedlist
- listitemparaguimenuitem/guimenuitem: /para/listitem   
  
+ listitemparaguimenuitemEnable editor/guimenuitem: Activate 
the editor on the current page/para/listitem 
+ listitemparaguimenuitemNew tab/guimenuitem: Open a new 
tab/para/listitem
+ listitemparaguimenuitemReopen last closed page/guimenuitem: 
Recover the last closed page/para/listitem  
+ listitemparaguimenuitemClose/guimenuitem: Close the current 
page/para/listitem  
+ listitemparaguimenuitemClose All/guimenuitem: Close all pages 
except pinned ones/para/listitem  
+ listitemparaguimenuitemClose All Other/guimenuitem: Close all 
pages except the current one and the pinned ones/para/listitem
+ listitemparaguimenuitemPin this page/guimenuitem: Set the 
current page pinned. This will avoid replacement by another one or 
closure/para/listitem  
+ listitemparaguimenuitemReset page state/guimenuitem: Reset 
the status of the current page/para/listitem 
+ listitemparaguimenuitemSave page state/guimenuitem: Save the 
status of the current page/para/listitem   
+ listitemparaguimenuitemOverwrite bookmar state/guimenuitem: 
Save the status of the current bookmarked page. The bookmark is updated with 
the new state/para/listitem
+ listitemparaguimenuitemFull Screen Mode/guimenuitem: Set 
appname; in full screen/para/listitem 
   /itemizedlist
   /sect2  
   
@@ -829,13 +839,34 @@
imageobjectimagedata fileref=menu_go1.png//imageobject
  /mediaobject
/screenshot
+
+  itemizedlist
+ listitemparaguimenuitemHome/guimenuitem: Close all pages and 
reopen all bookmarks autostarted like when the document is 
opened/para/listitem
+ listitemparaguimenuitemPrevious/guimenuitem: Change the 
content of the current page with the content of the previous one. Like in a web 
browser/para/listitem   
+ listitemparaguimenuitemNext/guimenuitem: Change the content 
of the current page with the content of the next one. Like in a web 
browser/para/listitem   
+ listitemparaguimenuitemOpen highlights.../guimenuitem: Open 
highlighted operations/para/listitem
+ listitemparaguimenuitemOpen last modified.../guimenuitem: 
Open operations modified by the last action done/para/listitem
+ listitemparaguimenuitemOpen potential 
duplicates.../guimenuitem: Open operations potentially 
duplicated/para/listitem   
+ listitemparaguimenuitemOpen sub operations.../guimenuitem: 
Open sub operations of the selected operation. Like with a double 
click/para/listitem
+ listitemparaguimenuitemOpen report.../guimenuitem: Open a 
report based on the selection. This is really useful. For example: if you 
select 2 accounts and launch this action then the link 
linkend=reportsreport/link page will be opened but only for operations of 
those accounts/para/listitem 
+ listitemparaguimenuitemOpen imported operations not yet 
validated.../guimenuitem: nothing to add/para/listitem
+  /itemizedlist
+   
screenshot
  mediaobject
imageobjectimagedata fileref=menu_go2.png//imageobject
  /mediaobject
/screenshot   
   itemizedlist
-   listitempara/para/listitem
+ listitemparaguimenuitemOpen operations without 
category.../guimenuitem: Open all operations not having a 
category/para/listitem
+ listitemparaguimenuitemOpen transfers without 
category.../guimenuitem: Open all transfers not having a 
category/para/listitem
+ listitemparaguimenuitemOpen operations without 
payee.../guimenuitem: Open all operations not having a payee/para/listitem
+ listitemparaguimenuitemOpen transfers without 
payee.../guimenuitem: Open all transfers not having a payee/para/listitem
+ listitemparaguimenuitemOpen operations without 
mode.../guimenuitem: Open all operations not having a mode/para/listitem
+ listitemparaguimenuitemOpen operations with dates not 
aligned.../guimenuitem: Open all single operations not having the date 
aligned with its sub operation/para/listitem
+ listitemparaguimenuitemOpen operations with comments not 
aligned.../guimenuitem: Open all single operations not having the comment 
aligned with its sub operation/para/listitem
+ listitemparaguimenuitemOpen operations in groups with only one 
operation

[kde-doc-english] [skrooge] doc: Update documentation

2014-06-09 Thread Stephane Mankowski
Git commit 1ffc2aec24c45fec16feb01ee4ea91a3004d64f7 by Stephane Mankowski.
Committed on 09/06/2014 at 16:10.
Pushed by smankowski into branch 'master'.

Update documentation

M  +---doc/bank_accounts.png
M  +---doc/bookmarks_browser.png
M  +---doc/context_chooser.png
M  +---doc/dashboard.png
M  +---doc/export_graph_menu.png
M  +---doc/export_table_menu.png
M  +---doc/history_browser.png
M  +2197 -2071 doc/index.docbook
M  +---doc/merge_operations_menu.png
M  +---doc/operations.png
M  +---doc/property_editor.png
A  +---doc/shares.png
M  +---doc/tab_state_management.png
M  +---doc/table_menu.png

http://commits.kde.org/skrooge/1ffc2aec24c45fec16feb01ee4ea91a3004d64f7

diff --git a/doc/bank_accounts.png b/doc/bank_accounts.png
index 2d83ad7..d36431a 100644
Binary files a/doc/bank_accounts.png and b/doc/bank_accounts.png differ
diff --git a/doc/bookmarks_browser.png b/doc/bookmarks_browser.png
index 004da39..8961e9c 100644
Binary files a/doc/bookmarks_browser.png and b/doc/bookmarks_browser.png differ
diff --git a/doc/context_chooser.png b/doc/context_chooser.png
index 6217e22..bcc22ff 100644
Binary files a/doc/context_chooser.png and b/doc/context_chooser.png differ
diff --git a/doc/dashboard.png b/doc/dashboard.png
index 8e79dce..0e8f368 100644
Binary files a/doc/dashboard.png and b/doc/dashboard.png differ
diff --git a/doc/export_graph_menu.png b/doc/export_graph_menu.png
index ef027d3..e6dd855 100644
Binary files a/doc/export_graph_menu.png and b/doc/export_graph_menu.png differ
diff --git a/doc/export_table_menu.png b/doc/export_table_menu.png
index c709de4..c9914c1 100644
Binary files a/doc/export_table_menu.png and b/doc/export_table_menu.png differ
diff --git a/doc/history_browser.png b/doc/history_browser.png
index 0913a7c..1095fee 100644
Binary files a/doc/history_browser.png and b/doc/history_browser.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index 646b10e..9c63adf 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,2082 +1,2208 @@
 ?xml version=1.0 ?
 !DOCTYPE book PUBLIC -//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN 
customization/dtd/kdex.dtd [
-  !ENTITY appname 'applicationSkrooge/application'
-  !ENTITY kappname appname;
-  !ENTITY tbw TO BE WRITTEN
-  !ENTITY % addindex IGNORE
-  !ENTITY % English INCLUDE!-- change language only here --
+!ENTITY appname 'applicationSkrooge/application'
+!ENTITY kappname appname;
+!ENTITY tbw TO BE WRITTEN
+!ENTITY % addindex IGNORE
+!ENTITY % English INCLUDE!-- change language only here --
 
-  !ENTITY homepage http://extragear.kde.org/apps/skrooge/;
+!ENTITY homepage http://extragear.kde.org/apps/skrooge/;
 
 ]
 
-
 book id=skrooge lang=language;
-titleThe appname; Handbook/title
-
-
-bookinfo
-
-authorgroup
-
-author
-firstnameSt?phane/firstname
-surnameMANKOWSKI/surname
-affiliation
-addressemailstephane at mankowski.fr/email/address
-/affiliation
-/author
-
-othercredit role=developer
-firstnameGuillaume/firstname
-surnameDE BURE/surname
-affiliation
-addressemailguillaume.debure at gmail.com/email/address
-/affiliation
-contribDeveloper/contrib
-/othercredit
-!-- TRANS:ROLES_OF_TRANSLATORS --
-/authorgroup
-
-copyright
-year2007/year
-year2008/year
-year2009/year
-year2010/year
-year2011/year
-holderSt?phane MANKOWSKI/holder
-holderGuillaume DE BURE/holder
-/copyright
-
-legalnoticeFDLNotice;/legalnotice
-
-date30/01/2011/date
-releaseinfo0.8.0/releaseinfo
-
-
-abstract
-para
-This document is a handbook for using appname;, a personal finances manager 
application.
-/para
-/abstract
-
-keywordset
-keywordKDE/keyword
-keywordextragear/keyword
-keywordoffice/keyword
-keywordskrooge/keyword
-keywordpersonal finances/keyword
-/keywordset
-
-/bookinfo
-
-chapter id=introduction
-titleIntroduction/title
-
-sect1 id=skrooge-intro
-titleappname;/title
-
-para
-appname; is an application for managing your personal finances. It can keep 
track of your incomes and expenses across several accounts, in several 
currencies. It has all the features you should expect from such a tool, such as 
categories, scheduled operations, graphical reporting, stocks management... It 
also has some less common features, like fast operation edition, search as you 
type, refund trackers, customizable attributes...
-/para
-
-screenshot
-screeninfoappname; displaying pie charts of expenses per 
category/screeninfo
-mediaobject
-imageobject
-imagedata fileref=reports.png format=PNG/
-/imageobject
-textobjectphraseappname; displaying pie charts of expenses per 
category/phrase/textobject
-/mediaobject
-/screenshot
-
-
-sect2 id=what-skrooge-is
-titleWhat appname; Is/title
-
-para
-appname; is a personal finances manager for kde; 4. It is intended to be 
used by individuals who want to keep track of their incomes, expenses and 
investments.
-/para
-
-/sect2
-
-sect2 id=what-skrooge-is-not
-titleWhat appname; Is Not/title
-
-para
-appname

[kde-doc-english] [skrooge] doc: Documentation

2014-06-09 Thread Stephane Mankowski
Git commit 1283fed93c20b205b7b1d7e29de89613a552439c by Stephane Mankowski.
Committed on 09/06/2014 at 20:26.
Pushed by smankowski into branch 'master'.

Documentation

A  +---doc/bar_location.png
M  +279  -209  doc/index.docbook
A  +---doc/menu_edit.png
A  +---doc/menu_file.png
A  +---doc/menu_go1.png
A  +---doc/menu_go2.png
A  +---doc/menu_help.png
A  +---doc/menu_import.png
A  +---doc/menu_settings.png
A  +---doc/menu_tools.png
A  +---doc/menu_view.png

http://commits.kde.org/skrooge/1283fed93c20b205b7b1d7e29de89613a552439c

diff --git a/doc/bar_location.png b/doc/bar_location.png
new file mode 100644
index 000..d6dbc7a
Binary files /dev/null and b/doc/bar_location.png differ
diff --git a/doc/index.docbook b/doc/index.docbook
index 9c63adf..61dd3c5 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -278,34 +278,151 @@
/para
   /sect2
   
-  sect2 id=status_bar
-   titleStatus Bar/title
+  sect2 id=page_chooser
+   titlePage Chooser/title
para
- The status bar is a small section at the bottom of the appname; 
window, displaying various information as you work. It includes a progress bar 
and a cancel button, in case you want to interrupt a long task, such as 
importing a large file.
+ The page chooser is a dock where you can select the view to be 
displayed in the current tab or in a new tab. To open in a new tab, hold the 
Ctrl; key while clicking on the selected view./paratipparaYou can 
customize this list by using the contextual menu on this list./para/tip
+   
+   screenshot
+ mediaobject
+   imageobjectimagedata fileref=context_chooser.png 
format=PNG//imageobject
+   textobjectphraseThe page chooser/phrase/textobject
+ /mediaobject
+   /screenshot
+   
+   paraEach context will be described in a specific chapter in this 
handbook./para
+  /sect2
+   
+  sect2 id=bookmarks
+ titleBookmarks/title
+ paraImagine you need to customize the operations view on a per 
account basis: each account would be displayed in its own tab, maybe with 
different columns in each table. The forementioned method does not work, since 
it applies on all tabs with the same type.
+ /para
+ paraThe solution here is to save each individual tab as a Bookmark. 
Much like in a web browser, bookmarks can be organized in a hierarchy of 
bookmark folders, that you can visualize in the Bookmark Browser:/para
+ 
  screenshot
mediaobject
- imageobjectimagedata fileref=progress-bar.png 
format=PNG//imageobject
- textobjectphraseThe appname; progress 
bar/phrase/textobject
+ imageobjectimagedata fileref=bookmarks_browser.png 
format=PNG//imageobject
+ textobjectphraseThe bookmarks browser/phrase/textobject
/mediaobject
  /screenshot
+ 
+ paraTo create a bookmark, select a page from the link 
linkend=page_chooserpage chooser/link you want to bookmark, and customize 
its content to your liking. Once you're done with that, in the Bookmarks link 
linkend=docksdock/link, bring up the contextual menu, and select 
menuchoiceguimenuBookmark current page/guimenu/menuchoice./para
+ 
+ paraEach bookmark or bookmark folder can be autostarted, ie; it 
will be automatically opened when starting appname;. This way, you can fully 
customize the default appname; layout./para
+ paraYou can select the text and icon you want for each bookmark or 
bookmark folder./para
+   /sect2
+  
+  sect2 id=undo_redo
+   titleUndo / Redo/title
+   para
+ appname; manages undo/redo in a rather classic fashion, except that 
you can undo or redo any action, even if it was made several days ago. As per 
default settings, the history is not cleared upon closing appname; (you can 
change this behaviour in the !-- TODO:put a link here-- settings), which 
means you could undo virtually everything up to the document creation.
+   /para
+   para
+ In order to limit the impact on filesize, appname; is configured by 
default to keep an history of 50 entries. You can change this value in the !-- 
TODO:put a link here-- settings.
+   /para
+   para
+ appname; has a link linkend=docksdock/link that lists all 
undoable actions.
+   /para
+   
+   screenshot
+ mediaobject
+   imageobjectimagedata fileref=history_browser.png 
format=PNG//imageobject
+   textobjectphraseThe history browser/phrase/textobject
+ /mediaobject
+   /screenshot
+   
+   para
+ The history browser shows three columns:
+   /para
+   
+   itemizedlist
+ listitem
+   para
+ an icon showing the state of the action. A yellow counter 
clockwise arrow

[kde-doc-english] [skrooge] /: BUG:331191

2014-02-16 Thread Stephane Mankowski
Git commit aff5d9eb2f8b18d54e21abc335ab1fa0124df0d8 by Stephane Mankowski.
Committed on 16/02/2014 at 17:12.
Pushed by smankowski into branch 'master'.

BUG:331191
Obsolete term Context in docbook

M  +1-0CHANGELOG
M  +3-3doc/index.docbook

http://commits.kde.org/skrooge/aff5d9eb2f8b18d54e21abc335ab1fa0124df0d8

diff --git a/CHANGELOG b/CHANGELOG
index 3147409..419c7db 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -7,6 +7,7 @@ skrooge (1.9.0)
   *Correction bug 329876: Weboob import from paypal ignores dates and creates 
account 0
   *Correction bug 330354: Budget forecast duplicates operation creation 
   *Correction bug 330428: Sorting doesn't work on Reconciliation date in 
Accounts view
+  *Correction bug 331191: Obsolete term ?Context? in docbook
   *Correction: Remove conflict on CTRL+C shortcut
   *Correction: Import mny does not work with space in file name  
   *Correction: In case of failure during backup file creation a warning 
message is displayed instead of an error avoiding to save the file  
diff --git a/doc/index.docbook b/doc/index.docbook
index ee6fd96..71f3ce3 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -294,7 +294,7 @@ The status bar is a small section at the bottom of the 
appname; window, display
 /sect2
 
 sect2 id=context_chooser
-titleContext Chooser/title
+titlePage Chooser/title
 para
 The context chooser is a dock where you can select the view to be displayed in 
the current tab or in a new tab. To open in a new tab, hold the Ctrl; key 
while clicking on the selected view./para
 
@@ -407,9 +407,9 @@ The context chooser is a dock where you can select the view 
to be displayed in t
 paraAs explained in the link linkend=tablesprevious chapter/link, 
tables can be totally customized to your liking. But you probably don't want to 
loose all the customization work you made upon closing a tab. There are two 
ways to save this work./para
 
 sect3 id=save_default_context
-titleSave Default Context/title
+titleSave page state/title
 paraThis option allows you saving the current tab state as the default state 
that will always be called when opening this context. For example, you may want 
your link linkend=dashboardDashboard/link to contain 4 widgets, organized 
to your liking. What's even more important is that you always want the 
Dashboard to look the same, you don't want to repeat the customization work 
every time you open it./para
-paraTo do this, you simply need to do customization work once, then to save 
the tab state as the Default State for the context being displayed. Setting the 
default state is done either by right clicking on the tab and selecting 
guimenuitemSave Context State/guimenuitem./para
+paraTo do this, you simply need to do customization work once, then to save 
the tab state as the Default State for the context being displayed. Setting the 
default state is done either by right clicking on the tab and selecting 
guimenuitemSave page state/guimenuitem./para
 
 screenshot
 mediaobject



[kde-doc-english] [Bug 293636] New: KDE Help Center doesn't find the documentation on windows

2012-02-08 Thread Stephane MANKOWSKI
https://bugs.kde.org/show_bug.cgi?id=293636

   Summary: KDE Help Center doesn't find the documentation on
windows
   Product: khelpcenter
   Version: unspecified
  Platform: MS Windows
OS/Version: MS Windows
Status: NEW
  Severity: normal
  Priority: NOR
 Component: general
AssignedTo: kde-doc-english at kde.org
ReportedBy: stephane at mankowski.fr


Version:   unspecified (using KDE 4.8.0) 
OS:MS Windows

KDE Help Center is not able to find the documentation on windows and display
this:

The requested help file could not be
parsed:br/c:/opt/kde/share/doc/html/en//skrooge/index.docbook

The file C:\Opt\KDE\share\doc\HTML\en\skrooge\index.docbook exists on my
system.

Reproducible: Always

Steps to Reproduce:
Install an application on KDE (example: Skrooge)
Launch the help online with F1

Actual Results:  
The requested help file could not be
parsed:br/c:/opt/kde/share/doc/html/en//skrooge/index.docbook

Expected Results:  
The documentation must be displayed

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.