Commit graph

162 commits

Author SHA1 Message Date
Marc Michalsky forumZFD
693bc25985
bug fix 2021-02-08 14:45:14 +01:00
Marc Michalsky forumZFD
034476ab65
code cleanup 2021-02-08 14:02:04 +01:00
Marc Michalsky forumZFD
2a1952313e
improve method inheritance 2021-02-08 14:00:26 +01:00
Marc Michalsky forumZFD
f6d46520cd
improve Extension Cache 2021-02-08 13:58:48 +01:00
Marc Michalsky forumZFD
f3d242fce7
implement TwingleCampaign 2021-02-08 13:56:54 +01:00
Marc Michalsky forumZFD
cf6ed7344f
cache campaign type ids 2021-02-04 17:23:10 +01:00
Marc Michalsky forumZFD
aef0297daf
bug fix
provide TwingleEvent campaign id for instantiation
2021-02-04 09:36:26 +01:00
Marc Michalsky forumZFD
b6b658df5c
small cosmetic fixes 2021-02-02 20:25:42 +01:00
Marc Michalsky forumZFD
e65ef40c11
add http status checks to curl functions 2021-02-02 20:25:10 +01:00
Marc Michalsky forumZFD
aef7e71e33
implement TwingleProject.delete api 2021-02-02 20:23:58 +01:00
Marc Michalsky forumZFD
88474c10ac
clean up
improve method documentation and more
2021-02-01 14:38:48 +01:00
Marc Michalsky forumZFD
9df3ff4153
implement TwingleProject cloning 2021-02-01 14:30:32 +01:00
Marc Michalsky forumZFD
247874f380
check for the existence of a case befor opening a new one 2021-02-01 10:04:58 +01:00
Marc Michalsky forumZFD
68f187c03a
remove sync() method from TwingleEvent
the sync now takes place in the TwingleEvent.sync api
2021-02-01 10:03:54 +01:00
Marc Michalsky forumZFD
ccd2d90984
create TwingleEvent.sync api 2021-01-29 17:50:00 +01:00
Marc Michalsky forumZFD
7a520e850c
create TwingleProjecr.sync api 2021-01-29 17:45:13 +01:00
Marc Michalsky forumZFD
74b1286d25
prevent recursion on postSave-Hook 2021-01-26 14:51:33 +01:00
Marc Michalsky forumZFD
279d6e6576
create TwingleProject.sync 2021-01-26 14:50:23 +01:00
Marc Michalsky forumZFD
b9175fa936
implement postSave hook along with callback function 2021-01-19 16:54:04 +01:00
Marc Michalsky forumZFD
c7bc3d6e94
fix inheritance issue 2021-01-19 11:25:39 +01:00
Marc Michalsky forumZFD
102628c310
remove unnecessary imports 2021-01-19 09:08:35 +01:00
Marc Michalsky forumZFD
05d8941e8a
fix various bugs 2021-01-18 17:07:07 +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
a745081b35
improve method inheritance 2020-12-17 09:10:40 +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
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
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
40350e293f
implement class for string operations 2020-12-14 17:20:15 +01:00
Marc Michalsky forumZFD
93d4f46df6
a few small fixes 2020-12-10 15:28:45 +01:00