Commit Graph
327 Commits
Author SHA1 Message Date
daniel.subiabre dd01adfde1 I'll fucking kill you 2024-07-22 15:14:00 +02:00
daniel.subiabre 2153b496c2 Work you piece of shit 2024-07-22 15:12:08 +02:00
daniel.subiabre 5e7b89cd78 Try php-actions/phpunit (i hate CI) 2024-07-22 15:09:50 +02:00
daniel.subiabre 8ae4722176 Use chindit/actions-phpunit-symfony 2024-07-22 14:58:29 +02:00
daniel.subiabre 081d51340b Make simple-phpunit run with verbosity 2024-07-22 14:48:34 +02:00
daniel.subiabre d9378c0b93 Add DATABASE_URL to phpunit run step 2024-07-22 14:43:41 +02:00
daniel.subiabre 03d4a9b5c5 Fix missing database address for phpunit workflow 2024-07-22 14:34:56 +02:00
daniel.subiabre 6b3c151366 Fix call bin/console 2024-07-22 14:29:01 +02:00
daniel.subiabre 652a2bf823 Use mariadb instead of mysql 2024-07-22 14:26:11 +02:00
daniel.subiabre 53ace4ad08 Update phpunit workflow to include mysql 2024-07-22 14:11:33 +02:00
daniel.subiabre 68aace0140 Add PHPUnit workflow 2024-07-22 13:54:54 +02:00
daniel.subiabre 12af2c3480 Merge pull request #19 from GoteoFoundation/fix/gateways-compiler-pass
[fix] Public compile dir and lock file getters
2024-07-22 13:40:21 +02:00
daniel.subiabre dcaf7a7a3a Make compiler dir and lock file getters public 2024-07-22 13:38:09 +02:00
daniel.subiabre 26a5d51fc6 Merge pull request #18 from GoteoFoundation/update/gateways-compiler-pass
Update GatewaysCompilerPass to have cleaner usage
2024-07-22 13:28:42 +02:00
daniel.subiabre ce451b9abf Small code refactor 2024-07-22 13:26:00 +02:00
daniel.subiabre b7bcda70e4 Reduce exposed methods 2024-07-22 13:12:37 +02:00
daniel.subiabre 1701261081 Remove senseless line br 2024-07-22 13:09:25 +02:00
daniel.subiabre 203f3d0667 Merge pull request #16 from GoteoFoundation/feat/v3-invest-to-transactions-migration
v3 invest to transactions migration
2024-07-18 10:29:29 +02:00
daniel.subiabre 95aebe3856 Improve GatewaysCompilerPass API 2024-07-18 10:28:12 +02:00
daniel.subiabre 28971461c3 Merge branch 'main' into feat/v3-invest-to-transactions-migration 2024-07-17 15:57:31 +02:00
daniel.subiabre 24803d4aa8 Update gateway compilation code to use GatewaysCompiler pass static API 2024-07-17 15:55:32 +02:00
daniel.subiabre 4da8cbcfc5 Rename GatewayController to GatewaysController 2024-07-17 15:54:45 +02:00
daniel.subiabre 954c9a8f4e Simplify GatewaysCompilerPass 2024-07-17 15:49:26 +02:00
daniel.subiabre 9f4feacbc2 Rename GatewayPass to GatewaysCompilerPass 2024-07-17 15:41:29 +02:00
daniel.subiabre 2e72334fb5 Move compile logic to GatewayPass 2024-07-17 15:40:29 +02:00
daniel.subiabre d46b2fe592 Add STRIPE_WEBHOOK_SECRET env var 2024-07-17 14:07:12 +02:00
daniel.subiabre 252c692b3c Make StripeGateway comply with new GatewayInterface 2024-07-17 14:04:49 +02:00
daniel.subiabre e99aea6f8c Use new GatewayInterface methods on controller and processor 2024-07-17 13:52:50 +02:00
daniel.subiabre d2edbe02c0 Update GatewayInterface 2024-07-17 13:50:58 +02:00
daniel.subiabre 1d60dabcb6 Small StripeGateway code refactor 2024-07-17 12:50:55 +02:00
daniel.subiabre be28b894a7 Improve GatewayController API 2024-07-17 12:50:22 +02:00
daniel.subiabre 0316332c99 Merge pull request #17 from GoteoFoundation/fix/cs-fixer-action-on-pr-only
Do not run php-cs-fixer on 'pull'
2024-07-11 15:31:29 +02:00
daniel.subiabre 94f62c756d Do not run php-cs-fixer on 'pull' 2024-07-11 15:29:48 +02:00
daniel.subiabre 438ea4c574 Remove whitespace 2024-07-11 14:38:23 +02:00
daniel.subiabre fd28dae6ec No embed transactions on GatewayCharge 2024-07-11 14:18:35 +02:00
daniel.subiabre 2430e514f5 Generate AccountingTransactions for the each charge on a paid stripe checkout session 2024-07-11 14:18:13 +02:00
daniel.subiabre 8db00c717c Import AccountingTransactions for completed GatewayCheckouts 2024-07-11 13:47:03 +02:00
daniel.subiabre 9056b6ae8a Make AccountingTransactions an API resource 2024-07-11 13:46:44 +02:00
daniel.subiabre f159dd35a2 Add relationship to transactions on gateway charges 2024-07-03 14:52:58 +02:00
daniel.subiabre 38b328d1b7 Do not assume migratedReference to id pumping match criteria 2024-07-03 14:52:09 +02:00
daniel.subiabre 5fa604abe6 Merge pull request #15 from GoteoFoundation/feat/transactions
[FEAT] Transactions
2024-07-03 12:00:49 +02:00
daniel.subiabre 32ca8378a1 Fix whitespace 2024-07-03 11:57:41 +02:00
daniel.subiabre 83529da7df Test against transactions issued and received on persistence test 2024-07-03 11:56:14 +02:00
daniel.subiabre fd29c3ca44 Keep test db test prefix 2024-07-02 14:26:32 +02:00
daniel.subiabre 8e559f38a0 PHP CS fixes 2024-07-02 14:19:22 +02:00
daniel.subiabre 8dbbdb09d3 Accounting::getTransactions returns sorted full history of issued and received transactions 2024-07-02 14:18:28 +02:00
daniel.subiabre 2250688755 Ignore circular reference exceptions to avoid issues with test-generated env vars wanting to load twice 2024-07-02 14:10:04 +02:00
daniel.subiabre 4b1fa2bc20 SystemVariableTest does not need Kernel 2024-07-02 14:09:20 +02:00
daniel.subiabre a25897f5dd Update symfony/orm-pack 2024-07-02 14:08:50 +02:00
daniel.subiabre 075a8ac9d9 Add test for Accountings 2024-07-02 11:44:33 +02:00