Commit graph

46 commits

Author SHA1 Message Date
Marc Michalsky forumZFD
6b761ddbbb
delete unnecessary function 2020-10-07 15:19:14 +02:00
Marc Michalsky forumZFD
e7955aebc6
rename "status" to "state" in response array 2020-10-07 15:17:48 +02:00
Marc Michalsky forumZFD
0053ecc30f
get project options via API call 2020-10-07 15:16:23 +02:00
Marc Michalsky forumZFD
0205b59c30
store project options
rename "values" to "project" (in constructor) and "settings" to "options"
2020-10-07 15:10:26 +02:00
Marc Michalsky forumZFD
a9d9dd5ace
rename "state" to "status" in response array 2020-10-07 15:06:56 +02:00
Marc Michalsky forumZFD
953adaf319
implemented sync from CiviCRM to Twingle 2020-10-06 22:40:15 +02:00
Marc Michalsky forumZFD
aef6b64004
rename "Models" to "BAO" in paths and namespaces 2020-10-05 17:01:47 +02:00
Marc Michalsky forumZFD
4b2047fdb0
no need for an extra array 2020-10-02 16:56:40 +02:00
Marc Michalsky forumZFD
14a16b8cfb
add comments 2020-10-02 16:55:59 +02:00
Marc Michalsky forumZFD
3fd17d4bf0
add parameter for direction to function call 2020-10-02 16:55:37 +02:00
Marc Michalsky forumZFD
9cb1feaed4
project_type "default" is a value, not a key 2020-10-02 16:54:03 +02:00
Marc Michalsky forumZFD
11ba3c280a
profund code refactoring 2020-10-01 21:22:12 +02:00
Marc Michalsky forumZFD
80e8dab017
prepare to sync TwingleProjects to Twingle 2020-10-01 11:52:29 +02:00
Marc Michalsky forumZFD
ad4f32e2d6
change way to give back the TwigleProject response 2020-10-01 11:49:32 +02:00
Marc Michalsky forumZFD
96952b7253
change API_Exeption message: no line breaks 2020-10-01 11:47:21 +02:00
Marc Michalsky forumZFD
c7eca6f641
add comments and style code 2020-09-30 15:34:06 +02:00
Marc Michalsky forumZFD
85afeedd23
bug fix: test mode 2020-09-30 15:33:04 +02:00
Marc Michalsky forumZFD
aafce7c32f
add $state array 2020-09-30 15:32:29 +02:00
Marc Michalsky forumZFD
e8cbf505a9
edit API_Exeption message -> probably api key is missing or wrong 2020-09-30 15:29:31 +02:00
Marc Michalsky forumZFD
81bd4bff44
change $organisationIds to $organisationId 2020-09-30 15:28:52 +02:00
Marc Michalsky forumZFD
f9cbe9db6c
implement test mode for TwingleSync 2020-09-30 15:27:55 +02:00
Marc Michalsky forumZFD
50b0ff7da8
preparation for updating via Twingle API 2020-09-29 21:47:29 +02:00
Marc Michalsky forumZFD
338539e9be
add campaign id to translated values array 2020-09-29 16:15:50 +02:00
Marc Michalsky forumZFD
bbca822f15
comments 2020-09-29 16:14:49 +02:00
Marc Michalsky forumZFD
0ce48fa58b
get campaign id and timestamp of existing projects 2020-09-29 16:14:10 +02:00
Marc Michalsky forumZFD
350bb513a0
remove unnecessary implode() 2020-09-29 16:13:31 +02:00
Marc Michalsky forumZFD
7a94e43801
set values and attributes in the right order 2020-09-29 16:12:46 +02:00
Marc Michalsky forumZFD
add87edded
bug fix 2020-09-29 14:17:40 +02:00
Marc Michalsky forumZFD
f4b49077bb
Translate values if values come from CiviCRM Campaign API 2020-09-29 14:16:49 +02:00
Marc Michalsky forumZFD
9f2b5c4913
add deactivate() function to deactivate a project 2020-09-29 14:15:34 +02:00
Marc Michalsky forumZFD
a05b671f90
translate values in two directions 2020-09-29 14:15:04 +02:00
Marc Michalsky forumZFD
cbca983d8b
add project title to result array and change "update" to "fetched"
later it might become handy to distinguish the update direction (from Twingle to CiviCRM or to Twingle from CiciCRM )
2020-09-29 14:13:55 +02:00
Marc Michalsky forumZFD
ef2cb029f6
add handleDuplicates() function to deactivate duplicates 2020-09-29 14:10:23 +02:00
Marc Michalsky forumZFD
fc515de26d
add exists() function to check if a project exists 2020-09-29 14:09:18 +02:00
Marc Michalsky forumZFD
f1f250e245
comments 2020-09-29 14:08:12 +02:00
Marc Michalsky forumZFD
209fe29c92
update get API 2020-09-29 08:59:16 +02:00
Marc Michalsky forumZFD
12d31e300f
format & comment code 2020-09-29 08:58:53 +02:00
Marc Michalsky forumZFD
e923ba91dc
handle existing projects 2020-09-29 08:54:33 +02:00
Marc Michalsky forumZFD
5d597de5de
use cusom field mapping instead of static custom field array 2020-09-29 08:52:56 +02:00
Marc Michalsky forumZFD
8ee0079b37
change createProject() to syncProject() and handle existin projects 2020-09-29 08:41:02 +02:00
Marc Michalsky forumZFD
b920185005
add attributes to TwingleProject class 2020-09-28 14:16:08 +02:00
Marc Michalsky forumZFD
b633c8d887
add setters & getters for TwingleProject class 2020-09-28 14:14:59 +02:00
Marc Michalsky forumZFD
f54f3bf262
add comments 2020-09-28 14:13:56 +02:00
Marc Michalsky forumZFD
3f3a8eb04d
fix path 2020-09-28 09:27:45 +02:00
Marc Michalsky forumZFD
4cdf8f025f
change namescpace to CRM\TwingleCampaign 2020-09-28 09:27:08 +02:00
Marc Michalsky forumZFD
0ea5953d8c
Initial commit 2020-09-25 15:50:42 +02:00