Commit graph

80 commits

Author SHA1 Message Date
ef86fb2263 forgot to rename method call 2024-09-29 16:01:28 +02:00
d3f16706f8 added generic get_content from wp_object to class-event 2024-09-29 15:55:37 +02:00
b4d3a7efa0 changed extract_excerpt to get_excerpt 2024-09-29 15:48:01 +02:00
4f61a1c97e removed link at get_content() for all event 2024-09-29 15:45:56 +02:00
5fa3876c1a added comment on bloguser 2024-09-29 15:32:50 +02:00
993fc2b24f phpsniffer happy 2024-09-29 15:31:07 +02:00
24844f57c1 remove old get_summary from gatherpress and event manager in favour of the new one in class-event 2024-09-29 15:00:13 +02:00
228dba06ae Revert "improved readability of get_summary by using ternary operator"
This reverts commit 7c9424526d.
2024-09-29 14:04:07 +02:00
7d979a1c5e removed trivial to_object functions 2024-09-29 13:57:01 +02:00
1b4642d92e moved getting EM event into constructor 2024-09-29 13:56:17 +02:00
9be7cb2ce2 removed more unused code 2024-09-29 13:50:52 +02:00
20f6947bea duplicated code 2024-09-29 13:48:37 +02:00
608e18f8c1 removed unused stuff 2024-09-29 13:45:58 +02:00
b39f9997ae making php_codesniffer happy 2024-09-29 13:25:37 +02:00
a66dc74577 added comments about removing some old stuff 2024-09-29 12:52:17 +02:00
516bfd33d8 fixed wrong nullable type declaration 2024-09-29 11:45:17 +02:00
c469b7a00e made format_time() private 2024-09-29 11:44:47 +02:00
39632560ff added comments 2024-09-29 11:44:21 +02:00
f0b73d8674 duplicated code 2024-09-29 11:44:14 +02:00
7c9424526d improved readability of get_summary by using ternary operator 2024-09-29 11:43:59 +02:00
f99f009e2e splitted up format time function 2024-09-29 11:42:52 +02:00
2257e86f0f Merge branch 'format_summary' 2024-09-28 16:38:29 +02:00
6f744b9e14 Cleanup top of PHP files ()
- sorting use statements
- always check for `ABSPATH` after namespace

Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-28 13:14:10 +02:00
f92c5853ad First draft of a proper Readme (targeting WordPress.org) ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-28 11:45:47 +02:00
19457a9f19 The Events Calendar: add categories to ActivityStreams tag ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-27 23:20:30 +02:00
7ab51b104e Fix location for tribe ()
Updates did not work. Always use the tribe_event instead of the wp_object where ever possible!

Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-27 18:04:29 +02:00
3dbd3e21ee phpdocs, phpcs 2024-09-26 15:51:23 +02:00
20f0ea2823 add filter to never include permalink in summary 2024-09-26 15:44:22 +02:00
c13230ac6f fix more function return types in transformers 2024-09-25 14:30:37 +02:00
4d4328f3fd add missing phpdoc 2024-09-25 14:25:27 +02:00
35bd198f47 fix return types of transformer functions 2024-09-25 14:24:30 +02:00
ac99300949 wip draft of composed human readable summary using vs events list 2024-09-25 13:59:31 +02:00
e8574d26ac Run integration tests and improve transformers for all integrations ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-25 11:27:17 +02:00
1764a7b03f add tests for venue and join mode is always external 2024-09-24 17:16:52 +02:00
893f1d3b7c Add integration tests for The Events Calendar ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-24 16:24:31 +02:00
f77f4bc017 add forgejo actions for phpunit and phpcs 2024-09-21 11:00:33 +02:00
c8fc78ccdd small function name improvements 2024-09-18 21:26:53 +02:00
4e2c1fb23a add checks for minimum version of the activitypub plugin 2024-09-11 13:55:37 +02:00
0b3974b255 fix base event transformer for activitypub 3.2+ 2024-09-11 13:50:57 +02:00
1f2bf14860 code beautify and some better docs 2024-09-11 08:00:38 +02:00
457f433ed9 refactoring: each event plugin now is represented as a class with static functions 2024-09-11 00:38:21 +02:00
b2076951b5 wip 2024-09-10 18:48:54 +02:00
df04913ba1 fix event category mapping when so categories are present 2024-09-10 18:48:02 +02:00
ef858c91e0 refactoring setup class 2024-09-10 18:44:07 +02:00
871959c8c9 cleanup unused code 2024-09-02 14:39:37 +02:00
04dad65bfa refactoring the settings sanitation 2024-09-02 14:32:02 +02:00
812cbca546 remove experiment with chaining in the generic setter from the VSEL transformer 2024-09-02 14:02:18 +02:00
ebc8bd4b37 small fixes 2024-08-28 21:15:26 +02:00
16aa012be0 Merge branch 'setting_mapping' 2024-08-28 20:01:43 +02:00
01a8ae85aa linting 2024-08-28 19:43:42 +02:00