Commit graph

350 commits

Author SHA1 Message Date
Marc Michalsky
547254158c
add Upgrader to maintain profile behaviour 2024-06-11 14:57:11 +02:00
Marc Michalsky
758b793c0d
add logic to create selected contact and contribution notes 2024-06-11 14:57:11 +02:00
Marc Michalsky
9836168122
add profile settings for note mapping 2024-06-11 14:57:10 +02:00
Jens Schuppe
aee56769b7 Merge branch 'settingsTemplate'
[#91] Repair help links in settings form
2024-06-06 12:03:56 +02:00
Jens Schuppe
8020491bf1 Repair help links in settings form (and reformat) 2024-06-06 12:01:05 +02:00
Jens Schuppe
5169e5a0ce Merge branch 'issue/86' 2024-06-06 11:07:15 +02:00
Jens Schuppe
d1f3dd871c Merge branch 'defaultProfileProjectId'
[#90] Do not require project IDs for default profile forms
2024-06-06 11:04:45 +02:00
Jens Schuppe
75676d42eb Fix condition in profile form template for not showing selector field for default profile 2024-06-06 11:01:56 +02:00
Jens Schuppe
a0b2879b69 Prevent undefined index warnings for unchecked checkbpxes in the settings form 2024-06-06 10:56:49 +02:00
Jens Schuppe
c7f1b7cb6e Do not require project IDs for default profile forms 2024-06-06 10:33:19 +02:00
Jens Schuppe
2b8ab813db Fix ambiguous conditions replacing empty() 2024-05-10 12:27:33 +02:00
Marc Michalsky
48c49c1814
avoid the use of empty() 2024-04-30 10:21:32 +02:00
Marc Michalsky
02bac833de
fix #86 2024-04-26 16:17:02 +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