Marc Michalsky
bfa3ae7e32
fix wrong return type
2023-08-14 16:11:30 +02:00
Marc Michalsky
cb4c11feee
🐛 bug fix: color fields were converted from hex to dec values
...
Added this two color fields to $colorFields:
- design_button_font_color
- design_button_font_color_light
2022-01-20 16:53:15 +01:00
Marc Michalsky
3e73ed733b
✨ improve hex color validation #4
2021-12-17 12:13:13 +01:00
Marc Michalsky
bbbf6e1cc6
✨ ️ Do not sync Twingle projects to CiviCRM which are marked as such
...
There is a checkbox in TwingleMANAGER that allows you to enable and disable API calls to the Twingl API (de.systopia.twingle). This commit makes the TwingleCampaign extension pay attention to this checkbox, so if it is unchecked, no campaign will be created in CiviCRM for this Twingle project.
2021-08-25 16:06:50 +02:00
Marc Michalsky forumZFD
9ad97c11e1
👾 bug fix: campaign name does not get pushed when saving
2021-04-21 09:06:23 +02:00
Marc Michalsky forumZFD
15b496de1c
✨ ️ avoid "missing index" warnings
2021-04-13 08:56:37 +02:00
Marc Michalsky forumZFD
2f1e5721c1
🧹 code cleanup
2021-04-13 08:54:21 +02:00
Marc Michalsky forumZFD
4bcc4cf1fb
👾 bug fix: project id
2021-04-13 08:54:21 +02:00
Marc Michalsky forumZFD
34e2e77d83
✨ ️ implement validation of TwingleProject settings
2021-04-13 08:54:21 +02:00
Marc Michalsky forumZFD
0b1128fce5
✨ ️ implement formatting of settings values on import and export
2021-04-13 08:54:21 +02:00
Marc Michalsky forumZFD
f17a899b79
fix campaign cloning
2021-02-08 15:33:02 +01:00
Marc Michalsky forumZFD
2a1952313e
improve method inheritance
2021-02-08 14:00:26 +01:00
Marc Michalsky forumZFD
b6b658df5c
small cosmetic fixes
2021-02-02 20:25:42 +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
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
a745081b35
improve method inheritance
2020-12-17 09:10:40 +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
e16e5525bd
make formatValues() method public and static
2020-12-15 14:56:10 +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
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
59c9581bfb
code formatting
2020-12-14 17:29:09 +01:00
Marc Michalsky forumZFD
7817b78d2c
add parameter for id
2020-12-14 17:26:17 +01:00
Marc Michalsky forumZFD
6b7ca6078e
fix investigating class name
2020-12-14 17:22:55 +01:00
Marc Michalsky forumZFD
4921345b88
do not escape html in embed codes
2020-12-10 15:27:21 +01:00
Marc Michalsky forumZFD
905d791f1a
fix class name detection
2020-12-10 15:26:40 +01:00
Marc Michalsky forumZFD
86639cfe42
code cleanup
2020-12-08 12:58:53 +01:00
Marc Michalsky forumZFD
a53b61775a
Change class names to meet naming convention
...
+ removed namespaces
2020-12-08 12:56:13 +01:00
Marc Michalsky forumZFD
690e26410b
move logic for pushing TwingleProjects into TwingleProject class
2020-11-13 16:19:08 +01:00
Marc Michalsky forumZFD
2aee8ca2d9
change $message to $errorMessage to be more precise
2020-11-13 16:11:55 +01:00
Marc Michalsky forumZFD
01004ed9b6
bug fix: broken logging
2020-11-12 17:32:29 +01:00
Marc Michalsky forumZFD
23977c122e
make constructors protected
2020-11-02 17:51:27 +01:00
Marc Michalsky forumZFD
937a35e1b8
code formatting and smaller errors
2020-11-02 17:48:47 +01:00
Marc Michalsky forumZFD
a81eb0c438
move formatValues() and create() methods to child classes
2020-11-02 17:45:49 +01:00
Marc Michalsky forumZFD
3554f958d2
implement TwingleEvent
2020-10-30 16:27:56 +01:00
Marc Michalsky forumZFD
6b434e455f
use inheritance for campaign classes
2020-10-29 23:14:18 +01:00
Marc Michalsky forumZFD
24d224cc38
use singleton ExtensionCache for cached mappings and settings
2020-10-29 21:19:01 +01:00
Marc Michalsky forumZFD
0f98580adf
remove project options
2020-10-29 17:55:17 +01:00
Marc Michalsky forumZFD
6e07d97dba
remove project options & add embed data
2020-10-29 16:26:00 +01:00
Marc Michalsky forumZFD
52a3a1e978
several fixes
2020-10-29 11:29:53 +01:00
Marc Michalsky forumZFD
636929214d
change access modifiers
2020-10-27 10:46:26 +01:00
Marc Michalsky forumZFD
bb373f71b1
create own class for project options
2020-10-27 10:44:53 +01:00
Marc Michalsky forumZFD
1acbbb7c78
import classes
2020-10-27 10:39:37 +01:00
Marc Michalsky forumZFD
b331aa88d9
format code
2020-10-15 12:08:14 +02:00
Marc Michalsky forumZFD
bf0a4d7bfe
moved some BAO classes and json files + refactoring paths
2020-10-13 15:15:33 +02:00