Commit graph

83 commits

Author SHA1 Message Date
e8ec7a4ce6 Fix fatal error in admin-UI when ActivityPub plugin is not installed 2024-12-21 15:36:01 +01:00
c5578776d9 Temporarily remove EventPrime integration because of security issues. ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-12-19 17:00:30 +01:00
cc78b216a2 Fix healthcheck when no supported event plugin is installed ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-12-19 16:06:25 +01:00
6dd511e4b0 Improving detection of active event plugins: use caching and don't use WordPress internal constant WP_PLUGINS_DIR ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-12-12 23:24:36 +01:00
44daeb5b59 Add the possibility to compose a custom event summary via shortcodes ()
Adds the option to compose a custom summary via shortcodes.

ToDo:

- [x] Integretion-Tests (covering text-only and complex addresses)
- [x] Remove duplicated code
- [x] Evaluate move shortcodes to Base Event transformer
- [x] Commennts
- [x] Readability/Maintenability
- [x] Explain shortcodes and usage in Admin UI

Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-12-06 18:27:07 +01:00
fa1796eec1 Rename to 'Event Bridge for ActivityPub'
However: Nobody owns 'ActivityPub' as a product name! I am just tired of discussing with the Wordress plugin team about how to interpret their rules.
2024-12-05 16:16:30 +01:00
09ba5cac00 Add Support for Event Organiser ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-11-30 12:26:42 +01:00
d625750a7e Add Event plugin integration: EventPrime ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-11-28 19:01:28 +01:00
dddd3e395f Fix: hook for ActivityPub transformer might also return null ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-11-24 10:19:46 +01:00
53cdbd3838 Fix issues for WordPress.org release ()
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-11-16 19:38:28 +01:00
7f23ed17c0 Add support back to PHP 7.4+ ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-31 16:40:26 +01:00
ba922e6030 fix typo 2024-10-29 21:23:50 +01:00
37bd66ee9b Streamline the release process with forgejo actions ()
Also the .zip release files will only contain the needed production code, no development artifacts or tests.

Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-29 21:12:59 +01:00
2da7bd443c Add "How to Check if It's Working" section in admin ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-22 18:52:57 +02:00
2e9d4c4523 Fix passing null to strpos in gatherpress transformer ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-19 16:58:54 +02:00
7bc134e135 Add most minimal setup wizard, welcome page with status and basic health checks ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-19 16:46:50 +02:00
580b6b9989 Fix content for mec not including rendered shortcodes ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-19 11:58:56 +02:00
7e8346cf7b Add Transformer and Integration tests for Modern Events Calendar Lite ()
https://webnus.net/modern-events-calendar/
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-18 13:54:53 +02:00
8fb92bfc10 Add Transformer for Eventin (WP Event Solution) ()
https://wordpress.org/plugins/wp-event-solution/
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-13 09:44:00 +02:00
d229529acc Add transormer for WP Event Manager, closes ()
Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-10 15:31:24 +02:00
a8627cdb02 set default status in the transformer 2024-10-02 22:40:12 +02:00
4aad867d1f Rename plugin to ActivityPub Event Bridge ()
See the results of the poll: https://graz.social/@linos/113214893071983918

Reviewed-on: 
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-02 21:54:03 +02:00
ced5ee90b1 set timezone and status for tribe 2024-10-02 19:50:41 +02:00
972fcbb2db Improve the design of the Base Event Transformer ()
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Reviewed-on: 
Reviewed-by: André Menrath <andre.menrath@event-federation.eu>
Co-authored-by: ruru4143 <ruru@event-federation.eu>
Co-committed-by: ruru4143 <ruru@event-federation.eu>
2024-10-02 19:15:28 +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