Commit Graph
40 Commits
Author SHA1 Message Date
Daniel Subiabre García 0007c6b9b1 chore: sync main to core develop (#1)
* fix: upgrade goteo/benzina to 0.6

* feat: increase Nominatim cache TTL

* fix: allow long addresses for territory data

* fix: build project addresses from goteo 3 territory fields

* fix: handle empty strings for video sources

* fix: update project drafts deadline to 2026

* feat: split project description into 4 fields

* feat: bump doctrine related dependencies

* feat: bump symfony related dependencies

* feat: make categories work on idOrSlug

* fix: allow filtering on project descBrief property

* fix: update constraints on project update to allow optional updates of properties

* fix: update Projects test suite to new project shape

* fix: order of DROP operations in migration Version20260813171902

* fix: move accounting balance and checkout to supports listeners to onFlush events

* fix: bad order of filter safeguards

* chore: code style by php-cs-fixer

* fix: prevent uninitialized fields on api resource from breaking AccountingVoter

* fix: small bug preventing code improvements on Accounting api resource

* feat: add cover property on ProjectReward resource

* feat: add cover property to Project resources

* feat: use video cover for project cover

* feat: add migration for property cover on project and rewards

* fix: small improvements on UserOwned helpers

* feat: add territory to project creation

* feat: mark creation fields as required

* feat: add CollaborationCandidacy resource

* fix: update old validations access of new types

* feat: add validation for charges targetting projects not in campaign

* feat: validate new collaboration candicacies are to open collaborations

* feat: prevent future object access issues in SameProjectRewardChargeValidator

* fix: return void on succesfull delete operations

* fix: force set of isFinite property

* feat: allow to filter ProjectBudgetItem by type and deadline

* feat: remove example values from .env

* feat: add testing encryption keys

* feat: make project in BudgetItem body required

* feat: add testing encryption keys to actions

* feat: add collaborations property to ProjectApiResource

* feat: Update Users PATCH body (#246)

* feat: move UserSignupDto to Dto\User namespace

* fix: bad parsing of INSTR by ApiPlatform pagination layer

* fix: make User resources be processed by dedicated update processor

* fix: specify authentication usage of UserSignupDto::password property

* feat: improve non-crawlable URI detection for ScoutService

* feat: add "org" to Links with known organizations behind links

* feat: map raw uri strings to full Link objects

* fix: bad loading of existing user data in UserStateProcessor

* feat: add NotExisting validator

* feat: use NotExisting constraint on Users handle, email, Projects titles and Tipjar names

* fix: check for existing node item in URI rel detection

* fix: make app:oauth2-server:consent-client true by default

* feat: bump league/oauth2-server-bundle to 1.2.2

* feat: add UserConverter decorator to have league/oauth2-server JWT's sub have User id instead of handle

* fix: specify OAuth2 and  separate server from client utilities

* fix: make app_user_provider use ID instead of handle

* feat: add explaining comment to doctrine_encryption.key_id

* feat: add status to reward claims

* feat: make default RewardClaim entity status in_pending

* feat: add shorter check for ownership of projects

* feat: allow to modify status of reward claims

* feat: add shipping address to reward claims

* fix: remove requirement of status in claim update op

* fix: update filters and remove obsolete attributes from ProjectRewardClaim resource

* feat: update DB layer for project reward claims

* fix: code style issues by PHP-CS-Fixer

* feat: add DoctrineLoggablePumpTrait to remove Gedmo Loggable event listener

* fix: update legacy ref to FileUriException

* feat: pump reward claim status and shipping address from v3 records

* fix: update pumps batch sizes and injected dependencies

* feat: pump user roles

* feat: add true image cover retrieval and leave video as fallback for ProjectsPump

* feat: pump project collaborations

* feat: allow cascading of collaborations

* fix: set isFulfilled of collaboration

* fix: link collaboration to in-pumping project

* fix: add trailing comma to list of fulfilling statuses

* test: update PHPUnit CI to use bin/phpunit instead of action

* feat: set memory_limit of PHPUnit run on CI to 128M

* fix: add user avatar to user pump processing

* fix: set invests batch size to 1 to avoid support duplicates on insert

* Merge pull request #253 from goteo/fix/pumping-bugs

fix: Pumping bugs
2026-10-01 16:26:01 +02:00
daniel.subiabre 1c678f113f chore: sync main to develop (#245)
PHPUnit / phpunit (push) Canceled after 0s
* fix: upgrade goteo/benzina to 0.6

* feat: increase Nominatim cache TTL

* fix: allow long addresses for territory data

* fix: build project addresses from goteo 3 territory fields

* fix: handle empty strings for video sources

* fix: update project drafts deadline to 2026

* feat: split project description into 4 fields

* feat: bump doctrine related dependencies

* feat: bump symfony related dependencies

* feat: make categories work on idOrSlug

* fix: allow filtering on project descBrief property

* fix: update constraints on project update to allow optional updates of properties

* fix: update Projects test suite to new project shape

* fix: order of DROP operations in migration Version20260813171902

* fix: move accounting balance and checkout to supports listeners to onFlush events

* fix: bad order of filter safeguards

* chore: code style by php-cs-fixer

* fix: prevent uninitialized fields on api resource from breaking AccountingVoter

* fix: small bug preventing code improvements on Accounting api resource

* feat: add cover property on ProjectReward resource

* feat: add cover property to Project resources

* feat: use video cover for project cover

* feat: add migration for property cover on project and rewards

* fix: small improvements on UserOwned helpers

* feat: add territory to project creation

* feat: mark creation fields as required

* feat: add CollaborationCandidacy resource

* fix: update old validations access of new types

* feat: add validation for charges targetting projects not in campaign

* feat: validate new collaboration candicacies are to open collaborations

* feat: prevent future object access issues in SameProjectRewardChargeValidator

* fix: return void on succesfull delete operations

* fix: force set of isFinite property

* feat: allow to filter ProjectBudgetItem by type and deadline

* feat: remove example values from .env

* feat: add testing encryption keys

* feat: make project in BudgetItem body required

* feat: add testing encryption keys to actions

* feat: add collaborations property to ProjectApiResource
2026-09-18 10:44:12 +02:00
djoven89 6e9edf5f5c Change secrets name 2025-09-26 10:38:17 +02:00
djoven89 252df62467 Add db dump workflow 2025-09-23 11:04:37 +02:00
daniel.subiabre 1b70fc1cd5 Remove build workflow 2025-09-17 00:26:33 +02:00
djoven89 17832fa317 Several changes to allow the deployment in other environments 2025-06-19 16:08:31 +02:00
David Igón 0353d4820e use webhook to update service 2025-02-10 16:37:56 +01:00
David Igón 2c80f26645 set docker file and target 2025-02-07 20:02:09 +01:00
David Igón 58e6ca1d65 add build workflow 2025-02-07 19:54:17 +01:00
daniel.subiabre a08b951cd4 Merge branch 'main' into feat/localized_content 2025-01-21 14:12:10 +01:00
daniel.subiabre 2b8dd20d33 Update cs fixer exec command 2025-01-17 14:40:57 +01:00
daniel.subiabre bef77a3b92 Add stripe api key from secrets 2025-01-17 14:34:38 +01:00
daniel.subiabre c21483654b Add pdo_mysql extension to cs fixer workflow 2025-01-17 14:32:49 +01:00
daniel.subiabre ba509b5d9d Update php-cs-fixer workflow 2025-01-17 14:24:10 +01:00
daniel.subiabre a8a1d7ebd7 Add intl to the list of php extensions 2025-01-16 15:36:46 +01:00
daniel.subiabre 84bfa13d2d Move STRIPE_API_KEY from steps to phpunit job 2025-01-16 15:10:42 +01:00
daniel.subiabre 9147bcc4dd Read stripe api key from secrets 2025-01-16 15:02:35 +01:00
daniel.subiabre b6dd7f9cf2 Feed same php version and extensions to php-actions composer and phpunit 2025-01-16 14:46:46 +01:00
daniel.subiabre 73eb72fc15 Update php version to 8.3 2024-12-09 12:12:54 +01:00
daniel.subiabre 231f2d5286 Update php-version to 8.3 2024-12-09 12:12:42 +01:00
David Igón bc54d2be71 force php-cs-fixer version to 3.64 2024-10-08 15:59:57 +02:00
daniel.subiabre cf8951a179 Remove apcu from build dependencies 2024-07-24 12:04:47 +02:00
daniel.subiabre 9908caab1b Add mariadb service 2024-07-24 11:14:34 +02:00
daniel.subiabre 5483fc6195 Remove memory limit from config 2024-07-24 11:09:14 +02:00
David Igón 1a2a7d2b61 dont try this at home 2024-07-24 09:34:11 +02:00
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 94f62c756d Do not run php-cs-fixer on 'pull' 2024-07-11 15:29:48 +02:00
David Igón 5569e7b80c add checkout step 2024-06-27 17:21:09 +02:00
David Igón 2399ac0158 change ghaction to use setup-php 2024-06-27 17:18:12 +02:00
David Igón 9b12a18cf0 add workflow to test php-cs-fixer 2024-06-27 17:04:47 +02:00