Commit graph

  • 0492687610
    mk Campaign constructor protected to allow instantiating only by itself Marc Michalsky forumZFD 2020-11-02 17:43:18 +01:00
  • 50a63ee860
    bug fix: get all events of all projects Marc Michalsky forumZFD 2020-11-02 17:40:34 +01:00
  • 3554f958d2
    implement TwingleEvent Marc Michalsky forumZFD 2020-10-30 16:27:56 +01:00
  • 6b434e455f
    use inheritance for campaign classes Marc Michalsky forumZFD 2020-10-29 23:14:18 +01:00
  • 24d224cc38
    use singleton ExtensionCache for cached mappings and settings Marc Michalsky forumZFD 2020-10-29 21:19:01 +01:00
  • 0f98580adf
    remove project options Marc Michalsky forumZFD 2020-10-29 17:55:17 +01:00
  • e6790c914e
    collapse custom group for embed data Marc Michalsky forumZFD 2020-10-29 16:26:54 +01:00
  • 6e07d97dba
    remove project options & add embed data Marc Michalsky forumZFD 2020-10-29 16:26:00 +01:00
  • 52a3a1e978
    several fixes Marc Michalsky forumZFD 2020-10-29 11:29:53 +01:00
  • 636929214d
    change access modifiers Marc Michalsky forumZFD 2020-10-27 10:46:26 +01:00
  • bb373f71b1
    create own class for project options Marc Michalsky forumZFD 2020-10-27 10:44:53 +01:00
  • 1acbbb7c78
    import classes Marc Michalsky forumZFD 2020-10-27 10:39:37 +01:00
  • b331aa88d9
    format code Marc Michalsky forumZFD 2020-10-15 12:04:18 +02:00
  • 5b99cf58f3
    remove unnecessary code Marc Michalsky forumZFD 2020-10-15 11:33:34 +02:00
  • 7e386ec7f3
    add comments Marc Michalsky forumZFD 2020-10-15 11:06:35 +02:00
  • 99ff3bc38e
    add method to create a result array Marc Michalsky forumZFD 2020-10-15 11:06:20 +02:00
  • 4a738a9067
    always give back project_id as int Marc Michalsky forumZFD 2020-10-15 11:05:27 +02:00
  • 5c0315c647
    add important To Do's Marc Michalsky forumZFD 2020-10-15 11:03:01 +02:00
  • bf0a4d7bfe
    moved some BAO classes and json files + refactoring paths Marc Michalsky forumZFD 2020-10-13 15:15:33 +02:00
  • 66cd6b10a0
    add important To do Marc Michalsky forumZFD 2020-10-13 14:58:51 +02:00
  • e5bcb3ec4f
    rename custom group from project settings to project options Marc Michalsky forumZFD 2020-10-13 14:58:22 +02:00
  • c536312185
    check custom field for NULL before insert it into custom field mapping Marc Michalsky forumZFD 2020-10-13 14:57:22 +02:00
  • 134e42240f
    remove unnecessary method Marc Michalsky forumZFD 2020-10-13 14:55:53 +02:00
  • 4c6827b451
    update project values & options from Twingle Marc Michalsky forumZFD 2020-10-13 14:16:36 +02:00
  • 5ed2f30133
    add state "TwingleProject updated" Marc Michalsky forumZFD 2020-10-13 14:16:07 +02:00
  • ea15f7d597
    solve merge conflict Marc Michalsky forumZFD 2020-10-13 09:48:27 +02:00
  • 36ff75843a
    add value formatting Marc Michalsky forumZFD 2020-10-13 09:11:09 +02:00
  • 18100e866b
    code cleaning Marc Michalsky forumZFD 2020-10-13 09:09:39 +02:00
  • 39fa2cc603
    add static attributes for arrays from json files Marc Michalsky forumZFD 2020-10-13 09:07:54 +02:00
  • 8cb0a48009
    move check for latest_update one abstraction layer up Marc Michalsky forumZFD 2020-10-13 09:04:53 +02:00
  • 0a2166ed1b
    prepared to include project options into campaign Marc Michalsky forumZFD 2020-10-07 16:56:13 +02:00
  • 8b8f96cff7
    changed sync process from Get to Post call to meet REST specification Marc Michalsky forumZFD 2020-10-07 15:33:33 +02:00
  • 6b1d46114d
    catch errors Marc Michalsky forumZFD 2020-10-07 15:21:09 +02:00
  • 510d50843a
    pass $project parameter by reference Marc Michalsky forumZFD 2020-10-07 15:20:48 +02:00
  • 55d0add9e7
    specify $projectId parameter as int Marc Michalsky forumZFD 2020-10-07 15:19:56 +02:00
  • 6b761ddbbb
    delete unnecessary function Marc Michalsky forumZFD 2020-10-07 15:19:14 +02:00
  • e7955aebc6
    rename "status" to "state" in response array Marc Michalsky forumZFD 2020-10-07 15:17:48 +02:00
  • 0053ecc30f
    get project options via API call Marc Michalsky forumZFD 2020-10-07 15:16:23 +02:00
  • 0205b59c30
    store project options Marc Michalsky forumZFD 2020-10-07 15:10:26 +02:00
  • a9d9dd5ace
    rename "state" to "status" in response array Marc Michalsky forumZFD 2020-10-07 15:06:56 +02:00
  • 953adaf319
    implemented sync from CiviCRM to Twingle Marc Michalsky forumZFD 2020-10-06 19:57:09 +02:00
  • aef6b64004
    rename "Models" to "BAO" in paths and namespaces Marc Michalsky forumZFD 2020-10-05 17:01:47 +02:00
  • 4b2047fdb0
    no need for an extra array Marc Michalsky forumZFD 2020-10-02 16:56:40 +02:00
  • 14a16b8cfb
    add comments Marc Michalsky forumZFD 2020-10-02 16:55:59 +02:00
  • 3fd17d4bf0
    add parameter for direction to function call Marc Michalsky forumZFD 2020-10-02 16:55:37 +02:00
  • 9cb1feaed4
    project_type "default" is a value, not a key Marc Michalsky forumZFD 2020-10-02 16:54:03 +02:00
  • 11ba3c280a
    profund code refactoring Marc Michalsky forumZFD 2020-10-01 21:22:12 +02:00
  • 80e8dab017
    prepare to sync TwingleProjects to Twingle Marc Michalsky forumZFD 2020-10-01 11:52:29 +02:00
  • ad4f32e2d6
    change way to give back the TwigleProject response Marc Michalsky forumZFD 2020-10-01 11:49:32 +02:00
  • 96952b7253
    change API_Exeption message: no line breaks Marc Michalsky forumZFD 2020-10-01 11:47:21 +02:00
  • cc3b14e32c
    delete custom field for twingle_project_name Marc Michalsky forumZFD 2020-09-30 15:34:50 +02:00
  • c7eca6f641
    add comments and style code Marc Michalsky forumZFD 2020-09-30 15:34:06 +02:00
  • 85afeedd23
    bug fix: test mode Marc Michalsky forumZFD 2020-09-30 15:33:04 +02:00
  • aafce7c32f
    add $state array Marc Michalsky forumZFD 2020-09-30 15:32:29 +02:00
  • e8cbf505a9
    edit API_Exeption message -> probably api key is missing or wrong Marc Michalsky forumZFD 2020-09-30 15:29:31 +02:00
  • 81bd4bff44
    change $organisationIds to $organisationId Marc Michalsky forumZFD 2020-09-30 15:28:52 +02:00
  • f9cbe9db6c
    implement test mode for TwingleSync Marc Michalsky forumZFD 2020-09-30 15:27:55 +02:00
  • 50b0ff7da8
    preparation for updating via Twingle API Marc Michalsky forumZFD 2020-09-29 21:47:03 +02:00
  • 338539e9be
    add campaign id to translated values array Marc Michalsky forumZFD 2020-09-29 16:15:50 +02:00
  • bbca822f15
    comments Marc Michalsky forumZFD 2020-09-29 16:14:49 +02:00
  • 0ce48fa58b
    get campaign id and timestamp of existing projects Marc Michalsky forumZFD 2020-09-29 16:14:10 +02:00
  • 350bb513a0
    remove unnecessary implode() Marc Michalsky forumZFD 2020-09-29 16:13:31 +02:00
  • 7a94e43801
    set values and attributes in the right order Marc Michalsky forumZFD 2020-09-29 16:12:35 +02:00
  • add87edded
    bug fix Marc Michalsky forumZFD 2020-09-29 14:17:40 +02:00
  • f4b49077bb
    Translate values if values come from CiviCRM Campaign API Marc Michalsky forumZFD 2020-09-29 14:16:49 +02:00
  • 9f2b5c4913
    add deactivate() function to deactivate a project Marc Michalsky forumZFD 2020-09-29 14:15:34 +02:00
  • a05b671f90
    translate values in two directions Marc Michalsky forumZFD 2020-09-29 14:15:04 +02:00
  • cbca983d8b
    add project title to result array and change "update" to "fetched" Marc Michalsky forumZFD 2020-09-29 14:13:55 +02:00
  • ef2cb029f6
    add handleDuplicates() function to deactivate duplicates Marc Michalsky forumZFD 2020-09-29 14:10:23 +02:00
  • fc515de26d
    add exists() function to check if a project exists Marc Michalsky forumZFD 2020-09-29 14:09:18 +02:00
  • f1f250e245
    comments Marc Michalsky forumZFD 2020-09-29 14:08:12 +02:00
  • 678dde66a9
    fix namespace Marc Michalsky forumZFD 2020-09-29 10:42:03 +02:00
  • 76efed3530
    change copyright owner Marc Michalsky forumZFD 2020-09-29 08:59:43 +02:00
  • 209fe29c92
    update get API Marc Michalsky forumZFD 2020-09-29 08:59:16 +02:00
  • 12d31e300f
    format & comment code Marc Michalsky forumZFD 2020-09-29 08:58:53 +02:00
  • e923ba91dc
    handle existing projects Marc Michalsky forumZFD 2020-09-29 08:54:33 +02:00
  • 5d597de5de
    use cusom field mapping instead of static custom field array Marc Michalsky forumZFD 2020-09-29 08:52:56 +02:00
  • 746ed45f04
    get a mapping with custom field names (eg. custom_21) Marc Michalsky forumZFD 2020-09-29 08:48:42 +02:00
  • 9e3ffbb43e
    CustomField::fetch() gets array of all exitsting custom fields Marc Michalsky forumZFD 2020-09-29 08:47:08 +02:00
  • 79febdf5fc
    remove static CustomGroup array Marc Michalsky forumZFD 2020-09-29 08:45:18 +02:00
  • b3b24681e5
    remove static CustomField array Marc Michalsky forumZFD 2020-09-29 08:44:35 +02:00
  • 8ee0079b37
    change createProject() to syncProject() and handle existin projects Marc Michalsky forumZFD 2020-09-29 08:41:02 +02:00
  • b920185005
    add attributes to TwingleProject class Marc Michalsky forumZFD 2020-09-28 14:16:00 +02:00
  • b633c8d887
    add setters & getters for TwingleProject class Marc Michalsky forumZFD 2020-09-28 14:14:59 +02:00
  • f54f3bf262
    add comments Marc Michalsky forumZFD 2020-09-28 14:13:19 +02:00
  • 3f3a8eb04d
    fix path Marc Michalsky forumZFD 2020-09-28 09:27:45 +02:00
  • 4cdf8f025f
    change namescpace to CRM\TwingleCampaign Marc Michalsky forumZFD 2020-09-28 09:27:08 +02:00
  • 0ea5953d8c
    Initial commit Marc Michalsky forumZFD 2020-09-25 15:10:38 +02:00