Commit graph

150 commits

Author SHA1 Message Date
Jens Schuppe
fa301676e3 Update translation template and fix incorrect use of ts() 2024-09-24 14:26:37 +02:00
Jens Schuppe
2834f8028d Merge branch 'formTemplates'
[#100] Fix form template issues (help texts, undefined template variables, etc.)
2024-09-24 14:26:16 +02:00
Jens Schuppe
4ae20a1b04 Fix form template issues (help texts, undefined template variables, etc.) 2024-09-11 13:19:54 +02:00
Jens Schuppe
64d6b48813 Fix DAO/BAO namespaces and definitions 2024-09-11 12:59:22 +02:00
Marc Michalsky
d3ccb3b092 allow products with self-selected price 2024-09-02 15:26:12 +02:00
Marc Michalsky
8cfa270dff implement TwingleShop integration 2024-09-02 15:26:12 +02:00
Marc Michalsky
ea46e6a747 cherry pick of "make sure that default values are present" 2024-09-02 15:25:51 +02:00
Marc Michalsky
1a5f77c090 refactoring 2024-09-02 15:25:51 +02:00
Marc Michalsky
eacc9cf496 pass $error_code to parent BaseException 2024-09-02 15:25:51 +02:00
Marc Michalsky
7c7c040b30 add error code for profile validation warning 2024-09-02 15:25:51 +02:00
Marc Michalsky
0f947e4277 override the $code property inherited from Exception in BaseException 2024-09-02 15:25:51 +02:00
Marc Michalsky
db94f26d6d use new namespace style 2024-09-02 15:25:51 +02:00
Marc Michalsky
c971b6f8eb let CRM_Twingle_Profile class handle its validation 2024-09-02 15:25:51 +02:00
Marc Michalsky
72bfa3fb2c create custom exceptions 2024-09-02 15:25:51 +02:00
Jens Schuppe
0cf7ccb1cb Code style 2024-06-12 15:18:35 +02:00
Marc Michalsky
ab5d0906d7
fix accidentally flipped condition 2024-06-12 15:01:54 +02:00
Jens Schuppe
ac1b08b775 Code style 2024-06-12 14:35:44 +02:00
Marc Michalsky
547254158c
add Upgrader to maintain profile behaviour 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
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
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
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
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
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
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