cozy / cozy-banks Goto Github PK
View Code? Open in Web Editor NEWA Banks Aggregator on Cozy
Home Page: https://cozy.io
License: GNU Affero General Public License v3.0
A Banks Aggregator on Cozy
Home Page: https://cozy.io
License: GNU Affero General Public License v3.0
Hi devs!
I wanted to try out Cozy Banks, but noticed you don't really support many banks outside of France. I wrote a data-crawler for one of my banks in Poland, and wanted to integrate and contribute it.
But I can't see any of the providers in the repository.
Where can we find the code behind the providers, and how can we contribute?
I'm sure crowdsourcing the providers would be a much better way to cover lots and lots of banks.
Cheers!
Bonjour
Avez vous dans votre roadmap (je n'en ai pas trouvé) prévu de mettre à disposition une extraction des données. J'utilise un logiciel (HomeBank qui est openSource) pour gérer mes différents comptes. Je me balade donc sur les sites de mes différents comptes pour extraire sur chacun d'eux mes opérations afin de les importer dans le logiciel.
Il existe entre autres les formats qif et ofx.
J'ai bien tenté de regarder le code pour voir si ma demande à un sens mais je fais plutôt du Cobol (on ne rigole pas !!!).
Je continuerais d'utiliser vos services quelque soit votre réponse ;)
Merci pour votre boulot et bonne continuation.
Currently in services we use a cozy-client-js instance given by cozy-konnector-libs. We should use a cozy-client instance.
It seems to be pretty simple: https://github.com/cozy/cozy-store/blob/master/src/targets/services/installSuggestion.js#L24-L28
But we need to make sure that all models' methods we are using are implemented to work with cozy-client. Some efforts were done in this direction (see cozy/cozy-libs#455) but not everything seems to work.
Following #426.
We should not have time-sensitive test that needs to be updated every month.
Well, because I don't live in France
Nous avons la dernière version de cozy-app-publish
nous pouvons donc passer par les hooks mise en place pour unifier la configuration.
cozy-banks/src/ducks/billsMatching/Linker/Linker.js
Lines 310 to 314 in a31e2e6
TODO
comment in a31e2e6. It's been assigned to @drazik because they committed the code.Bonjour,
Dans cozy-banks (version mobile et Android) le switch permettant d'Inclure les revenus ne rafraîchit pas le graphe lorsqu'il change d'état.
Scénario:
Résultat :
Le bouton change d'état mais le graphique affiche toujours la même information
Résultat attendu:
Le bouton change d'état et le graphique affiche la répartition en incluant les revenus.
By-pass:
3. Ouvrir une catégorie
4. Revenir en arrière avec le bouton précédent
=> Le graphique est maintenant à jour
Hi,
it seems you have accidentally added yarn.lock
but this is not the real package on npmjs.
https://github.com/cozy/cozy-banks/blob/master/package.json#L211
See https://npmjs.org/yarn.lock
You might want to remove it using yarn remove yarn.lock
.
cozy-banks/src/ducks/billsMatching/Linker/Linker.js
Lines 186 to 190 in a31e2e6
TODO
comment in a31e2e6. It's been assigned to @drazik because they committed the code.Bonjour,
Merci pour cette application très utile. Je constate cependant un bug : lorsque je souhaite supprimer un compte en banque de la liste des comptes qui sont affichés (Paramêtres -> Comptes -> [compte concerné] -> Effacer -> Confirmer la suppression), il réapparaît le lendemain. La suppression n'est pas pérenne.
Merci
We have a lot of files in the fixtures. Some of them must be out of date.
There is too much logs in the tests, it is distracting and could potentially
hide buggy and/or undesirable behavior.
Ways to mitigate:
import logger from 'cozy-logger'
logger.setLevel('error')
jest.spyOn(console, 'warn').mockImplementation() # only for some test suites/test files
We have a lot of inconsistencies in translations keys case. We have UpperCamelCase, camelCase and snake_case in it. We must clean it.
Some cleanup utility classes have been moved to cozy-ui.
See src/styles/utilities.styl
.
cozy-banks/src/ducks/billsMatching/Linker/Linker.js
Lines 266 to 269 in a31e2e6
TODO
comment in a31e2e6. It's been assigned to @drazik because they committed the code.Bonjour,
J'espère que c'est le bon repo pour faire ce signalement de bug :)
En connectant mes différents comptes bancaires, j'ai remarqué que celui du Crédit Mutuel remonte bien tous mes produits bancaires sauf un : une assurance vie. C'est étonnant, j'en ai deux et la première apparaît sans problème.
Pouvez-vous y faire quelque chose, où est-ce lié à Linxo ?
Merci d'avance,
Cordialement,
An update of cozy-ui should fix the problem (drive no longer has the problem).
We have some dependencies that could be easily removed. The benefits would be less renovate PRs to take care of and maybe lighter bundles (thus this will certainly not very significant).
bluebird
: this is used only in the bills linker. This could be easily replaced by native promisescozy-banks/src/ducks/billsMatching/Linker/Linker.js
Lines 462 to 465 in a31e2e6
TODO
comment in a31e2e6. It's been assigned to @drazik because they committed the code.This is the approach adopted by whatsapp web. When loading the page you can see "You need Firefox > 56 etc..." and then it disappears.
When switching between months, the color of each category changes, which makes it hard to track down the changes in proportions from one month to another.
Each category (e.g. transport) should have an assigned, constant (possibly customisable) color.
Baseline: 2421ko
First PR perf : #907
Possible candidates for size reduction:
Removing moment from chart.js
Only import what we need from cozy-ui, verify tree shaking for cozy-ui
Cozy Authentication build ? Why is it so big ? Transpile it.
Localforage ?
Cozy stack client db.json (issue here, cozy/cozy-client#109)
Lorsque l'on modifie le numéro dans le fichier package.json
avec par exemple '0.7.11-beta.2' la publication d'une version de dev
echoue.
Voir le build travis pour plus d'information https://travis-ci.org/cozy/cozy-banks/builds/411628431
We should use the same method as in Assistant Fi to automatically
update the user agent used in the config.xml for Cordova.
Afin d'affecter une catégorie à chaque partie d'une dépense (par exemple un achat d'alimentation + culture), on doit pouvoir diviser une dépense en définissant des sous-totaux.
cozy-banks/src/ducks/billsMatching/Linker/Linker.js
Lines 127 to 131 in a31e2e6
TODO
comment in a31e2e6. It's been assigned to @drazik because they committed the code.Actuellement nous sauvegardons les préférences de l’utilisateur et d'autres informations dans un document io.cozy.bank.settings
. Pour pouvoir récupérer ce document nous récupérons une collection de io.cozy.bank.settings
et on prend le 1er document (on espère qu'il y en a qu'un seul)
On peut voir ce type de code:
export const getSettingsFromCollection = col =>
merge(DEFAULTS_SETTINGS, get(col, 'data[0]'))
Je propose que l'on nomme ce document plutôt que l'id soit généré par couchdb.
On pourrait alors demander à la stack seulement un document plutôt qu'une collection.
Since we have several services in Banks with several entrypoints we end up
with several bundles whose content is mostly shared code. It would be good
to use webpack's optimization.splitChunks.
It is not supported yet in webpack 4 but will be in webpack 5.
PR that implements functionality: webpack/webpack#8575
Example of using split chunks: https://webpack.js.org/plugins/split-chunks-plugin/#split-chunks-example-1
So we will be able to significantly lower the total size of the banks bundle
when we use webpack 5.
I would like to try out working on cozy-banks source code but I fail to start the application.
$ yarn watch:browser
...
ℹ 「wds」: Project is running at http://localhost:8282/
...
WARNING in react-is
Multiple versions of react-is found:
...
ℹ 「wdm」: Compiled with warnings.
In http://localhost:8282/, I get many errors in the console and a blank page:
$ npx cozy-scripts start --hot --browser
...
App successfully compiled!
Your application: http://banks.cozy.tools:8080
Your local Cozy: http://cozy.tools:8080
CouchDB: http://localhost:5984/_utils
MailHog: http://localhost:8025
Dev assets: http://localhost:8888
...
ERROR in multi webpack-dev-server/client?http://localhost:8888/ webpack/hot/dev-server /home/c
assou/.npm/_npx/6860/lib/node_modules/cozy-scripts/node_modules/babel-polyfill/lib/index.js /h
ome/cassou/.npm/_npx/6860/lib/node_modules/cozy-scripts/utils/reactExposer.js ./src/targets/br
owser/index.jsx
Module not found: Error: Can't resolve '~/projects/cozy-banks/src/targets
/browser/index.jsx' in '~/projects/cozy-banks'
@ multi webpack-dev-server/client?http://localhost:8888/ webpack/hot/dev-server /home/cassou/
.npm/_npx/6860/lib/node_modules/cozy-scripts/node_modules/babel-polyfill/lib/index.js /home/ca
ssou/.npm/_npx/6860/lib/node_modules/cozy-scripts/utils/reactExposer.js ./src/targets/browser/
index.jsx app[4]
ERROR in Error: Child compilation failed:
Entry module not found: Error: Can't resolve '~/projects/cozy-banks/src
/targets/browser/index.ejs' in '~/projects/cozy-banks':
Error: Can't resolve '~/projects/cozy-banks/src/targets/browser/index.e
js' in '~/projects/cozy-banks'
Greg has made a script doing just that.
La sous-catégorie "retrait d'espèces" dans les catégorisations des mouvements fait partie de la catégorie "à catégoriser" mais je trouverai plus logique qu'elle apparaisse dans "Dépenses vie courante".
De façon plus générale, il serait pratique de pouvoir créer / modifier des catégories en plus de celles existant par défaut.
We have interesting utils that could be moved to cozy-client. See #1573 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.