Commit graph

75 commits

Author SHA1 Message Date
Jens Schuppe
0cf7ccb1cb Code style 2024-06-12 15:18:35 +02:00
Marc Michalsky
9836168122
add profile settings for note mapping 2024-06-11 14:57:10 +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
313d2f648f Show error messages for missing configuration values 2024-04-05 14:29:58 +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
Marc Michalsky
f81b476a30 fix exception on profile creation 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
d9e51c67f6 use the id instead of the name to look up profiles 2024-03-25 15:58:11 +01:00
Jens Schuppe
53745a3e07 PHP Code Sniffer fixes 2024-03-25 15:49:01 +01:00
Marc Michalsky
b0d5bdefa5 use correct namespace 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
f42bc9b7ed PHP Code Sniffer fixes 2024-03-25 15:26:15 +01:00
Jens Schuppe
69843bc981 PHP Code Beautifier fixes 2024-03-25 14:58:51 +01:00
Marc Michalsky
fd99f3b24f
add default option
add a 'select profile' default option
2023-08-29 16:35:03 +02:00
Marc Michalsky
3241583542
use variable to avoid multiple method calls 2023-08-17 10:08:51 +02:00
Marc Michalsky
c3f4db8600
replace traditional syntax arrays 2023-08-16 11:31:41 +02:00
Marc Michalsky
0b2b8d6523
do not add the xcm default profile manually as an option
it simply does not work
2023-08-16 11:31:14 +02:00
Marc Michalsky
225c4efd25
remove unnecessary default values 2023-08-16 11:30:35 +02:00
Marc Michalsky
ab27dccbe7
improve default profile behavior 2023-08-16 11:22:54 +02:00
Marc Michalsky
c62af9582e
[#61] fix bug on settings page
The array passed to $this->addEntityRef() was incorrectly structured
2023-04-19 17:36:01 +02:00
Marc Michalsky
9969c99f70 Make required address components configurable
The required address components can be selected in the corresponding profile.
2021-11-17 16:32:10 +01:00
Jens Schuppe
be55ad70a8 [#29] Prevent source profile be overwritten 2020-11-10 15:27:56 +01:00
Jens Schuppe
228e964633 [#29] Use correct profile names and validate before saving profile copies 2020-11-10 11:30:58 +01:00
Jens Schuppe
021cd5257b [#36] Fix PHPDoc 2020-08-14 10:48:50 +02:00
Jens Schuppe
6b42c72bf8 [#36] Fix indentation 2020-08-14 10:43:06 +02:00
Jens Schuppe
3553ed83b9 [#36] Do not alter the mailing lists available for the profile field since that might be confusing and still produce invalid states 2020-08-14 10:33:12 +02:00
Jens Schuppe
11558d4fbd [#36] Save newsletter_double_opt_in property as integer 2020-08-14 10:19:54 +02:00
Jens Schuppe
d3c1aabfb4 [#36] Rename "double_opt_in" property to "newsletter_double_opt_in" 2020-08-14 10:13:51 +02:00
Marc Michalsky
4ff060884a
implement CiviCRM's double opt-in feature for newsletter 2020-07-24 10:57:23 +02:00
B. Endres
00c55b261f [#27] minor adjustments 2020-06-04 10:52:50 +02:00
B. Endres
b256b59fe5 [#27] added contact option 2020-06-04 10:48:56 +02:00
B. Endres
acedf890f5 merged issue/27 2020-06-04 10:40:53 +02:00
B. Endres
35cf2f80e2 [#27] implementing campaign options 2020-06-04 10:37:01 +02:00
B. Endres
ad8fb0eee7 [#24] added option to drop twingle mandate reference 2020-05-24 19:47:11 +02:00
B. Endres
3463da4514 [#20] refactored settings and implemented activity creation 2020-02-13 09:23:13 +01:00
B. Endres
33ced7bbc3 [#19] implementing membership postprocess call (WIP) 2020-02-10 08:26:55 +01:00
B. Endres
24801bb6bc [#14] implementing individual prefix mapping 2020-01-31 13:11:32 +01:00
B. Endres
8642ab5cfd [#18] implementing xcm profiles 2020-01-30 08:17:16 +01:00