Commit graph

178 commits

Author SHA1 Message Date
Marc Michalsky forumZFD
338ef08ca9
commented out postSave hook 2021-01-18 17:09:25 +01:00
Marc Michalsky forumZFD
05d8941e8a
fix various bugs 2021-01-18 17:07:07 +01:00
Marc Michalsky forumZFD
71eb428bb8
add tests 2021-01-18 10:51:21 +01:00
Marc Michalsky forumZFD
677f673247
use Civi:cache() for extension cache 2021-01-18 10:46:47 +01:00
Marc Michalsky forumZFD
1d5c69f470
cache api call object 2021-01-18 10:46:13 +01:00
Marc Michalsky forumZFD
36cfdd2a2d
implement Hook syncing when Campaign gets created 2020-12-17 17:05:54 +01:00
Marc Michalsky forumZFD
bf4873496f
sync via campaign id 2020-12-17 17:04:26 +01:00
Marc Michalsky forumZFD
c83443ae77
fix getsingle APIs 2020-12-17 17:03:26 +01:00
Marc Michalsky forumZFD
8404c4e946
give back associative array with results sorted by their id's 2020-12-17 10:51:08 +01:00
Marc Michalsky forumZFD
23d11fcfd2
remove unnecessary 'request' array 2020-12-17 10:46:50 +01:00
Marc Michalsky forumZFD
aadb4246f5
fix error message for TwingleForm.Get 2020-12-17 10:46:07 +01:00
Marc Michalsky forumZFD
5df73c7c26
implement getsingle APIs for TwingleEvent, TwingleProject & TwingleForm 2020-12-17 10:34:13 +01:00
Marc Michalsky forumZFD
682ba5e7e2
let API call not overwrite campaign_type_id 2020-12-17 10:30:54 +01:00
Marc Michalsky forumZFD
e843d8827c
remove TwingleSync.Singlesync 2020-12-17 09:11:40 +01:00
Marc Michalsky forumZFD
a745081b35
improve method inheritance 2020-12-17 09:10:40 +01:00
Marc Michalsky forumZFD
986f70c454
fix status message 2020-12-15 17:03:29 +01:00
Marc Michalsky forumZFD
1af9327816
add more fields to TwingleEvent template 2020-12-15 16:13:18 +01:00
Marc Michalsky forumZFD
f079a6e033
remove default value for allow_more
it caused an error on installation
2020-12-15 16:12:56 +01:00
Marc Michalsky forumZFD
12199ad8a6
make methods formatValues() and matchContact() static 2020-12-15 16:12:08 +01:00
Marc Michalsky forumZFD
2317c7e8e1
update status message when project was pushed and locally updated 2020-12-15 16:11:04 +01:00
Marc Michalsky forumZFD
96ce4f4b38
translate event values to Twingle format 2020-12-15 16:09:32 +01:00
Marc Michalsky forumZFD
700b33f1b9
set empty value for 'project_type' to 'default' 2020-12-15 14:59:25 +01:00
Marc Michalsky forumZFD
45e42fbde8
set empty value for 'allow_more' to 'default' 2020-12-15 14:58:37 +01:00
Marc Michalsky forumZFD
4b656084cc
remove twingle_event_slug from custom fields 2020-12-15 14:57:57 +01:00
Marc Michalsky forumZFD
5b25a588d5
set default value for twingle_project_allow_more custom field 2020-12-15 14:57:07 +01:00
Marc Michalsky forumZFD
e16e5525bd
make formatValues() method public and static 2020-12-15 14:56:10 +01:00
Marc Michalsky forumZFD
1df6230bad
make api call work for TwingleProject & TwingleEvent 2020-12-15 14:55:23 +01:00
Marc Michalsky forumZFD
aaba5ce953
add fields to TwingleEvents template 2020-12-15 14:53:25 +01:00
Marc Michalsky forumZFD
57fd1b7d5a
move translateKeys into child classes
method logic differs between the child classes
2020-12-15 14:52:51 +01:00
Marc Michalsky forumZFD
b210f42b8f
set object values via update() method to filter them 2020-12-15 14:50:59 +01:00
Marc Michalsky forumZFD
a9ebd8c514
remove $origin parameter
it isn't necessary anymore because I use my own APIs to get the data always in the Twingle format
2020-12-15 14:50:01 +01:00
Marc Michalsky forumZFD
f10b920465
translate project values in Twingle format 2020-12-15 14:44:05 +01:00
Marc Michalsky forumZFD
16ac86bc10
implement TwingleEvent.Get 2020-12-15 14:42:49 +01:00
Marc Michalsky forumZFD
6351668ec8
code formatting 2020-12-14 17:30:41 +01:00
Marc Michalsky forumZFD
65c5981eb8
outsource name splitting to StringOperations class 2020-12-14 17:29:53 +01:00
Marc Michalsky forumZFD
59c9581bfb
code formatting 2020-12-14 17:29:09 +01:00
Marc Michalsky forumZFD
27ff763579
delete project slug from custom fields 2020-12-14 17:26:43 +01:00
Marc Michalsky forumZFD
7817b78d2c
add parameter for id 2020-12-14 17:26:17 +01:00
Marc Michalsky forumZFD
999acd1029
push Projects to Twingle 2020-12-14 17:25:47 +01:00
Marc Michalsky forumZFD
7a52e18418
use only one organisation id 2020-12-14 17:25:05 +01:00
Marc Michalsky forumZFD
2b5ca596a4
fix error messages 2020-12-14 17:23:45 +01:00
Marc Michalsky forumZFD
8b5708a7c6
filter values via template 2020-12-14 17:23:23 +01:00
Marc Michalsky forumZFD
6b7ca6078e
fix investigating class name 2020-12-14 17:22:55 +01:00
Marc Michalsky forumZFD
49acd7dac9
let TingleSync.Sync push projects to Twingle API 2020-12-14 17:21:45 +01:00
Marc Michalsky forumZFD
189562b4b2
implement TwingleProject.Get 2020-12-14 17:21:05 +01:00
Marc Michalsky forumZFD
0c745642bb
implement TingleProject.Create 2020-12-14 17:20:49 +01:00
Marc Michalsky forumZFD
40350e293f
implement class for string operations 2020-12-14 17:20:15 +01:00
Marc Michalsky forumZFD
42266cee98
fix forwarding of parameters 2020-12-14 17:18:49 +01:00
Marc Michalsky forumZFD
84e1b1196e
implement TwingleProject.create 2020-12-10 15:29:17 +01:00
Marc Michalsky forumZFD
93d4f46df6
a few small fixes 2020-12-10 15:28:45 +01:00