Commit graph

340 commits

Author SHA1 Message Date
Marc Michalsky
b3f82fbfba
add Upgrader to maintain profile behaviour 2024-04-30 16:52:30 +02:00
Marc Michalsky
df51d59cea
add logic to create selected contact and contribution notes 2024-04-30 15:44:45 +02:00
Marc Michalsky
10f6ca4e89
add profile settings for note mapping 2024-04-30 15:44:45 +02:00
Jens Schuppe
670984854f Fix accidentally flipped condition 2024-04-09 13:14:37 +02:00
Jens Schuppe
3612122650 Update translation (seems to have caused GetText seek errors) 2024-04-08 12:31:14 +02:00
Jens Schuppe
6f555c660e Merge branch 'patch-2'
[#68] Add generic payment method
2024-04-05 14:31:09 +02:00
Jens Schuppe
313d2f648f Show error messages for missing configuration values 2024-04-05 14:29:58 +02:00
Maria
a91fbd0c20 Update Profile.php
adding generic payment method
2024-04-05 13:52:09 +02:00
Jens Schuppe
692c66a9a5 Merge remote-tracking branch 'MarcMichalsky/improve_profile_list'
[#76] Improve profile list view
2024-04-05 13:47:39 +02:00
Jens Schuppe
88850bbce3 PHPStan fixes 2024-04-05 13:46:03 +02:00
Jens Schuppe
b480d87ed7 Merge branch 'impove_default_profile_behaviour' 2024-04-05 13:27:34 +02:00
Jens Schuppe
4f845ca07e Merge branch 'improve_validation'
[#75] Improve profile validation
2024-04-05 13:19:07 +02:00
Jens Schuppe
6114772d07 PHP Code Sniffer and PHPStan fixes 2024-04-05 13:18:45 +02:00
Marc Michalsky
8d1d93d77a display a warning instead of an error if the project_id is a duplicate 2024-04-05 12:35:12 +02:00
Marc Michalsky
96c072eb8e let CRM_Twingle_Profile class handle its validation 2024-04-05 12:35:12 +02:00
Jens Schuppe
aa2c938abe Merge branch 'pick_profile_by_id'
[#73] Identify profiles by ID
2024-04-05 12:28:38 +02:00
Jens Schuppe
8bcdff4a85 Fix PHPStan issues 2024-04-05 12:25:00 +02:00
Jens Schuppe
fc40af8db5 Fix code style 2024-04-04 12:14:00 +02:00
Jens Schuppe
d7b066751a PHP Code Sniffer fixes 2024-04-03 12:22:39 +02:00
Jens Schuppe
6313fffa44 Merge branch 'extend_custom_field_mapping'
[#66] Extend custom field mapping
2024-04-03 12:09:42 +02:00
Jens Schuppe
47756f68b4 Correct indentation 2024-04-03 12:02:32 +02:00
Marc Michalsky
bd54c039c8 make all fields available for custom mapping
This is useful to be able to map fields like `purpose` or `remarks` to custom fields.
2024-04-03 12:01:23 +02:00
Jens Schuppe
5efed1f6c8 Fix @throws tags with wrong class name 2024-03-25 16:03:07 +01:00
Marc Michalsky
f81b476a30 fix exception on profile creation 2024-03-25 15:58:36 +01:00
Marc Michalsky
aef1ae7396 refactoring 2024-03-25 15:58:36 +01:00
Marc Michalsky
4feeb01611 make sure that default values are present 2024-03-25 15:58:26 +01:00
Marc Michalsky
09dda832a4 validate profile when copying 2024-03-25 15:58:11 +01:00
Marc Michalsky
c7e51b4d3c do not attempt to delete unverified profile_id 2024-03-25 15:58:11 +01:00
Marc Michalsky
6f6b9e0599 use correct error code 2024-03-25 15:58:11 +01:00
Marc Michalsky
a16be91822 include profile name in update query 2024-03-25 15:58:11 +01:00
Marc Michalsky
d9e51c67f6 use the id instead of the name to look up profiles 2024-03-25 15:58:11 +01:00
Jens Schuppe
1d9e973e46 Merge branch 'use_custom_exeptions'
[#72] Create custom exceptions
2024-03-25 15:52:29 +01:00
Jens Schuppe
fe0ce3f57d Fix @throws tag with wrong class name 2024-03-25 15:51:58 +01:00
Jens Schuppe
53745a3e07 PHP Code Sniffer fixes 2024-03-25 15:49:01 +01:00
Jens Schuppe
4e072b416a Move exception class files into correct directory according to namespace 2024-03-25 15:45:00 +01:00
Marc Michalsky
b0d5bdefa5 use correct namespace 2024-03-25 15:45:00 +01:00
Marc Michalsky
1875861735 pass $error_code to parent BaseException 2024-03-25 15:45:00 +01:00
Marc Michalsky
e83a898cb8 add error code for profile validation warning 2024-03-25 15:45:00 +01:00
Marc Michalsky
9baf2c0e2a override the $code property inherited from Exception in BaseException 2024-03-25 15:45:00 +01:00
Marc Michalsky
27675b7219 use new namespace style 2024-03-25 15:45:00 +01:00
Marc Michalsky
43be624bf6 create custom exceptions 2024-03-25 15:45:00 +01:00
Jens Schuppe
7a751e92bf phpcs: Conflicts with PHPStan type hints 2024-03-25 15:44:43 +01:00
Jens Schuppe
f42bc9b7ed PHP Code Sniffer fixes 2024-03-25 15:26:15 +01:00
Jens Schuppe
322c2d0dd3 Run Civix upgrade to Civix version 23.02.1 2024-03-25 15:01:36 +01:00
Jens Schuppe
69843bc981 PHP Code Beautifier fixes 2024-03-25 14:58:51 +01:00
Jens Schuppe
fad228315d Remove invalid @throws 2024-03-25 14:52:29 +01:00
Jens Schuppe
8cd928caa9 Add extension template with PHPStan, PHPUnit and phpcs 2024-03-25 14:51:57 +01:00
Jens Schuppe
b4c6581d4f Set version to 1.5-dev 2024-03-25 14:36:18 +01:00
Jens Schuppe
fb25af415c Back to 1.4-dev 2024-03-13 12:53:51 +01:00
Jens Schuppe
e7040c70d3 Version 1.4-beta1 2024-03-13 12:53:35 +01:00